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

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

Tank Wars RTS 2.swf

This is the info page for
Flash #28612

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


Text
Get the dozer to the enemy servicedepot  to the north. dozer must not be detected.
Construct a few mines near  the servicedepot and wait for the convoy to arrive.

Objective 1:
Objective 2 :

Protect the allied troops in green and our command centre.
Escort APCs to the pier for evacuation of allied troops.

Lure the enemy laser tanks to our base. EMP them and destroy the enemy strike team.
Our emp artillery brigade must  survive.

Objective 1:
Objective 2 :

Get the humvees to the enemy tech centre to extract information regarding the protoype.
Wait until the humvees complete extraction before evacuation.

Get to the base and avoid being detected. Destroy all troops attempting to flee.
Wait for Traitos' APC to arrive. Kill him by destroying his APC.

Objective 1:
Objective2 :

Destroy the four control centres  that power up the shield.
Destroy Traitos' fortress.

FInd the APC containing commander Martin and evacuate him to the drop off point at the eastern end of the
road.(hint:To get into the base to the west, try destroying the enemy refinery to the east. Then ,  plant a mine on the road and
wait for an oil truck to step on it.)

Objective 1:

Destroy the enemy prototype factilty.

Earn $50000 and produce enough troops to raid the enemy tech centres.Rendezvous with the Ukraine Rebels.
Follow the guide and protect him as he enters in the codes in the control centres .Guide must not die.

Objective 1:
Objective 2:

Destroy all enemy forces in the area to win.
The enemy's war factory complex must survive.

Build a base and secure the region around the road.
Destroy the enemy convoy. Do not let too many of their tanks escape.

Well Done! Looks like you have gotten rid of the enemy forces in the base.But
there's more where that came from.I'm detecting massive enemy forces around our base...Standby.

Base Commander :

Assume command of the base and defend it from further enemy attacks.
A construction dozer has been provided for base repair and reconstruction.

Objective 1:

The next wave of enemy forces wil be arriving in:          seconds.
Waves left:

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

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

Find a way out of the base and escort the APC to one of the four corners of the
map. APC must not be destroyed!

Assemble your strike team on the northwest corner of the map and Destroy all enemies.
Do not let the base be destroyed.

Building:       %

<p align="left"><font face="Arial" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">100</font></p>

Building:       %

<p align="left"><font face="Arial" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Arial" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

Quit

Quit

Options

Options

Skirmish

Skirmish

Campaign

Campaign

Tutorial

Tutorial

v 2.0

Back

Back

Choose a Difficulty Level:

Easy

Easy

Medium

Medium

Medium

Hard

Hard

Hard

Load Saved
Campaign

Load Saved
Campaign

Campaign

Sounds :

Music :

Video Quality :

Smart AI :

FullScreen :

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>

Display the game in full screen
on your computer. (Note: this
is not recommended if your
resolution is less than 1024
x768)

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>

Makes the skirmish ingame
AI able to plan strategies.
If enabled, this might make
the game more laggy.

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>medium</b></font></p>

Toggles the quality level of the
game. The default reccomended
is "medium".Note: this is a
really laggy game so do not set
the quality to High or Best
unless your computer is
extremely powerful.

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>medium</b></font></p>

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>On</b></font></p>

Click to turn music  on or
off

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>On</b></font></p>

Click to turn in-game sound
effects on or off

Fog Of War :

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>

When on, the shroud
regrows after all friendly
units leave a shrouded
area.

Options

Skirmish

Start Battle

Start Battle

<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>

Turns on or off the shroud
which obscures the enemy
base from view.

Shroud:

Your starting position.
Oilfield.
Enemy's starting position.

Starting Credits:
(The amount of money you and
the enemy begins with)

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

<p align="center"><font face="MS Reference Sans Serif" size="25" color="#ffff00" letterSpacing="0.000000" kerning="1">Arena</font></p>

AI :

Map:

Difficulty   :

<p align="left"><font face="MS Reference Sans Serif" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">Technology Commander</font></p>

<p align="left"><font face="MS Reference Sans Serif" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">Novice Enemy</font></p>

(The more difficult the AI, the faster it responds
to events and builds troops).

Easy Enemy

Easy Enemy

Medium Enemy

Medium Enemy

Hard Enemy

Hard Enemy

Brutal Enemy

Brutal Enemy

Superweapon Commander

Novice Enemy

Novice Enemy

Technology Commander

The technology commander makes careful
use of few but heavily upgraded units to
engage in battle.

Technology Commander

Offensive Commander

The offense commander's strength lies in attack.
Using the various hit and run tactics of this
strategy, this commander can quickly confuse an
enemy into submission (smart AI only)

Offensive Commander

The offense commander's strength lies in attack.
Using the various hit and run tactics of this
strategy, this commander can  quickly confuse an
enemy into submission (smart AI only)

Defensive Commander

Overly concerned about the base's safety, the
Defense Commander will amass all available
troops at its base before it strikes in
overwhelming numbers.

Defensive Commander

Superweapon Commander

This commander prefers to attack using long-
ranged artillery to devastate an enemy base
before using tactical nukes to finish it off !

Economic Commander

The Ecomonic Commander will focus mainly
on earning money and gaining control of all
the oilfields on the map and then try to
starve the enemy base out of valuable
funds and into surrender (Smart AI only)

Economic Commander

The Ecomonic Commander will focus mainly
on earning money and gaining control of all
the oilfields on the map and then try to
starve the enemy base out of valuable
funds and surrender.

<p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Copyright(c)</b></font></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Tank Wars</b></font></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>2007</b></font></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>best quality: medium</b></font></p><p align="justify"></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Dont build more than 50 units or lag.</b></font></p>

What do you want to do?

Abort Game

Abort Game

Save Game

Save game

<p align="justify"></p>

1

<p align="left"><font face="Arial" size="14" color="#0000ff" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>

Nuclear Missile :        %

Ready

<p align="left"><font face="Arial" size="14" color="#990000" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>

Nuclear Missile :        %

100

100

Nuclear Missile :        %

Rocket Launcher


firepower:
HP:
speed:
shellspeed:
range:
fire period:

STOP

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

+

+

<p align="center"><font face="Arial" size="21" color="#0000ff" letterSpacing="1.000000" kerning="1"><b>+</b></font></p>

+

+1

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

$

<p align="center"><font face="Arial" size="14" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Build Menu</b></font></p>

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

<p align="center"><font face="Arial" size="14" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Unit Upgrades</b></font></p>

Already built

$

<p align="center"><font face="Arial" size="23" color="#0000ff" letterSpacing="1.000000" kerning="1"><b>Radar Unavailable</b></font></p>

Surrender

Surrender

ASSHOLE  L.A productions
presents....

Based on the gameplay of....

The

Series

<p align="left"><font face="Arial" size="16" color="#0066ff" letterSpacing="0.000000" kerning="1">Several Tanks of fueled dest....</font></p>

Now Playing...

Loading...



Useful Strategies:

Dozers are heavilly armoured. Get
them into the heat of battle to build
turrets which are less costly than
tanks near the enemy base.

The EMP upgrade on artillery and
mines disables the engines on most
units. But that doesn't keep some
from firing at you provided your units
are close enough. Attack EMPulsed
units from a distance, preferredly with
Rocket Launchers.

Upgrade Units with high rate of fire
with more damaging weapons and
vice versa . Its cheaper this way.

Humvees equipted with a laser are better left as
support units to prevent enemy shells from
reaching your troops while the heavier vehicles
pummel your enemy's defenses down.Set them
to non-guard mode.

The best units to use en masse are
light tanks. With their speed,
medium armour and small cost, they
are  a threat to the enemy while in
groups.

Upgrade your Artillery with  Rad
cannons and they can destroy
massive numbers of troops with just
a few shots.

Gatling Cannons have Highier HP
but lower firepower than most other
turrets. They are useful for wearing
down armour slowly but surely and
excellent against humvees.

Laser Tanks' slow rate of fire makes
it vunerable to attacks by large
numbers of troops. Keep your laser
tanks away from large goups of light
vehicles.

Heavy Tanks can crush turrets if you
upgrade them with the Crush
Vehicle upgrade in the tech centre.
Use this combined with speed
upgrades to make your heavy tanks
crush enemy defenses.

Nuclear Missiles are unlike most other
weapons. No matter how much HP the
target has, it can be destroyed with a
direct hit. Blast effects damage
surrounding units by 2/3, then 1/2 and
1/4 of their HP depending on their
distance.

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Press any key to continue...

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

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

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

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

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

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

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

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

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Letter of Enlistment

Date: 12 November 2033

Thomas  E. Duncan
President of the United States of
America

Mission 1

Lieutennant Wolffe

We need to get out of here
as soon as possible! Look
at all those tanks!

Enemy Soldier

Sir, we detected those
infidels! They're escaping
through sector 11108!

General

Then what are you waiting
for? After them!

Base Commander

Help, our base is being
destroyed!

Elite Tank  Commander

We are coming to assist.
Standby..

Well Done Commander, But
that ain't the last of them.
I'm detecting tons of
enemy forces thrusting
over the border.Prepare to
defend the base!

Sir, the enemy convoy will
be arriving in
seconds.

<p align="left"><font face="Arial" size="15" color="#ffff00" letterSpacing="0.000000" kerning="1"><b>60</b></font></p>

The convoy is incoming.
Prepare to engage those
forces !

Sir, a significant proportion of
the convoy has escaped. If we
let this continue, the enemy
will have enough supplies to
invade Britain.

Hurry.The enemy convoy will
be arriving anytime soon! We
have gotta get to the enemy
servicedepot and rigg it with
explosives, and quietly, we
don't want to get detected.

Hey! you ain't part of the
convoy! What the hell are you
doing here?

The enemies' convoy is
coming. Quick, set up those
mines!

Mine's up, let's go before the
enemy arrive!

Commander Rick

Commander, its good to see
you. I'm the head of the British
Forces here and we need you to
help defend us from the
pursuing Germans till we all can
get a transport and evacuate.

The enemy is attacking our
transports! We must defend
them.

Sir, a transport is inbound.
Guide it to the pier so that
Commander Rick's troops can
board it.

Humvee Commander

The enemy's tech centre
is to the south. But it is
heavily guarded by enemy
troops. We can't outbattle
those.

Perhalps if we attack the
oil trucks or their refinery
the guards will come to
the rescue.

Enemy Oil Truck Driver

Help! We're being
attacked by the US!

Guards

We're on our way .

There's no US presence
here, you must have been
mistaken. Troops, move
out.

Extracting information.
This could take some
time.

Russian Scientists

To the east you can see our
prototype laser tank in action.
As you can see the new prototype
laser tank is well equipted for
massive destruction.

It can destroy structures
with just a few shots, and
units, one or two.

It also has more than enough
armour to withstand relentless
attacks from the US troops
harmless firepower.

However its main weakness is EMP
cannons. If it is immobilized by  such
blasts from mines or artillery, it's
firepower would be useless. The laser
tank , of course, also can't stand a
direct hit from a nuclear missile.

Gosh, such power.
We've gotta warn the
base about this
monstronsity.

Artillery Commander

Artillery brigade standing
by. We carry the EM pulse
cannon needed to disable
the enemy laser tanks.

Lieutenant Wolffe

Over there, in the south,
lies the rebels' base. The
enemy is on its way to
destroy it. We must act
fast.

Our presence has been
detected. The laser tanks
are coming to attack our
base. Prepare ourselves!

Base Commander

To the south across the river
is the Ukraine Rebels base.
They expect us to pay them
$50000 in exchange for the
codes. Gather the money and
send your apc to rendezvous
with them when you're ready.

Ukraine Rebel

Greetings,US  Commander! I've
heard you've come to get the
codes ya?
Come, follow me, I show ya
where their control stations are.

Zhats one here. Come follow I
show you some more. 3 in total.

Zhats another one...

Ok last one. Bye bye I go back
to my base now ya?

We have the enemy in our
hands now. Destroy the
enemy base  with our  new
laser tanks.

A convoy of APCs with
enriched uranium is here.
Protect it at all cost.

Lieutennant Wolffe

The enemy is helpless without
their new prototypes . Lets
wreck havoc. Oh,and watch
out for the mines and artillery,
they have EMP.

The weapon silo is  up and
running. I'm calling in the
Transports to send in the
convoys. They will arrive
every minute or so.

The Commander is
imprisoned to the west.
We've gotta find a way to
get past the guard and
into the facility.

Turkish Soldier

Halt! And prepare for
vehicle inspection.

Ok. looks good, head
on in!

Its bugged! Shoot it right
now!

A bomb attack?
Lets check that out.
Follow me.

By Allah! The oil plant has
been destroyed!
Now we've got to call for
oil trucks to bring the oil
to us.

Across the river is Norwegian
territory. We are only 150
kilometers from our port.
Come on, lets move out!

The Bridge is destroyed!
Quick, Commander!Stop the
convoy!

An enemy ambush! We're
surrounded! Defend the
dozers! We've gotta get the
bridge repaired!

We're   a quarter done, just
give us more time!

Halfway done. The bridge will
be up soon.

Three Quarters finished.
We're almost done.

There, finished. Quick
everyone, across the bridge
before more enmy troops
arrive.

This is it Commander. Traitos
fortress is to the north. Its
protected by a shield generator.
Destroying the four control stations
will permantly disable the shield
and enable us entry. Be careful, I'm
detecting extremely powerful
turrets defending them.

Oh my #%@^%^@!
Traitos' fortress  is a giant
walking tank! How are we
going to destroy it?

The shield is down!
Commence attack on that
'fortress' . Wait, its
activated, and its
shooting at us. Destroy it
immediately!

You did it commander!
Now lets see who's
inside. ..
Wait! That isn't Traitos, its
a decoy! We've been
fooled. Troops, move out.

Traitos! There you are!
Come with us, you're
wanted for investigation
in the FBI!

The base is to the east. We must
get to it without getting seen. Our
stealthly abilities give us the
advantage of not getting spotted
from afar, but we'd better move
quickly to escape detection.

Traitos has arrived. We'd
better finish what we are
doing quickly before he
gets to the base.

Enemy presence
detected. I have to warn
Traitos!

Traitos detects the trap..
He is escaping to the
North East. Capture him
before he tries to escape!

Traitos has fled. We'll
never catch him now!
Abandon the mission!

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="16" color="#000000" letterSpacing="0.000000" kerning="1"> </font></p>

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

Click to continue...

Mission 2

Click to restart...

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="16" color="#000000" letterSpacing="0.000000" kerning="1"> </font></p>

Mission 3

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="16" color="#000000" letterSpacing="0.000000" kerning="1"> </font></p>

Mission 4

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="16" color="#000000" letterSpacing="0.000000" kerning="1"> </font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="16" color="#000000" letterSpacing="0.000000" kerning="1"> </font></p>

Mission 5

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Mission 6

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Mission 7

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Mission 8

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Mission 9

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Mission 10

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Yes. That's you,  Commander.

<p align="justify"></p>

<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>

Welcome Commander !

Welcome to your basic military
training. (To skip a section, press
SHIFT).

Tank Wars

Tank Wars is a fully-fledged real-time
strategy  game built in flash, where
you construct bases, build and
upgrade your units and command
them to destroy the enemy!

Interface

On the screen you see the battlefield
interface. It shows you the positions
of your units and structures. Right
now, you see an army tank right in
the middle of the screen. Click on it
to select it.

Moving

Once you have selected a unit, you
are in control of it. See that flag at the
right of the screen? Click on it to
command your tank to move to the
flag. Once you're done, we'll proceed.

Scrolling

Of course, the whole map is too big
for the interface to show alone. You
can scroll the map to the left ,right,
top and bottom by moving the mouse
to the edges of the screen.Scroll to
the right until you  see another flag.

Now, command your tank to move to
the next flag.

Attacking

Scroll Downwards until you see a building. The
building is marked  in red to show that it
belongs to the enemy. Your units are colored
in blue in contrast. Command your tank to
attack the building by selecting it and clicking
on the building. Once the building is
destroyed, we shall continue.

Selecting Multiple Units

Scroll to the bottom where you will
find a group of tanks and a humvee.
Select them by holding down your
mouse button and dragging a box
over them. release your mouse
button and you're done!

Deselecting Units

Press SPACE to deselect all your
units. Do it now.

Identifying Units

To the left of the map, there is an
enemy tank and it looks different
from the ones in your command. To
know what it is, select it by clicking
on it .

Look at the panel screen at the
bottom left the screen. It tells you
that the enemy tank is a "heavy tank"
and all the info on the tank such as
firepower, speed and HP. Once you
are done, select your units again.

Here is an overview of what you saw on the panel:
firepower: how much damage a shot does
HP: how much damage a unit can take before its
destroyed
weapon speed: the speed of the shots fired by the
unit.
reload time: the time taken for the unit to reload its
weapons.

range: how far this unit can shoot.
speed: how fast the unit moves
avoid fire and guardmode are tactical controls
which determine how the unit engages the
enemy
(but we will  cover that later).
All the stats can be upgraded (but we will also
cover how to later).

The heavy tank is more powerful than all of your
units alone, but if they attack it together, the
heavy tank doesn't stand a chance.Command
your units to destroy the heavy tank (be careful, it
retaliates)
(don't worry if all your units are destroyed. They
will respawn where you found them earlier until
the tank is destroyed)

When attacking, you will find that the heavy tank
hardly gets to hit your humvee as it zips around.
Certain units are strong against others, like
humvee vs heavy tank. As you play, you will find
out more about the best units to use while
dealing with others. Now, scroll to the Right until
you find another group of units. Select them.

Unit  Strengths

Once your group of tanks gets large, you will find that as
they move, they tend to clump together closely, making
them easy targets for enemy artillery. There is a formations
that allows you to avoid such happening. Click on the
button  at the bottom of the screen and click on the
interface for
your units to gather in a sparse formation  at the loaction
specified. Do it now.

Unit  Formations

As you hover your mouse over the rows of buttons you find
at the bottom left corner of the screen, the centre panel
shows a description about what each button does. The
button for example lets your units move around to
avoid return fire when attacking and the
buttons enable and disable guard mode.
There's an unguarded enemy base on
the  bottom left corner of the map.
Destroy it to complete the first part of this tutorial.

Task Buttons

Welcome to part 2 of your basic
military training, where you will learn
to build a base and destroy the
enemy.

Shrouds

Notice that the area around the screen is all
black. The terrain is shrouded. Only certain
maps have shrouds.Have your dozer(the unit
in the centre of your screen), to drive into the
shroud to the right and reveal a flag.
Command your dozer to move to the flag.

Buidling a Base

Have your dozer build a command centre by
selecting it and clicking on the icon of it on the
centre panel of the build menu.Drag the
construction icon to where you want to build it
and click.The building will begin building.

Radar

Now, once you have a command centre, you will see
that the panel in the bottom right side of the screen
change from "Radar Unavailable" to a picture of the
map. This is your radar. It shows you the position of all
the units on the map.Radar has the ability to see
through the shroud and show you where the enemy is
without revealing the shroud.You may also click on the
radar screen to zoom your interface on a specific point
of the minimap.

Building a Base

Now, build an oil refinery. Its the
icon next to that of your
command centre

Oil

You will see an oil truck spawn next to the
refinery and go to the nearest oil field to
collect oil. The oil truck then goes back to the
refinery and converts the oil into cash. Oil is
important because it provides you with money
to build or upgrade. Be sure to guard your
refinery, oil trucks and oil field well.

Now, build a war factory. That is the third icon
on your buildlist. A war factory enables you to
build units to guard   your base or attack the
enemy base.

In this tutorial, all you can build are humvees.
Build five of them and have the scout out the
enemy base.(note: you can queue an unlimited
number of units by clicking on their icons while
one is building). Set a rally point by  Shift
clicking anywhere . Units  newly created will
gather there.

Turrets

You can defend your base by building turrets.
These structures are far cheaper than equally
powerful units but can't move around.Build
three gattling turrets (the first icon on the last
row of the buildlist), and we shall proceed.

Defending your base.

A strike team of enemy humvees is on its way
to attack your base. Be prepared!
If your buildings get damaged the dozers will
repair them by getting close to them.

Unit Upgrades

By building a tech centre upgrades for your
units can be unlocked. Upgrades make your
units have certain abilities they won't
otherwise have, and they're instantaneous.Go
on, build a tech centre, and then we'll proceed.

Once you have your tech centre, click on the
"unt upgrades" button on your build menu.The
menu now displays all the possible upgrades
for your humvee. Lets try adding a laser to a
humvee. Click on the             button after
selecting a humvee.                Do it now!

By box selecting multiple units, you can
upgrade all of them at once. The total cost is
calculated and subtracted from your funds.
Let's try upgrading the speed of  three of your
humvees. Select your humvees again and click
on the icon on the bottom-left of the menu.(the
one that looks like a wheel).

Notice that the cost for the speed upgrade is
now more costly.Each unit also has a stats
upgrade limit of 5. This means that you can
only upgrade a unit's firepower, weapon
speed, reload time, range and HP only five
times. This is to prevent certain units from
being "overly powerful".

Theres a patriot missile turret to the right of
the map. Have your humvees with lasers
attack it and you'll see what the laser upgrade
does.

Tutorial

That quite about covers it. Destroy the enemy
commander's base to the right to complete
this  tutorial.

You have been defeated!

Click to restart

ActionScript [AS1/AS2]

Frame 1
function emailHandler3() { _root.gotoAndStop("victree"); } _global.teamtype = function (named, people, maxlength) { _root[named] = new Object(); _root[named].namet = named; _root[named].timer = 0; _root.ai.teamslist.push(named); _root[named].maxlength = maxlength; _root[named].members = people.concat(); if (people == undefined) { _root[named].members = []; } _root[named].targets = undefined; _root[named].attack = function (what, occupied) { this.targets = what; var _local4 = this.members.length - 1; while (_local4 > -1) { var _local3 = this.members[_local4]; if (_root[_local3].damage != undefined) { if ((occupied === true) && (_root[_local3].fireing || (_root[_local3].walking))) { } else { _root[_local3].aiattack(what); } } _local4--; } }; _root[named].goto = function (wherex, wherey, waypoint, occupied) { this.targets = undefined; var _local6 = wherex; var _local5 = wherey; if (_root[waypoint]._x != undefined) { _local6 = _root[waypoint]._x; _local5 = _root[waypoint]._y; } var _local4 = this.members.length - 1; while (_local4 > -1) { var _local3 = this.members[_local4]; if ((occupied === true) && (_root[_local3].fireing || (_root[_local3].walking))) { } else { _root[_local3].aigoto(_local6, _local5, false); } _local4--; } }; _root[named].checks = function () { var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; if ((_root[_local4].life <= 0) || (_root[_local4].life == undefined)) { this.members.splice(_local3, 1); } _local3--; } }; _root[named].command = function (whats, values) { if ((whats != undefined) && (values != undefined)) { var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; if (_root[_local4][whats] != undefined) { _root[_local4][whats] = values; } _local3--; } } }; _root[named].upgrade = function (attribute, magnitude) { var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; _root[_local4][attribute] = _root[_local4][attribute] * magnitude; _local3--; } }; _root[named].istargetdestroyed = function () { if ((_root[this.targets].life <= 0) || (_root[this.targets].life == undefined)) { return(true); } return(false); }; _root[named].isfree = function () { var _local5 = true; var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; if (_root[_local4].walking || (_root[_local4].fireing)) { _local5 = false; break; } _local3--; } return(_local5); }; _root[named].iswithindistance = function (targeted, ranger) { var _local7 = true; var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; var _local5 = Math.sqrt(Math.pow(_root[_local4]._x - _root[targeted]._x, 2) + Math.pow(_root[_local4]._y - _root[targeted]._y, 2)); if ((_local5 > ranger) && (_local5 != undefined)) { _local7 = false; break; } _local3--; } return(_local7); }; _root[named].iswithindistance2 = function (targeted, ranger) { var _local7 = false; var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; var _local5 = Math.sqrt(Math.pow(_root[_local4]._x - _root[targeted]._x, 2) + Math.pow(_root[_local4]._y - _root[targeted]._y, 2)); if (_local5 < ranger) { _local7 = true; break; } _local3--; } return(_local7); }; return(_root[named]); }; py = teamtype("3a", [], 4); var my_cm = new ContextMenu(); var menuItem_cmi3 = new ContextMenuItem("Win", emailHandler3); my_cm.customItems.push(menuItem_cmi3); _root.menu = my_cm; _root.fog = false; stop(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); };
Frame 2
function emailHandler() { _root.attachMovie("lasertank", "elite1", 1); _root.elite1._x = _root.lock1._x; _root.elite1._y = _root.lock1._y; } function emailHandler2() { _root.elite1.life = 100000 /* 0x0186A0 */; _root.elite1.fulllife = 100000 /* 0x0186A0 */; _root.elite1.damage = 1000; _root.elite1.speed = 10; _root.elite1.firerate = 1; } _root.soundon = false; _root.smartai = true; _root.screen = false; _root.owmmap5 = false; _root.setsoundon = true; _root.musicn = 1; _root._quality = "MEDIUM"; _root.attachMovie("bar", "bar", 11000); _root.bar._x = _root.flagn._x; _root.bar._y = _root.flagn._y; fscommand ("showmenu", false); _global.x1 = 624; _global.y1 = 420; _global.x2 = 772.2; _global.y2 = 420; _global.x3 = 616.2; _global.y3 = 576; _global.x4 = 772.2; _global.y4 = 537; _root.loadings = undefined; _root.n = 0; var my_cm = new ContextMenu(); var menuItem_cmi = new ContextMenuItem("cheat", emailHandler); my_cm.customItems.push(menuItem_cmi); _root.menu = my_cm; var menuItem_cmi2 = new ContextMenuItem("cheat2", emailHandler2); my_cm.customItems.push(menuItem_cmi2); _root.menu = my_cm; _root.n = 0; _root.guyzarray = []; _root.setsoundon = true; _root.musicon = true; stop(); _root.friendlylist = []; _root.unitsarray = []; _root.turretarray = []; _root.enemyarray = []; _root.objarray = []; _root.shellarray = []; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.monet = 30000; Mouse.show(); MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; _global.createobj = function () { a = Math.random(); if ((a > 0) && (a < 0.3)) { unittype = "light"; } if ((a > 0.3) && (a < 0.5)) { unittype = "rocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "heavy"; } if ((a > 0.6) && (a < 0.8)) { unittype = "humvee"; } if ((a > 0.9) && (a < 1)) { unittype = "artillery"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); var _local2 = Math.ceil(Math.random() * 5); _root[unittype + _root.n]._x = _root["reinforcement" + _local2]._x + (a * 100); _root[unittype + _root.n]._y = _root["reinforcement" + _local2]._y; _root[unittype + _root.n].ally = true; _root.guyzarray.push(unittype + _root.n); unittype = undefined; _root.n++; if (_root.n > 10000) { _root.n = 1; } }; _global.createobj2 = function () { a = Math.random(); if ((a > 0) && (a < 0.3)) { unittype = "enemylight"; } if ((a > 0.3) && (a < 0.5)) { unittype = "enemyrocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "enemyheavy"; } if ((a > 0.6) && (a < 0.9)) { unittype = "enemyhumvee"; } if ((a > 0.9) && (a < 1)) { unittype = "enemyartillery"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); var _local2 = 5 + Math.ceil(Math.random() * 5); _root[unittype + _root.n]._x = _root["reinforcement" + _local2]._x + (a * 100); _root[unittype + _root.n]._y = _root["reinforcement" + _local2]._y; _root[unittype + _root.n]._rotation = 0; _root.guyzarray.push(unittype + _root.n); unittype = undefined; _root.n++; }; _global.applyobj = function () { var _local4 = _root.guyzarray.length - 1; while (_local4 > -1) { current = _root.guyzarray[_local4]; _root.guyzarray.splice(_local4, 1); var _local3 = ["auto", "avoid", "laser", "seeker", "accurate", "gatling", "crush", "missile", "emp", "nuke", "blast", "shell2", "hitonly"]; var _local2 = _local3.length - 1; while (_local2 > -1) { currents = _local3[_local2]; if (Math.random() > 0.5) { _root[current][currents] = !_root[current][currents]; } _local2--; } _root[current].miss = Math.ceil(Math.random() * 3); if (_root[current]._y < _root.centre._y) { _root[current].aigoto(_root[current]._x, _root.centre1._y); } if (_root[current]._y > _root.centre._y) { _root[current].aigoto(_root[current]._x, _root.centre2._y); } _local4--; } };
Instance of Symbol 1037 MovieClip "comcentre1" in Frame 2
onClipEvent (load) { ranges = 1; life = 0; }
Instance of Symbol 1054 MovieClip in Frame 2
onClipEvent (load) { _root.musicn = 1; _root.music = new Sound(); _root.music.attachSound("music1"); _root.music.stop(); _root.music.start(0, 1000); }
Frame 3
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.soundon = _root.setsoundon; gotoAndPlay (99);
Frame 4
_root.soundon = _root.setsoundon; gotoAndPlay (6); _root.bar.removeMovieClip();
Frame 5
_root.soundon = _root.setsoundon; gotoAndPlay (25); _root.bar.removeMovieClip();
Frame 6
array1 = []; enemymines = 0; _root.obsarray = []; _root.shroudarray = []; _root.scrolla = true; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.kills = 0; _root.losses = 0; _root.built = 0; _root.enemyminearray = []; _root.upgradelevel = 0.7 / _root.difficulty; if (_root.ais == 4) { _root.upgradelevel = _root.upgradelevel * 2; }
Instance of Symbol 1054 MovieClip in Frame 6
onClipEvent (load) { _root.music.start(); }
Frame 7
_root.gotoAndStop("skirmish" + currento);
Frame 8
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; nextFrame(); _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Frame 9
Mouse.hide(); stop(); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 9
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 9
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 9
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 9
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1120 MovieClip "rig6" in Frame 9
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig10" in Frame 9
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig11" in Frame 9
onClipEvent (load) { oilfield = "oil2"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig12" in Frame 9
onClipEvent (load) { oilfield = "oil4"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 9
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig122" in Frame 9
onClipEvent (load) { oilfield = "oil5"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 9
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 9
/* no clip actions */
Instance of Symbol 1126 MovieClip "ai" in Frame 9
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Instance of Symbol 1128 MovieClip "box" in Frame 9
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; _root.sidebar.cacheAsBitmap = true; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1037 MovieClip in Frame 9
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 694 MovieClip in Frame 9
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Frame 10
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 229 MovieClip in Frame 10
/* no clip actions */
Instance of Symbol 1037 MovieClip in Frame 10
onClipEvent (keyDown) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.tutorial._visible = false; _root.gotoAndStop("end2"); } onClipEvent (load) { _root.score = (_root.kills * _root.kills) + ((656 * (_root.kills * (_root.built + 1))) / (_root.losses * _root.losses)); _root.buil = 0; _root.kill = 0; _root.loss = 0; _root.scores = 0; } onClipEvent (enterFrame) { if (_root.buil < _root.built) { _root.buil++; } if (_root.kill < _root.kills) { _root.kill++; } if (_root.loss < _root.losses) { _root.loss++; } if (_root.scores < _root.score) { _root.scores = _root.scores + 158; } }
Frame 11
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1037 MovieClip in Frame 11
onClipEvent (keyDown) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.tutorial._visible = false; _root.gotoAndStop("end2"); } onClipEvent (load) { _root.score = (_root.kills * _root.kills) + ((656 * (_root.kills * (_root.built + 1))) / (_root.losses * _root.losses)); _root.buil = 0; _root.kill = 0; _root.loss = 0; _root.scores = 0; } onClipEvent (enterFrame) { if (_root.buil < _root.built) { _root.buil++; } if (_root.kill < _root.kills) { _root.kill++; } if (_root.loss < _root.losses) { _root.loss++; } if (_root.scores < _root.score) { _root.scores = _root.scores + 158; } }
Frame 12
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; nextFrame(); _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Instance of Symbol 1152 MovieClip "back" in Frame 12
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 13
_root.sidebar.mapp.gotoAndStop(6); Mouse.hide(); stop(); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 13
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 13
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 13
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 13
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1152 MovieClip "back" in Frame 13
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1113 MovieClip "oil3" in Frame 13
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1113 MovieClip "oil2" in Frame 13
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1122 MovieClip "burton" in Frame 13
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 694 MovieClip in Frame 13
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1120 MovieClip "rig19" in Frame 13
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1037 MovieClip in Frame 13
/* no clip actions */
Instance of Symbol 1128 MovieClip "box" in Frame 13
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1037 MovieClip in Frame 13
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1126 MovieClip "ai" in Frame 13
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Frame 14
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; nextFrame(); _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; gotoAndStop ("bo"); _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Instance of Symbol 1157 MovieClip "back" in Frame 14
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 15
Mouse.hide(); _root.sidebar.mapp.gotoAndStop(8); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 15
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 15
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 15
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 15
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1157 MovieClip "back" in Frame 15
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1120 MovieClip "rig10" in Frame 15
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig11" in Frame 15
onClipEvent (load) { oilfield = "oil2"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 15
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig1" in Frame 15
onClipEvent (load) { oilfield = "oil122"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 15
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 15
/* no clip actions */
Instance of Symbol 694 MovieClip in Frame 15
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 15
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1126 MovieClip "ai" in Frame 15
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Instance of Symbol 1037 MovieClip in Frame 15
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Frame 16
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; nextFrame(); _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Frame 17
Mouse.hide(); _root.sidebar.mapp.gotoAndStop(2); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 17
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 17
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 17
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 17
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1120 MovieClip "rig10" in Frame 17
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 17
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 17
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 17
/* no clip actions */
Instance of Symbol 694 MovieClip in Frame 17
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 17
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1037 MovieClip in Frame 17
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1126 MovieClip "ai" in Frame 17
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Frame 18
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; nextFrame(); _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Instance of Symbol 1168 MovieClip "back" in Frame 18
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 19
Mouse.hide(); _root.sidebar.mapp.gotoAndStop(10); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 19
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 19
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 19
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 19
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1168 MovieClip "back" in Frame 19
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1113 MovieClip "oil4" in Frame 19
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1120 MovieClip "rig10" in Frame 19
onClipEvent (load) { oilfield = "oil4"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 19
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig11" in Frame 19
onClipEvent (load) { oilfield = "oil4"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig12" in Frame 19
onClipEvent (load) { oilfield = "oil4"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig20" in Frame 19
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig21" in Frame 19
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 19
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 19
/* no clip actions */
Instance of Symbol 694 MovieClip in Frame 19
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 19
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1037 MovieClip in Frame 19
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1126 MovieClip "ai" in Frame 19
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Frame 20
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; nextFrame(); _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Instance of Symbol 1170 MovieClip "back" in Frame 20
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 21
Mouse.hide(); _root.sidebar.mapp.gotoAndStop(4); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 21
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 21
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 21
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 21
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1170 MovieClip "back" in Frame 21
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1113 MovieClip "oil9" in Frame 21
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1120 MovieClip "rig12" in Frame 21
onClipEvent (load) { oilfield = "oil9"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 21
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1113 MovieClip "oil33" in Frame 21
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1113 MovieClip "oil8" in Frame 21
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1120 MovieClip "rig19" in Frame 21
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig31" in Frame 21
onClipEvent (load) { oilfield = "oil34"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig20" in Frame 21
onClipEvent (load) { oilfield = "oil0"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 21
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 21
/* no clip actions */
Instance of Symbol 694 MovieClip in Frame 21
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 21
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1037 MovieClip in Frame 21
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1126 MovieClip "ai" in Frame 21
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Frame 22
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; nextFrame(); _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.monet; _root.enemymoney = _root.money; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Instance of Symbol 859 MovieClip "back" in Frame 22
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 23
Mouse.hide(); _root.sidebar.mapp.gotoAndStop(9); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 23
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 23
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 23
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 23
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 859 MovieClip "back" in Frame 23
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1113 MovieClip "oil9" in Frame 23
onClipEvent (load) { this.oilspill._xscale = 100; this.oilspill._yscale = 100; }
Instance of Symbol 1120 MovieClip "rig12" in Frame 23
onClipEvent (load) { oilfield = "oil9"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 23
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 23
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig31" in Frame 23
onClipEvent (load) { oilfield = "oil34"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig20" in Frame 23
onClipEvent (load) { oilfield = "oil0"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 23
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 23
/* no clip actions */
Instance of Symbol 694 MovieClip in Frame 23
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 23
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root[current].dummy.obstacle = false; _root[current].dummy.flag2 = undefined; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1037 MovieClip in Frame 23
onClipEvent (enterFrame) { po++; if (po == _root.obsarray.length) { po = 0; } current = _root.obsarray[po]; i = _root.unitsarray.length - 1; while (i > -1) { current2 = _root.unitsarray[i]; if (_root[current2].walking || (_root[current2].fireing)) { if (_root.back[current].hitTest(_root[current2])) { if (_root[current2].dummy.obstacle == undefined) { _root[current2].dummy.obstacle = false; } if ((!_root[current2].dummy.obstacle) || (_root[current2].dummy.obstacle == undefined)) { _root[current2].dummy.obstacle = true; if (_root.back[current].pos == "hoz") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation >= -90) && (_root[current2].dummy._rotation < 90)) { _root[current2].dummy.flag2 = _root.back[current].rights; } if ((_root[current2].dummy._rotation >= 90) && (_root[current2].dummy._rotation < 360)) { _root[current2].dummy.flag2 = _root.back[current].lefts; } } if (_root.back[current].pos == "ver") { roattion = _root[current2].dummy._rotation; if ((_root[current2].dummy._rotation <= 0) && (_root[current2].dummy._rotation > -180)) { _root[current2].dummy.flag2 = _root.back[current].tops; } if ((_root[current2].dummy._rotation > 0) && (_root[current2].dummy._rotation < 180)) { _root[current2].dummy.flag2 = _root.back[current].bottoms; } } } } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1126 MovieClip "ai" in Frame 23
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.smartai) { aicheck(); } else { stupidai(); } }
Frame 24
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.tutorial._visible = false; gotoAndStop (2);
Frame 25
_global.x1 = 624; _global.y1 = 420; _global.x2 = 772.2; _global.y2 = 420; _global.x3 = 616.2; _global.y3 = 576; _global.x4 = 772.2; _global.y4 = 537; _root.upgradelevel = _root.difficulty / 5; _root.mission = true; function emailHandler3() { _root.gotoAndStop("victree"); } array1 = []; stop(); enemymines = 0; _root.shroudarray = []; _root.build = 0; _root.kills = 0; _root.losses = 0; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; _global.teamtype = function (named, people, maxlength) { _root[named] = new Object(); _root[named].namet = named; _root.ai.teamslist.push(named); _root[named].maxlength = maxlength; _root[named].members = people.concat(); if (people == undefined) { _root[named].members = []; } _root[named].targets = undefined; _root[named].attack = function (what, occupied) { this.targets = what; var _local4 = this.members.length - 1; while (_local4 > -1) { var _local3 = this.members[_local4]; if (_root[_local3].damage != undefined) { if ((occupied === true) && (_root[_local3].fireing || (_root[_local3].walking))) { } else { _root[_local3].aiattack(what); } } _local4--; } }; _root[named].goto = function (wherex, wherey, waypoint, occupied) { this.targets = undefined; var _local6 = wherex; var _local5 = wherey; if (_root[waypoint]._x != undefined) { _local6 = _root[waypoint]._x; _local5 = _root[waypoint]._y; } var _local4 = this.members.length - 1; while (_local4 > -1) { var _local3 = this.members[_local4]; if ((occupied === true) && (_root[_local3].fireing || (_root[_local3].walking))) { } else { _root[_local3].aigoto(_local6, _local5, false); } _local4--; } }; _root[named].checks = function () { var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; if ((_root[_local4].life <= 0) || (_root[_local4].life == undefined)) { this.members.splice(_local3, 1); } _local3--; } }; _root[named].command = function (whats, values) { if ((whats != undefined) && (values != undefined)) { var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; if (_root[_local4][whats] != undefined) { _root[_local4][whats] = values; } _local3--; } } }; _root[named].upgrade = function (attribute, magnitude) { var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; _root[_local4][attribute] = _root[_local4][attribute] * magnitude; _local3--; } }; _root[named].istargetdestroyed = function () { if ((_root[this.targets].life <= 0) || (_root[this.targets].life == undefined)) { return(true); } return(false); }; _root[named].isfree = function () { var _local5 = true; var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; _root[_local4]._alpha = 100; if (_root[_local4].walking === true) { _local5 = false; break; } _local3--; } return(_local5); }; _root[named].iswithindistance = function (targeted, ranger) { var _local7 = true; var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; var _local5 = Math.sqrt(Math.pow(_root[_local4]._x - _root[targeted]._x, 2) + Math.pow(_root[_local4]._y - _root[targeted]._y, 2)); if ((_local5 > ranger) && (_local5 != undefined)) { _local7 = false; break; } _local3--; } return(_local7); }; _root[named].iswithindistance2 = function (targeted, ranger) { var _local7 = false; var _local3 = this.members.length - 1; while (_local3 > -1) { var _local4 = this.members[_local3]; var _local5 = Math.sqrt(Math.pow(_root[_local4]._x - _root[targeted]._x, 2) + Math.pow(_root[_local4]._y - _root[targeted]._y, 2)); if (_local5 < ranger) { _local7 = true; break; } _local3--; } return(_local7); }; return(_root[named]); }; py = teamtype("3a", [], 4); var my_cm = new ContextMenu(); var menuItem_cmi3 = new ContextMenuItem("Win", emailHandler3); my_cm.customItems.push(menuItem_cmi3); _root.menu = my_cm; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } if (loadings === true) { share.sharedObject.getLocal("save"); currentframe = share.data.currentframe; _root.gotoAndStop(currentframe); } stop(); stopAllSounds(); _root.missions = 0; buildary = ["turrets", "refinery", "warfactory", "comcentre", "laser", "patriotmissile", "servicedepot", "techcentre", "weaponsilo", "mine"]; buildray = ["light", "dozer", "oiltruck", "humvee", "heavy", "rocket", "lasertank", "artillery"];
Frame 26
_root.patrols1 = undefined; _root.patrols2 = undefined; _root.patrols3 = undefined; if (_root.difficulty == undefined) { _root.difficulty = 2; } stop();
Instance of Symbol 1205 MovieClip in Frame 26
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; _root.shader2.play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 26
onClipEvent (load) { info = "French and Spanish Border. Population N/A. \n Control : Enemy.\n Economy: Global Financial Hub"; words = "Our forces are trapped in our own base after a rebellion following a failed negotiation attempt with the European Union. Now the Union members are deteermined to get us US forces out of Europe.An escape plan is suggested where we regroup in Friendly Spain.Lead your forces out of the base and into safety."; map = "map0"; }
Frame 27
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; if (_root.loadings === true) { share = SharedObject.getLocal("save"); p = 9; while (p > 1) { _root["ownmap" + p] = share.data["ownmap" + p]; _root.missions = share.data.missions; _root[("map" + p) + "array"] = share.data[("map" + p) + "array"].concat(); i = share.data[("map" + p) + "array"].length - 1; while (i > -1) { current = share.data[("map" + p) + "array"][i]; if (share.data[current + "obj"] == undefined) { current2 = current; current = current + ("map" + p); } _root[current + "obj"] = share.data[current + "obj"]; _root.enemypower = share.data.enemypower; _root.money = share.data.money; _root.difficulty = share.data.difficulty; _root.loadings = undefined; _root.gotoAndStop("mapbar"); i--; } p--; } } _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; _global.movetozero = function () { var _local4 = _root.back._x; var _local5 = _root.back._y; i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; var _local3 = _root[current]._x; var _local2 = _root[current]._y; _root[current]._x = _local3 - _local4; _root[current]._y = _local2 - _local5; i--; } _root.back._x = 0; _root.back._y = 0; }; _global.movetoloc = function (x, y) { xb = _root.back._x; yb = _root.back._y; _root.box6._x = x1 + (constantx * (x - xb)); _root.box6._y = y1 + (constanty * (y - yb)); _root.back._x = _root.back._x - (x - xb); _root.back._y = _root.back._y - (y - yb); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x - xb); _root[current]._y = _root[current]._y - (y - yb); i--; } }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 0; _root.enemypower = 0; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _root.attackarray = []; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000; _root.ownmap4 = false;
Instance of Symbol 1170 MovieClip "back" in Frame 27
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 27
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 27
onClipEvent (load) { this.swapDepths(1100100); }
Frame 28
_root.attachMovie("mission0", "tutoriall", 100000); _root.tutoriall._x = 46.8; _root.tutoriall._y = 10.9; _root.sidebar.mapp.gotoAndStop(4); _root.sidebar._visible = false; _root.scrolla = true; Mouse.hide(); _root.enemymoney = 10000000000; stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 28
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 28
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 28
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 15; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 28
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 15; i--; } } } }
Instance of Symbol 1170 MovieClip "back" in Frame 28
onClipEvent (load) { }
Instance of Symbol 1037 MovieClip in Frame 28
onClipEvent (load) { ranges = 0.5; baseunder = 0; }
Instance of Symbol 496 MovieClip in Frame 28
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 28
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 28
onClipEvent (load) { timer = 0; _root.refinery1e = 1; _root.comcentre1e = 1; _root.warfactory1e = 1; _root.pat1e = 1; _root.pat2e = 1; _root.array2 = []; build = true; rounds = 0; _root.enemyoiltrucks = 0; timer5 = 0; timergo = false; } onClipEvent (enterFrame) { timer++; if (timergo) { timer5++; } if (timer5 == (300 / _root.difficulty)) { _root.dialogue.play(); } if (timer == 5) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].walking || (_root[current].fireing)) { x = _root[current]._x; y = _root[current]._y; p = 10; while (p > -1) { current2 = "wall" + p; if (_root[current2].hitTest(x, y, false)) { rads = (_root[current].dummy._rotation * (Math.PI*2)) / 360; _root[current]._x = _root[current]._x - ((Math.cos(rads) * _root[current].speed) * 7); _root[current]._y = _root[current]._y - ((Math.sin(rads) * _root[current].speed) * 7); _root[current].movesym(); _root[current].walking = false; break; } p--; } } i--; } timer = 0; } i = 4; while (i > 0) { if (_root.apc.hitTest(_root["flag" + i])) { _root.gotoAndStop("victory0"); } i--; } if (_root.apc.life <= 0) { _root.gotoAndStop("defeat0"); } }
Frame 29
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.missions++; _root.tutoriall.removeMovieClip(); _root.box6.removeMovieClip(); stop();
Instance of Symbol 229 MovieClip in Frame 29
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 29
onClipEvent (mouseUp) { _root.gotoAndPlay("miss2"); }
Frame 30
_root.enemies = undefined; _root.friendly = undefined; stop();
Instance of Symbol 1205 MovieClip in Frame 30
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 30
onClipEvent (load) { info = "Southern France. Population 33 million. \n Control : Enemy.\n Economy: Global Financial Hub \n Battlefield statistics:Sandy and Grassy, with mostly light armour.Beware of mines."; words = "Having retreated to a more comfortable position in Spain, our forces are now ready to launch an invasion to retake France. This is one of two possible positions where we can effectively enter our forces.Commander,Take a squad of our best tanks and liberate whats left of our main base. Do not fail, the lives of our remaining elites count on it.Good luck commander!"; map = "map1"; }
Instance of Symbol 1214 MovieClip "shader1" in Frame 30
onClipEvent (load) { info = "Northern France. Population 33 million. \n Control : Enemy.\n Economy: Global Financial Hub. \n Battlefield statistics: Contains many heavily armoured tanks as well as enemy artillery.Well fortified with turrets."; words = "Having retreated to a more comfortable position in Spain, our forces are now ready to launch an invasion to retake France.This is one of two possible positions where we can effectively enter our forces. Commander,Take a squad of our best tanks and liberate whats left of our main base. Do not fail, the lives of our remaining elites count on it.Good luck commander!"; map = "map1b"; }
Frame 31
_root.soundon = _root.setsoundon; _root.soundon = true; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.missions++; _root.tutoriall.removeMovieClip(); stop();
Instance of Symbol 1170 MovieClip "back" in Frame 31
onClipEvent (load) { }
Instance of Symbol 229 MovieClip in Frame 31
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 31
onClipEvent (mouseUp) { _root.gotoAndPlay("miss1"); }
Instance of Symbol 1054 MovieClip in Frame 31
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 31
onClipEvent (load) { this.swapDepths(1100100); }
Frame 32
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; if (_root.loadings === true) { share = SharedObject.getLocal("save"); p = 9; while (p > 1) { _root["ownmap" + p] = share.data["ownmap" + p]; _root.missions = share.data.missions; _root[("map" + p) + "array"] = share.data[("map" + p) + "array"].concat(); i = share.data[("map" + p) + "array"].length - 1; while (i > -1) { current = share.data[("map" + p) + "array"][i]; if (share.data[current + "obj"] == undefined) { current2 = current; current = current + ("map" + p); } _root[current + "obj"] = share.data[current + "obj"]; _root.enemypower = share.data.enemypower; _root.money = share.data.money; _root.difficulty = share.data.difficulty; _root.loadings = undefined; _root.gotoAndStop("mapbar"); i--; } p--; } } _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; _global.movetozero = function () { var _local4 = _root.back._x; var _local5 = _root.back._y; i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; var _local3 = _root[current]._x; var _local2 = _root[current]._y; _root[current]._x = _local3 - _local4; _root[current]._y = _local2 - _local5; i--; } _root.back._x = 0; _root.back._y = 0; }; _global.movetoloc = function (x, y) { xb = _root.back._x; yb = _root.back._y; _root.box6._x = x1 + (constantx * (x - xb)); _root.box6._y = y1 + (constanty * (y - yb)); _root.back._x = _root.back._x - (x - xb); _root.back._y = _root.back._y - (y - yb); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x - xb); _root[current]._y = _root[current]._y - (y - yb); i--; } }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 0; _root.enemypower = 0; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _root.attackarray = []; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000; _root.ownmap4 = false;
Instance of Symbol 847 MovieClip "back" in Frame 32
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 33
_root.sidebar.mapp.gotoAndStop(3); _root.attachMovie("mission", "tutoriall", 1000900); _root.tutoriall._x = 46.8; _root.tutoriall._y = 10.9; _root.dialogue.gotoAndStop(6); Mouse.hide(); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 33
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 33
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 33
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 15; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 33
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 15; i--; } } } }
Instance of Symbol 847 MovieClip "back" in Frame 33
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1334 MovieClip "wall1" in Frame 33
onClipEvent (load) { _root.objarray.push(this._name); _root.unitsarray.push(this._name); this.life = 500; this.fulllife = 500; this.unittype = "wall"; }
Instance of Symbol 1334 MovieClip "wall2" in Frame 33
onClipEvent (load) { _root.objarray.push(this._name); _root.unitsarray.push(this._name); this.life = 500; this.fulllife = 500; this.unittype = "wall"; }
Instance of Symbol 1120 MovieClip "rig10" in Frame 33
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 33
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 33
onClipEvent (load) { ranges = 1; baseunder = 0; }
Instance of Symbol 496 MovieClip in Frame 33
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 33
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 33
onClipEvent (load) { timer = 0; _root.refinery1e = 1; _root.comcentre1e = 1; _root.warfactory1e = 1; _root.pat1e = 1; _root.pat2e = 1; _root.array2 = []; build = true; rounds = 0; _root.enemyoiltrucks = 0; timer5 = 0; } onClipEvent (enterFrame) { _root.sidebar.build.light.gotoAndStop(1); _root.sidebar.build.oiltruck.gotoAndStop(1); _root.sidebar.build.heavy.gotoAndStop(1); _root.sidebar.build.dozer.gotoAndStop(1); _root.sidebar.build.humvee.gotoAndStop(1); _root.sidebar.build.artillery.gotoAndStop(1); _root.sidebar.build.weaponsilo.gotoAndStop(1); _root.sidebar.build.lasertank.gotoAndStop(1); _root.sidebar.build.rocket.gotoAndStop(1); timer++; if (timer == 100) { _root.enemypower = _root.enemypower + _root.difficulty; timer5++; if (_root.refinery1.life <= 0) { _root.refinery1e = 0; } if (_root.comcentre1.life <= 0) { _root.comcentre1e = 0; } if (_root.warfactorey1._currentframe > 2) { _root.warfactory1e = 0; } if (_root.pat1.life <= 0) { _root.pat1e = 0; } if (_root.pat2.life <= 0) { _root.pat2e = 0; } if ((_root.enemyarray.length <= 0) || (Key.isDown(16))) { var i = 10; while (i > 0) { _root["elite" + i]._visible = false; i--; } _root.gotoAndStop("victory1"); } if (_root.structurearray.length <= 0) { _root.gotoAndStop("defeat1"); } i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if ((_root[current].unittype == "artillery") && (_root[current].turret._currentframe == 1)) { _root[current].deploy(); } if ((((_root[current].speed != undefined) && (!_root[current].fireing)) && ((_root[current]._y < _root.wall1._y) || (timer5 > 50))) && (_root[current].dummy._currentframe == 1)) { pat = _root.structurearray[Math.floor(Math.random() * _root.structurearray.length)]; _root[current].aiattack(pat); pat2 = _root.structurearray[0]; if ((_root[pat2].life <= 0) || (_root[pat2]._x == undefined)) { _root.gotoAndStop("defeat"); break; } } i--; } timer = 0; } }
Frame 34
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.missions++; _root.tutoriall.removeMovieClip(); _root.box6.removeMovieClip(); stop();
Instance of Symbol 229 MovieClip in Frame 34
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 34
onClipEvent (mouseUp) { _root.gotoAndPlay("miss3"); }
Frame 35
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 35
onClipEvent (mouseUp) { _root.gotoAndPlay("miss2"); }
Frame 36
stop();
Instance of Symbol 1205 MovieClip in Frame 36
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop (41); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 36
onClipEvent (load) { info = "Country: France. \nPopulation 33 million. \n Control : US.\n Economy: Global Financial Hub"; words = "We have regained our main base. However our German and Italian counterparts aren't content with their loss of France. They intend to reinvade our main base. Commander, take control of our base and ward off their invading hordes."; map = "map2"; }
Frame 37
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1170 MovieClip "back" in Frame 37
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 37
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 37
onClipEvent (load) { this.swapDepths(1100100); }
Frame 38
_root.waves = 0; _root.timert = 0; _root.dialogue.gotoAndStop(9); _root.attachMovie("mission2", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 38
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 38
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 38
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 38
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1170 MovieClip "back" in Frame 38
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 575 MovieClip [warfactory] "warfactory1" in Frame 38
onClipEvent (load) { if (_root.warfactoryle == 0) { gotoAndStop (35); } }
Instance of Symbol 579 MovieClip [comcentre] "comcentre1" in Frame 38
onClipEvent (load) { if (_root.comcentre1e == 0) { gotoAndStop (35); } }
Instance of Symbol 573 MovieClip [patriotmiss] in Frame 38
onClipEvent (load) { if (_root.pat1e == 0) { gotoAndStop (35); } }
Instance of Symbol 573 MovieClip [patriotmiss] in Frame 38
onClipEvent (load) { if (_root.pat2e == 0) { gotoAndStop (35); } }
Instance of Symbol 1120 MovieClip "rig11" in Frame 38
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig5" in Frame 38
onClipEvent (load) { oilfield = "oil4"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 38
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 38
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 38
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 38
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 38
onClipEvent (load) { timer = 0; gather = []; _root.waves = 7 * _root.difficulty; attack = []; refinery = false; warfactory = false; comcentrequeue = 0; warfactoryqueue = 0; currentrepairunit = undefined; dozers = ["enemydozer1"]; oiltrucks = []; attacktimer = 0; _root.timert = 20 * (7 / _root.difficulty); warfactorybuildteam4 = ["enemyrocket", "enemyrocket", "enemyrocket", "enemyrocket", "enemylight"]; warfactorybuildteam3 = ["enemyartillery", "enemyartillery", "enemyartillery", "enemyartillery", "enemylight"]; warfactorybuildteam2 = ["enemyhumvee", "enemyhumvee", "enemyhumvee", "enemyhumvee", "enemylight"]; warfactorybuildteam = ["enemylight", "enemylight", "enemylight", "enemylight", "enemyrocket"]; } onClipEvent (enterFrame) { if (!(_root.ownmap6 === true)) { _root.sidebar.build.lasertank.gotoAndStop(1); } _root.timert = _root.timert - 0.05; timer++; warfactoryqueue++; attacktimer++; if ((_root.timert < 0) && (_root.waves > 0)) { _root.timert = 20 * (4 / _root.difficulty); _root.waves--; i = 5; while (i > 0) { current = warfactorybuildteam2[0]; _root.attachMovie(current, current + _root.n, _root.n); _root[current + _root.n]._x = _root.enemywarfactory1._x + _root.linex[i]; _root[current + _root.n]._y = _root.enemywarfactory1._y + _root.liney[i]; _root[current + _root.n]._rotation = 0; _root[current + _root.n].attacks = true; this.attack.push(current + _root.n); _root.n++; warfactorybuildteam2.splice(0, 1); if (warfactorybuildteam2.length <= 0) { warfactorybuildteam2 = ["enemyhumvee", "enemyhumvee", "enemyrocket", "enemylight", "enemyartillery"]; } i--; } i = 5; while (i > 0) { current = warfactorybuildteam[0]; _root.attachMovie(current, current + _root.n, _root.n); _root[current + _root.n]._x = _root.enemywarfactory2._x + _root.linex[i]; _root[current + _root.n]._y = _root.enemywarfactory2._y + _root.liney[i]; _root[current + _root.n]._rotation = 0; _root[current + _root.n].attacks = true; this.attack.push(current + _root.n); _root.n++; warfactorybuildteam.splice(0, 1); if (warfactorybuildteam.length <= 0) { warfactorybuildteam = ["enemylight", "enemyrocket", "enemyartillery", "enemyheavy", "enemyheavy"]; } i--; } i = 5; while (i > 0) { current = warfactorybuildteam3[0]; _root.attachMovie(current, current + _root.n, _root.n); _root[current + _root.n]._x = _root.enemywarfactory3._x + _root.linex[i]; _root[current + _root.n]._y = _root.enemywarfactory3._y + _root.liney[i]; _root[current + _root.n]._rotation = 0; _root[current + _root.n].attacks = true; this.attack.push(current + _root.n); _root.n++; warfactorybuildteam3.splice(0, 1); if (warfactorybuildteam3.length <= 0) { warfactorybuildteam3 = ["enemyrocket", "enemyrocket", "enemyhumvee", "enemylight", "enemyheavy"]; } i--; } i = 5; while (i > 0) { current = warfactorybuildteam4[0]; _root.attachMovie(current, current + _root.n, _root.n); _root[current + _root.n]._x = _root.enemywarfactory4._x + _root.linex[i]; _root[current + _root.n]._y = _root.enemywarfactory4._y + _root.liney[i]; _root[current + _root.n]._rotation = 0; _root[current + _root.n].attacks = true; this.attack.push(current + _root.n); _root.n++; warfactorybuildteam4.splice(0, 1); if (warfactorybuildteam4.length <= 0) { warfactorybuildteam4 = ["enemyrocket", "enemyrocket", "enemylight", "enemyheavy", "enemyheavy"]; } i--; } warfactoryqueue = 0; _root.waves--; } if (warfactoryqueue == 50) { _root.enemypower = _root.enemypower + 10; timer = 0; i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if ((_root[current].life <= 0) || (_root[current].life == undefined)) { _root.enemyarray.splice(i, 1); } else { attackunit = "friendlylist"; units = _root[attackunit][Math.floor(Math.random() * _root.friendlylist.length)]; _root[current].aiattack(units); } i--; } } if (_root.friendlylist.length <= 4) { _root.gotoAndStop("defeat2"); } if ((_root.waves == 0) && (_root.enemyarray.length <= 0)) { _root.gotoAndStop("victory2"); } }
Frame 39
movetozero(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.warfactory1e = 0; _root.refinery1e = 0; _root.pat1e = 0; _root.pat2e = 0; _root.comcentre1e = 0; _root.enemypower = _root.enemypower - 70; _root.enemyattack = 0; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 39
onClipEvent (mouseUp) { _root.gotoAndStop("miss4"); }
Instance of Symbol 229 MovieClip in Frame 39
/* no clip actions */
Frame 40
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 40
onClipEvent (mouseUp) { _root.gotoAndPlay("miss3"); }
Frame 41
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; if (_root.loadings === true) { share = SharedObject.getLocal("save"); p = 9; while (p > 1) { _root["ownmap" + p] = share.data["ownmap" + p]; _root.missions = share.data.missions; _root[("map" + p) + "array"] = share.data[("map" + p) + "array"].concat(); i = share.data[("map" + p) + "array"].length - 1; while (i > -1) { current = share.data[("map" + p) + "array"][i]; if (share.data[current + "obj"] == undefined) { current2 = current; current = current + ("map" + p); } _root[current + "obj"] = share.data[current + "obj"]; _root.enemypower = share.data.enemypower; _root.money = share.data.money; _root.difficulty = share.data.difficulty; _root.loadings = undefined; _root.gotoAndStop("mapbar"); i--; } p--; } } _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; _global.movetozero = function () { var _local4 = _root.back._x; var _local5 = _root.back._y; i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; var _local3 = _root[current]._x; var _local2 = _root[current]._y; _root[current]._x = _local3 - _local4; _root[current]._y = _local2 - _local5; i--; } _root.back._x = 0; _root.back._y = 0; }; _global.movetoloc = function (x, y) { xb = _root.back._x; yb = _root.back._y; _root.box6._x = x1 + (constantx * (x - xb)); _root.box6._y = y1 + (constanty * (y - yb)); _root.back._x = _root.back._x - (x - xb); _root.back._y = _root.back._y - (y - yb); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x - xb); _root[current]._y = _root[current]._y - (y - yb); i--; } }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 0; _root.enemypower = 0; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _root.attackarray = []; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000; _root.ownmap4 = false;
Instance of Symbol 852 MovieClip "back" in Frame 41
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 42
_root.sidebar.mapp.gotoAndStop(5); _root.dialogue.gotoAndStop(6); _root.attachMovie("mission", "tutoriall", 1000900); _root.tutoriall._x = 46.8; _root.tutoriall._y = 10.9; Mouse.hide(); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 42
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 42
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 42
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 15; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 42
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 15; i--; } } } }
Instance of Symbol 852 MovieClip "back" in Frame 42
onClipEvent (load) { }
Instance of Symbol 1122 MovieClip "burton" in Frame 42
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 42
onClipEvent (load) { ranges = 2; baseunder = 0; }
Instance of Symbol 496 MovieClip in Frame 42
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 42
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 42
onClipEvent (load) { timer = 0; build = true; rounds = 0; _root.enemyoiltrucks = 0; timer5 = 0; } onClipEvent (enterFrame) { _root.sidebar.build.light.gotoAndStop(1); _root.sidebar.build.oiltruck.gotoAndStop(1); _root.sidebar.build.heavy.gotoAndStop(1); _root.sidebar.build.dozer.gotoAndStop(1); _root.sidebar.build.humvee.gotoAndStop(1); _root.sidebar.build.artillery.gotoAndStop(1); _root.sidebar.build.weaponsilo.gotoAndStop(1); _root.sidebar.build.lasertank.gotoAndStop(1); _root.sidebar.build.rocket.gotoAndStop(1); timer++; if (timer == 100) { _root.enemypower = _root.enemypower + _root.difficulty; timer5++; if (_root.refinery1.life <= 0) { _root.refinery1e = 0; } if (_root.comcentre1.life <= 0) { _root.comcentre1e = 0; } if (_root.warfactorey1._currentframe > 2) { _root.warfactory1e = 0; } if (_root.pat1.life <= 0) { _root.pat1e = 0; } if (_root.pat2.life <= 0) { _root.pat2e = 0; } if ((_root.enemyarray.length <= 0) || (Key.isDown(16))) { var i = 10; while (i > 0) { _root["elite" + i]._visible = false; i--; } _root.gotoAndStop("victory1b"); } if (_root.structurearray.length <= 0) { _root.gotoAndStop("defeat1b"); } i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if ((_root[current].unittype == "artillery") && (_root[current].turret._currentframe == 1)) { _root[current].deploy(); } if ((((_root[current].speed != undefined) && (!_root[current].fireing)) && ((_root[current]._y < _root.wall1._y) || (timer5 > 50))) && (_root[current].dummy._currentframe == 1)) { pat = _root.structurearray[Math.floor(Math.random() * _root.structurearray.length)]; _root[current].aiattack(pat); pat2 = _root.structurearray[0]; if ((_root[pat2].life <= 0) || (_root[pat2]._x == undefined)) { _root.gotoAndStop("defeat1b"); break; } } i--; } timer = 0; } }
Frame 43
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.missions++; _root.tutoriall.removeMovieClip(); _root.box6.removeMovieClip(); stop();
Instance of Symbol 229 MovieClip in Frame 43
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 43
onClipEvent (mouseUp) { _root.gotoAndPlay("miss3"); }
Frame 44
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 44
onClipEvent (mouseUp) { _root.gotoAndPlay("miss2"); }
Frame 45
stop();
Instance of Symbol 1205 MovieClip in Frame 45
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss4"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 45
onClipEvent (load) { info = "Country: West Germany. \nPopulation 54 million. \n Control : Enemy.\n Economy: Major Education Centre"; words = "Sources say that the Germans and Italians are cooperating to channel oil, dozers and units via a convoy on a major highway in this sector. They plan to launch an attack on Britain with these resources. This convoy must not be allowed to reach Dunkirk or the Germans will have the upper hand in conquering Britain. Commander, take a team of dozers and build a base near the highway. We will ambush the convoy when the time is ripe and destroy it.Britain is counting on you, commander!"; map = "map4"; if (_root.map4bcomplete == undefined) { _root.map4bcomplete = false; } }
Instance of Symbol 1214 MovieClip "shader1" in Frame 45
onClipEvent (load) { info = "Country: Austria/Italy. \nPopulation N/A. \n Control : Enemy.\n Economy: Business Sector. Battlefield Coditions : Small bases with structures scattered about the region."; words = "Sources say that Germany and Italy are planning to destroy our bases in Britain.We must not let this happen. A convoy is passing through this supply base carrying resources to support their war effort. Commander, take a small force and attempt to capture the supply base. If sucessful, we can drastically reduce the size of their convoy which will make it easier for us to destroy it in the next mission."; map = "map4b"; if (_root.map4complete) { gotoAndStop ("complete"); this._visible = false; } }
Frame 46
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; _global.movetozero = function () { var _local4 = _root.back._x; var _local5 = _root.back._y; i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; var _local3 = _root[current]._x; var _local2 = _root[current]._y; _root[current]._x = _local3 - _local4; _root[current]._y = _local2 - _local5; i--; } _root.back._x = 0; _root.back._y = 0; }; _global.movetoloc = function (x, y) { xb = _root.back._x; yb = _root.back._y; _root.box6._x = x1 + (constantx * (x - xb)); _root.box6._y = y1 + (constanty * (y - yb)); _root.back._x = _root.back._x - (x - xb); _root.back._y = _root.back._y - (y - yb); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x - xb); _root[current]._y = _root[current]._y - (y - yb); i--; } }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = ["rallypoint"]; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 0; _root.enemypower = 0; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _root.attackarray = []; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000; _root.ownmap4 = false;
Instance of Symbol 856 MovieClip "back" in Frame 46
onClipEvent (load) { }
Instance of Symbol 1054 MovieClip in Frame 46
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 46
onClipEvent (load) { this.swapDepths(1100100); }
Frame 47
_root.sidebar.mapp.gotoAndStop(7); _root.dialogue.gotoAndStop(11); _root.dialogue._visible = true; _root.attachMovie("mission3", "tutoriall", 1000900); _root.tutoriall._x = 46.8; _root.tutoriall._y = 10.9; Mouse.hide(); _root.money = 100000 / _root.difficulty; _root.scrolla = true; stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 47
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 47
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 47
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 15; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 47
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 15; i--; } } } }
Instance of Symbol 856 MovieClip "back" in Frame 47
onClipEvent (load) { }
Instance of Symbol 1122 MovieClip "burton" in Frame 47
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 47
onClipEvent (load) { ranges = 2; baseunder = 0; }
Instance of Symbol 496 MovieClip in Frame 47
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1120 MovieClip "rig11" in Frame 47
onClipEvent (load) { oilfield = "oil5"; _root.objarray.push(this._name); }
Instance of Symbol 1128 MovieClip "box" in Frame 47
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 47
onClipEvent (load) { _root.guyzarray = []; timer = 200; numberleft = 50 * _root.difficulty; if (_root.map4bcomplete === true) { _root.waves = _root.waves * 0.5; timer = timer - 70; } passed = 0; attacktimer = 0; numberlimit = 20 / _root.difficulty; numbergo = 0; timert = 100 / _root.difficulty; this.createobj2 = function () { a = Math.random() * 1.5; if ((a > 0) && (a < 0.3)) { unittype = "enemylight"; } if ((a > 0.3) && (a < 0.5)) { unittype = "enemyrocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "enemyheavy"; } if ((a > 0.6) && (a < 0.9)) { unittype = "enemyhumvee"; } if ((a > 0.9) && (a < 1.5)) { unittype = "enemyoiltruck"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); var _local2 = Math.ceil(Math.random() * 5); _root[unittype + _root.n]._x = _root["reinforcement" + _local2]._x + (a * 100); _root[unittype + _root.n]._y = _root["reinforcement" + _local2]._y; _root[unittype + _root.n]._rotation = 0; _root.guyzarray.push(unittype + _root.n); unittype = undefined; _root.n++; numberleft--; }; this.applyobj = function () { var _local2 = _root.guyzarray.length - 1; while (_local2 > -1) { current = _root.guyzarray[_local2]; if (!_root[current].walking) { _root[current].aigoto(_root[current]._x, _root.centre2._y); } if (_root[current].life == undefined) { _root.guyzarray.splice(_local2, 1); } if (_root[current]._y < (_root.centre2._y + 50)) { _root[current]._visible = false; _root[current].life = 0; _root.guyzarray.splice(_local2, 1); numbergo++; } _local2--; } }; } onClipEvent (enterFrame) { timer = timer - 0.05; _root.dialogue.seconds = timer; if (Math.round(timer) == 0) { _root.dialogue.gotoAndStop(12); } if (timer < 0) { attacktimer++; if (attacktimer == Math.round(timert)) { createobj2(); } if (attacktimer == (Math.round(timert) + 1)) { applyobj(); attacktimer = 0; } } if (!(_root.ownmap6 === true)) { _root.sidebar.build.lasertank.gotoAndStop(1); } if (numbergo > numberlimit) { _root.gotoAndStop("defeat4"); } if (numbergo == Math.round(numberlimit * 0.666666666666667)) { _root.dialogue.gotoAndStop("sir"); } if ((numberleft == 0) && (_root.enemyarray.length <= 0)) { _root.gotoAndStop("victory4"); } }
Frame 48
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if (_root[name]._visible) { _root[name].removeMovieClip(); } } } _root.missions++; _root.tutoriall.removeMovieClip(); _root.box6.removeMovieClip(); stop();
Instance of Symbol 229 MovieClip in Frame 48
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 48
onClipEvent (mouseUp) { _root.gotoAndPlay("miss5"); }
Frame 49
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 49
onClipEvent (mouseUp) { _root.gotoAndPlay("miss4"); }
Frame 50
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; _global.movetozero = function () { var _local4 = _root.back._x; var _local5 = _root.back._y; i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; var _local3 = _root[current]._x; var _local2 = _root[current]._y; _root[current]._x = _local3 - _local4; _root[current]._y = _local2 - _local5; i--; } _root.back._x = 0; _root.back._y = 0; }; _global.movetoloc = function (x, y) { xb = _root.back._x; yb = _root.back._y; _root.box6._x = x1 + (constantx * (x - xb)); _root.box6._y = y1 + (constanty * (y - yb)); _root.back._x = _root.back._x - (x - xb); _root.back._y = _root.back._y - (y - yb); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x - xb); _root[current]._y = _root[current]._y - (y - yb); i--; } }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 0; _root.enemypower = 0; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _root.attackarray = []; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000; _root.ownmap4 = false;
Instance of Symbol 1365 MovieClip "back" in Frame 50
onClipEvent (load) { }
Frame 51
_root.sidebar.mapp.gotoAndStop(5); _root.dialogue.gotoAndStop(16); _root.attachMovie("mission5", "tutoriall", 1000900); _root.tutoriall._x = 46.8; _root.tutoriall._y = 10.9; Mouse.hide(); _root.money = 1000; stop(); _root.scrolla = true; stop();
Instance of Symbol 1106 MovieClip in Frame 51
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 51
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 15; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 51
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 15; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 15; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 51
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 15; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 15; i--; } } } }
Instance of Symbol 1365 MovieClip "back" in Frame 51
onClipEvent (load) { }
Instance of Symbol 1122 MovieClip "burton" in Frame 51
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 51
onClipEvent (load) { ranges = 2; baseunder = 0; }
Instance of Symbol 496 MovieClip in Frame 51
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 51
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 51
onClipEvent (load) { timer = 0; build = true; _root.guyzarray = []; mines = false; hitten = false; rounds = 0; gd = false; _root.enemyoiltrucks = 0; timer5 = 0; this.createobj2 = function () { a = Math.random() * 1.5; if ((a > 0) && (a < 0.3)) { unittype = "enemylight"; } if ((a > 0.3) && (a < 0.5)) { unittype = "enemyrocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "enemydozer"; } if ((a > 0.6) && (a < 0.9)) { unittype = "enemyhumvee"; } if ((a > 0.9) && (a < 1.5)) { unittype = "enemyoiltruck"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); var _local2 = Math.ceil(Math.random() * 3); _root[unittype + _root.n]._x = _root["reinforcement" + _local2]._x + (a * 100); _root[unittype + _root.n]._y = _root["reinforcement" + _local2]._y; _root[unittype + _root.n].convoy = true; _root.guyzarray.push(unittype + _root.n); unittype = undefined; _root.n++; }; this.applyobj = function () { var _local2 = _root.enemyarray.length - 1; while (_local2 > -1) { current = _root.enemyarray[_local2]; if (_root[current].convoy && (!_root[current].walking)) { _root[current].aggressive = false; _root[current].aigoto(_root[current]._x, _root.enemyservicedepot1._y); } _local2--; } }; } onClipEvent (enterFrame) { timer++; timer5++; if (timer == 200) { timer = 0; i = _root.enemyturretarray.length - 1; while (i > -1) { current = _root.enemyturretarray[i]; if ((_root[current].turret._currentframe > 3) && (_root[current].turret._currentframe != undefined)) { _root.dialogue.gotoAndPlay("hey"); break; } i--; } } if ((timer5 > (5500 / _root.difficulty)) && (!gd)) { _root.dialogue.gotoAndStop("coming"); gd = true; } if (!hitten) { n = _root.minearray.length - 1; while (n > -1) { current = _root.minearray[n]; _root[current].gotoAndStop(2); n--; } if ((_root.minearray.length > 0) && (!mines)) { _root.dialogue.gotoAndPlay("mines"); mines = true; } } if (timer == 20) { if (_root.enemies.isfree() === true) { hitten = true; n = _root.minearray.length - 1; while (n > -1) { current = _root.minearray[n]; if (_root[current].hitTest(_root.enemyservicedepot1)) { _root[current].play(); } n--; } } } if (hitten) { n = _root.minearray.length - 1; if (n > -1) { current = _root.minearray[n]; if (_root[current]._currentframe > 30) { c = _root.enemies.members.length - 1; while (c > -1) { current2 = _root.enemies.members[c]; _root[current2].life = 0; _root.gotoAndStop("victory4b"); c--; } } } } }
Frame 52
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.missions++; _root.map4bcomplete = true; _root.tutoriall.removeMovieClip(); _root.box6.removeMovieClip(); stop();
Instance of Symbol 229 MovieClip in Frame 52
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 52
onClipEvent (mouseUp) { _root.gotoAndPlay("miss4"); }
Frame 53
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Frame 54
stop();
Instance of Symbol 1205 MovieClip in Frame 54
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss5"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 54
onClipEvent (load) { info = "Country: Scotland. \nPopulation 20 million. \n Control : US.\n Economy: Tourist Attraction"; words = "Even without the convoy, the Germans have managed to further their conquest of Britain. As a result, our forces are retreating to the north of Scotland where they are trapped. Commander, we have managed to capture a port in nearby Norway.Defend the base from enemy invasions until amphibious APCs can arrive from the coast and evacuate what troops we have left. We're counting on you commander!"; map = "map5"; }
Frame 55
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = ["rallypoint"]; _root.num = 0; _root.apcarray = []; _root.allyarray = []; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (10000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 864 MovieClip "back" in Frame 55
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 55
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 55
onClipEvent (load) { this.swapDepths(1100100); }
Frame 56
_root.sidebar.mapp.gotoAndStop(15); _root.dialogue._visible = true; _root.dialogue.gotoAndStop(24); _root.attachMovie("mission6", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); _root.scrolla = true; stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 56
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 56
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 56
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 56
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 864 MovieClip "back" in Frame 56
/* no clip actions */
Instance of Symbol 1120 MovieClip "rig11" in Frame 56
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig5" in Frame 56
onClipEvent (load) { oilfield = "oil4"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 56
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 56
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 56
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 56
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 56
onClipEvent (load) { timer = 0; oiltrucks = []; timert = 160 / _root.difficulty; timert2 = 1000 * _root.difficulty; numbersaved = 0; timer2 = 0; this.createobj2 = function () { a = Math.random(); if ((a > 0) && (a < 0.3)) { unittype = "enemylight"; } if ((a > 0.3) && (a < 0.5)) { unittype = "enemyrocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "enemyheavy"; } if ((a > 0.6) && (a < 0.8)) { unittype = "enemyhumvee"; } if ((a > 0.8) && (a < 1)) { unittype = "enemyartillery"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); var _local2 = Math.ceil(Math.random() * 5); _root[unittype + _root.n]._x = _root["point" + _local2]._x; _root[unittype + _root.n]._y = _root["point" + _local2]._y; _root[unittype + _root.n].point = _local2; _root.n++; }; this.applyobj = function () { var _local2 = _root.enemyarray.length - 1; while (_local2 > -1) { current = _root.enemyarray[_local2]; _root[current].point = Math.ceil(Math.random() * 5); if (_root[current].point == 3) { _root[current].aiattack("comcentre1"); } if (_root[current].point == 2) { nop = Math.floor(Math.random() * _root.friendlylist.length); toattack = _root.friendlylist[nop]; if (_root[toattack]._x != undefined) { _root[current].aiattack(toattack); } } if (_root[current].point == 1) { nop = Math.floor(Math.random() * _root.apcarray.length); toattack = _root.apcarray[nop]; x = _root[toattack]._x; y = _root[toattack]._y; if (!_root.back.water.hitTest(x, y, true)) { _root[current].aiattack(toattack); } else { _root[current].point = 4; } } if (_root[current].point == 4) { nop = Math.floor(Math.random() * _root.friendlylist.length); toattack = _root.friendlylist[nop]; if (_root[toattack]._x != undefined) { _root[current].aiattack(toattack); } } if (_root[current].point == 5) { nop = Math.floor(Math.random() * _root.allyarray.length); toattack = _root.allyarray[nop]; if (_root[toattack]._x != undefined) { _root[current].aiattack(toattack); } } _local2--; } }; } onClipEvent (enterFrame) { if (!(_root.ownmap6 === true)) { _root.sidebar.build.lasertank.gotoAndStop(1); } timer++; timer2++; if (timer == Math.round(timert)) { n = _root.apcarray.length - 1; while (n > -1) { currenty = _root.apcarray[n]; if (_root[currenty].hitTest(_root.dropoin)) { _root[currenty]._visible = false; _root[currenty].life = 0; } n--; } createobj2(); i = _root.allyarray.length - 1; while (i > 0) { currenty2 = _root.allyarray[i]; _root[currenty2].aggressive = false; i--; } n = _root.apcarray.length - 1; while (n > -1) { currenty = _root.apcarray[n]; if (_root[currenty].hitTest(_root.dropoff)) { currentapc = currenty; break; } n--; } if ((_root[currentapc].life > 0) && (_root[currentapc].life != undefined)) { numberon = 0; i = _root.allyarray.length - 1; while (i > 0) { currenty2 = _root.allyarray[i]; if (numberon > 3) { break; } if (_root[currenty2].hitTest(_root.dropoff)) { numberon++; _root[currenty2]._visible = false; _root[currentapc].aigoto(_root.dropin._x, _root.dropin._y); currentapc = undefined; _root[currenty2].life = 0; numbersaved++; } i--; } } } if (timer == (Math.round(timert) + 3)) { applyobj(); timer = 0; } if (timer2 == Math.round(timert2)) { _root.dialogue.gotoAndStop("inbound"); _root.attachMovie("apc", "apc" + _root.n, _root.n); _root["apc" + _root.n]._x = _root.transportpoint._x; _root["apc" + _root.n]._y = _root.transportpoint._y; _root.n++; i = numbersaved + 4; while (i > numbersaved) { currenty2 = _root.allyarray[i]; _root[currenty2].aggressive = false; _root[currenty2].aigoto(_root.dropoff._x, _root.dropoff._y); _root[currenty2].apc = true; i--; } timer2 = 0; } if (_root.comcentre1.life <= 0) { _root.gotoAndStop("defeat5"); } if (numbersaved > 9) { _root.gotoAndStop("victory5"); } else if (_root.allyarray.length <= 0) { _root.gotoAndStop("defeat5"); } }
Frame 57
movetozero(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.warfactory1e = 0; _root.refinery1e = 0; _root.pat1e = 0; _root.pat2e = 0; _root.comcentre1e = 0; _root.enemypower = _root.enemypower - 70; _root.enemyattack = 0; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 57
onClipEvent (mouseUp) { _root.gotoAndStop("miss6"); }
Instance of Symbol 229 MovieClip in Frame 57
/* no clip actions */
Frame 58
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 58
onClipEvent (mouseUp) { _root.gotoAndPlay("miss5"); }
Frame 59
_root.sidebar.removeMovieClip(); stop();
Instance of Symbol 1205 MovieClip in Frame 59
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss6"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 59
onClipEvent (load) { info = "Country: Russia. \nPopulation 150 million. \n Control : Enemy.\n Economy: Nuclear Weapon Supplier"; words = "Commander, Britain has fallen. But the enemy is losing territories as well as their once strong position in the war.Hence, they are resorting to unconventional warfare to achieve their goals. We have heard of a few Russian scientists researching on a new prototype tank which is rumoured almost invincible in warfare.Investigate these claims. You will be provided with a few humvees smuggled into Russian territory for this mission. Infiltrate their technology centre and steal their readouts on the new tank. That is all. "; map = "map6"; }
Frame 60
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1375 MovieClip "back" in Frame 60
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 60
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 60
onClipEvent (load) { this.swapDepths(1100100); }
Frame 61
_root.dialogue.gotoAndStop(30); _root.dialogue._visible = true; _root.waves = 0; _root.timert = 0; _root.attachMovie("mission7", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); _root.scrolla = true; stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 61
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 61
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 61
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 61
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1375 MovieClip "back" in Frame 61
onClipEvent (load) { }
Instance of Symbol 1120 MovieClip "rig11" in Frame 61
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 61
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 61
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 61
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 61
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 61
onClipEvent (load) { timert = 1000 / _root.difficulty; timer = 0; guyz = []; refhit = flase; help = false; } onClipEvent (enterFrame) { if (_root.dialogue._currentframe < 41) { if (!refhit) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(_root.ref)) { _root.dialogue.gotoAndStop("refinery"); refhit = true; break; } i--; } } if (!help) { if (_root.enemyrefinery1.life < _root.enemyrefinery1.fulllife) { _root.dialogue.gotoAndStop("help"); help = true; } } if (help) { timer++; if (timer > timert) { timer = 0; _root.dialogue.gotoAndStop("no have"); help = false; } if (_root.enemyrefinery1.life >= _root.enemyrefinery1.fulllife) { } else { _root.enemyrefinery1.auto.play(); } } i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(_root.tech1)) { _root.dialogue.gotoAndStop("extract"); currenthumvee = current; break; } i--; } if (_root.dialogue._currentframe == 40) { if (!_root[currenthumvee].hitTest(_root.tech1)) { _root.dialogue.gotoAndStop(31); } } if (_root.friendlylist.length < 8) { _root.gotoAndStop("defeat6nn"); } } }
Frame 62
movetozero(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.warfactory1e = 0; _root.refinery1e = 0; _root.pat1e = 0; _root.pat2e = 0; _root.comcentre1e = 0; _root.enemypower = _root.enemypower - 70; _root.enemyattack = 0; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 62
onClipEvent (mouseUp) { _root.gotoAndStop("miss7"); }
Instance of Symbol 229 MovieClip in Frame 62
/* no clip actions */
Frame 63
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 63
onClipEvent (mouseUp) { _root.gotoAndPlay("miss6"); }
Frame 64
if ((_root.map7acomplete == undefined) && (_root.map7bcomplete == undefined)) { _root.map7acomplete = false; _root.map7bcomplete = false; } _root.sidebar.removeMovieClip(); _root.friendlies = undefined; _root.guards = undefined; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1205 MovieClip in Frame 64
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss7"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader1" in Frame 64
onClipEvent (load) { info = "Country: Latvia. \nPopulation 7 million. \n Control : Neutral.\n Economy: Food production"; words = " There is word that the enemy is planning to use their new prototype laser tank to destroy the people in these countries. We have set up temporary protection zones to prevent the enemy's advance into their countries. Unfortunately, our conventional tanks are no match for their new prototype, so desperate measures must be taken to destroy them. Commander, a column of laser tanks is on the rampage destroying buildings in Latvia.Intelligence reports that one way to deal with the tanks is to short circuit their engines via EMP cannons.Take a bunch of EMP artillery and attempt to lure the column to our base. There , will will disable and destroy these behemoths.Good luck commander."; map = "map7a"; if ((_root.map7acomplete === true) || (_root.map7bcomplete === true)) { this.gotoAndStop("complete"); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 64
onClipEvent (load) { info = "Country: Belarus. \nPopulation 26 million. \n Control : Neutral.\n Economy: Russian Support"; words = "Commander,intelligence reports on a laser tank production facility in this region. The facility mass produces the feared laser tanks in the enemy's arsenal. To deal with the threat, the facility must be destroyed. Owing to the facility being guarded by laser tanks, a direct invasion is impossible.Build a Weapons silo. APC Convoys carrying enriched Uranium will be en route to your base.Use the missiles to destroy the facility. "; map = "map7"; if (_root.map7acomplete === true) { words = "Commander,intelligence reports on a laser tank production facility in this region. The facility mass produces the feared laser tanks in the enemy's arsenal. To deal with the threat, the facility must be destroyed. As the column of laser tanks guarding the facility has been destroyed in recent campaigns, it is now possible and necessary to approach the facility directly using our conventional forces. Commander, wipe the facility out, along with all their prototypes"; } if (_root.map7bcomplete === true) { words = "Commander,intelligence reports on a laser tank production facility in this region. The facility mass produces the feared laser tanks in the enemy's arsenal. To deal with the threat, the facility must be destroyed. In recent campaigns we have suceeded in capturing their column of laser tanks intended to guard the base. Use these tanks to wreck havoc on their installations and destroy the facility. No further backup is required and enlisted. Good Luck COmmander."; } }
Instance of Symbol 1214 MovieClip "shader0" in Frame 64
onClipEvent (load) { info = "Country: Ukraine. \nPopulation 44 million. \n Control : Neutral.\n Economy: Fishing Industry."; words = "Espionage activity by the rebels in enemy Ukraine have managed to obtain the control codes for the robotic laser tanks invading Ukraine. If we obtain them and transmit them to the three Laser Tnak control facility, we may be able to gain control of their tanks and sustain a direct attack on their production facility in Belarus.This will greatly aid us in the campaign against the laser tank threats in this region."; map = "map7b"; if ((_root.map7acomplete === true) || (_root.map7bcomplete === true)) { this.gotoAndStop("complete"); } }
Frame 65
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1152 MovieClip "back" in Frame 65
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 65
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 65
onClipEvent (load) { this.swapDepths(1100100); }
Frame 66
_root.dialogue.gotoAndStop(47); _root.waves = 0; _root.timert = 0; _root.attachMovie("mission8", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); _root.scrolla = true; stop(); _root.money = 150000 / _root.difficulty; stop();
Instance of Symbol 1106 MovieClip in Frame 66
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 66
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 66
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 66
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1152 MovieClip "back" in Frame 66
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1122 MovieClip "burton" in Frame 66
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1037 MovieClip in Frame 66
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 66
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 66
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 66
onClipEvent (enterFrame) { if (!(_root.ownmap6 === true)) { _root.sidebar.build.lasertank.gotoAndStop(1); } empdestroyed = false; i = 5; while (i > 0) { if ((_root["laser" + i].life < 7500) && (incoming == undefined)) { _root.dialogue.gotoAndStop("incoming"); incoming = true; } if (_root["em" + i].life > 0) { empdestroyed = true; } i--; } if ((_root.friendlylist.length <= 0) || (!empdestroyed)) { _root.gotoAndStop("defeat7a"); } if (_root.enemyarray.length <= 0) { _root.gotoAndStop("victory7a"); } }
Instance of Symbol 1388 MovieClip in Frame 66
onClipEvent (load) { this.swapDepths(102450); }
Frame 67
movetozero(); _root.map7acomplete = true; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 67
onClipEvent (mouseUp) { _root.gotoAndStop("miss7"); }
Instance of Symbol 229 MovieClip in Frame 67
/* no clip actions */
Frame 68
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 68
onClipEvent (mouseUp) { _root.gotoAndPlay("miss7"); }
Frame 69
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 859 MovieClip "back" in Frame 69
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 70
_root.dialogue.gotoAndStop(53); _root.dialogue._visible = true; _root.waves = 0; _root.timert = 0; _root.attachMovie("mission9", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); _root.scrolla = true; stop(); _root.money = 150000 / _root.difficulty; stop();
Instance of Symbol 1106 MovieClip in Frame 70
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 70
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 70
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 70
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 859 MovieClip "back" in Frame 70
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1122 MovieClip "burton" in Frame 70
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1120 MovieClip "rig11" in Frame 70
onClipEvent (load) { oilfield = "oil5"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig10" in Frame 70
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1037 MovieClip in Frame 70
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 70
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 70
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if ((_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) && (!_root[current].ally)) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 70
onClipEvent (load) { function convert(what, to) { x = _root[what]._x; y = _root[what]._y; life = _root[what].life; fulllife = _root[what].fulllife; speed = _root[what].speed; _root[what]._visible = false; _root[what].life = 0; _root.attachMovie("lasertank", "lasertank" + _root.n, _root.n); _root["lasertank" + _root.n]._x = x; _root["lasertank" + _root.n]._y = y; nop = _root.n; _root.n++; lasertank = true; } timer = 0; _root.guide.ally = true; hit = true; _root.guide.dummy.empulse = -10; _root.guide.aggressive = false; _root.guide.life = 1000; _root.guide.fulllife = 1000; } onClipEvent (enterFrame) { if (lasertank == true) { _root["lasertank" + nop].life = life; _root["lasertank" + nop].fulllife = 10000; _root["lasertank" + nop].speed = speed; lasertank = false; } timer++; if ((timer == 100) && (_root.enemywarfactory1.life > 0)) { i = _root.difficulty; while (i > 0) { a = Math.random(); if ((a > 0) && (a < 0.2)) { unittype = "enemylight"; _root.enemymoney = _root.enemymoney - 1000; } if ((a > 0.2) && (a < 0.4)) { unittype = "enemyrocket"; _root.enemymoney = _root.enemymoney - 1500; } if ((a > 0.4) && (a < 0.6)) { unittype = "enemyheavy"; _root.enemymoney = _root.enemymoney - 2500; } if ((a > 0.6) && (a < 0.8)) { unittype = "enemyhumvee"; _root.enemymoney = _root.enemymoney - 500; } if ((a > 0.8) && (a < 1)) { unittype = "enemyartillery"; _root.enemymoney = _root.enemymoney - 2000; } _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.enemywarfactory1._x; _root[unittype + _root.n]._y = _root.enemywarfactory1._y + 100; _root[unittype + _root.n]._rotation = 0; _root.n++; i--; } } if (timer == 51) { timer = 0; i = 0; while (i < _root.enemyarray.length) { current = _root.enemyarray[i]; if (((!_root[current].fireing) && (!_root[current].walking)) && (_root[current].getDepth() > 0)) { lo = Math.floor(Math.random() * (_root.friendlylist.length - 1)); unit = _root.friendlylist[lo]; _root[current].aiattack(unit); } i++; } } if ((_root.apc.hitTest(_root.comm) && (_root.money > 50000)) && (hit)) { _root.dialogue.gotoAndStop("come"); hit = false; } if (_root.guide.hitTest(_root.techt1)) { _root.dialogue.gotoAndStop("one"); } if (_root.guide.hitTest(_root.techt2)) { _root.dialogue.gotoAndStop("two"); } if (_root.guide.hitTest(_root.techt3)) { _root.dialogue.gotoAndStop("three"); } if (!(_root.ownmap6 === true)) { _root.sidebar.build.lasertank.gotoAndStop(1); } if (_root.apc.life <= 0) { _root.gotoAndStop("defeat7b"); } if (_root.guide.life <= 0) { _root.gotoAndStop("defeat7b"); } if (_root.enemytechcentre1.life <= 0) { _root.gotoAndStop("defeat7b"); } if (_root.enemytechcentre2.life <= 0) { _root.gotoAndStop("defeat7b"); } if (_root.enemytechcentre3.life <= 0) { _root.gotoAndStop("defeat7b"); } if (_root.enemyarray.length <= 3) { _root.gotoAndStop("victory7b"); } }
Instance of Symbol 1388 MovieClip in Frame 70
onClipEvent (load) { this.swapDepths(102450); }
Frame 71
movetozero(); _root.map7bcomplete = true; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 71
onClipEvent (mouseUp) { _root.gotoAndStop("miss7"); }
Instance of Symbol 229 MovieClip in Frame 71
/* no clip actions */
Frame 72
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 72
onClipEvent (mouseUp) { _root.gotoAndPlay("miss7"); }
Frame 73
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.enemies = undefined; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1168 MovieClip "back" in Frame 73
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 74
_root.waves = 0; _root.timert = 0; if (_root.map7bcomplete === true) { _root.dialogue.gotoAndStop("laser"); } else { _root.dialogue.gotoAndStop(52); } _root.attachMovie("mission10", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; Mouse.hide(); _root.scrolla = true; _root.sidebar.mapp.gotoAndStop(10); stop(); _root.money = 150000 / _root.difficulty; stop();
Instance of Symbol 1106 MovieClip in Frame 74
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 74
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 74
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 74
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1168 MovieClip "back" in Frame 74
/* no clip actions */
Instance of Symbol 1122 MovieClip "burton" in Frame 74
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1120 MovieClip "rig11" in Frame 74
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1037 MovieClip in Frame 74
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 74
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { stop(); po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1120 MovieClip "rig11" in Frame 74
onClipEvent (load) { oilfield = "oil5"; _root.objarray.push(this._name); }
Instance of Symbol 1128 MovieClip "box" in Frame 74
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if ((_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) && (!_root[current].ally)) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 74
onClipEvent (load) { timer = 0; timer2 = 0; uranium = 0; lasertank = true; convoy = false; if (_root.map7bcomplete != true) { i = 4; while (i > 0) { _root.attachMovie("dozer", "dozer" + i, _root.n); _root["dozer" + i]._x = _root.pao1._x + (50 * i); _root["dozer" + i]._y = _root.pao1._y; _root.n++; i--; } } } onClipEvent (enterFrame) { if (lasertank == true) { i = 10; while (i > 0) { _root["art" + i].emp = true; _root["art" + i].nuke = true; _root["art" + i].accurate = true; _root["art" + i].firerate = _root["art" + i].firerate * 3; i--; } } if ((lasertank == true) && ((_root.map7acomplete == true) || (_root.map7bcomplete == true))) { nop = 5; while (nop > -1) { _root["laser" + nop]._visible = false; _root["laser" + nop].life = 0; nop--; } lasertank = false; } if ((_root.map7acomplete == false) && (_root.map7bcomplete == false)) { if (_root.sidebar.nuketimer.percent == 0) { uranium = 0; } _root.sidebar.nuketimer.percent = uranium; } if ((_root.weaponsilo1._x != undefined) && (!convoy)) { convoy = true; _root.dialogue.gotoAndStop("weaponsilo"); _root.weaponarea._x = _root.weaponsilo1._x; _root.weaponarea._y = _root.weaponsilo1._y; } if ((_root.weaponsilo1._x == undefined) && (convoy)) { convoy = false; } if (convoy) { _root.sidebar.nuketimer.pp.timer = 0; timer2++; if (timer2 == 600) { _root.attachMovie("apc", "apc", _root.n); _root.apc._x = _root.convoy._x; _root.apc._y = _root.convoy._y; _root.n++; } if (timer2 == 602) { _root.apc.aigoto(_root.weaponsilo1._x, _root.weaponsilo1._y); timer2 = 0; } } if (_root.apc.hitTest(_root.weaponarea) && (_root.apc.life > 0)) { _root.apc._visible = false; _root.apc.life = 0; if (uranium < 100) { _root.sidebar.nuketimer.nextFrame(); uranium = uranium + 12.5; } } timer++; if ((timer == 100) && (_root.enemywarfactory1.life > 0)) { i = _root.difficulty; while (i > 0) { a = Math.random(); if ((a > 0) && (a < 0.2)) { unittype = "enemylight"; _root.enemymoney = _root.enemymoney - 1000; } if ((a > 0.2) && (a < 0.4)) { unittype = "enemyrocket"; _root.enemymoney = _root.enemymoney - 1500; } if ((a > 0.4) && (a < 0.6)) { unittype = "enemyheavy"; _root.enemymoney = _root.enemymoney - 2500; } if ((a > 0.6) && (a < 0.8)) { unittype = "enemyhumvee"; _root.enemymoney = _root.enemymoney - 500; } if ((a > 0.8) && (a < 1)) { unittype = "enemyartillery"; _root.enemymoney = _root.enemymoney - 2000; } _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.enemywarfactory1._x; _root[unittype + _root.n]._y = _root.enemywarfactory1._y + 100; _root.n++; if (Math.random() < (0.4 / _root.difficulty)) { unittype = "enemylasertank"; _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.facility._x; _root[unittype + _root.n]._y = _root.facility._y; _root.n++; } i--; } } if (timer == 51) { timer = 0; i = 0; while (i < _root.enemyarray.length) { current = _root.enemyarray[i]; if (((!_root[current].fireing) && (!_root[current].walking)) && (_root[current].getDepth() > 0)) { lo = Math.floor(Math.random() * (_root.friendlylist.length - 1)); unit = _root.friendlylist[lo]; if ((Math.random() > (1 / _root.difficulty)) && (_root.apc.life != undefined)) { unit = "apc"; } _root[current].aiattack(unit); } i++; } } if (_root.facility.life <= 0) { _root.gotoAndStop("victory7"); } if (_root.friendlylist.length <= 0) { _root.gotoAndStop("defeat7"); } }
Instance of Symbol 1388 MovieClip in Frame 74
onClipEvent (load) { this.swapDepths(102450); }
Frame 75
movetozero(); _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 75
onClipEvent (mouseUp) { _root.gotoAndStop("miss8"); }
Instance of Symbol 229 MovieClip in Frame 75
/* no clip actions */
Frame 76
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 76
onClipEvent (mouseUp) { _root.gotoAndPlay("miss7"); }
Frame 77
_root.sidebar.removeMovieClip(); _root.friendlies = undefined; _root.guards = undefined; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1205 MovieClip in Frame 77
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss8"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 77
onClipEvent (load) { info = "Country: Turkey. \nPopulation 33 million. \n Control : Enemy.\n Economy: Oil Industry"; words = "We have become aware of an imprisoned US commander in this region. Due to bribes made by an increasingly desperate European Condeferacy, US officers in Turkey have betrayed Commander Martin and taken him to a secure prison facility.Take a small squad and attempt to free him. Stealth is key. "; map = "map8"; }
Frame 78
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1398 MovieClip "back" in Frame 78
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 78
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 78
onClipEvent (load) { this.swapDepths(1100100); }
Frame 79
_root.dialogue.gotoAndStop(71); _root.waves = 0; _root.timert = 0; _root.attachMovie("mission11", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; Mouse.hide(); _root.scrolla = true; stop(); _root.money = 1500; stop();
Instance of Symbol 1106 MovieClip in Frame 79
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 79
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 79
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 79
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1120 MovieClip "rig11" in Frame 79
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 79
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1398 MovieClip "back" in Frame 79
onClipEvent (load) { }
Instance of Symbol 1037 MovieClip in Frame 79
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 79
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1120 MovieClip "rig11" in Frame 79
onClipEvent (load) { oilfield = "oil7"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig10" in Frame 79
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1128 MovieClip "box" in Frame 79
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 79
onClipEvent (load) { bombed = false; patrolwait = 700 / _root.difficulty; teamtyp = false; trucktimer = 1446; go = false; timer = 0; rads = 0; timer3 = 1000000000 /* 0x3B9ACA00 */; } onClipEvent (enterFrame) { patrolwait--; if (!teamtyp) { _root.apc.dummy.empulse = -2; _global.teamtype("patrols1", ["patrol1", "patrol2", "patrol3"], 4); _global.teamtype("patrols2", ["patrol4", "patrol5", "patrol6", "patrol7"], 4); _global.teamtype("patrols3", ["patrol8", "patrol9", "patrol10"], 4); teamtyp = true; } if (_root.truck.hitTest(_root.pat1) && (!go)) { _root.dialogue.gotoAndStop("halt"); } if (_root.truck.hitTest(_root.enemyservicedepot1) && (_root.truck.mined == false)) { _root.truck._visible = false; _root.truck.life = 0; } if (_root.truck.hitTest(_root.enemyservicedepot1) && (_root.truck.mined == true)) { _root.apc.dummy.empulse = 0; _root.attachMovie("nuke", "radiation" + _root.n, _root.n); _root["radiation" + _root.n]._x = _root.enemyservicedepot1._x; _root["radiation" + _root.n]._y = _root.enemyservicedepot1._y; _root["radiation" + _root.n]._xscale = 50; _root["radiation" + _root.n]._yscale = 50; _root.dialogue.gotoAndPlay("check"); _root.n++; _root.truck.mined = false; rads = 3; timer3 = 500; } timer3--; if ((rads > 0) && (timer3 <= 0)) { _root.attachMovie("nuke", "radiation" + _root.n, _root.n); _root["radiation" + _root.n]._x = _root.enemyservicedepot1._x; _root["radiation" + _root.n]._y = _root.enemyservicedepot1._y; _root["radiation" + _root.n]._xscale = 50; _root["radiation" + _root.n]._yscale = 50; _root.n++; _root.truck.mined = false; rads--; timer3 = 500; } if ((!bombed) && (_root.enemyrefinery1.life <= 0)) { trucktimer++; if (trucktimer == 1550) { _root.truck.removeMovieClip(); _root.attachMovie("enemyoiltruck", "truck", _root.n); _root.truck._x = _root.truckspawn._x; _root.truck._y = _root.truckspawn._y; _root.truck.mined = false; _root.n++; } if (trucktimer == 1552) { _root.truck.aigoto(_root.pat1._x, _root.pat1._y); trucktimer = 0; } } n = _root.minearray.length - 1; while (n > -1) { current = _root.minearray[n]; _root[current].gotoAndStop(2); if (_root[current].hitTest(_root.truck)) { _root.truck.mined = true; _root[current].removeMovieClip(); break; } n--; } if (_root.money <= 0) { _root.money = 1500; } if (_root.apc.life < 0) { _root.gotoAndStop("defeat8y"); } _root.sidebar.build.mine.gotoAndStop(2); if (bombed) { if (_root.apc.hitTest(_root.oiltruckspawn)) { _root.gotoAndStop("victory8"); } } if (_root.enemyrefinery1._currentframe == 3) { _root.dialogue.gotoAndStop("allah"); } }
Frame 80
_root.patrols1 = undefined; _root.patrols2 = undefined; _root.patrols3 = undefined; movetozero(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.warfactory1e = 0; _root.refinery1e = 0; _root.pat1e = 0; _root.pat2e = 0; _root.comcentre1e = 0; _root.enemypower = _root.enemypower - 70; _root.enemyattack = 0; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 80
onClipEvent (mouseUp) { _root.gotoAndStop("miss9"); }
Instance of Symbol 229 MovieClip in Frame 80
/* no clip actions */
Frame 81
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 81
onClipEvent (mouseUp) { _root.gotoAndPlay("miss8"); }
Frame 82
_root.sidebar.removeMovieClip(); _root.friendlies = undefined; _root.guards = undefined; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1205 MovieClip in Frame 82
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss9"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 82
onClipEvent (load) { info = "Country: Sweden. \nPopulation 18 million. \n Control : US.\n Economy:Research Base"; words = "All Major enemy resistance has collapsed.How, the European Confederacy has degraded into an underground terrorist force still determined to destroy US presence in Europe. We are preparing a major assault on their last stronghold in Britain. It is believed that the leader of the organisation, Anton von Traitos is hiding there.Commander,we have amassed a large army of tanks at your disposal. Lead it out of Sweden and into our Norwegian Port. There , we can sail across the North Sea and retake Britain. "; map = "map9"; }
Frame 83
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1416 MovieClip "back" in Frame 83
onClipEvent (load) { this._x = 0; this._y = 0; }
Instance of Symbol 1054 MovieClip in Frame 83
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 83
onClipEvent (load) { this.swapDepths(1100100); }
Frame 84
_root.dialogue.gotoAndStop(83); _root.waves = 0; _root.timert = 0; _root.attachMovie("mission12", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); _root.scrolla = true; _root.enemymoney = 1000000 /* 0x0F4240 */; stop(); _root.money = 0; _root.scrolla = true; stop();
Instance of Symbol 1106 MovieClip in Frame 84
onClipEvent (enterFrame) { if (this.hitTest(_root.mouse) || (Key.isDown(38))) { if (this.hitTest(_root.back)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 84
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 84
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 84
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1122 MovieClip "burton" in Frame 84
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1416 MovieClip "back" in Frame 84
onClipEvent (load) { }
Instance of Symbol 1037 MovieClip in Frame 84
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 84
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1128 MovieClip "box" in Frame 84
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || ((!_root.sidebar._visible) && (canselect == true))) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 84
onClipEvent (load) { timer = 0; lifess = 1500 / _root.difficulty; timercock = 0; ambush = false; upbridge = []; guyz = []; dozers = []; win = false; troopfreq = 20 / _root.difficulty; numberevac = 0; downbridge = []; timer2 = 0; _root.box.canselect = false; timer3 = 0; coming = false; sayq = false; sayh = false; say3q = false; saywh = false; this.createobj2 = function () { a = Math.random() * 1.3; if ((a > 0) && (a < 0.3)) { unittype = "enemylight"; } if ((a > 0.3) && (a < 0.5)) { unittype = "enemyrocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "enemyheavy"; } if ((a > 0.6) && (a < 0.8)) { unittype = "enemyhumvee"; } if ((a > 0.8) && (a < 1)) { unittype = "enemyartillery"; } if (a > 1) { unittype = "enemydozer"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); var _local2 = Math.ceil(Math.random() * 6); _root[unittype + _root.n]._x = _root["point" + _local2]._x; _root[unittype + _root.n]._y = _root["point" + _local2]._y; _root[unittype + _root.n].point = _local2; guyz.push(unittype + _root.n); _root.n++; }; this.applyobj = function () { guyl = guyz.length - 1; var _local2 = guyl; while (_local2 > -1) { current = guyz[_local2]; if (_root[current].life == undefined) { guyz.splice(_local2, 1); } if (((((_root[current].speed != undefined) && (_root[current].damage != undefined)) && (!_root[current].walking)) && (!_root[current].fireing)) && (_root[current].getDepth() > 0)) { nop = Math.floor(Math.random() * _root.friendlylist.length); toattack = _root.friendlylist[nop]; if (_root[toattack]._x != undefined) { _root[current].aiattack(toattack); } } _local2--; } if ((!_root[current].walking) && (!_root[current].build)) { nop = Math.floor(Math.random() * _root.friendlylist.length); toattack = _root.friendlylist[nop]; bb = Math.random(); if (bb < 0.25) { _root[current].aibuild2("enemyturret", _root[toattack]._x + 30, _root[toattack]._y + 30, 1000, n, 1.5); _root[current].build = true; } if ((bb > 0.25) && (bb < 0.5)) { _root[current].aibuild2("enemymultiple", _root[toattack]._x - 30, _root[toattack]._y + 30, 1500, n, 1.5); _root[current].build = true; } if ((bb > 0.5) && (bb < 0.75)) { _root[current].aibuild2("enemylaser", _root[toattack]._x + 30, _root[toattack]._y - 30, 1500, n, 1.5); _root[current].build = true; } if (bb > 0.75) { _root[current].aibuild2("enemymine", _root[toattack]._x - 30, _root[toattack]._y - 30, 1500, n, 1.5); _root[current].build = true; } } }; } onClipEvent (enterFrame) { if (win) { if (numberevac == _root.friendlylist.length) { _root.gotoAndStop("victory9"); } i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(_root.dropoff) && (_root[current]._visible)) { _root[current]._visible = false; _root[current].life = 0; numberevac++; } i--; } } if (timer3 > troopfreq) { timer3 = 0; createobj2(); } if (timer2 == 20) { applyobj(); timer2 = 0; } if ((!coming) && (timercock == 10)) { _root.dialogue.gotoAndStop("ambush"); coming = true; } if (ambush) { timer++; timer3++; timer2++; if (timer == 50) { if (coming) { _root.upbridgelife = _root.upbridgelife + upbridge.length; _root.downbridgelife = _root.downbridgelife + downbridge.length; if (((_root.upbridgelife >= (lifess / 4)) && (_root.downbridgelife >= (lifess / 4))) && (!sayq)) { _root.dialogue.gotoAndStop("quarter"); sayq = true; } if (((_root.upbridgelife >= (lifess / 2)) && (_root.downbridgelife >= (lifess / 2))) && (!sayh)) { _root.dialogue.gotoAndStop("half"); sayh = true; } if (((_root.upbridgelife >= (lifess * 0.75)) && (_root.downbridgelife >= (lifess * 0.75))) && (!say3q)) { _root.dialogue.gotoAndStop("threeq"); say3q = true; } if (((_root.upbridgelife >= lifess) && (_root.downbridgelife >= lifess)) && (!saywh)) { _root.dialogue.gotoAndStop("whole"); win = true; i = _root.dozerarray.length - 1; while (i > -1) { current = _root.dozerarray[i]; _root[current].dummy.empulse = 1; i--; } saywh = true; } } i = upbridge.length - 1; while (i > -1) { current = upbridge[i]; if (_root[current].hitTest(_root.repair2)) { _root[current].dummy.empulse = -3; _root.back.repair2.auto.play(); } i--; } i = downbridge.length - 1; while (i > -1) { current = downbridge[i]; if (_root[current].hitTest(_root.repair1)) { _root[current].dummy.empulse = -3; _root.back.repair1.auto.play(); } i--; } timercock++; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; x = _root[current]._x; y = _root[current]._y; if (_root.back.water.hitTest(x, y, true)) { _root[current].life = _root[current].life - 50; } i--; } timer = 0; } } if ((!ambush) && (_root.upbridgelife == undefined)) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; _root[current].speed = 3; _root[current].savespeed = _root[current].speed; if ((Math.floor(i / 2) * 2) == i) { _root[current]._x = _root.bridge1._x; } if ((Math.floor(i / 2) * 2) != i) { _root[current]._x = _root.bridge2._x; } i--; } if (_root.trucker.hitTest(_root.bridge)) { _root.convoy = undefined; _root.upbridgelife = 0; _root.downbridgelife = 0; _root.back.bridge.play(); _root.dialogue.gotoAndStop("bridge"); _root.box.canselect = true; _root.convoy = undefined; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; _root[current].speed = _root[current].savespeed; if (_root[current].hitTest(_root.bridge) || (_root[current].hitTest(_root.bridge2))) { _root[current].life = 0; } ambush = true; i--; } } } if (_root.dozerarray.length <= 0) { _root.gotoAndStop("defeat9"); } if (_root.dozerarray.length <= 0) { _root.gotoAndStop("defeat9"); } }
Instance of Symbol 1388 MovieClip in Frame 84
onClipEvent (load) { this.swapDepths(102450); }
Frame 85
movetozero(); _root.map7acomplete = true; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 85
onClipEvent (mouseUp) { _root.gotoAndStop("miss10"); }
Instance of Symbol 229 MovieClip in Frame 85
/* no clip actions */
Frame 86
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 86
onClipEvent (mouseUp) { _root.gotoAndPlay("miss9"); }
Frame 87
_root.sidebar.removeMovieClip(); _root.friendlies = undefined; _root.guards = undefined; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.upbridge = undefined; _root.downbridge = undefined; stop();
Instance of Symbol 1205 MovieClip in Frame 87
onClipEvent (load) { this._alpha = 0; _root.starts = false; played = false; gotoAndStop ("miss10"); } onClipEvent (enterFrame) { if (this._alpha < 100) { this._alpha++; } if ((this._alpha == 100) && (!played)) { played = true; play(); } }
Instance of Symbol 1214 MovieClip "shader2" in Frame 87
onClipEvent (load) { info = "Country: England. \nPopulation 75 million. \n Control : Enemy.\n Economy:Design and Arts"; words = "This is it commander, our final battle. Traitos has holed himself up in his last remaining stronghold in England, where he has constructed a well defended fortress. Our forces have moved into Britain and surrounded the capital of London. Wipe him out, along with all his forces."; map = "map10"; if (_root.currentmap == "map10") { gotoAndStop ("complete"); } }
Instance of Symbol 1214 MovieClip "shader1" in Frame 87
onClipEvent (load) { info = "Country: Tunisia. \nPopulation 10 million. \n Control : Enemy.\n Economy:None"; words = "Triatos has another major base in Tunisia, where he plans to develop a new superweapon.We have prepared a small but elite stealth crack squad. Commander, destroy the base and wait for Traitos. Once Traitos is ihe vicinity, he will commence inspection. Arrest him immediately. If he detects the trap, capture him before he to flee the sector."; map = "map10a"; if (_root.currentmap == "map10a") { gotoAndStop ("complete"); } }
Frame 88
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.upgradelevel = _root.difficulty; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (20000 * (10 / _root.difficulty)); _root.enemymoney = 1000000000000; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 867 MovieClip "back" in Frame 88
/* no clip actions */
Instance of Symbol 1054 MovieClip in Frame 88
onClipEvent (load) { _root.music.start(); }
Instance of Symbol 1122 MovieClip "burton" in Frame 88
onClipEvent (load) { this.swapDepths(1100100); }
Frame 89
_root.dialogue.gotoAndStop(97); _root.waves = 0; _root.timert = 0; _root.sidebar.mapp.gotoAndStop(12); _root.attachMovie("mission13", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; var i = (buildary.length - 1); while (i > -1) { _root.sidebar.build[buildary[i]].buildrate = _root.sidebar.build[buildary[i]].buildrate * 0.5; i--; } var i = (buildray.length - 1); while (i > -1) { _root.sidebar.build[buildray[i]].rates = _root.sidebar.build[buildray[i]].rates * 1.5; i--; } Mouse.hide(); _root.scrolla = true; _root.currentm = "map10"; stop(); _root.enemymoney = 1000000000000; stop();
Instance of Symbol 1106 MovieClip in Frame 89
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 89
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 89
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 89
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 867 MovieClip "back" in Frame 89
/* no clip actions */
Instance of Symbol 1122 MovieClip "burton" in Frame 89
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1120 MovieClip "rig13" in Frame 89
onClipEvent (load) { oilfield = "oil11"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig14" in Frame 89
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1037 MovieClip in Frame 89
onClipEvent (load) { ranges = 1; }
Instance of Symbol 1037 MovieClip in Frame 89
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; var revealed = false; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { revealed = true; break; } } i--; } if (revealed) { _root[current]._visible = false; } if ((!revealed) && (_root.fog)) { _root[current]._visible = true; } } onClipEvent (load) { po = 0; } onClipEvent (load) { po = 0; }
Instance of Symbol 1120 MovieClip "rig11" in Frame 89
onClipEvent (load) { oilfield = "oil2"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig12" in Frame 89
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1128 MovieClip "box" in Frame 89
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 89
onClipEvent (load) { timert = Math.round(3000 / _root.difficulty); timer = 0; timer2 = 0; shroud = false; fortress2 = false; fortresdest = false; guyz = []; } onClipEvent (enterFrame) { timer2++; timer++; if (timer2 == 100) { if (fortress) { nop = Math.floor(Math.random() * _root.friendlylist.length); toattack = _root.friendlylist[nop]; _root.fortress.aiattack(toattack); } timer2 = 0; guyl = guyz.length - 1; var i = guyl; while (i > -1) { current = guyz[i]; if (_root[current].life == undefined) { guyz.splice(i, 1); } if (((((_root[current].speed != undefined) && (_root[current].damage != undefined)) && (!_root[current].walking)) && (!_root[current].fireing)) && (_root[current].getDepth() > 0)) { nop = Math.floor(Math.random() * _root.friendlylist.length); toattack = _root.friendlylist[nop]; if (_root[toattack]._x != undefined) { _root[current].aiattack(toattack); } } i--; } } if (timer > timert) { if (!fortress2) { if ((((_root.control1.life <= 0) && (_root.control2.life < 0)) && (_root.control3.life < 0)) && (_root.control4.life < 0)) { _root.dialogue.gotoAndStop("destroyfortess"); } } timer = 0; i = 4; while (i > -1) { if (_root["enemywarfactory" + i].life > 0) { a = Math.random(); if ((a > 0) && (a < 0.3)) { unittype = "enemylight"; } if ((a > 0.3) && (a < 0.5)) { unittype = "enemyrocket"; } if ((a > 0.5) && (a < 0.6)) { unittype = "enemyheavy"; } if ((a > 0.6) && (a < 0.8)) { unittype = "enemyhumvee"; } if ((a > 0.8) && (a < 1)) { unittype = "enemyartillery"; } _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root["enemywarfactory" + i]._x; _root[unittype + _root.n]._y = _root["enemywarfactory" + i]._y; guyz.push(unittype + _root.n); _root.n++; } i--; } } if (_root.friendlylist.length <= 0) { _root.gotoAndStop("defeat10"); } if ((_root.fortress.life <= 0) && (!fortressdest)) { fortressdest = true; if (Math.random() > 0.5) { _root.dialogue.gotoAndStop("decoy"); } else { _root.dialogue.gotoAndStop("win"); } } if (!shroud) { if (!_root.shroudfortress._visible) { _root.dialogue.gotoAndStop("fortress"); shroud = true; } } }
Frame 90
movetozero(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.warfactory1e = 0; _root.refinery1e = 0; _root.pat1e = 0; _root.pat2e = 0; _root.comcentre1e = 0; _root.enemypower = _root.enemypower - 70; _root.enemyattack = 0; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 90
onClipEvent (mouseUp) { if (_root.decoy) { _root.gotoAndStop("miss10"); } else { _root.gotoAndStop("win"); } }
Instance of Symbol 229 MovieClip in Frame 90
/* no clip actions */
Frame 91
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 91
onClipEvent (mouseUp) { _root.gotoAndPlay("miss10"); }
Frame 92
_root.soundon = _root.setsoundon; _root.soundon = true; _root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.shroudarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = _root.money + (50000 * (10 / _root.difficulty)); _root.enemymoney = 0; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = [];
Instance of Symbol 1426 MovieClip "back" in Frame 92
onClipEvent (load) { this._x = 0; this._y = 0; }
Frame 93
_root.waves = 0; _root.dialogue.gotoAndStop(107); _root.timert = 0; _root.attachMovie("mission14", "tutorial", 1000900); _root.tutorial._x = 46.8; _root.tutorial._y = 10.9; Mouse.hide(); _root.scrolla = true; _root.currentm = "map10a"; stop(); _root.money = 1500; stop();
Instance of Symbol 1106 MovieClip in Frame 93
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 93
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 93
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 93
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1122 MovieClip "burton" in Frame 93
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1426 MovieClip "back" in Frame 93
/* no clip actions */
Instance of Symbol 1037 MovieClip in Frame 93
onClipEvent (load) { ranges = 0.7; }
Instance of Symbol 1040 MovieClip in Frame 93
onClipEvent (load) { ranges = 0.5; }
Instance of Symbol 1128 MovieClip "box" in Frame 93
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if ((((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) && (_root.scrolla)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1339 MovieClip "ai" in Frame 93
onClipEvent (load) { maxpatrolwait = Math.round(350 / _root.difficulty); patrolwait = Math.round(700 / _root.difficulty); timer = 0; detected = false; win = false; _root.apoc._visible = false; flee = false; escaped = false; timer2 = 1099; } onClipEvent (enterFrame) { timer2++; patrolwait--; timer++; if (_root.apoc.hitTest(_root.flee)) { _root.apco._visible = false; _root.dialogue.gotoAndStop("fled"); } if (timer == Math.round(100 / _root.difficulty)) { if (currentguy != undefined) { _root[currentguy].aigoto(_root.apoc._x, _root.apoc._y); if (_root[currentguy].hitTest(_root.apoc) && (!flee)) { _root.apoc.aigoto(_root.flee._x, _root.flee._y); _root.apoc.speed = 4; _root.dialogue.gotoAndStop("flee"); flee = true; } if (_root[currentguy].life <= 0) { currentguy = undefined; detected = false; } } if (currentguy == undefined) { i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if ((_root[current].speed != undefined) && (_root[current].shellspd != undefined)) { if (_root[current].turret._currentframe > 3) { detected = true; _root.dialogue.gotoAndStop("det"); currentguy = current; break; } } i--; } } timer = 0; } if (!teamtyp) { _root.apc.dummy.empulse = -2; _global.teamtype("patrols1", ["h1", "h2"], 4); _global.teamtype("patrols2", ["p1", "p2", "p3"], 4); _global.teamtype("patrols3", ["t1", "t2", "t3"], 4); _global.teamtype("patrols4", ["i1", "i2", "i3"], 4); teamtyp = true; } if ((patrolwait == maxpatrolwait) && (!detected)) { _root.patrols1.goto(undefined, undefined, "point4"); _root.patrols2.goto(undefined, undefined, "point5"); _root.patrols3.goto(undefined, undefined, "point2"); _root.patrols4.goto(undefined, undefined, "point6"); } if ((patrolwait == 0) && (!detected)) { _root.patrols1.goto(undefined, undefined, "point3"); _root.patrols2.goto(undefined, undefined, "point4"); _root.patrols3.goto(undefined, undefined, "point1"); _root.patrols4.goto(undefined, undefined, "point5"); patrolwait = Math.round(700 / _root.difficulty); } if (_root.friendlylist.length <= 0) { _root.gotoAndStop("defeat10a"); } if ((_root.apoc.life <= 0) && (!win)) { win = true; if (Math.random() > 0.5) { _root.dialogue.gotoAndStop("win"); } else { _root.dialogue.gotoAndStop("decoy"); } } if (timer2 == Math.round(2500 / _root.difficulty)) { _root.apoc._visible = true; _root.dialogue.gotoAndStop("arr"); _root.apoc.aigoto(_root.erefinery._x, _root.erefinery._y); _root.apcc2.aigoto(_root.erefinery._x, _root.erefinery._y); _root.apcc3.aigoto(_root.erefinery._x, _root.erefinery._y); } }
Frame 94
_root.patrols1 = undefined; _root.patrols2 = undefined; _root.patrols3 = undefined; movetozero(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.warfactory1e = 0; _root.refinery1e = 0; _root.pat1e = 0; _root.pat2e = 0; _root.comcentre1e = 0; _root.enemypower = _root.enemypower - 70; _root.enemyattack = 0; _root.box6.removeMovieClip(); _root.ownmap2 = true; _root.ownmap3 = false; _root.missions++; stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 94
onClipEvent (mouseUp) { if (_root.decoy) { _root.gotoAndStop("miss10"); } else { _root.gotoAndStop("win"); } }
Instance of Symbol 229 MovieClip in Frame 94
/* no clip actions */
Frame 95
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 1339 MovieClip "ai" in Frame 95
onClipEvent (mouseUp) { _root.gotoAndPlay("miss10"); }
Frame 96
stopAllSounds(); stop();
Frame 97
nextFrame();
Frame 98
gotoAndPlay (1);
Frame 99
array1 = []; enemymines = 0; _root.scrolla = true; _root.soundon = _root.setsoundon; for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } con = new ContextMenu(); con.hideBuiltInItems();
Frame 100
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 30000; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Frame 101
Mouse.hide(); stop(); stop();
Instance of Symbol 1106 MovieClip in Frame 101
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 101
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 101
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 101
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1120 MovieClip "rig6" in Frame 101
onClipEvent (load) { oilfield = "oil6"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig10" in Frame 101
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig19" in Frame 101
onClipEvent (load) { oilfield = "oil1"; _root.objarray.push(this._name); }
Instance of Symbol 1122 MovieClip "burton" in Frame 101
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1128 MovieClip "box" in Frame 101
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } if ((_root.tutorial._currentframe == 16) && (array != undefined)) { _root.tutorial.nextFrame(); } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Frame 102
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 229 MovieClip in Frame 102
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 102
onClipEvent (mouseUp) { _root.gotoAndPlay("tut3"); }
Frame 135
_root.victory._visible = false; _root.tutorial.swapDepths(-2);
Frame 136
array1 = []; enemymines = 0; _root.shroudarray = []; play(); for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } con = new ContextMenu(); con.hideBuiltInItems();
Frame 137
_root.attachMovie("sidebar", "sidebar", 1000000); _root.attachMovie("mo", "mouse", 1000001); _root.sidebar._x = 132.6; _root.sidebar._y = 615; _root.sidebar._xscale = -58.5; _root.sidebar._yscale = 49.14; _root.sidebar._rotation = 90; _global.orix = _root.back._x; _global.oriy = _root.back._y; _root.attachMovie("box5", "box6", 10000004); _root.box6._x = x1; _root.box6._y = y1; _root.box6._height = (_root.box5._height / _root.back._height) * (y4 - y1); _root.box6._width = (_root.box5._width / _root.back._width) * (x4 - x1); _global.constanty = (y4 - y1) / _root.back._height; _global.constantx = (x4 - x1) / _root.back._width; _global.constantsy = (y4 - y1) / _root.back._height; _global.constantsx = (x4 - x1) / _root.back._width; _root.array1 = []; _root.rallylist = []; _root.enemyrallylist = []; MovieClip.prototype.aiattack = function (what) { current2 = what; if (_root[current2]._x != undefined) { current = this._name; _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = _root[current2]._x; _root["flag" + current]._y = _root[current2]._y; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } }; MovieClip.prototype.aigoto = function (x1, y1, lock) { current = this._name; _root[current].attack = false; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); if ((!lock) || (lock == undefined)) { _root["flag" + current]._x = x1; _root["flag" + current]._y = y1; } if (lock) { _root["flag" + current]._x = x1 + _root.back._x; _root["flag" + current]._y = y1 + _root.back._y; } _root["flag" + current].vsisible = false; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; }; Array.prototype.arrayfind = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched = this[_local3]; if (_root[elementsearched].unittype == element) { _local4 = true; break; } _local3--; } return(_local4); }; Array.prototype.arrayfindfirst = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findsfirst = function (element) { var _local4 = false; var _local3 = this.length - 1; while (_local3 > -1) { elementsearched2 = this[_local3]; if (_root[elementsearched2].unittype == element) { _local4 = elementsearched2; break; } _local3--; } return(_local4); }; MovieClip.prototype.movesym = function () { _root[this._name + "symbols"]._x = (x1 + ((this._x - _root.back._x) * constantx)) - 10; _root[this._name + "symbols"]._y = (y1 + ((this._y - _root.back._y) * constanty)) - 10; }; _root.timer = 6999; _root.limit = 1200; Array.prototype.countduplicate = function (element) { var _local3 = 0; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3++; } _local2--; } return(_local3); }; Array.prototype.arrayfind = function (element) { var _local3 = false; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = true; break; } _local2--; } return(_local3); }; Array.prototype.finds = function (element) { var _local3 = -1; var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { _local3 = _local2; break; } _local2--; } return(_local3); }; Array.prototype.findandsplice = function (element) { var _local2 = this.length - 1; while (_local2 > -1) { elementsearched = this[_local2]; if (elementsearched == element) { this.splice(_local2, 1); break; } _local2--; } }; _root.objarray = []; _root.num = 0; _root.sparsex = [0, -50, 150, 100, -100, 150, 250, 200, -250, 300, 300, 350, -350, 400, -410, 500, -550]; _root.sparsey = [0, -50, 80, -180, 250, -50, 140, -150, 60, 150, -70, -220, -350, 350, -350, 375, -375]; _root.linex = [0, 0, 50, 50, 100, 100, 150, 150, 200, 200, 350, 350, 400, 400, 450, 450, 500, 500, 550, 550]; _root.liney = [0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50, 0, 50]; _root.unitsarray = []; _root.flagsarray = []; _root.selectedarray = []; _root.enemyarray = []; _root.friendlylist = []; _root.shellarray = []; _root.enemyminearray = []; _root.minearray = []; _root.enemyminearray = []; _root.money = 30000; _root.enemymoney = 30000; _root.warfactory = 0; _root.enemywarfactory = 0; _global.dozers = []; _root.dozerarray = []; _root.enemydozerarray = []; _root.structurearray = []; _root.enemyservicedepot = 0; _root.enemystructurearray = []; _root.comcentre = 0; _root.enemycomcentre = 0; _root.oilarray = []; _root.enemyoiltruckarray = []; _root.oiltruckarray = []; _root.refinery = 0; _root.enemyrefinery = 0; _root.techcentre = 0; _root.enemytechcentre = 0; _root.enemyweaponsilo = 0; _root.turretarray = []; _root.enemyturretarray = []; _root.enemyturret1 = false; _root.enemyturret2 = false; _root.enemyturret3 = false; _root.enemyturret4 = false; _root.enemyturret5 = false; _root.n = 1000;
Frame 138
Mouse.hide(); stop(); this.sidebar.mapp.gotoAndStop("map2"); stop();
Instance of Symbol 1106 MovieClip in Frame 138
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(38))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y + 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 138
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(37))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x + 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x + 20; i--; } } } }
Instance of Symbol 1108 MovieClip in Frame 138
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(39))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._x = _root.back._x - 20; _root.box6._x = x1 - (_root.back._x * constantx); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - 20; i--; } } } }
Instance of Symbol 1106 MovieClip in Frame 138
onClipEvent (enterFrame) { if ((this.hitTest(_root.mouse) || (Key.isDown(40))) && (_root.scrolla)) { if (this.hitTest(_root.back.centre)) { _root.back._y = _root.back._y - 20; _root.box6._y = y1 - (_root.back._y * constanty); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._y = _root[current]._y - 20; i--; } } } }
Instance of Symbol 1120 MovieClip "rig10" in Frame 138
onClipEvent (load) { oilfield = "oil3"; _root.objarray.push(this._name); }
Instance of Symbol 1120 MovieClip "rig10" in Frame 138
onClipEvent (load) { oilfield = "oil2"; _root.objarray.push(this._name); }
Instance of Symbol 1037 MovieClip in Frame 138
onClipEvent (enterFrame) { po++; if (po == _root.shroudarray.length) { po = 0; } current = _root.shroudarray[po]; i = _root.friendlylist.length - 1; while (i > -1) { current2 = _root.friendlylist[i]; if (_root[current2].unittype != "construction") { if (_root[current].hitTest(_root[current2])) { _root[current]._visible = false; break; } } i--; } } onClipEvent (load) { po = 0; }
Instance of Symbol 1339 MovieClip "ai" in Frame 138
onClipEvent (load) { timer = 0; _root.array2 = []; build = true; rounds = 0; _root.enemyoiltrucks = 0; } onClipEvent (enterFrame) { ppp = _root.enemyarray.toString(); Mouse.hide(); timer++; if ((Math.round(timer / 30) * 30) == timer) { if (_root.enemyarray.length <= 0) { _root.gotoAndStop("victory2e"); } if (_root.friendlylist.length <= 0) { _root.gotoAndStop("defeat2e"); } n = _root.enemystructurearray.length - 1; while (n > -1) { current2 = _root.enemystructurearray[n]; i = dozers.length - 1; while (i > -1) { current = dozers[i]; if (_root[current].build || (_root[current].walking)) { } else { dx = _root[current]._x - _root[current2]._x; dy = _root[current]._y - _root[current2]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 1500) { ant = 0; if (((_root[current2].life < _root[current2].fulllife) && (_root[current2].percent == undefined)) && (_root[current2].auto._currentframe == 1)) { if (!_root[current].hitTest(_root[current2])) { _root[current].aigoto(_root[current2]._x, _root[current2]._y, false); } _root[current2].auto.play(); h = array1.length - 1; while (h > -1) { currents = _root.array1[h]; if ((((_root[currents].natack == undefined) && (!_root[currents].walking)) && (!_root[currents].fireing)) && (ant < 5)) { ant++; _root[currents].aigoto(_root[current2]._x, _root[current2]._y, false); if (_root[current2].targetobj != undefined) { targetobj = _root[current2].targetobj; _root[currents].aiattack(targetobj); } } h--; } } } break; } i--; } n--; } } if ((Math.round(timer / 70) * 70) == timer) { if (((dozers.length < 4) && (_root.enemycomcentre1.life >= 0)) && (_root.enemymoney > 1000)) { _root.enemymoney = _root.enemymoney - 1000; _root.attachMovie("enemydozer", "enemydozer" + _root.n, _root.n); _root["enemydozer" + _root.n]._x = _root.enemycomcentre1._x; _root["enemydozer" + _root.n]._y = _root.enemycomcentre1._y; _root["enemydozer" + _root.n]._rotation = 0; _root.n++; } if ((_root.enemymoney > 50000) && (!build)) { build = true; rounds++; } if ((_root.enemymoney < 20000) && (build)) { build = false; } i = 0; while (i < _root.array2.length) { current = _root.array2[i]; if (_root[current].life == undefined) { _root.array2.splice(i, 1); } else if ((!_root[current].fireing) && (!_root[current].walking)) { lo = Math.floor(Math.random() * (_root.friendlylist.length - 1)); unit = _root.friendlylist[lo]; _root[current].aiattack(unit); } i++; } arrayone = _root.array1.toString(); if (_root.enemywarfactory1.life > 0) { if ((_root.enemyoiltrucks < 1) && (_root.enemymoney >= 2000)) { _root.enemymoney = _root.enemymoney - 1500; _root.attachMovie("enemyoiltruck", "enemyoiltruck" + _root.n, _root.n); _root["enemyoiltruck" + _root.n]._x = _root.enemywarfactory1._x; _root["enemyoiltruck" + _root.n]._y = _root.enemywarfactory1._y; _root["enemyoiltruck" + _root.n]._rotation = 0; _root.n++; } if ((_root.enemyarray.length < 15) && (_root.enemymoney > 0)) { unittype = "enemyhumvee"; _root.enemymoney = _root.enemymoney - 500; _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.enemywarfactory1._x; _root[unittype + _root.n]._y = _root.enemywarfactory1._y + 100; _root[unittype + _root.n]._rotation = 0; unittype = undefined; _root.n++; } } } }
Instance of Symbol 1122 MovieClip "burton" in Frame 138
onClipEvent (load) { this.swapDepths(1100100); }
Instance of Symbol 1128 MovieClip "box" in Frame 138
onClipEvent (mouseDown) { hitunit = false; x = _root.mouse._x - 10; y = _root.mouse._y - 10; if (((_root.sidebar.mapp.hitTest(x, y, true) && (_root.comcentre1.life > 0)) && (_root.comcentre1.life != undefined)) && (_root.sidebar._visible)) { x1s = x - x1; y1s = y - y1; x2s = _root.box6._x - x1; y2s = _root.box6._y - y1; _root.box6._x = x; _root.box6._y = y; x1s = x1s / constantx; y1s = y1s / constanty; x2s = x2s / constantx; y2s = y2s / constanty; _root.back._x = _root.back._x - (x1s - x2s); _root.back._y = _root.back._y - (y1s - y2s); i = _root.objarray.length - 1; while (i > -1) { current = _root.objarray[i]; _root[current]._x = _root[current]._x - (x1s - x2s); _root[current]._y = _root[current]._y - (y1s - y2s); i--; } } if ((!_root.sidebar.hitTest(x, y, false)) || (!_root.sidebar._visible)) { if (Key.isDown(16)) { _root.rallypoint._x = _root.mouse._x; _root.rallypoint._y = _root.mouse._y; } hits = false; this._x = _root._xmouse; this._y = _root._ymouse; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this) && (current != "servicedepot1")) { hits = true; break; } i--; } origx = _root.mouse._x; origy = _root.mouse._y; this._visible = true; array = _root.formation; _root.formation = undefined; if (!hits) { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if ((!_root[current].enemy) && (_root[current].speed != undefined)) { if ((!_root[current].ally) && (!hitunit)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("o" + numbers); soundobj.start(); hitunit = true; } _root[current].turret._rotation = _root[current].dummy._rotation; c = _root.enemyarray.length - 1; while (c > -1) { current2 = _root.enemyarray[c]; if (_root.mouse.hitTest(_root[current2])) { _root[current].targetobj = current2; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._x = _root.boxns._x; _root["flag" + current]._y = _root.boxns._y; _root[current].locx = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root[current].locy = ((Math.random() - 0.5) * _root[current].range) * 1.5; _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; break; } c--; } if (!hit) { origx = _root.mouse._x + _root[array + "x"][i]; origy = _root.mouse._y + _root[array + "y"][i]; if (isNaN(origx)) { origx = _root.mouse._x; } if (isNaN(origy)) { origy = _root.mouse._y; } if ((_root.tutorial._currentframe == 16) && (array != undefined)) { _root.tutorial.nextFrame(); } current = _root.selectedarray[i]; _root[current].destx = origx; _root[current].desty = origy; _root[current].attack = false; _root[current].locx = undefined; _root[current].locy = undefined; _root[current].walking = true; _root["flag" + current].removeMovieClip(); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag", "flag" + current, _root.n); _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } } if (Key.isDown(17)) { _root[current].targetobj = "flag" + current; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root.n++; } hit = false; i--; } } } } onClipEvent (mouseUp) { x = _root.mouse._x; y = _root.mouse._y; _root.mouse.gotoAndStop(2); hitunit = false; if ((!_root.sidebar.hitTest(x, y, true)) || (!_root.sidebar._visible)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this) && (!_root.selectedarray.arrayfind(current))) { _root[current].selector._visible = true; if ((((!_root[current].ally) && (!_root[current].enemy)) && (!hitunit)) && (_root[current].speed != undefined)) { soundobj = new Sound(); numbers = Math.ceil(Math.random() * 4); soundobj.attachSound("d" + numbers); soundobj.start(); hitunit = true; } _root[current].selected1 = true; _root.selectedarray.push(current); } i--; } } origx = undefined; origy = undefined; this._visible = false; _root.sidebar.calccost(); } onClipEvent (enterFrame) { if (_root.mouse.hitTest(_root.sidebar)) { _root.sidebar._alpha = 100; } else { _root.sidebar._alpha = 30; } _root.timer++; if (_root.timer == 7000) { for (var name in _root) { if (typeof(_root[name]) == "movieclip") { if ((_root[name].fulllife != undefined) && ((_root[name].life == undefined) || (_root[name].life <= 0))) { _root[name].removeMovieClip(); } } } i = _root.friendlylist.length - 1; while (i > -1) { currents = _root.friendlylist[i]; if ((_root.friendlylist.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.friendlylist.splice(i, 1); } i--; } i = _root.enemyarray.length - 1; while (i > -1) { currents = _root.enemyarray[i]; if ((_root.enemyarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.enemyarray.splice(i, 1); } i--; } i = _root.objarray.length - 1; while (i > -1) { currents = _root.objarray[i]; if ((_root.objarray.countduplicate(currents) > 1) || (_root[currents]._x == undefined)) { _root.objarray.splice(i, 1); } i--; } i = _root.unitsarray.length - 1; while (i > -1) { currents = _root.unitsarray[i]; if (((_root.unitsarray.countduplicate(currents) > 1) || (_root[currents].life == undefined)) || (_root[currents + "symbols"]._x == undefined)) { _root.unitsarray.splice(i, 1); } i--; } i = _root.shellarray.length - 1; while (i > -1) { currents = _root.shellarray[i]; if (_root.shellarray.countduplicate(currents) > 1) { _root.shellarray.splice(i, 1); } i--; } _root.timer = 0; } if (Key.isDown(32)) { _root.mouse.gotoAndStop(1); _root.selectedarray = []; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; _root.sidebar.calccost(); i--; } } if (this._visible) { a = _root._xmouse - origx; b = _root._ymouse - origy; this._width = Math.abs(a); this._height = Math.abs(b); if (a < 0) { this._xscale = this._xscale * -1; } if (b < 0) { this._yscale = this._yscale * -1; } } }
Instance of Symbol 1120 MovieClip "rig122" in Frame 138
onClipEvent (load) { oilfield = "oil5"; _root.objarray.push(this._name); }
Frame 139
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } stop();
Instance of Symbol 229 MovieClip in Frame 139
/* no clip actions */
Instance of Symbol 1339 MovieClip "ai" in Frame 139
onClipEvent (mouseUp) { _root.gotoAndPlay("meow"); }
Frame 141
_root.gotoAndStop("meow");
Frame 142
for (var name in _root) { if (typeof(_root[name]) == "movieclip") { _root[name].removeMovieClip(); } } _root.tutorial._visible = false; gotoAndStop (2);
Symbol 39 MovieClip [mission5] Frame 1
pp = 0; stop(); assignvars(); _root.attackarray = []; stop();
Instance of Symbol 37 MovieClip in Symbol 39 MovieClip [mission5] Frame 1
/* no clip actions */
Symbol 41 MovieClip [mission6] Frame 1
pp = 0; stop(); assignvars(); _root.attackarray = []; stop();
Instance of Symbol 37 MovieClip in Symbol 41 MovieClip [mission6] Frame 1
onClipEvent (enterFrame) { if (_root.enemytechcentre1.life <= 0) { _root.gotoAndStop("defeat6"); } }
Symbol 44 MovieClip [mission8] Frame 1
pp = 0; stop(); assignvars(); stop();
Instance of Symbol 37 MovieClip in Symbol 44 MovieClip [mission8] Frame 1
onClipEvent (enterFrame) { if (_root.airport.life <= 0) { _root.gotoAndStop("defeat8"); } }
Symbol 46 MovieClip [mission7] Frame 1
pp = 0; stop(); assignvars(); stop();
Instance of Symbol 37 MovieClip in Symbol 46 MovieClip [mission7] Frame 1
/* no clip actions */
Symbol 50 MovieClip [mission14] Frame 1
stop();
Symbol 52 MovieClip [mission13] Frame 1
stop();
Symbol 55 MovieClip [mission11] Frame 1
stop();
Symbol 57 MovieClip [mission10] Frame 1
pp = 0; stop(); assignvars(); stop();
Symbol 60 MovieClip [mission9] Frame 1
pp = 0; stop(); assignvars(); stop();
Symbol 62 MovieClip [mission4] Frame 2
pp = 0; stop(); assignvars(); _root.attackarray = []; stop();
Instance of Symbol 37 MovieClip in Symbol 62 MovieClip [mission4] Frame 2
onClipEvent (enterFrame) { if (_root.production3.life <= 0) { _root.gotoAndStop("defeat4"); } if (_root.production1.life <= 0) { _root.gotoAndStop("defeat4"); } if (_root.production2.life <= 0) { _root.gotoAndStop("defeat4"); } if (_root.production4.life <= 0) { _root.gotoAndStop("defeat4"); } }
Symbol 64 MovieClip [mission3] Frame 2
stop(); stop();
Instance of Symbol 37 MovieClip in Symbol 64 MovieClip [mission3] Frame 2
/* no clip actions */
Symbol 72 MovieClip [mission2] Frame 1
_root.sidebar.mapp.gotoAndStop(4); movetoloc(_root.tartar._x, _root.tartar._y); _root.scrolla = true; this._x = this._x * 0.78; this._y = this._y * 0.78; var i = 10; while (i > 0) { if (_root["elite" + i].life != undefined) { _root["elite" + i].life = _root["elite" + i].fulllife; _root["elite" + i]._x = _root.tart5._x + _root.linex[i]; _root["elite" + i]._y = _root.tart5._y + _root.liney[i]; _root["elite" + i]._visible = true; _root["elite" + i].walking = false; _root["elite" + i].fireing = false; _root.friendlylist.push("elite" + i); _root.unitsarray.push("elite" + i); _root.objarray.push("elite" + i); } i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip [mission2] Frame 1
onClipEvent (enterFrame) { pp++; if (pp > 100) { _parent.nextFrame(); } } onClipEvent (load) { pp = 0; }
Symbol 72 MovieClip [mission2] Frame 2
pp = 0; var i = 10; while (i > 0) { _root["elite" + i].swapDepths(i); _root["elite" + i].aigoto(_root.tart6._x, _root.tart6._y, false); i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip [mission2] Frame 2
onClipEvent (enterFrame) { _parent.pp++; if (_parent.pp > 100) { _parent.nextFrame(); } } onClipEvent (load) { _parent.pp = 0; }
Symbol 72 MovieClip [mission2] Frame 3
nextFrame();
Instance of Symbol 37 MovieClip in Symbol 72 MovieClip [mission2] Frame 3
/* no clip actions */
Symbol 72 MovieClip [mission2] Frame 4
stop();
Symbol 74 MovieClip [mission0] Frame 1
this._x = this._x * 0.78; this._y = this._y * 0.78; _global.teamtype("friendly", _root.friendlylist, 10000); _root.friendly.upgrade("fulllife", 5 / _root.difficulty); _root.friendly.upgrade("life", 5 / _root.difficulty); _root.friendly.command("hitonly", true); nextFrame(); stop();
Symbol 74 MovieClip [mission0] Frame 2
pp = 0; stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 16
stop();
Symbol 110 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.accurate == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.accurate === false) { this._alpha = 40; } if (_parent._parent.accurate === true) { this._alpha = 100; } }
Instance of Symbol 86 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.nuke == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.nuke === false) { this._alpha = 40; } if (_parent._parent.nuke === true) { this._alpha = 100; } }
Instance of Symbol 88 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.emp == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.emp === false) { this._alpha = 40; } if (_parent._parent.emp === true) { this._alpha = 100; } }
Instance of Symbol 90 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.shell2 == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.shell2 === false) { this._alpha = 40; } if (_parent._parent.shell2 === true) { this._alpha = 100; } }
Instance of Symbol 92 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.hitonly == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.hitonly === false) { this._alpha = 40; } if (_parent._parent.hitonly === true) { this._alpha = 100; } }
Instance of Symbol 94 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if ((_parent._parent.auto == undefined) || (_parent._parent.auto._x != undefined)) { this._visible = false; } else { this._visible = true; } if (_parent._parent.auto === false) { this._alpha = 40; } if (_parent._parent.auto === true) { this._alpha = 100; } }
Instance of Symbol 96 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.gatling == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.gatling === false) { this._alpha = 40; } if (_parent._parent.gatling === true) { this._alpha = 100; } }
Instance of Symbol 98 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.laser == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.laser === false) { this._alpha = 40; } if (_parent._parent.laser === true) { this._alpha = 100; } }
Instance of Symbol 100 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.crush == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.crush === false) { this._alpha = 40; } if (_parent._parent.crush === true) { this._alpha = 100; } }
Instance of Symbol 102 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if ((_parent._parent.miss == undefined) || (_parent._parent.missile != undefined)) { this._visible = false; } else { this._visible = true; } if (!(_parent._parent.miss === 3)) { this._alpha = 40; } if (_parent._parent.miss === 3) { this._alpha = 100; } }
Instance of Symbol 104 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.seeker == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.seeker === false) { this._alpha = 40; } if (_parent._parent.seeker === true) { this._alpha = 100; } }
Instance of Symbol 106 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.miss == undefined) { this._visible = false; } else { this._visible = true; } if ((!(_parent._parent.miss === 2)) || (_parent._parent.missile === false)) { this._alpha = 40; } if ((_parent._parent.miss === 2) || (_parent._parent.missile === true)) { this._alpha = 100; } }
Instance of Symbol 108 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (load) { if (_parent._parent.blast == undefined) { this._visible = false; } else { this._visible = true; } if (_parent._parent.blast === false) { this._alpha = 40; } if (_parent._parent.blast === true) { this._alpha = 100; } }
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
if (_parent.life < _parent.fulllife) { _parent.life = _parent.life + 15; }
Symbol 112 MovieClip Frame 15
if (_parent.life < _parent.fulllife) { _parent.life = _parent.life + 15; }
Symbol 112 MovieClip Frame 30
gotoAndStop (1);
Symbol 121 MovieClip [weaponsilo] Frame 1
_root.sidebar.nuketimer.gotoAndPlay(2); this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 121 MovieClip [weaponsilo] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.findandsplice(_parent._name); _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1500; _parent.fulllife = 1500; _root.friendlylist.push(_parent._name); _parent.unittype = "weaponsilo"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 121 MovieClip [weaponsilo] Frame 1
onClipEvent (enterFrame) { this._xscale = 400 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 121 MovieClip [weaponsilo] Frame 2
_root.enemymoney = _root.enemymoney + 10000;
Symbol 121 MovieClip [weaponsilo] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.sidebar.build.weaponsilo.gotoAndStop(1); _root.sidebar.nuketimer.gotoAndStop(1); _root.targeter.removeMovieClip(); _root[_name + "symbols"].removeMovieClip(); this._name = "l"; this.removeMovieClip(); stop();
Symbol 123 MovieClip [mission] Frame 1
_root.sidebar.mapp.gotoAndStop(3); _root.scrolla = false; this._x = this._x * 0.78; this._y = this._y * 0.78; unitsarray = _root.unitsarray.concat(_root.oilarray); i = unitsarray.length - 1; while (i > -1) { current = unitsarray[i]; _root[current + "symbols"]._visible = false; i--; } i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].auto._x != undefined) { _root[current].life = _root[current].life * 5; _root[current].fulllife = _root[current].fulllife * 10; } if (_root[current].speed != undefined) { _root[current].life = _root[current].life * 2; _root[current].fulllife = _root[current].fulllife * 2; _root[current].laser = true; _root[current].auto = true; _root[current].miss = 2; _root[current].shell2 = true; } i--; } _root.box6._visible = false; _root.sidebar._visible = false;
Symbol 123 MovieClip [mission] Frame 2
pp = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 123 MovieClip [mission] Frame 2
onClipEvent (enterFrame) { _parent.pp++; if (_parent.pp > 100) { _parent.nextFrame(); } } onClipEvent (load) { _parent.pp = 0; }
Symbol 123 MovieClip [mission] Frame 3
_root.scrolla = true; var i = 4; while (i > 0) { _root.attachMovie("light", "elite" + i, _root.n); _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].life = 500; _root["elite" + i].fulllife = 500; _root["elite" + i].shell2 = true; _root["elite" + i].auto = true; _root["elite" + i].firerate = 10; _root.n++; i--; } var i = 6; while (i > 4) { _root.attachMovie("rocket", "elite" + i, _root.n); _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].miss = 2; _root["elite" + i].damage = 75; _root["elite" + i].seeker = true; _root.n++; i--; } var i = 9; while (i > 6) { _root.attachMovie("humvee", "elite" + i, _root.n); _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].laser = true; _root["elite" + i].speed = 8; _root.n++; i--; } var i = 10; while (i > 9) { _root.attachMovie("artillery", "elite" + i, _root.n); _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].emp = true; _root.n++; i--; } nextFrame();
Instance of Symbol 37 MovieClip in Symbol 123 MovieClip [mission] Frame 3
/* no clip actions */
Symbol 123 MovieClip [mission] Frame 4
stop(); var i = 9; while (i > 0) { _root["elite" + i].aigoto(_root.tart3._x, _root.tart3._y); i--; } var i = 4; while (i > 0) { _root["elite" + i].life = 700; _root["elite" + i].fulllife = 700; _root["elite" + i].shell2 = true; _root["elite" + i].auto = true; _root["elite" + i].firerate = 10; i--; } var i = 6; while (i > 4) { _root["elite" + i].miss = 2; _root["elite" + i].damage = 105; _root["elite" + i].life = 500; _root["elite" + i].fulllife = 500; _root["elite" + i].seeker = true; i--; } var i = 9; while (i > 6) { _root["elite" + i].laser = true; _root["elite" + i].life = 300; _root["elite" + i].fulllife = 300; _root["elite" + i].speed = 8; i--; } var i = 10; while (i > 9) { _root["elite" + i].life = 500; _root["elite" + i].fulllife = 500; _root["elite" + i].emp = true; i--; } movetoloc(_root.elite1._x + 50, _root.elite1._y + 50);
Symbol 128 MovieClip [rad] Frame 1
timer++; this._xscale = this._xscale + 15; this._yscale = this._yscale + 15; this._alpha = this._alpha - 20; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { _root[current].life = _root[current].life - (20 / timer); _root[current + "symbols"].play(); } i--; } if (this._alpha < 0) { this.removeMovieClip(); }
Symbol 128 MovieClip [rad] Frame 19
timer++; this._xscale = this._xscale + 15; this._yscale = this._yscale + 15; this._alpha = this._alpha - 20; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { _root[current].life = _root[current].life - (20 / timer); _root[current + "symbols"].play(); } i--; } if (this._alpha < 0) { this.removeMovieClip(); }
Symbol 128 MovieClip [rad] Frame 40
gotoAndPlay (1);
Symbol 131 MovieClip [laser2] Frame 1
Symbol 131 MovieClip [laser2] Frame 2
if (((((this._x < 1000) && (this._y < 768)) && (this._x > 0)) && (this._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("la"); soundobj.start(); }
Symbol 131 MovieClip [laser2] Frame 4
_root.objarray.findandsplice(this._name); this.removeMovieClip();
Symbol 135 MovieClip [ionbeams] Frame 1
this._alpha = 50;
Symbol 135 MovieClip [ionbeams] Frame 4
Symbol 138 MovieClip [laser] Frame 1
Symbol 138 MovieClip [laser] Frame 2
if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("Las"); soundobj.start(); }
Symbol 138 MovieClip [laser] Frame 4
_root.objarray.findandsplice(this._name); this.removeMovieClip();
Symbol 149 MovieClip Frame 1
stop();
Symbol 150 Button
on (rollOver) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("attacker"); } } on (rollOut) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("locator"); } }
Symbol 157 MovieClip [enemyconstruction] Frame 1
this.cacheAsBitmap = true; stop();
Instance of Symbol 149 MovieClip "constructor" in Symbol 157 MovieClip [enemyconstruction] Frame 1
onClipEvent (load) { this._alpha = 50; this.gotoAndStop(_parent.structure); } onClipEvent (enterFrame) { this._alpha = _parent.percent; }
Instance of Symbol 110 MovieClip "selector" in Symbol 157 MovieClip [enemyconstruction] Frame 1
onClipEvent (load) { _parent.constructor._alpha = 0; _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 100; _parent.fulllife = 1000; _root.enemyarray.push(_parent._name); _parent.percent = 0; _root[_parent.dozer].aigoto(_parent._x, _parent._y, false); _root[_parent.dozer].targetbuild = _parent._name; _root[_parent.dozer].build = true; _root[_parent.structure] = 1; _parent.drag = false; _parent.unittype = "construction"; } onClipEvent (enterFrame) { _parent.constructor._alpha = _parent.percent; if ((_root[_parent.dozer].life <= 0) || (_root[_parent.dozer].life == undefined)) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 157 MovieClip [enemyconstruction] Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if ((_parent.life <= 0) && (!_parent.drag)) { _parent.gotoAndPlay("explode"); } }
Symbol 157 MovieClip [enemyconstruction] Frame 2
_root.attachMovie(structure, structure + "1", _root.n - 1000); _root[structure + "1"]._x = this._x; _root[structure + "1"]._y = this._y; _root.n++; _root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.sidebar.calccost(); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip();
Symbol 157 MovieClip [enemyconstruction] Frame 3
Symbol 157 MovieClip [enemyconstruction] Frame 12
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); _root[structure] = 0; _root.sidebar.calccost(); this.removeMovieClip(); stop();
Symbol 168 MovieClip Frame 1
if (targetobj == undefined) { stop(); } dx = _root[targetobj]._x - _parent._x; dy = _root[targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > _parent.range) { targetobj = undefined; stop(); }
Symbol 168 MovieClip Frame 2
_root.attachMovie("shell2", "she3ll" + _root.n, _root.n); _root["she3ll" + _root.n]._x = _parent._x + 10; _root["she3ll" + _root.n]._y = _parent._y + 10; _root["she3ll" + _root.n]._rotation = this._rotation; _root["she3ll" + _root.n].damage = _parent.damage; _root["she3ll" + _root.n].shellspd = _parent.shellspd; _root["she3ll" + _root.n].targetobj = targetobj; _root["she3ll" + _root.n].hitonly = _parent.hitonly; _root["she3ll" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["she3ll" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["she3ll" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; _root.objarray.push("she3ll" + _root.n);
Symbol 168 MovieClip Frame 4
_root.attachMovie("shell2", "she2ll" + _root.n, _root.n); _root["she2ll" + _root.n]._x = _parent._x - 10; _root["she2ll" + _root.n]._y = _parent._y - 10; _root["she2ll" + _root.n]._rotation = this._rotation; _root["she2ll" + _root.n].damage = _parent.damage; _root["she2ll" + _root.n].shellspd = _parent.shellspd; _root["she2ll" + _root.n].targetobj = targetobj; _root["she2ll" + _root.n].hitonly = _parent.hitonly; _root["she2ll" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["she2ll" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["she2ll" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; _root.objarray.push("she2ll" + _root.n); if ((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) { soundobj = new Sound(); soundobj.attachSound("mac"); soundobj.start(); }
Symbol 168 MovieClip Frame 6
if ((_root[targetobj].life < 0) || (_root[targetobj].life == undefined)) { targetobj = undefined; } if ((!_root[targetobj].fireing) && (!_root[targetobj].walking)) { if (_root[targetobj].aggressive) { _root[targetobj].aiattack(_parent._name); } }
Symbol 168 MovieClip Frame 7
gotoAndPlay ("normal");
Symbol 173 MovieClip Frame 1
stop();
Instance of Symbol 168 MovieClip "turret" in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation++; } }
Symbol 176 Button
on (keyPress "<Space>") { if (_parent.drag) { _parent.gotoAndPlay(12); } }
Symbol 178 MovieClip [construction2] Frame 1
stop();
Instance of Symbol 173 MovieClip "constructor" in Symbol 178 MovieClip [construction2] Frame 1
onClipEvent (load) { this._alpha = 50; this.gotoAndStop(_parent.structure); } onClipEvent (enterFrame) { this._alpha = _parent.percent; }
Instance of Symbol 110 MovieClip "selector" in Symbol 178 MovieClip [construction2] Frame 1
onClipEvent (load) { _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = false; _parent.life = 100; _parent.fulllife = 500; timer = 0; _parent.unittype = "construction"; } onClipEvent (enterFrame) { if (_parent.drag) { timer++; _parent._y = _root._ymouse; _parent._x = _root._xmouse; if (Key.isDown(32)) { _root.money = _root.money + _parent.cost; _parent.gotoAndPlay(12); } } if ((_root[_parent.dozer].life <= 0) || (_root[_parent.dozer].life == undefined)) { _parent.gotoAndPlay("explode"); } } onClipEvent (mouseUp) { hit = false; if (_parent.drag) { c = _root.unitsarray.length - 1; while (c > -1) { current2 = _root.unitsarray[c]; if (this.hitTest(_root[current2])) { break; } c--; } } if (((!hit) && (timer > 10)) && (_parent.drag)) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.objarray.push(_parent._name); _root.friendlylist.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.aggressive = true; _parent.percent = 0; _root[_parent.dozer].aigoto(_parent._x, _parent._y, false); _root[_parent.dozer].targetbuild = _parent._name; _root[_parent.dozer].build = true; _parent.drag = false; _parent.constructor._alpha = 0; } }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 178 MovieClip [construction2] Frame 1
onClipEvent (enterFrame) { this._xscale = 60 * (_parent.life / _parent.fulllife); if ((_parent._currentframe == 1) && (!_parent.drag)) { if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } } }
Symbol 178 MovieClip [construction2] Frame 2
_root.attachMovie(structure, structure + _root.n, _root.n - 1000); _root[structure + _root.n]._x = this._x; _root[structure + _root.n]._y = this._y; _root.n++; _root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); _root.sidebar.calccost(); this.removeMovieClip();
Symbol 178 MovieClip [construction2] Frame 3
Symbol 178 MovieClip [construction2] Frame 12
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.sidebar.build[structure].gotoAndStop(1); _root.sidebar.calccost(); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 189 MovieClip [construction] Frame 1
stop();
Instance of Symbol 186 MovieClip "constructor" in Symbol 189 MovieClip [construction] Frame 1
onClipEvent (load) { this._alpha = 50; this.gotoAndStop(_parent.structure); } onClipEvent (enterFrame) { this._alpha = _parent.percent; }
Instance of Symbol 110 MovieClip "selector" in Symbol 189 MovieClip [construction] Frame 1
onClipEvent (load) { _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = false; _parent.life = 100; _parent.fulllife = 1000; timer = 0; _parent.unittype = "construction"; } onClipEvent (enterFrame) { _parent.constructor._alpha = _parent.percent; if (_parent.drag) { timer++; _parent._y = _root._ymouse; _parent._x = _root._xmouse; if (Key.isDown(32)) { _root.money = _root.money + _parent.cost; _parent.gotoAndPlay(12); } } if ((_root[_parent.dozer].life <= 0) || (_root[_parent.dozer].life == undefined)) { _parent.gotoAndPlay("explode"); } } onClipEvent (mouseUp) { hit = false; if (_parent.drag) { c = _root.unitsarray.length - 1; while (c > -1) { current2 = _root.unitsarray[c]; if (this.hitTest(_root[current2])) { break; } c--; } } if (((!hit) && (timer > 10)) && (_parent.drag)) { _parent.constructor._alpha = 0; _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _root.friendlylist.push(_parent._name); _parent.percent = 0; _root[_parent.dozer].aigoto(_parent._x, _parent._y, false); _root[_parent.dozer].targetbuild = _parent._name; _root[_parent.dozer].build = true; _parent.drag = false; } }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 189 MovieClip [construction] Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if ((_parent.life <= 0) && (!_parent.drag)) { _parent.gotoAndPlay("explode"); } }
Symbol 189 MovieClip [construction] Frame 2
_root.attachMovie(structure, structure + "1", _root.n - 1000); _root[structure + "1"]._x = this._x; _root[structure + "1"]._y = this._y; _root.n++; _root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.sidebar.calccost(); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip();
Symbol 189 MovieClip [construction] Frame 3
Symbol 189 MovieClip [construction] Frame 12
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.sidebar.build[structure].gotoAndStop(1); _root[_name + "symbols"].removeMovieClip(); _root.sidebar.calccost(); this.removeMovieClip(); stop();
Symbol 192 MovieClip [bigdot2] Frame 1
if (_root.comcentre1.life == undefined) { this._visible = false; } stop();
Symbol 192 MovieClip [bigdot2] Frame 6
gotoAndStop (1);
Symbol 194 MovieClip [bigdot] Frame 1
if (_root.comcentre1.life == undefined) { this._visible = false; } stop();
Symbol 194 MovieClip [bigdot] Frame 6
gotoAndStop (1);
Symbol 197 MovieClip [dot2] Frame 1
if (_root.comcentre1.life == undefined) { this._visible = false; } stop();
Symbol 197 MovieClip [dot2] Frame 6
gotoAndStop (1);
Symbol 208 MovieClip [nuke] Frame 1
_root.objarray.push(_name);
Symbol 208 MovieClip [nuke] Frame 7
i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - (0.75 * _root[current].fulllife); } i--; }
Symbol 208 MovieClip [nuke] Frame 8
i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - (0.25 * _root[current].fulllife); } i--; } if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("exp2"); soundobj.start(); }
Symbol 208 MovieClip [nuke] Frame 10
_root.n++; _root.attachMovie("rad", "rad" + _root.n, _root.n); _root["rad" + _root.n]._x = this._x; _root["rad" + _root.n]._y = this._y; _root["rad" + _root.n]._yscale = 200; _root["rad" + _root.n]._xscale = 200; _root["rad" + _root.n].timer = 0; _root.objarray.push("rad" + _root.n); _root.n++; if (_root.soundon) { soundobj2 = new Sound(); soundobj2.attachSound("crash"); soundobj2.start(); }
Symbol 208 MovieClip [nuke] Frame 12
i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - 100; } i--; } if (_root.soundon) { soundobj3 = new Sound(); soundobj3.attachSound("exp"); soundobj3.start(); }
Symbol 208 MovieClip [nuke] Frame 16
_root.objarray.findandsplice(_name); this.removeMovieClip(); stop();
Symbol 213 MovieClip [targeter] Frame 1
timer = 1;
Instance of Symbol 212 MovieClip in Symbol 213 MovieClip [targeter] Frame 1
onClipEvent (enterFrame) { _parent._x = _root.mouse._x; _parent._y = _root.mouse._y; _parent.timer++; if (Key.isDown(32)) { _parent.removeMovieClip(); } } onClipEvent (mouseUp) { if ((_parent.timer > 10) && (hit == undefined)) { _root.attachMovie("flag2", "nuclearstrike", _root.n); _root.nuclearstrike._x = _root.mouse._x; _root.nuclearstrike._y = _root.mouse._y; _root.objarray.push("nuclearstrike"); _root.n++; hit = true; _root.attachMovie("nukemiss", "nukemiss", _root.n); _root.nukemiss._x = _root.weaponsilo1._x; _root.nukemiss._y = _root.weaponsilo1._y; _root.n++; _parent._visible = false; _parent.removeMovieClip(); } }
Symbol 217 MovieClip Frame 3
if ((_parent.timer > 12) && (!_parent.hitonly)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(_parent)) { _parent.hits = current; _parent.play(); break; } i--; } } if ((_parent.timer > 12) && (_parent.hitonly)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(_parent) && (_root[current].enemy == _root[_parent.targetobj].enemy)) { _parent.hits = current; _parent.play(); break; } i--; } } _parent.movex = _parent.movex * 1.4; _parent.movey = _parent.movey * 1.4; _parent.shellspd = _parent.shellspd + 2; if (_parent.hitTest(_root[_parent.targetobj])) { _parent.play(); } if (_parent.timer > 40) { _parent.play(); }
Symbol 218 MovieClip [nukemiss2] Frame 1
_root.objarray.push(this._name);
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip [nukemiss2] Frame 1
onClipEvent (enterFrame) { _root.sidebar.enemynuketimer.gotoAndStop(2); flag = "nuclearstrike2"; dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; _parent._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (_parent._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * 10); _parent._y = _parent._y + (Math.sin(rads) * 10); if (_parent.hitTest(_root[flag])) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _root[flag].removeMovieClip(); _parent.walking = false; _root.attachMovie("nuke", "nuke2", _root.n); _root.nuke2._x = _parent._x; _root.nuke2._y = _parent._y; _root.n++; _root.objarray.findandsplice(_parent._name); _parent.removeMovieClip(); } }
Symbol 220 MovieClip [nukemiss] Frame 1
_root.objarray.push(this._name); _root.weaponsilo1.silodoors.gotoAndStop(1);
Instance of Symbol 217 MovieClip in Symbol 220 MovieClip [nukemiss] Frame 1
onClipEvent (enterFrame) { _root.sidebar.nuketimer.gotoAndStop(2); flag = "nuclearstrike"; dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; _parent._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (_parent._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * 10); _parent._y = _parent._y + (Math.sin(rads) * 10); if (_parent.hitTest(_root[flag])) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _root[flag].removeMovieClip(); _parent.walking = false; _root.attachMovie("nuke", "nuke", _root.n); _root.nuke._x = _parent._x; _root.nuke._y = _parent._y; _root.n++; _root.objarray.findandsplice(_parent._name); _parent.removeMovieClip(); } }
Symbol 222 MovieClip [padded] Frame 1
if (_root.comcentre1.life == undefined) { this._visible = false; } stop();
Symbol 234 Button
on (release) { fscommand ("quit"); }
Symbol 239 Button
on (release) { _parent.gotoAndPlay("options"); }
Symbol 243 Button
on (release) { _parent.gotoAndPlay("skirmish"); }
Symbol 247 Button
on (release) { _parent.play(); }
Symbol 251 Button
on (release) { _root.gotoAndPlay(2); }
Symbol 257 MovieClip Frame 6
stop();
Instance of Symbol 229 MovieClip in Symbol 257 MovieClip Frame 6
onClipEvent (load) { timer = 0; } onClipEvent (enterFrame) { if (timer == 10) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].unittype == "artillery") { if (Math.random() > 0.9) { _root[current].deploy(); } } i--; } } timer++; if (timer == 18) { createobj2(); } if (timer == 20) { createobj(); } if (timer == 42) { _global.applyobj(); timer = 0; } }
Instance of Symbol 229 MovieClip in Symbol 257 MovieClip Frame 6
/* no clip actions */
Symbol 264 Button
on (release) { gotoAndPlay ("reverse"); }
Symbol 270 Button
on (release) { _root.difficulty = 2; _root.gotoAndStop(5); }
Symbol 275 Button
on (release) { _root.difficulty = 4; _root.gotoAndStop(5); }
Symbol 279 Button
on (release) { _root.difficulty = 6; _root.gotoAndStop(5); }
Symbol 283 Button
on (release) { _root.gotoAndStop(5); _root.loadings = true; }
Symbol 297 Button
on (release) { _root.screen = !_root.screen; if (_root.screen) { sc = "On"; } if (!_root.screen) { sc = "Off"; } fscommand ("fullscreen", _root.screen); }
Symbol 302 Button
on (release) { _root.smart = !_root.smart; if (_root.smart) { smart = "On"; } if (!_root.smart) { smart = "Off"; } }
Symbol 308 Button
on (release) { i = 1; while (i > 0) { if (_root._quality == "LOW") { _root._quality = "MEDIUM"; break; } if (_root._quality == "MEDIUM") { _root._quality = "HIGH"; break; } if (_root._quality == "HIGH") { _root._quality = "BEST"; break; } if (_root._quality == "BEST") { _root._quality = "LOW"; break; } i--; } qual = _root._quality; qaul.toLowerCase(); }
Symbol 312 Button
on (release) { _root.musicon = !_root.musicon; if (_root.musicon) { mus = "On"; _root.music.setVolume(100); } if (!_root.musicon) { mus = "Off"; _root.music.setVolume(0); } }
Symbol 316 Button
on (release) { _root.setsoundon = !_root.setsoundon; if (_root.setsoundon) { mute = "On"; } if (!_root.setsoundon) { mute = "Off"; } }
Symbol 320 Button
on (release) { _root.fog = !_root.fog; if (_root.fog) { foghorn = "On"; } if (!_root.fog) { foghorn = "Off"; } }
Symbol 334 MovieClip Frame 1
this._visible = false;
Symbol 356 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0; stop();
Symbol 356 MovieClip Frame 2
stop();
Instance of Symbol 346 MovieClip "back" in Symbol 356 MovieClip Frame 5
/* no clip actions */
Instance of Symbol 350 MovieClip "back" in Symbol 356 MovieClip Frame 6
/* no clip actions */
Symbol 360 Button
on (release) { _root.currento = current; _root.gotoAndPlay(4); }
Symbol 364 Button
on (release) { if (current > 0) { current--; } mapname = mapsarray[current]; _root.currentlist = mapslist[current]; mapp.gotoAndStop("map" + current); }
Symbol 365 Button
on (release) { if (current < (mapsarray.length - 1)) { current++; } mapname = mapsarray[current]; _root.currentlist = mapslist[current]; mapp.gotoAndStop("map" + current); }
Symbol 368 Button
on (release) { _root.ownmap5 = !_root.ownmap5; if (!_root.owmmap5) { shroud = "On"; } if (_root.ownmap5) { shroud = "Off"; } }
Symbol 375 Button
on (release) { if (_root.monet < 50000) { _root.monet = _root.monet + 5000; } }
Symbol 376 Button
on (release) { if (_root.monet > 5000) { _root.monet = _root.monet - 5000; } }
Symbol 382 Button
on (release) { this.lists._visible = !this.lists._visible; this.lists2._visible = false; }
Symbol 385 Button
on (release) { this.lists2._visible = !this.lists2._visible; this.lists._visible = false; }
Symbol 392 Button
on (release) { _root.difficulty = 3; _parent.difficulty = "Easy Enemy"; this._visible = false; }
Symbol 396 Button
on (release) { _root.difficulty = 2; _parent.difficulty = "Medium Enemy"; this._visible = false; }
Symbol 400 Button
on (release) { _root.difficulty = 1; _parent.difficulty = "Hard Enemy"; this._visible = false; }
Symbol 405 Button
on (release) { _root.difficulty = 0.5; _parent.difficulty = "Burtal Enemy"; this._visible = false; }
Symbol 408 Button
on (release) { _root.difficulty = 4; _parent.difficulty = "Novice Enemy"; this._visible = false; }
Symbol 416 Button
on (release) { _root.aip = "Technology Commander"; _root.ais = 4; this._visible = false; }
Symbol 424 Button
on (release) { _root.aip = "Offensive Commander"; _root.ais = 1; this._visible = false; }
Symbol 430 Button
on (release) { _root.aip = "Defensive Commander"; _root.ais = 2; this._visible = false; }
Symbol 435 Button
on (release) { _root.aip = "Superweapon Commander"; _root.ais = 5; this._visible = false; }
Symbol 442 Button
on (release) { _root.aip = "Economic Commander"; _root.ais = 3; this._visible = false; }
Symbol 444 MovieClip [bar] Frame 1
stop();
Instance of Symbol 229 MovieClip in Symbol 444 MovieClip [bar] Frame 2
onClipEvent (load) { timer = 0; this._visible = false; } onClipEvent (enterFrame) { if (timer == 10) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].unittype == "artillery") { if (Math.random() > 0.9) { _root[current].deploy(); } } i--; } } timer++; if (timer == 18) { createobj2(); } if (timer == 20) { createobj(); } if (timer == 42) { _global.applyobj(); timer = 0; } }
Symbol 444 MovieClip [bar] Frame 11
stop();
Symbol 444 MovieClip [bar] Frame 19
gotoAndStop (1);
Symbol 444 MovieClip [bar] Frame 30
stop();
Symbol 444 MovieClip [bar] Frame 41
_root.ais = "Technology Commander"; difficulty = "Medium Enemy"; _root.difficulty = 2; mapsarray = ["Arena", "Near Oil Far", "No Man's Land", "Warring Factions", "River of Troubles", "Main Base", " Black Winter"]; mapslist = [3, 7, 9, 11, 13, 15, 17]; current = 0; _root.ownmap5 = false; stop();
Instance of Symbol 356 MovieClip "mapp" in Symbol 444 MovieClip [bar] Frame 41
/* no clip actions */
Instance of Symbol 409 MovieClip "lists2" in Symbol 444 MovieClip [bar] Frame 41
onClipEvent (load) { this._visible = false; }
Instance of Symbol 443 MovieClip "lists" in Symbol 444 MovieClip [bar] Frame 41
onClipEvent (load) { this._visible = false; }
Symbol 449 MovieClip Frame 1
stop();
Instance of Symbol 168 MovieClip "turret" in Symbol 449 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation++; } }
Symbol 451 MovieClip [enemyconstruction2] Frame 1
stop();
Instance of Symbol 449 MovieClip "constructor" in Symbol 451 MovieClip [enemyconstruction2] Frame 1
onClipEvent (load) { this._alpha = 50; this.gotoAndStop(_parent.structure); } onClipEvent (enterFrame) { this._alpha = _parent.percent; }
Instance of Symbol 110 MovieClip "selector" in Symbol 451 MovieClip [enemyconstruction2] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 200; _parent.fulllife = 1000; _root.enemyarray.push(_parent._name); timer = 0; _parent.unittype = "construction"; _parent.aggressive = true; _parent.percent = 0; _root[_parent.dozer].aigoto(_parent._x, _parent._y, false); _root[_parent.dozer].targetbuild = _parent._name; _root[_parent.dozer].build = true; _parent.constructor._alpha = 0; _root["enemyturret" + _parent.number] = true; } onClipEvent (enterFrame) { _parent.constructor._alpha = _parent.percent; if ((_root[_parent.dozer].life <= 0) || (_root[_parent.dozer].life == undefined)) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 451 MovieClip [enemyconstruction2] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent._currentframe == 1) { if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } } }
Symbol 451 MovieClip [enemyconstruction2] Frame 2
_root.attachMovie(structure, structure + _root.n, _root.n - 1000); if (structure == "enemymine") { _root[dozer].aigoto(_root.waypoint106._x, _root.waypoint106._y, false); } _root[structure + _root.n]._x = this._x; _root[structure + _root.n]._y = this._y; _root[structure + _root.n].number = number; _root.n++; _root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.sidebar.calccost(); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip();
Symbol 451 MovieClip [enemyconstruction2] Frame 3
Symbol 451 MovieClip [enemyconstruction2] Frame 12
_root.objarray.findandsplice(_name); if (structure == "enemymine") { _root[dozer].aigoto(_root.waypoint106._x, _root.waypoint106._y, false); } _root.unitsarray.findandsplice(_name); _root["enemyturret" + number] = false; _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.sidebar.calccost(); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 454 MovieClip Frame 1
if (_parent._parent.enemy) { gotoAndStop ("red"); } if (_parent._parent.ally === true) { this._visible = false; } stop();
Symbol 454 MovieClip Frame 2
stop();
Symbol 455 Button
on (rollOver) { if (_parent.enemy) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("attacker"); } } } on (rollOut) { if (_parent.enemy) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("locator"); } } } on (press) { if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("blip"); soundobj.start(); } }
Symbol 457 MovieClip Frame 1
if (_root.sidebar.build.lasertank._currentframe == 2) { _root.sidebar.build.lasertank.gotoAndStop(13); } stop();
Symbol 457 MovieClip Frame 2
if (_parent.enemy) { _root.money = _root.money + 100; } if (!_parent.enemy) { _root.enemymoney = _root.enemymoney + 100; } _parent.turret._visible = false; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 457 MovieClip Frame 16
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); if (_root.sidebar.build.lasertank._currentframe == 13) { _root.sidebar.build.lasertank.gotoAndStop(2); } _root[_parent._name + "symbols"].removeMovieClip(); _root["flag" + _parent._name].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 461 MovieClip Frame 1
dx = _root[targetobj]._x - _parent._x; dy = _root[targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > _parent.range) { targetobj = undefined; stop(); } if (targetobj == undefined) { stop(); }
Symbol 461 MovieClip Frame 5
Symbol 461 MovieClip Frame 6
dx = -(_parent._x - _root[targetobj]._x); dy = -(_parent._y - _root[targetobj]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); _root.attachMovie("laser2", "laser" + _root.n, _root.n); _root["laser" + _root.n]._x = _parent._x; _root["laser" + _root.n]._y = _parent._y; _root["laser" + _root.n]._width = dist + 10; _root["laser" + _root.n]._rotation = this._rotation; _root.n++; _root[targetobj].life = _root[targetobj].life - _parent.damage;
Symbol 461 MovieClip Frame 8
if ((!_root[targetobj].fireing) && (!_root[targetobj].walking)) { if (_root[targetobj].aggressive) { _root[targetobj].aiattack(_parent._name); } } if ((_root[targetobj].life < 0) || (_root[targetobj].life == undefined)) { targetobj = undefined; } stop();
Instance of Symbol 460 MovieClip in Symbol 461 MovieClip Frame 8
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 461 MovieClip Frame 11
gotoAndStop ("normal");
Symbol 462 MovieClip [lasertank] Frame 1
stop();
Instance of Symbol 457 MovieClip "dummy" in Symbol 462 MovieClip [lasertank] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.auto = false; _parent.unittype = "lasertank"; _parent.shell2 = false; _parent.hitonly = false; _parent.damage = 250; _parent.avoid = false; _parent.aggressive = true; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 800; nohit = 0; _parent.fulllife = 800; _parent.speed = 3; _parent.firerate = 50; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 200; empulse = 0; as = 0; left = 1; if (_root.warfactory1._x != undefined) { _parent.aigoto(_root.rallypoint._x, _root.rallypoint._y, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (_parent.attack) { _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (this.hitTest(_root[flag])) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 50) { as = 0; left = -left; } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 462 MovieClip [lasertank] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 462 MovieClip [lasertank] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 462 MovieClip [lasertank] Frame 2
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 2
if (_parent.life < _parent.fulllife) { _parent.life = _parent.life + 55; }
Symbol 465 Button
on (rollOver) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("attacker"); } } on (rollOut) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("locator"); } }
Symbol 466 MovieClip [enemyweaponsilo] Frame 1
_root.sidebar.enemynuketimer.gotoAndPlay(2); this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 466 MovieClip [enemyweaponsilo] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1500; _parent.fulllife = 1500; _root.enemyarray.push(_parent._name); _parent.unittype = "weaponsilo"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 466 MovieClip [enemyweaponsilo] Frame 1
onClipEvent (enterFrame) { this._xscale = 410 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 466 MovieClip [enemyweaponsilo] Frame 2
_root.money = _root.money + 10000;
Symbol 466 MovieClip [enemyweaponsilo] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.enemyweaponsilo = 0; _root.sidebar.enemynuketimer.gotoAndStop(1); _root[_name + "symbols"].removeMovieClip(); this._name = "pork"; this.removeMovieClip(); stop();
Symbol 468 Button
on (rollOver) { if (_parent.enemy) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("attacker"); } } } on (rollOut) { if (_parent.enemy) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("locator"); } } }
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
if (_parent.enemy) { _root.money = _root.money + 100; } if (!_parent.enemy) { _root.enemymoney = _root.enemymoney + 100; } _parent.turret._visible = false;
Symbol 469 MovieClip Frame 8
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root[_parent._name + "symbols"].removeMovieClip(); _root["flag" + _parent._name].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 470 MovieClip [enemylasertank] Frame 1
stop();
Instance of Symbol 469 MovieClip "dummy" in Symbol 470 MovieClip [enemylasertank] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.unittype = "lasertank"; _parent.damage = 250; _parent.avoid = false; _parent.aggressive = true; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 1000; nohit = 0; _parent.fulllife = 1000; _parent.speed = 3; _parent.firerate = 30; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 250; empulse = 0; as = 0; left = 1; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (_parent.attack) { _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (this.hitTest(_root[flag])) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 50) { as = 0; left = -left; } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 470 MovieClip [enemylasertank] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 470 MovieClip [enemylasertank] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 470 MovieClip [enemylasertank] Frame 2
stop();
Symbol 472 Button
on (rollOver) { if (_parent.enemy) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("attacker"); } } } on (rollOut) { if (_parent.enemy) { if (_root.selectedarray.length > 0) { _root.mouse.gotoAndStop("locator"); } } } on (press) { if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("blip"); soundobj.start(); } }
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
stop();
Symbol 475 MovieClip Frame 3
_parent._x = _root.enemyrefinery1._x; _parent._y = _root.enemyrefinery1._y + 30; this._rotation = 90; _parent.movesym(); play();
Symbol 475 MovieClip Frame 4
if (_parent.oil > 0) { _root.enemymoney = _root.enemymoney + 150; _parent.oil = _parent.oil - 20; }
Symbol 475 MovieClip Frame 5
if (_parent.oil > 0) { _root.enemymoney = _root.enemymoney + 250; _parent.oil = _parent.oil - 20; }
Symbol 475 MovieClip Frame 6
if (_parent.oil > 0) { _root.enemymoney = _root.enemymoney + 250; _parent.oil = _parent.oil - 20; }
Symbol 475 MovieClip Frame 7
if (_parent.oil > 0) { _root.enemymoney = _root.enemymoney + 150; _parent.oil = _parent.oil - 20; }
Symbol 475 MovieClip Frame 8
if (_parent.oil > 0) { _root.enemymoney = _root.enemymoney + 650; _parent.oil = _parent.oil - 20; } refinery = false; gotoAndStop (1);
Symbol 475 MovieClip Frame 9
if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 475 MovieClip Frame 20
if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 475 MovieClip Frame 21
_root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.enemyoiltruckarrray.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root.enemyoiltrucks--; _root[_parent._name + "symbols"].removeMovieClip(); _root["flag" + _parent._name].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 476 MovieClip [enemyoiltruck] Frame 1
stop();
Instance of Symbol 475 MovieClip "dummy" in Symbol 476 MovieClip [enemyoiltruck] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemyoiltrucks++; _parent.gotooil = function () { var _local3 = 100000000 /* 0x5F5E100 */; var _local4 = ""; i = _root.oilarray.length - 1; while (i > -1) { current = _root.oilarray[i]; if (_root[current].oilspill._xscale > 0) { dx = this._x - _root[current]._x; dy = this._y - _root[current]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _local3) { _local3 = dist; _local4 = current; } } i--; } this.dummy.oil = _local4; this.aigoto(_root[_local4]._x, _root[_local4]._y, false); }; _parent.auto = false; _root.enemyoiltruckarray.push(_parent._name); _parent.unittype = "oiltruck"; _parent.oil = 0; _parent.fulloil = 100; _parent.aggressive = false; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.speed = 3; _parent.walking = false; refinery = false; as = 0; left = 1; empulse = 0; } onClipEvent (enterFrame) { if (((!_parent.walking) && (this._currentframe == 1)) && (!refinery)) { _parent.gotooil(); } if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!refinery) { if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } } if (refinery) { if (!obstacle) { dx = _root.enemyrefinery1._x - _parent._x; dy = _root.enemyrefinery1._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); if (this.hitTest(_root[flag2])) { obstacle = false; flag2 = undefined; } if (this.hitTest(_root[flag]) && (!refinery)) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } if (oil != undefined) { if (_root[oil].oilspill._xscale <= 0) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); oil = undefined; _parent.walking = false; gotoAndStop (1); } if (this.hitTest(_root[oil].oilspill)) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; gotoAndStop ("sucking"); } } if (refinery) { if (this.hitTest(_root.enemyrefinery1.pad)) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; gotoAndStop ("refining"); } } } } if (this._currentframe == 2) { if (_parent.oil < 100) { _parent.oil++; _root[oil].oilspill._xscale = _root[oil].oilspill._xscale - 0.02; _root[oil].oilspill._yscale = _root[oil].oilspill._yscale - 0.02; } if (_root[oil].oilspill._xscale < 0) { gotoAndStop (1); } if (_parent.oil == 100) { gotoAndStop (1); if (_root.enemyrefinery1.life != undefined) { _parent.aigoto(_root.enemyrefinery1._x, _root.enemyrefinery1._y - 20, false); } else { _parent.oil = 0; } oil = undefined; refinery = true; } } if (this._currentframe == 8) { _parent.gotooil(); } }
Instance of Symbol 110 MovieClip "selector" in Symbol 476 MovieClip [enemyoiltruck] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 476 MovieClip [enemyoiltruck] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe < 9) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 476 MovieClip [enemyoiltruck] Frame 2
stop();
Symbol 478 MovieClip [humveeebase] Frame 1
stop();
Symbol 478 MovieClip [humveeebase] Frame 2
if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } _parent.turret._visible = false; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 478 MovieClip [humveeebase] Frame 11
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root["flag" + _parent._name].removeMovieClip(); _root[_parent._name + "symbols"].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
_root.attachMovie("bullet", "bullet" + _root.n, _root.n); _root["bullet" + _root.n]._x = _parent._x; _root["bullet" + _root.n]._y = _parent._y; _root["bullet" + _root.n]._rotation = this._rotation; _root["bullet" + _root.n].damage = _parent.damage; _root["bullet" + _root.n].shellspd = _parent.shellspd; _root["bullet" + _root.n].targetobj = targetobj; _root["bullet" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["bullet" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["bullet" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("bullet" + _root.n); _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("mach"); soundobj.start(); }
Symbol 484 MovieClip Frame 3
if (!_parent.gatling) { gotoAndPlay ("shoot"); }
Symbol 484 MovieClip Frame 4
_root.attachMovie("bullet", "bul2et" + _root.n, _root.n); _root["bul2et" + _root.n]._x = _parent._x; _root["bul2et" + _root.n]._y = _parent._y; _root["bul2et" + _root.n]._rotation = this._rotation; _root["bul2et" + _root.n].damage = _parent.damage; _root["bul2et" + _root.n].shellspd = _parent.shellspd; _root["bul2et" + _root.n].targetobj = targetobj; _root["bull2et" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["bul2et" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["bul2et" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("bul2et" + _root.n); _root.n++;
Symbol 484 MovieClip Frame 5
_root.attachMovie("bullet", "bul3et" + _root.n, _root.n); _root["bul3et" + _root.n]._x = _parent._x; _root["bul3et" + _root.n]._y = _parent._y; _root["bul3et" + _root.n]._rotation = this._rotation; _root["bul3et" + _root.n].damage = _parent.damage; _root["bul3et" + _root.n].shellspd = _parent.shellspd; _root["bul3et" + _root.n].targetobj = targetobj; _root["bull3et" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["bul3et" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["bul3et" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("bul3et" + _root.n); _root.n++;
Symbol 484 MovieClip Frame 6
_root.attachMovie("bullet", "bul4et" + _root.n, _root.n); _root["bul4et" + _root.n]._x = _parent._x; _root["bul4et" + _root.n]._y = _parent._y; _root["bul4et" + _root.n]._rotation = this._rotation; _root["bul4et" + _root.n].damage = _parent.damage; _root["bul4et" + _root.n].shellspd = _parent.shellspd; _root["bul4et" + _root.n].targetobj = targetobj; _root["bul4et" + _root.n].firerer = _parent._name; _root.objarray.push("bul4et" + _root.n); rads = (this._rotation * (Math.PI*2)) / 360; _root["bul4et" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["bul4et" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++;
Symbol 484 MovieClip Frame 7
stop(); if (_root[targetobj].enemy != _root[firerer].enemy) { if (_root[targetobj].aggressive) { if ((!_root[targetobj].fireing) && (!_root[targetobj].walking)) { _root[targetobj].targetobj = firerer; _root[targetobj].attack = true; _root["flag" + targetobj].removeMovieClip(); _root.flagsarray.findandsplice("flag" + targetobj); _root.objarray.findandsplice("flag" + targetobj); _root.attachMovie("flag2", "flag" + targetobj, _root.n); _root["flag" + targetobj]._visible = false; _root["flag" + targetobj]._x = origx; _root["flag" + targetobj]._y = origy; _root.flagsarray.push("flag" + targetobj); _root.objarray.push("flag" + targetobj); _root[targetobj].walking = true; _root.n++; hit = true; } } }
Instance of Symbol 483 MovieClip in Symbol 484 MovieClip Frame 7
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 484 MovieClip Frame 11
gotoAndStop ("normal");
Symbol 485 MovieClip [humveeally] Frame 1
stop();
Instance of Symbol 478 MovieClip [humveeebase] "dummy" in Symbol 485 MovieClip [humveeally] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.allyarray.push(_parent._name); _parent.upgrade = 0; _parent.unittype = "humvee"; _parent.laser = false; _parent.gatling = false; _parent.damage = 3; _parent.avoid = true; _parent.shellspd = 15; _parent.aggressive = true; this.stripe1._visible = false; this.stripe2._visible = false; this.stripe3._visible = false; _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 200; _parent.fulllife = 200; _parent.speed = 6; _parent.firerate = 3; _root.friendlylist.push(_parent._name); _parent.walking = false; _parent.fireing = false; _parent.attack = false; charge = 0; empulse = 0; _parent.range = 150; charge = 100; as = 0; left = 1; _parent.ally = true; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 2)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { if (!obstacle) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 20) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 485 MovieClip [humveeally] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 485 MovieClip [humveeally] Frame 1
onClipEvent (enterFrame) { this._xscale = 80 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _root.allyarray.findandsplice(_parent._name); _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 485 MovieClip [humveeally] Frame 2
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } _parent.turret._visible = false; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 487 MovieClip Frame 10
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root["flag" + _parent._name].removeMovieClip(); _root[_parent._name + "symbols"].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 496 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 5
_root.attachMovie("missile", "missile" + _root.n, _root.n); _root["missile" + _root.n]._x = _parent._x; _root["missile" + _root.n]._y = _parent._y; _root["missile" + _root.n]._rotation = this._rotation; _root["missile" + _root.n].damage = _parent.damage; _root["missile" + _root.n].shellspd = _parent.shellspd; _root["missile" + _root.n].targetobj = targetobj; _root["missile" + _root.n].hitonly = _parent.hitonly; _root["missile" + _root.n].blast = _parent.blast; _root["missile" + _root.n].seeker = _parent.seeker; _root["missile" + _root.n].firerer = _parent._name; _root.objarray.push("missile" + _root.n); rads = (this._rotation * (Math.PI*2)) / 360; _root["missile" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["missile" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("missi"); soundobj.start(); }
Symbol 500 MovieClip Frame 10
if (_parent.miss < 2) { gotoAndPlay ("rd"); }
Symbol 500 MovieClip Frame 14
_root.attachMovie("missile", "miss2ile" + _root.n, _root.n); _root["miss2ile" + _root.n]._x = _parent._x; _root["miss2ile" + _root.n]._y = _parent._y; _root["miss2ile" + _root.n]._rotation = this._rotation; _root["miss2ile" + _root.n].damage = _parent.damage; _root["miss2ile" + _root.n].shellspd = _parent.shellspd; _root["miss2ile" + _root.n].targetobj = targetobj; _root["miss2ile" + _root.n].hitonly = _parent.hitonly; _root["miss2ile" + _root.n].blast = _parent.blast; _root["miss2ile" + _root.n].seeker = _parent.seeker; _root["miss2ile" + _root.n].firerer = _parent._name; _root.objarray.push("miss2ile" + _root.n); rads = (this._rotation * (Math.PI*2)) / 360; _root["miss2ile" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["miss2ile" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("missi"); soundobj.start(); }
Symbol 500 MovieClip Frame 15
if (_parent.miss < 3) { gotoAndPlay ("rd"); }
Symbol 500 MovieClip Frame 17
_root.attachMovie("missile", "miss3ile" + _root.n, _root.n); _root["miss3ile" + _root.n]._x = _parent._x; _root["miss3ile" + _root.n]._y = _parent._y; _root["miss3ile" + _root.n]._rotation = this._rotation; _root["miss3ile" + _root.n].damage = _parent.damage; _root["miss3ile" + _root.n].shellspd = _parent.shellspd; _root["miss3ile" + _root.n].targetobj = targetobj; _root["miss3ile" + _root.n].hitonly = _parent.hitonly; _root["miss3ile" + _root.n].blast = _parent.blast; _root["miss3ile" + _root.n].seeker = _parent.seeker; _root["miss3ile" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["miss3ile" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["miss3ile" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("miss3ile" + _root.n); _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("missi"); soundobj.start(); }
Instance of Symbol 496 MovieClip in Symbol 500 MovieClip Frame 19
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 500 MovieClip Frame 45
stop(); gotoAndStop ("normal");
Symbol 501 MovieClip [rocketally] Frame 1
stop();
Instance of Symbol 487 MovieClip "dummy" in Symbol 501 MovieClip [rocketally] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.allyarray.push(_parent._name); _parent.unittype = "rocket"; _parent.seeker = false; _parent.hitonly = false; _parent.blast = false; _parent.miss = 1; _parent.damage = 50; _parent.shellspd = 3; _parent.avoid = false; _parent.aggressive = true; _parent.turret.stripe._visible = false; _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _root.friendlylist.push(_parent._name); _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 250; _parent.fulllife = 250; _parent.speed = 2; _parent.firerate = 25; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 350; as = 0; left = 1; empulse = 0; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range + 150)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (!obstacle) { if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 45; } if (left < 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 90; } if (as > 70) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 501 MovieClip [rocketally] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 501 MovieClip [rocketally] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _root.allyarray.findandsplice(_parent._name); _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 501 MovieClip [rocketally] Frame 2
stop();
Symbol 507 MovieClip Frame 1
if (_parent.ally === true) { this.stripe._visible = false; } stop();
Symbol 507 MovieClip Frame 2
if (_parent.ally === true) { this.stripe._visible = false; } play();
Instance of Symbol 504 MovieClip in Symbol 507 MovieClip Frame 2
onClipEvent (enterFrame) { n++; if (n > 4) { n = 0; _parent.nextFrame(); } } onClipEvent (load) { this._visible = false; n = 0; }
Symbol 507 MovieClip Frame 3
stop();
Symbol 507 MovieClip Frame 7
play();
Symbol 507 MovieClip Frame 11
if (_parent.ally === true) { this.stripe._visible = false; } _parent.turret.gotoAndStop(2); _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } stop();
Symbol 507 MovieClip Frame 12
play(); _parent.turret._visible = false; if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 507 MovieClip Frame 15
play(); _parent.turret._visible = false; if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 507 MovieClip Frame 21
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root["flag" + _parent._name].removeMovieClip(); _root[_parent._name + "symbols"].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 516 MovieClip Frame 1
_parent.aggressive = false; stop();
Symbol 516 MovieClip Frame 2
stop();
Symbol 516 MovieClip Frame 3
x = _root[targetobj]._x; y = _root[targetobj]._y;
Symbol 516 MovieClip Frame 12
if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("ar"); soundobj.start(); }
Symbol 516 MovieClip Frame 14
Symbol 516 MovieClip Frame 30
if (_parent.accurate) { x = _root[targetobj]._x; y = _root[targetobj]._y; } if (_parent.enemy) { _root.attachMovie("bomb2", "bomb" + _root.n, _root.n); } if (!_parent.enemy) { _root.attachMovie("bomb", "bomb" + _root.n, _root.n); } _root["bomb" + _root.n]._x = x; _root["bomb" + _root.n]._y = y; _root["bomb" + _root.n]._rotation = this._rotation; _root["bomb" + _root.n].damage = _parent.damage; _root["bomb" + _root.n].firerer = _parent._name; _root["bomb" + _root.n].targetobj = targetobj; _root["bomb" + _root.n].emp = _parent.emp; _root["bomb" + _root.n].nuke = _parent.nuke; _root.objarray.push("bomb" + _root.n); _root.n++; stop();
Instance of Symbol 504 MovieClip in Symbol 516 MovieClip Frame 30
onClipEvent (enterFrame) { n++; if (n > (_parent._parent.firerate - 8)) { _parent.gotoAndStop(2); } } onClipEvent (load) { n = 0; }
Symbol 516 MovieClip Frame 44
gotoAndStop ("ready");
Instance of Symbol 504 MovieClip in Symbol 516 MovieClip Frame 44
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 517 MovieClip [artilleryally] Frame 1
stop();
Instance of Symbol 507 MovieClip "dummy" in Symbol 517 MovieClip [artilleryally] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.deploy = function () { this.walking = false; this.dummy.gotoAndPlay("deploying"); this.dummy._rotation = 90; }; _parent.unittype = "artillery"; _parent.accurate = false; _parent.nuke = false; _parent.emp = false; _parent.damage = 35; _parent.aggressive = false; this.stripe._visible = false; _parent.enemy = false; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 300; _root.friendlylist.push(_parent._name); _parent.fulllife = 300; _parent.speed = 1; _parent.firerate = 30; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 550; _root.allyarray.push(_parent._name); empulse = 0; n = 0; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (((!_parent.walking) && (!_parent.fireing)) && (_parent.aggressive)) { lo = Math.floor(Math.random() * (_root.enemyarray.length - 1)); unit = _root.enemyarray[lo]; _parent.aiattack(unit); } if (this._currentframe == 11) { n++; if (n == 10) { n = 0; if (!_parent.fireing) { n = _root.enemyarray.length - 1; while (n > -1) { current2 = _root.enemyarray[n]; dx = -(_parent._x - _root[current2]._x); dy = -(_parent._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.targetobj = current2; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } hit = true; } n--; } } } } if (_parent.attack) { _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; if (this._currentframe == 1) { _parent.walking = false; this._rotation = 90; gotoAndPlay ("deploying"); _parent.fireing = true; } } } if (_parent.walking == true) { if ((this._currentframe > 1) && (_parent.life > 0)) { gotoAndStop (1); _parent.turret.gotoAndStop(1); } if (this._currentframe == 1) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > this.num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 2) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } } else { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 517 MovieClip [artilleryally] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 517 MovieClip [artilleryally] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe <= 11) { if (_parent.life <= 0) { _root.allyarray.findandsplice(_parent._name); _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 517 MovieClip [artilleryally] Frame 2
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 2
if (_parent.enemy) { _root.money = _root.money + 500; } if (!_parent.enemy) { _root.enemymoney = _root.enemymoney + 500; } _parent.turret._visible = false; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 520 MovieClip Frame 12
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root["flag" + _parent._name].removeMovieClip(); _root[_parent._name + "symbols"].removeMovieClip(); _root.sidebar.calccost(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 4
_root.attachMovie("shell", "shell" + _root.n, _root.n); _root["shell" + _root.n]._x = _parent._x; _root["shell" + _root.n]._y = _parent._y; _root["shell" + _root.n]._rotation = this._rotation; _root["shell" + _root.n].damage = _parent.damage; _root["shell" + _root.n].shellspd = _parent.shellspd; _root["shell" + _root.n].targetobj = targetobj; _root["shell" + _root.n].hitonly = _parent.hitonly; _root["shell" + _root.n].firerer = _parent._name; _root.objarray.push("shell" + _root.n); rads = (this._rotation * (Math.PI*2)) / 360; _root["shell" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["shell" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("cannon6"); soundobj.start(); }
Symbol 523 MovieClip Frame 5
if (_parent.missile) { _root.attachMovie("missile", "missile" + _root.n, _root.n); _root["missile" + _root.n]._x = _parent._x; _root["missile" + _root.n]._y = _parent._y; _root["missile" + _root.n]._rotation = this._rotation; _root["missile" + _root.n].damage = _parent.damage / 2; _root["missile" + _root.n].shellspd = _parent.shellspd / 2; _root["missile" + _root.n].targetobj = targetobj; _root["missile" + _root.n].hitonly = _parent.hitonly; _root.objarray.push("missile" + _root.n); rads = (this._rotation * (Math.PI*2)) / 360; _root["missile" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["missile" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; }
Symbol 523 MovieClip Frame 6
_root.attachMovie("shell", "she2ll" + _root.n, _root.n); _root["she2ll" + _root.n]._x = _parent._x; _root["she2ll" + _root.n]._y = _parent._y - 20; _root["she2ll" + _root.n]._rotation = this._rotation; _root["she2ll" + _root.n].damage = _parent.damage; _root["she2ll" + _root.n].shellspd = _parent.shellspd; _root["she2ll" + _root.n].targetobj = targetobj; _root["she2ll" + _root.n].hitonly = _parent.hitonly; _root["she2ll" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["she2ll" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["she2ll" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("she2ll" + _root.n); _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("cannon6"); soundobj.start(); }
Symbol 523 MovieClip Frame 7
if (_parent.missile) { _root.attachMovie("missile", "miss2ile" + _root.n, _root.n); _root["miss2ile" + _root.n]._x = _parent._x; _root["miss2ile" + _root.n]._y = _parent._y - 40; _root["miss2ile" + _root.n]._rotation = this._rotation; _root["miss2ile" + _root.n].damage = _parent.damage / 2; _root["miss2ile" + _root.n].shellspd = _parent.shellspd / 2; _root["miss2ile" + _root.n].targetobj = targetobj; _root["miss2ile" + _root.n].hitonly = _parent.hitonly; rads = (this._rotation * (Math.PI*2)) / 360; _root["miss2ile" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["miss2ile" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("miss2ile" + _root.n); _root.n++; }
Symbol 523 MovieClip Frame 10
if (shell2) { _root.attachMovie("shell", "she2ll" + _root.n, _root.n); _root["she2ll" + _root.n]._x = _parent._x; _root["she2ll" + _root.n]._y = _parent._y; _root["she2ll" + _root.n]._rotation = this._rotation; _root["she2ll" + _root.n].damage = _parent.damage; _root["she2ll" + _root.n].shellspd = _parent.shellspd; _root["she2ll" + _root.n].targetobj = targetobj; _root["she2ll" + _root.n].hitonly = _parent.hitonly; _root.objarray.push("she2ll" + _root.n); } if ((!_root[targetobj].fireing) && (!_root[targetobj].walking)) { if (_root[targetobj].aggressive) { _root[targetobj].targetobj = firerer; _root[targetobj].attack = true; _root["flag" + targetobj].removeMovieClip(); _root.flagsarray.findandsplice("flag" + targetobj); _root.objarray.findandsplice("flag" + targetobj); _root.attachMovie("flag2", "flag" + targetobj, _root.n); _root["flag" + targetobj]._visible = false; _root["flag" + targetobj]._x = origx; _root["flag" + targetobj]._y = origy; _root.flagsarray.push("flag" + targetobj); _root.objarray.push("flag" + targetobj); _root[targetobj].walking = true; _root.n++; hit = true; } }
Instance of Symbol 37 MovieClip in Symbol 523 MovieClip Frame 10
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 523 MovieClip Frame 30
if (shell2) { _root.attachMovie("shell", "she2ll" + _root.n, _root.n); _root["she2ll" + _root.n]._x = _parent._x; _root["she2ll" + _root.n]._y = _parent._y; _root["she2ll" + _root.n]._rotation = this._rotation; _root["she2ll" + _root.n].damage = _parent.damage; _root["she2ll" + _root.n].shellspd = _parent.shellspd; _root["she2ll" + _root.n].targetobj = targetobj; _root["she2ll" + _root.n].hitonly = _parent.hitonly; _root.objarray.push("she2ll" + _root.n); } gotoAndStop ("normal");
Symbol 524 MovieClip [heavyally] Frame 1
stop();
Instance of Symbol 520 MovieClip "dummy" in Symbol 524 MovieClip [heavyally] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.auto = false; _parent.unittype = "heavy"; _parent.crush = false; _parent.missile = false; _parent.hitonly = false; _parent.avoid = false; _parent.damage = 30; _root.allyarray.push(_parent._name); _parent.shellspd = 12; _parent.aggressive = true; _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _root.friendlylist.push(_parent._name); _parent.turret.stripe._visible = false; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 600; _parent.fulllife = 600; _parent.speed = 1; _parent.firerate = 20; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 200; as = 0; left = 1; empulse = 0; lo = Math.floor(Math.random() * (_root.enemyarray.length - 1)); unit = _root.enemyarray[lo]; _parent.aiattack(unit); } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if ((!_parent.walking) && (!_parent.fireing)) { lo = Math.floor(Math.random() * (_root.enemyarray.length - 1)); unit = _root.enemyarray[lo]; _parent.aiattack(unit); } if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.crush) { this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); if ((dist < 10) && (_root[_parent.targetobj].auto._x == undefined)) { _root[_parent.targetobj].life = -1; _parent._x = _root[_parent.targetobj]._x; _parent._y = _root[_parent.targetobj]._y; } } if (_parent.avoid) { if (!obstacle) { as++; if (left > 0) { if (!_parent.crush) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 90; } } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 100) { as = 0; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 524 MovieClip [heavyally] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 524 MovieClip [heavyally] Frame 1
onClipEvent (enterFrame) { this._xscale = 115 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _root.allyarray.findandsplice(_parent._name); _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 524 MovieClip [heavyally] Frame 2
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
stop();
Symbol 528 MovieClip Frame 3
_parent._x = _root.refinery1._x; _parent._y = _root.refinery1._y + 30; this._rotation = 90; _parent.movesym(); play();
Symbol 528 MovieClip Frame 4
if (_parent.oil > 0) { _root.money = _root.money + 750; _parent.oil = _parent.oil - 20; }
Symbol 528 MovieClip Frame 5
if (_parent.oil > 0) { _root.money = _root.money + 250; _parent.oil = _parent.oil - 20; }
Symbol 528 MovieClip Frame 6
if (_parent.oil > 0) { _root.money = _root.money + 150; _parent.oil = _parent.oil - 20; }
Symbol 528 MovieClip Frame 7
if (_parent.oil > 0) { _root.money = _root.money + 250; _parent.oil = _parent.oil - 20; }
Symbol 528 MovieClip Frame 8
if (_parent.oil > 0) { _root.money = _root.money + 150; _parent.oil = _parent.oil - 20; } refinery = false; gotoAndStop (1);
Symbol 528 MovieClip Frame 9
if (_parent.enemy) { _root.money = _root.money + 200; } if (!_parent.enemy) { _root.enemymoney = _root.enemymoney + 200; } if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 528 MovieClip Frame 20
if (_parent.enemy) { _root.money = _root.money + 200; } if (!_parent.enemy) { _root.enemymoney = _root.enemymoney + 200; } if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 528 MovieClip Frame 22
_root.unitsarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.oiltruckarray.findandsplice(_parent._name); _root.sidebar.calccost(); _root[_parent._name + "symbols"].removeMovieClip(); _root["flag" + _parent._name].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 529 MovieClip [oiltruck] Frame 1
stop();
Instance of Symbol 528 MovieClip "dummy" in Symbol 529 MovieClip [oiltruck] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.gotooil = function () { var _local3 = 100000000 /* 0x5F5E100 */; var _local4 = ""; i = _root.oilarray.length - 1; while (i > -1) { current = _root.oilarray[i]; if (_root[current].oilspill._xscale > 0) { dx = this._x - _root[current]._x; dy = this._y - _root[current]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _local3) { _local3 = dist; _local4 = current; } } i--; } this.aigoto(_root[_local4]._x, _root[_local4]._y, false); this.dummy.oil = _local4; }; _parent.auto = false; _root.oiltruckarray.push(_parent._name); _parent.unittype = "oiltruck"; _parent.oil = 0; _parent.fulloil = 100; _parent.aggressive = false; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.speed = 3; _parent.walking = false; refinery = false; as = 0; left = 1; empulse = 0; } onClipEvent (enterFrame) { if (((!_parent.walking) && (this._currentframe == 1)) && (!refinery)) { _parent.gotooil(); } if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!refinery) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; } if (refinery) { dx = _root.refinery1._x - _parent._x; dy = _root.refinery1._y - _parent._y; } this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); if (this.hitTest(_root[flag]) && (!refinery)) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } if (oil != undefined) { if (_root[oil].oilspill._xscale <= 0) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); oil = undefined; _parent.walking = false; gotoAndStop (1); } if (this.hitTest(_root[oil].oilspill)) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; gotoAndStop ("sucking"); } } if (refinery) { if (this.hitTest(_root.refinery1.pad)) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; gotoAndStop ("refining"); } } } } if (this._currentframe == 2) { if (_parent.oil < 100) { _parent.oil++; _root[oil].oilspill._xscale = _root[oil].oilspill._xscale - 0.02; _root[oil].oilspill._yscale = _root[oil].oilspill._yscale - 0.02; } if (_root[oil].oilspill._xscale < 0) { gotoAndStop (1); } if (_parent.oil == 100) { gotoAndStop (1); if (_root.refinery > 0) { _parent.aigoto(_root.refinery1._x, _root.refinery1._y - 20, false); } else { _parent.oil = 0; } oil = undefined; refinery = true; } } if (this._currentframe == 8) { _parent.gotooil(); } }
Instance of Symbol 110 MovieClip "selector" in Symbol 529 MovieClip [oiltruck] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 529 MovieClip [oiltruck] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe < 9) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Instance of Symbol 115 MovieClip "oilbar" in Symbol 529 MovieClip [oiltruck] Frame 1
onClipEvent (enterFrame) { this._xscale = 60 * (_parent.oil / _parent.fulloil); }
Symbol 529 MovieClip [oiltruck] Frame 2
stop();
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 2
if (_parent.enemy) { _root.kills++; } if ((!_parent.enemy) && (!(_parent.ally === true))) { soundobj = new Sound(); soundobj.attachSound("unitloss"); soundobj.start(); _root.losses++; } _parent.turret._visible = false; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 531 MovieClip Frame 12
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root[_parent._name + "symbols"].removeMovieClip(); _root["flag" + _parent._name].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 535 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 4
_root.attachMovie("shell", "shell" + _root.n, _root.n); _root["shell" + _root.n]._x = _parent._x; _root["shell" + _root.n]._y = _parent._y; _root["shell" + _root.n]._rotation = this._rotation; _root["shell" + _root.n].damage = _parent.damage; _root["shell" + _root.n].shellspd = _parent.shellspd; _root["shell" + _root.n].targetobj = targetobj; _root["shell" + _root.n].hitonly = _parent.hitonly; _root["shell" + _root.n].firerer = _parent._name; rads = (this._rotation * (Math.PI*2)) / 360; _root["shell" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["shell" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.objarray.push("shell" + _root.n); _root.n++; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("lights"); soundobj.start(); }
Symbol 535 MovieClip Frame 10
if (_parent.shell2) { _root.attachMovie("shell", "she2ll" + _root.n, _root.n); _root["she2ll" + _root.n]._x = _parent._x; _root["she2ll" + _root.n]._y = _parent._y; _root["she2ll" + _root.n]._rotation = this._rotation; _root["she2ll" + _root.n].damage = _parent.damage; _root["she2ll" + _root.n].shellspd = _parent.shellspd; _root["she2ll" + _root.n].targetobj = targetobj; _root["she2ll" + _root.n].hitonly = _parent.hitonly; _root["she2ll" + _root.n].firerer = _parent._name; _root.objarray.push("she2ll" + _root.n); rads = (this._rotation * (Math.PI*2)) / 360; _root["she2ll" + _root.n].movex = Math.cos(rads) * _parent.shellspd; _root["she2ll" + _root.n].movey = Math.sin(rads) * _parent.shellspd; _root.n++; } if ((!_root[targetobj].walking) && (!_root[targetobj].fireing)) { if (_root[targetobj].aggressive) { _root[targetobj].aiattack(_parent._name); } }
Instance of Symbol 37 MovieClip in Symbol 535 MovieClip Frame 10
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 535 MovieClip Frame 16
gotoAndStop ("normal");
Symbol 536 MovieClip [lightally] Frame 1
stop();
Instance of Symbol 531 MovieClip "dummy" in Symbol 536 MovieClip [lightally] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.auto = false; _parent.unittype = "light"; _parent.shell2 = false; _parent.hitonly = false; _parent.damage = 20; _root.allyarray.push(_parent._name); _parent.shellspd = 10; _parent.aggressive = true; this.stripe._visible = false; _parent.enemy = false; _parent.num = _root.num; _root.num++; _root.friendlylist.push(_parent._name); _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 300; nohit = 0; _parent.avoid = true; _parent.fulllife = 300; _parent.speed = 3; _parent.firerate = 5; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 200; empulse = 0; as = 0; left = 1; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (_parent._width / 2); _parent._y = _parent._y + (_parent._height / 2); } if (this._rotation < 0) { _parent._x = _parent._x - (_parent._width / 2); _parent._y = _parent._y - (_parent._height / 2); } break; } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (!obstacle) { if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 135; } if (as > 50) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 536 MovieClip [lightally] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 536 MovieClip [lightally] Frame 1
onClipEvent (enterFrame) { this._xscale = 90 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _root.allyarray.findandsplice(_parent._name); _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 536 MovieClip [lightally] Frame 2
stop();
Symbol 542 MovieClip [mine] Frame 1
stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 542 MovieClip [mine] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.minearray.push(_parent._name); _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.damage = 450; _parent.unittype = "mine"; }
Symbol 542 MovieClip [mine] Frame 28
i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - damage; _root[current + "symbols"].play(); _root[current].dummy.empulse = 100; } i--; } if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 542 MovieClip [mine] Frame 33
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.minearray.findandsplice(this._name); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 545 MovieClip Frame 1
dx = _root[targetobj]._x - _parent._x; dy = _root[targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > _parent.range) { targetobj = undefined; stop(); } if (targetobj == undefined) { stop(); }
Symbol 545 MovieClip Frame 5
Symbol 545 MovieClip Frame 6
dx = -(_parent._x - _root[targetobj]._x); dy = -(_parent._y - _root[targetobj]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); _root.attachMovie("laser2", "laser" + _root.n, _root.n); _root["laser" + _root.n]._x = _parent._x; _root["laser" + _root.n]._y = _parent._y; _root["laser" + _root.n]._width = dist + 10; _root["laser" + _root.n]._rotation = this._rotation; _root.n++; _root[targetobj].life = _root[targetobj].life - _parent.damage;
Symbol 545 MovieClip Frame 8
if ((!_root[targetobj].fireing) && (!_root[targetobj].walking)) { if (_root[targetobj].aggressive) { _root[targetobj].aiattack(_parent._name); } } if ((_root[targetobj].life < 0) || (_root[targetobj].life == undefined)) { targetobj = undefined; } stop();
Instance of Symbol 544 MovieClip in Symbol 545 MovieClip Frame 8
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 545 MovieClip Frame 11
gotoAndStop ("normal");
Symbol 546 MovieClip [laserbasedefense] Frame 1
stop();
Instance of Symbol 545 MovieClip "turret" in Symbol 546 MovieClip [laserbasedefense] Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation++; } }
Instance of Symbol 110 MovieClip "selector" in Symbol 546 MovieClip [laserbasedefense] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.turretarray.push(_parent._name); _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.range = 360; _parent.damage = 60; _parent.firerate = 50; _root.friendlylist.push(_parent._name); _parent.unittype = "turret3"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 546 MovieClip [laserbasedefense] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 546 MovieClip [laserbasedefense] Frame 2
_root.enemymoney = _root.enemymoney + 1500;
Symbol 546 MovieClip [laserbasedefense] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.turretarray.findandsplice(this._name); this.removeMovieClip(); stop();
Symbol 547 MovieClip [turrets] Frame 1
stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 547 MovieClip [turrets] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.turretarray.push(_parent._name); _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 800; _parent.fulllife = 800; _parent.range = 270; _parent.damage = 4; _parent.firerate = 1; _parent.shellspd = 30; _root.friendlylist.push(_parent._name); _parent.unittype = "turret1"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 547 MovieClip [turrets] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 168 MovieClip "turret" in Symbol 547 MovieClip [turrets] Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation++; } }
Symbol 547 MovieClip [turrets] Frame 2
_root.enemymoney = _root.enemymoney + 1000;
Symbol 547 MovieClip [turrets] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.turretarray.findandsplice(this._name); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 549 MovieClip [enemywarfactory] Frame 1
names = this._name; repairs = false; this.cacheAsBitmap = true; _root.ai.build = true; stop();
Instance of Symbol 115 MovieClip "lifebar" in Symbol 549 MovieClip [enemywarfactory] Frame 1
onClipEvent (enterFrame) { this._xscale = 290 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 110 MovieClip "selector" in Symbol 549 MovieClip [enemywarfactory] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemywarfactory = 1; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.enemyarray.push(_parent._name); _parent.unittype = "war factory"; }
Symbol 549 MovieClip [enemywarfactory] Frame 2
_root.money = _root.money + 2000;
Symbol 549 MovieClip [enemywarfactory] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); _root.enemyarray.findandsplice(_name); _root.enemywarfactory = 0; _root.enemystructurearray.findandsplice(_name); this._name = "lolo"; this.removeMovieClip(); stop();
Symbol 551 MovieClip [enemyrefinery] Frame 1
_root.attachMovie("enemyoiltruck", "enemyoiltruck" + _root.n, _root.n); _root["enemyoiltruck" + _root.n]._x = this._x; _root["enemyoiltruck" + _root.n]._y = this._y; _root.ai.oiltrucks.push("enemyoiltruck" + _root.n); _root["enemyoiltruck" + _root.n]._rotation = 0; _root.n++; this.cacheAsBitmap = true; repairs = false; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 551 MovieClip [enemyrefinery] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemyrefinery = 1; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1700; _parent.fulllife = 1700; _root.enemyarray.push(_parent._name); _parent.unittype = "refinery"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 551 MovieClip [enemyrefinery] Frame 1
onClipEvent (enterFrame) { this._xscale = 400 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 551 MovieClip [enemyrefinery] Frame 2
_root.money = _root.money + 5000;
Symbol 551 MovieClip [enemyrefinery] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.enemyrefinery = 0; _root[_name + "symbols"].removeMovieClip(); this._name = "nobody"; this.removeMovieClip(); stop();
Symbol 560 MovieClip Frame 1
stop();
Instance of Symbol 556 MovieClip in Symbol 560 MovieClip Frame 20
onClipEvent (enterFrame) { _parent.t++; _parent._x = _parent._x + _parent.movex; _parent._y = _parent._y + _parent.movey; if (_parent.hitTest(_root[_parent.targetobj])) { _parent.play(); } if (_parent.t > 11) { _parent.play(); } }
Instance of Symbol 556 MovieClip in Symbol 560 MovieClip Frame 25
onClipEvent (enterFrame) { _parent.t++; _parent._x = _parent._x + _parent.movex; _parent._y = _parent._y + _parent.movey; if (_parent.hitTest(_root[_parent.targetobj])) { _parent.play(); } if (_parent.t > 11) { _parent.play(); } }
Symbol 561 MovieClip [enemyservicedepot] Frame 1
_root.enemyservicedepot = 1; _root.waypoint106._x = this._x; _root.waypoint106._y = this._y; repairs = false; this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 561 MovieClip [enemyservicedepot] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.enemyarray.push(_parent._name); _parent.unittype = "servicedepot"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 561 MovieClip [enemyservicedepot] Frame 1
onClipEvent (enterFrame) { this._xscale = 380 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 561 MovieClip [enemyservicedepot] Frame 2
_root.money = _root.money + 5000;
Symbol 561 MovieClip [enemyservicedepot] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.enemyservicedepot = 0; _root[_name + "symbols"].removeMovieClip(); this._name = "star"; this.removeMovieClip(); stop();
Symbol 563 MovieClip [servicedepot] Frame 1
_root.servicedepot = 1; _root.sidebar.serviceepot.gotoAndStop(3); this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 563 MovieClip [servicedepot] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.friendlylist.push(_parent._name); _parent.unittype = "servicedepot"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 563 MovieClip [servicedepot] Frame 1
onClipEvent (enterFrame) { this._xscale = 380 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 563 MovieClip [servicedepot] Frame 2
_root.enemymoney = _root.enemymoney + 5000;
Symbol 563 MovieClip [servicedepot] Frame 13
_root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.servicedepot--; _root[_name + "symbols"].removeMovieClip(); this._name = "popp"; this.removeMovieClip(); stop();
Symbol 565 MovieClip [techcentre] Frame 1
names = this._name; this.cacheAsBitmap = true; _root.sidebar.build.techcentre.gotoAndStop(3); if ((_root.money > _root.sidebar.build.lasertank.cost) && (_root.warfactory1._x != undefined)) { if (_root.sidebar.build.lasertank._currentframe == 1) { _root.sidebar.build.lasertank.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.weaponsilo.cost) { if (_root.sidebar.build.weaponsilo._currentframe == 1) { _root.sidebar.build.weaponsilo.gotoAndStop(2); } } stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 565 MovieClip [techcentre] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = false; _root.objarray.findandsplice(_parent._name); _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.friendlylist.push(_parent._name); _parent.unittype = "techcentre"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 565 MovieClip [techcentre] Frame 1
onClipEvent (enterFrame) { this._xscale = 240 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 565 MovieClip [techcentre] Frame 2
_root.enemymoney = _root.enemymoney + 1500;
Symbol 565 MovieClip [techcentre] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); _root.structurearray.findandsplice(_name); _root.techcentre = 0; _root.sidebar.build.techcentre.gotoAndStop(1); _root.sidebar.build.lasertank.gotoAndStop(1); if (_root.sidebar.build.weaponsilo._currentframe == 2) { _root.sidebar.build.weaponsilo.gotoAndStop(1); } this._name = ""; this.removeMovieClip(); stop();
Symbol 572 MovieClip Frame 1
dx = _root[targetobj]._x - _parent._x; dy = _root[targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > _parent.range) { targetobj = undefined; stop(); } if (tragetobj == undefined) { stop(); }
Instance of Symbol 569 MovieClip in Symbol 572 MovieClip Frame 1
/* no clip actions */
Symbol 572 MovieClip Frame 2
_root.attachMovie("patriot", "patriot" + _root.n, _root.n); _root["patriot" + _root.n]._x = _parent._x; _root["patriot" + _root.n]._y = _parent._y + 10; _root["patriot" + _root.n]._rotation = this._rotation; _root["patriot" + _root.n].damage = _parent.damage; _root["patriot" + _root.n].shellspd = _parent.shellspd; _root["patriot" + _root.n].targetobj = targetobj; _root["patriot" + _root.n].seeker = true; _root["patriot" + _root.n].firerer = _parent._name; _root.objarray.push("patriot" + _root.n); _root.n++;
Symbol 572 MovieClip Frame 5
_root.attachMovie("patriot", "patrio2t" + _root.n, _root.n); _root["patrio2t" + _root.n]._x = _parent._x; _root["patrio2t" + _root.n]._y = _parent._y; _root["patrio2t" + _root.n]._rotation = this._rotation; _root["patrio2t" + _root.n].damage = _parent.damage; _root["patrio2t" + _root.n].shellspd = _parent.shellspd; _root["patrio2t" + _root.n].targetobj = targetobj; _root["patrio2t" + _root.n].seeker = true; _root["patrio2t" + _root.n].firerer = _parent._name; _root.objarray.push("patrio2t" + _root.n); _root.n++;
Symbol 572 MovieClip Frame 8
_root.attachMovie("patriot", "patrio3t" + _root.n, _root.n); _root["patrio3t" + _root.n]._x = _parent._x; _root["patrio3t" + _root.n]._y = _parent._y - 10; _root["patrio3t" + _root.n]._rotation = this._rotation; _root["patrio3t" + _root.n].damage = _parent.damage; _root["patrio3t" + _root.n].shellspd = _parent.shellspd; _root["patrio3t" + _root.n].targetobj = targetobj; _root["patrio3t" + _root.n].seeker = true; _root["patrio3t" + _root.n].firerer = _parent._name; _root.objarray.push("patrio3t" + _root.n); _root.n++;
Symbol 572 MovieClip Frame 16
if ((_root[targetobj].life < 0) || (_root[targetobj].life == undefined)) { targetobj = undefined; } stop();
Instance of Symbol 569 MovieClip in Symbol 572 MovieClip Frame 16
onClipEvent (enterFrame) { n++; if (n > _parent._parent.firerate) { _parent.gotoAndStop(1); } } onClipEvent (load) { n = 0; }
Symbol 572 MovieClip Frame 20
gotoAndStop ("normal");
Symbol 573 MovieClip [patriotmiss] Frame 1
if (targetobj == undefined) { stop(); }
Instance of Symbol 572 MovieClip "turret" in Symbol 573 MovieClip [patriotmiss] Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation++; } }
Instance of Symbol 110 MovieClip "selector" in Symbol 573 MovieClip [patriotmiss] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.turretarray.push(_parent._name); _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 500; _parent.shellspd = 10; _parent.fulllife = 500; _parent.range = 400; _parent.damage = 15; _parent.firerate = 30; _root.friendlylist.push(_parent._name); _parent.unittype = "turret2"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 573 MovieClip [patriotmiss] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 573 MovieClip [patriotmiss] Frame 2
_root.enemymoney = _root.enemymoney + 1500;
Symbol 573 MovieClip [patriotmiss] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.turretarray.findandsplice(this._name); this.removeMovieClip(); stop();
Symbol 575 MovieClip [warfactory] Frame 1
_root.warfactory = 1; this.cacheAsBitmap = true; _root.rallypoint._x = this._x; _root.rallypoint._y = this._y; _root.sidebar.build.warfactory.gotoAndStop(3); if (_root.money > _root.sidebar.build.light.cost) { if (_root.sidebar.build.light._currentframe == 1) { _root.sidebar.build.light.gotoAndStop(2); } } if ((_root.money > _root.sidebar.build.lasertank.cost) && (_root.techcentre1._x != undefined)) { if (_root.sidebar.build.lasertank._currentframe == 1) { _root.sidebar.build.lasertank.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.heavy.cost) { if (_root.sidebar.build.heavy._currentframe == 1) { _root.sidebar.build.heavy.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.rocket.cost) { if (_root.sidebar.build.rocket._currentframe == 1) { _root.sidebar.build.rocket.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.humvee.cost) { if (_root.sidebar.build.humvee._currentframe == 1) { _root.sidebar.build.humvee.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.artillery.cost) { if (_root.sidebar.build.artillery._currentframe == 1) { _root.sidebar.build.artillery.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.oiltruck.cost) { if (_root.sidebar.build.oiltruck._currentframe == 1) { _root.sidebar.build.oiltruck.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.techcentre.cost) { if (_root.sidebar.build.techcentre._currentframe == 1) { _root.sidebar.build.techcentre.gotoAndStop(2); } } stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 575 MovieClip [warfactory] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.friendlylist.push(_parent._name); _parent.unittype = "war factory"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 575 MovieClip [warfactory] Frame 1
onClipEvent (enterFrame) { this._xscale = 290 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 575 MovieClip [warfactory] Frame 2
_root.sidebar.build.light.gotoAndStop(1); _root.sidebar.build.humvee.gotoAndStop(1); _root.sidebar.build.heavy.gotoAndStop(1); _root.sidebar.build.rocket.gotoAndStop(1); _root.sidebar.build.artillery.gotoAndStop(1); _root.sidebar.build.oiltruck.gotoAndStop(1); _root.sidebar.build.lasertank.gotoAndStop(1); _root.sidebar.build.buildlist = []; _root.enemymoney = _root.enemymoney + 2000;
Symbol 575 MovieClip [warfactory] Frame 12
_root.sidebar.build.buildlist = [];
Symbol 575 MovieClip [warfactory] Frame 13
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.rallypoint._y = -100; _root.rallypoint._x = -100; _root[_name + "symbols"].removeMovieClip(); _root.structurearray.findandsplice(_name); _root.warfactory = 0; _root.sidebar.calccost(); _root.sidebar.build.warfactory.gotoAndStop(1); if (_root.sidebar.build.techcentre._currentframe == 2) { _root.sidebar.build.techcentre.gotoAndStop(1); } this._name = "noob"; this.removeMovieClip(); stop();
Symbol 577 MovieClip [refinery] Frame 1
if (!(_root.nooiltruck === true)) { _root.attachMovie("oiltruck", "oiltruck" + _root.n, _root.n); _root["oiltruck" + _root.n]._x = this._x; _root["oiltruck" + _root.n]._y = this._y; _root["oiltruck" + _root.n]._rotation = 0; } if (_root.money > _root.sidebar.build.servicedepot.cost) { if (_root.sidebar.build.servicedepot._currentframe == 1) { _root.sidebar.build.servicedepot.gotoAndStop(2); } } _root.sidebar.build.refinery.gotoAndStop(3); _root.n++; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 577 MovieClip [refinery] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.refinery = 1; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1700; _parent.fulllife = 1700; _root.friendlylist.push(_parent._name); _parent.unittype = "refinery"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 577 MovieClip [refinery] Frame 1
onClipEvent (enterFrame) { this._xscale = 400 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 577 MovieClip [refinery] Frame 2
_root.enemymoney = _root.enemymoney + 5000; if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 577 MovieClip [refinery] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.objarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); this._name = "no2ob"; _root.refinery = 0; if (_root.sidebar.build.servicedepot._currentframe == 2) { _root.sidebar.build.servicedepot.gotoAndStop(1); } _root.sidebar.build.refinery.gotoAndStop(1); this.removeMovieClip(); stop();
Symbol 579 MovieClip [comcentre] Frame 1
_root.comcentre = 1; this.cacheAsBitmap = true; _root.sidebar.radarscreen.gotoAndStop(2); _root.sidebar.build.comcentre.gotoAndStop(3); if (_root.sidebar._visible) { unitsarray = _root.unitsarray.concat(_root.oilarray); i = unitsarray.length - 1; while (i > -1) { current = unitsarray[i]; _root[current + "symbols"]._visible = true; i--; } _root.box6._visible = true; } if (_root.money > _root.sidebar.build.dozer.cost) { if (_root.sidebar.build.dozer._currentframe == 1) { _root.sidebar.build.dozer.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.refinery.cost) { if (_root.sidebar.build.refinery._currentframe == 1) { _root.sidebar.build.refinery.gotoAndStop(2); } } if (_root.money > _root.sidebar.build.warfactory.cost) { if (_root.sidebar.build.warfactory._currentframe == 1) { _root.sidebar.build.warfactory.gotoAndStop(2); } } stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 579 MovieClip [comcentre] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 2000; _parent.fulllife = 2000; _root.friendlylist.push(_parent._name); _parent.unittype = "comcentre"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 579 MovieClip [comcentre] Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 579 MovieClip [comcentre] Frame 2
_root.enemymoney = _root.enemymoney + 5000; _root.sidebar.build.dozer.gotoAndStop(1); if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 579 MovieClip [comcentre] Frame 11
_root.objarray.findandsplice(_name); _root.sidebar.radarscreen.gotoAndStop(1); _root.unitsarray.findandsplice(_name); _root.friendlylist.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.comcentre--; _root.sidebar.build.comcentre.gotoAndStop(1); unitsarray = _root.unitsarray.concat(_root.oilarray); i = unitsarray.length - 1; while (i > -1) { current = unitsarray[i]; _root[current + "symbols"]._visible = false; i--; } _root.box6._visible = false; _root[_name + "symbols"].removeMovieClip(); this._name = "noo2b"; this.removeMovieClip(); stop();
Symbol 581 MovieClip [enemylaser] Frame 1
repairs = false; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 581 MovieClip [enemylaser] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemyturretarray.push(_parent._name); _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.range = 360; _parent.damage = 60; _parent.firerate = 50; _root.enemyarray.push(_parent._name); _parent.unittype = "turret3"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 581 MovieClip [enemylaser] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 545 MovieClip "turret" in Symbol 581 MovieClip [enemylaser] Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation--; } }
Symbol 581 MovieClip [enemylaser] Frame 2
_root.money = _root.money + 1500;
Symbol 581 MovieClip [enemylaser] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root["enemyturret" + number] = false; _root.enemyarray.findandsplice(_name); _root.structurearray.findandsplice(_name); _root.enemyturretarray.findandsplice(this._name); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 582 MovieClip [enemyturret] Frame 1
stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 582 MovieClip [enemyturret] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemyturretarray.push(_parent._name); _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 800; _parent.fulllife = 800; _parent.range = 270; _parent.damage = 4; _parent.firerate = 1; _parent.shellspd = 30; _root.enemyarray.push(_parent._name); _parent.unittype = "turret1"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 582 MovieClip [enemyturret] Frame 1
onClipEvent (enterFrame) { this._xscale = 100 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 582 MovieClip [enemyturret] Frame 2
_root.money = _root.money + 1000;
Symbol 582 MovieClip [enemyturret] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.enemyturretarray.findandsplice(this._name); _root[_name + "symbols"].removeMovieClip(); _root["enemyturret" + number] = false; this.removeMovieClip(); stop();
Symbol 584 MovieClip [enemytechcentre] Frame 1
names = this._name; repairs = false; this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 584 MovieClip [enemytechcentre] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.enemyarray.push(_parent._name); _parent.unittype = "techcentre"; _root.enemytechcentre = 1; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 584 MovieClip [enemytechcentre] Frame 1
onClipEvent (enterFrame) { this._xscale = 240 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 584 MovieClip [enemytechcentre] Frame 2
_root.money = _root.money + 1500;
Symbol 584 MovieClip [enemytechcentre] Frame 11
_root.objarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemytechcentre = 0; _root.enemystructurearray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); this._name = "ops"; this.removeMovieClip(); stop();
Symbol 591 MovieClip [enemymine] Frame 1
_root.enemymines++; stop(); this._visible = false; this.cacheAsBitmap = true; repairs = false; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 591 MovieClip [enemymine] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.enemyminearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.damage = 250; _parent.unittype = "mine"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 591 MovieClip [enemymine] Frame 1
onClipEvent (enterFrame) { this._xscale = 130 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 591 MovieClip [enemymine] Frame 2
this._visible = true;
Symbol 591 MovieClip [enemymine] Frame 25
_root.enemymines--; if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 591 MovieClip [enemymine] Frame 29
i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - damage; _root[current + "symbols"].play(); _root[current].dummy.empulse = 100; } i--; }
Symbol 591 MovieClip [enemymine] Frame 34
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyminearray.findandsplice(this._name); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 592 MovieClip [enemymultiple] Frame 1
if (targetobj == undefined) { stop(); } repairs = false;
Instance of Symbol 572 MovieClip "turret" in Symbol 592 MovieClip [enemymultiple] Frame 1
onClipEvent (enterFrame) { if (this.targetobj == undefined) { this._rotation--; } }
Instance of Symbol 110 MovieClip "selector" in Symbol 592 MovieClip [enemymultiple] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemyturretarray.push(_parent._name); _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 500; _parent.fulllife = 500; _parent.range = 400; _parent.damage = 15; _parent.firerate = 30; _parent.shellspd = 10; _root.enemyarray.push(_parent._name); _parent.unittype = "turret2"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 592 MovieClip [enemymultiple] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 592 MovieClip [enemymultiple] Frame 2
_root.money = _root.money + 1500;
Symbol 592 MovieClip [enemymultiple] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root["enemyturret" + number] = false; _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.enemyturretarray.findandsplice(this._name); _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 594 MovieClip [enemycomcentre] Frame 1
_root.enemycomcentre = 1; repairs = false; name = this._name; this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 594 MovieClip [enemycomcentre] Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _root.enemystructurearray.push(_parent._name); this._visible = false; _parent.enemy = true; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 2000; _parent.fulllife = 2000; _root.enemyarray.push(_parent._name); _parent.unittype = "comcentre"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 594 MovieClip [enemycomcentre] Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 594 MovieClip [enemycomcentre] Frame 2
_root.money = _root.money + 5000;
Symbol 594 MovieClip [enemycomcentre] Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.enemycomcentre = 0; _root[_name + "symbols"].removeMovieClip(); this._name = "opo"; this.removeMovieClip(); stop();
Symbol 596 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 2
if (_parent.enemy) { _root.kills++; } if (!_parent.enemy) { _root.losses++; } _parent.turret._visible = false; if (((((_parent._x < 1000) && (_parent._y < 768)) && (_parent._x > 0)) && (_parent._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 596 MovieClip Frame 11
_root.objarray.findandsplice(_parent._name); _root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.apcarray.findandsplice(_parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root["flag" + _parent._name].removeMovieClip(); _root[_parent._name + "symbols"].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 597 MovieClip [apc] Frame 1
stop();
Instance of Symbol 596 MovieClip "dummy" in Symbol 597 MovieClip [apc] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.unittype = "apc"; _root.apcarray.push(_parent._name); _parent.avoid = false; _parent.aggressive = false; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 1500; _parent.fulllife = 1500; _parent.speed = 2; _parent.walking = false; _parent.fireing = false; _parent.attack = false; empulse = 0; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 597 MovieClip [apc] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 597 MovieClip [apc] Frame 1
onClipEvent (enterFrame) { this._xscale = 160 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 597 MovieClip [apc] Frame 2
stop();
Symbol 611 Button
on (release) { _root.gotoAndStop("end"); }
Symbol 615 Button
on (release) { share = SharedObject.getLocal("save"); share.data.currentframe = _root._currentframe; share.flush(); _visible = false; this._x = 100; }
Instance of Symbol 229 MovieClip in Symbol 616 MovieClip Frame 1
/* no clip actions */
Symbol 618 MovieClip [mapbar] Frame 1
function calccost2() { var _local3 = 20 + moven; while (_local3 > (moven - 1)) { current = _root.attackarray[_local3]; this.build["d" + Number((_local3 + 1) - moven)].gotoAndStop(1); this.build["d" + Number((_local3 - moven) + 1)].gotoAndStop(_root[current + "obj"].unittype); this.build["d" + Number((_local3 - moven) + 1)].unit = current + "obj"; this.build["d" + Number((_local3 - moven) + 1)].unitn = current; _local3--; } } function calccost() { if (selectedarray.length == 0) { this.shower.gotoAndStop(1); } i = 20 + garn; while (i > (garn - 1)) { this["s" + i].gotoAndStop(1); this.shower["d" + Number((i + 1) - garn)].gotoAndStop(1); i--; } i = selectedarray.length - 1; while (i > -1) { current = selectedarray[i]; if (_root[current + "obj"].fulllife == undefined) { current = current + mapn; } if (_root[current + "obj"].unittype == "rocket") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("rocket"); } if (_root[current + "obj"].unittype == "humvee") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("humvee"); } if (_root[current + "obj"].unittype == "artillery") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("artillery"); } if (_root[current + "obj"].unittype == "light") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("light"); } if (_root[current + "obj"].unittype == "heavy") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("heavy"); } if (_root[current + "obj"].unittype == "war factory") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("war factory"); } if (_root[current + "obj"].unittype == "dozer") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("dozer"); } if (_root[current + "obj"].unittype == "comcentre") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("comcentre"); } if (_root[current + "obj"].unittype == "lasertank") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("lasertank"); } if (_root[current + "obj"].unittype == "oiltruck") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("oiltruck"); } if (_root[current + "obj"].unittype == "refinery") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("refinery"); } if (_root[current + "obj"].unittype == "construction") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("construction"); } if (_root[current + "obj"].unittype == "turret1") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("turret1"); } if (_root[current + "obj"].unittype == "mine") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("mine"); } if (_root[current + "obj"].unittype == "turret2") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("turret2"); } if (_root[current + "obj"].unittype == "servicedepot") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("servicedepot"); } if (_root[current + "obj"].unittype == "turret3") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("turret3"); } if (_root[current + "obj"].unittype == "weaponsilo") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("weaponsilo"); } if (_root[current + "obj"].unittype == "techcentre") { this.shower["d" + Number((i + 1) - garn)].gotoAndStop("techcentre"); } this.shower["d" + Number((i + 1) - garn)].unitn = current; this.shower["d" + Number((i + 1) - garn)].unit = current + "obj"; i--; } } avoid = true; _root.dialogue._visible = false; _root.attachMovie("mo", "mouse", 1000001); garn = 0; moven = 0; invadebutton._visible = false; commandbutton._visible = false; stop();
Instance of Symbol 600 MovieClip "kiss" in Symbol 618 MovieClip [mapbar] Frame 1
onClipEvent (load) { function loadtexts() { n = 0; _root.mapbar.textss = ""; stringarray = _root.mapbar.words.split(""); pp = stringarray.length - 1; sound = new Sound(); sound.attachSound("ting"); sound.start(undefined, 10000); playa = true; } playa = false; } onClipEvent (enterFrame) { if ((n < pp) && (playa)) { i = n; _root.mapbar.textss = _root.mapbar.textss + stringarray[i]; n = n + 1; } else { sound.stop(); } }
Instance of Symbol 616 MovieClip "escape" in Symbol 618 MovieClip [mapbar] Frame 1
onClipEvent (load) { this._visible = false; } onClipEvent (keyDown) { if (Key.isDown(13)) { this._visible = !this._visible; if (this._visible) { this._x = 650; } if (!this._visible) { this._x = 100; } } }
Symbol 624 MovieClip [mo] Frame 1
Mouse.hide(); stop();
Instance of Symbol 620 MovieClip "mouse" in Symbol 624 MovieClip [mo] Frame 1
onClipEvent (enterFrame) { _parent._x = _root._xmouse; _parent._y = _root._ymouse; }
Symbol 624 MovieClip [mo] Frame 2
stop();
Instance of Symbol 623 MovieClip in Symbol 624 MovieClip [mo] Frame 2
onClipEvent (enterFrame) { _parent._x = _root._xmouse; _parent._y = _root._ymouse; }
Symbol 624 MovieClip [mo] Frame 3
stop();
Symbol 626 MovieClip [dot] Frame 1
if (_root.comcentre1.life == undefined) { this._visible = false; } stop();
Symbol 626 MovieClip [dot] Frame 6
gotoAndStop (1);
Symbol 627 MovieClip [light] Frame 1
stop();
Instance of Symbol 531 MovieClip "dummy" in Symbol 627 MovieClip [light] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.auto = false; _parent.unittype = "light"; _parent.shell2 = false; _parent.hitonly = false; _parent.damage = 20; _parent.shellspd = 10; _parent.aggressive = true; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 300; nohit = 0; _parent.avoid = true; _parent.fulllife = 300; _parent.speed = 3; _parent.firerate = 5; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 200; empulse = 0; as = 0; left = 1; if (_root.warfactory1._x != undefined) { _parent.aigoto(_root.rallypoint._x, _root.rallypoint._y, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (_parent._width / 2); _parent._y = _parent._y + (_parent._height / 2); } if (this._rotation < 0) { _parent._x = _parent._x - (_parent._width / 2); _parent._y = _parent._y - (_parent._height / 2); } break; } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (!obstacle) { if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 135; } if (as > 50) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 627 MovieClip [light] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 627 MovieClip [light] Frame 1
onClipEvent (enterFrame) { this._xscale = 90 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 627 MovieClip [light] Frame 2
stop();
Symbol 628 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 520 MovieClip "dummy" in Symbol 628 MovieClip [heavy] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.auto = false; _parent.unittype = "heavy"; _parent.crush = false; _parent.missile = false; _parent.hitonly = false; _parent.avoid = false; _parent.damage = 30; _parent.shellspd = 12; _parent.aggressive = true; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 600; _parent.fulllife = 600; _parent.speed = 1; _parent.firerate = 20; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 200; as = 0; left = 1; empulse = 0; if (_root.warfactory1._x != undefined) { _parent.aigoto(_root.rallypoint._x, _root.rallypoint._y, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.crush && (_root[_parent.targetobj].life < _parent.life)) { this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); if ((dist < 10) && (_root[_parent.targetobj].life < _parent.life)) { _root[_parent.targetobj].life = -1; _parent._x = _root[_parent.targetobj]._x; _parent._y = _root[_parent.targetobj]._y; } } if (_parent.avoid) { if (!obstacle) { as++; if (left > 0) { if (!_parent.crush) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 90; } } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 100) { as = 0; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 628 MovieClip [heavy] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 628 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) { this._xscale = 115 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 628 MovieClip [heavy] Frame 2
stop();
Symbol 629 MovieClip [artillery] Frame 1
stop();
Instance of Symbol 507 MovieClip "dummy" in Symbol 629 MovieClip [artillery] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.deploy = function () { this.walking = false; this.dummy.gotoAndPlay("deploying"); this.dummy._rotation = 90; }; _parent.unittype = "artillery"; _parent.accurate = false; _parent.nuke = false; _parent.emp = false; _parent.damage = 35; _parent.aggressive = false; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 300; _parent.fulllife = 300; _parent.speed = 1; _parent.firerate = 30; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 550; empulse = 0; n = 0; if (_root.warfactory1._x != undefined) { _parent.aigoto(_root.rallypoint._x, _root.rallypoint._y, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (this._currentframe == 11) { n++; if (n == 10) { n = 0; if (!_parent.fireing) { n = _root.enemyarray.length - 1; while (n > -1) { current2 = _root.enemyarray[n]; dx = -(_parent._x - _root[current2]._x); dy = -(_parent._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.targetobj = current2; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } hit = true; } n--; } } } } if (_parent.attack) { _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; if (this._currentframe == 1) { _parent.walking = false; this._rotation = 90; gotoAndPlay ("deploying"); _parent.fireing = true; } } } if (_parent.walking == true) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); rangereq = 10; if (_parent.attack) { rangereq = _parent.range; } if (((this._currentframe > 1) && (_parent.life > 0)) && (dist > rangereq)) { gotoAndStop (1); _parent.turret.gotoAndStop(1); } if (this._currentframe == 1) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > this.num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 2) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } } else { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 629 MovieClip [artillery] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 629 MovieClip [artillery] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe <= 11) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 629 MovieClip [artillery] Frame 2
stop();
Symbol 632 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 2
if (_parent.enemy) { _root.kills++; } if ((!_parent.enemy) && (!(_parent.ally === true))) { soundobj = new Sound(); soundobj.attachSound("unitloss"); soundobj.start(); _root.losses++; } dozers.findandsplice(_parent._name); if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("crash"); soundobj.start(); }
Symbol 632 MovieClip Frame 11
if (_parent.enemy) { _root.kills++; } dozers.findandsplice(_parent._name);
Symbol 632 MovieClip Frame 13
_root.unitsarray.findandsplice(_parent._name); _root.enemyarray.findandsplice(_parent._name); _root.friendlylist.findandsplice(_parent._name); _root.objarray.findandsplice("flag" + _parent._name); _root.selectedarray.findandsplice(_parent._name); _root.flagsarray.findandsplice("flag" + _parent._name); _root.sidebar.calccost(); _root["flag" + _parent._name].removeMovieClip(); _root[_parent._name + "symbols"].removeMovieClip(); _parent.nextFrame(); _parent.removeMovieClip(); stop();
Symbol 633 MovieClip [dozer] Frame 1
stop();
Instance of Symbol 632 MovieClip "dummy" in Symbol 633 MovieClip [dozer] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.auto = false; _root.dozerarray.push(_parent._name); _parent.unittype = "dozer"; _parent.aggressive = false; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; _parent.targetbuild = undefined; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 450; _parent.fulllife = 450; _parent.speed = 3; building = false; nohit = 0; _parent.walking = false; _parent.build = false; empulse = 0; if (_root.comcentre1._x != undefined) { _parent.aigoto(_root.comcentre1._x, _root.comcentre1._y + 100, false); } _parent.aibuild = function (what) { }; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.build) { if (_root[_parent.targetbuild].life == undefined) { obstacle = false; buidling = false; _parent.build = false; _parent.walking = false; _parent.targetbuild = undefined; } } if (building) { _root[_parent.targetbuild].percent = _root[_parent.targetbuild].percent + (0.25 * _root[_parent.targetbuild].buildrate); _root[_parent.targetbuild].life = _root[_parent.targetbuild].life + (2.4 * _root[_parent.targetbuild].buildrate); if (_root[_parent.targetbuild].percent >= 100) { _root[_parent.targetbuild].nextFrame(); buidling = false; _parent.build = false; } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.build) { if (!obstacle) { dx = _root[_parent.targetbuild]._x - _parent._x; dy = _root[_parent.targetbuild]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } _root[_parent.targetbuild].percent = 0; if (_root[_parent.targetbuild].life > 100) { _root[_parent.targetbuild].life = 100; } } if (!_parent.build) { if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (this.hitTest(_root[flag2])) { obstacle = false; } if (_parent.build && (_root[_parent.targetbuild]._x == undefined)) { _root[flag].removeMovieClip(); obstacle = false; _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; _parent.build = false; } if (this.hitTest(_root[flag]) && (!_parent.build)) { _root[flag].removeMovieClip(); obstacle = false; _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } if (this.hitTest(_root[_parent.targetbuild]) && (_parent.build)) { _root[flag].removeMovieClip(); obstacle = false; _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; building = true; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 633 MovieClip [dozer] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 633 MovieClip [dozer] Frame 1
onClipEvent (enterFrame) { this._xscale = 85 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 633 MovieClip [dozer] Frame 2
stop();
Symbol 634 MovieClip [rocket] Frame 1
stop();
Instance of Symbol 487 MovieClip "dummy" in Symbol 634 MovieClip [rocket] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.unittype = "rocket"; _parent.seeker = false; _parent.hitonly = false; _parent.blast = false; _parent.miss = 1; _parent.damage = 50; _parent.shellspd = 3; _parent.avoid = false; _parent.aggressive = true; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 250; _parent.fulllife = 250; _parent.speed = 2; _parent.firerate = 25; _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 350; as = 0; left = 1; empulse = 0; if (_root.warfactory1._x != undefined) { _parent.aigoto(_root.rallypoint._x, _root.rallypoint._y, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range + 150)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (!obstacle) { if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 45; } if (left < 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 90; } if (as > 70) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 634 MovieClip [rocket] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 634 MovieClip [rocket] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 634 MovieClip [rocket] Frame 2
stop();
Symbol 635 MovieClip [humvee] Frame 1
stop();
Instance of Symbol 478 MovieClip [humveeebase] "dummy" in Symbol 635 MovieClip [humvee] Frame 1
onClipEvent (load) { _root.attachMovie("dot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _parent.unittype = "humvee"; _parent.laser = false; _parent.gatling = false; _parent.damage = 3; _parent.avoid = true; _parent.shellspd = 15; _parent.aggressive = true; _root.friendlylist.push(_parent._name); _parent.enemy = false; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 200; _parent.fulllife = 200; _parent.speed = 6; _parent.firerate = 3; _parent.walking = false; _parent.fireing = false; _parent.attack = false; charge = 0; empulse = 0; _parent.range = 150; charge = 100; as = 0; left = 1; if (_root.warfactory1._x != undefined) { _parent.aigoto(_root.rallypoint._x, _root.rallypoint._y, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 2)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { if (!obstacle) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 20) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 635 MovieClip [humvee] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 635 MovieClip [humvee] Frame 1
onClipEvent (enterFrame) { this._xscale = 80 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 635 MovieClip [humvee] Frame 2
stop();
Symbol 636 MovieClip [enemyheavy] Frame 1
stop();
Instance of Symbol 520 MovieClip "dummy" in Symbol 636 MovieClip [enemyheavy] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.crush = false; _parent.missile = false; _parent.hitonly = false; _parent.auto = false; _parent.unittype = "heavy"; _parent.avoid = false; upgrade = 0; if ((_root.enemymoney > 30000) && (_root.enemytechcentre1._x != undefined)) { upgrade = _root.upgradelevel; } aaa = Math.random() * upgrade; if ((Math.random() * upgrade) > 0.5) { _parent.crush = true; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.5) { _parent.missile = true; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.3) { _parent.hitonly = true; _root.enemymoney = _root.enemymoney - 1000; } _parent.damage = 30 + Math.round(aaa * 50); _root.enemymoney = _root.enemymoney - (aaa * 500); aaa = Math.random() * upgrade; _parent.shellspd = 12; _parent.aggressive = true; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 600 + Math.round(aaa * 200); _parent.fulllife = 600 + Math.round(aaa * 200); _root.enemymoney = _root.enemymoney - (aaa * 750); _parent.speed = 1; _parent.firerate = 20; _parent.walking = false; _parent.fireing = false; _parent.attack = false; aaa = Math.random() * upgrade; _parent.range = 200 + Math.round(aaa * 120); _root.enemymoney = _root.enemymoney - (aaa * 700); empulse = 0; nohit = 0; as = 0; left = 1; this.waypoint = "waypoint" + String(Math.floor(Math.random() * 6) + 100); _root.n++; _parent.selector.play(); if ((_root[this.waypoint]._x != undefined) && (_parent.getDepth() > 0)) { _parent.aigoto(_root[this.waypoint]._x, _root[this.waypoint]._y, false); } aaa = undefined; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if ((_parent.crush && (!_root[current].enemy)) && (_root[current].fulllife < 500)) { _root[current].life = 0; } if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (_parent.crush && (_root[_parent.targetobj].life < _parent.life)) { this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); if ((dist < 10) && (_root[_parent.targetobj].life < _parent.life)) { _root[_parent.targetobj].life = -1; _parent._x = _root[_parent.targetobj]._x; _parent._y = _root[_parent.targetobj]._y; } } if (((!_parent.walking) && (_parent.avoid)) && (!_parent.crush)) { if (!obstacle) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 50) { as = 0; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 636 MovieClip [enemyheavy] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 636 MovieClip [enemyheavy] Frame 1
onClipEvent (enterFrame) { this._xscale = 115 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 636 MovieClip [enemyheavy] Frame 2
stop();
Symbol 637 MovieClip [enemyrocket] Frame 1
stop();
Instance of Symbol 487 MovieClip "dummy" in Symbol 637 MovieClip [enemyrocket] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.seeker = false; _parent.miss = 1; _parent.blast = false; _parent.avoid = false; upgrade = 0; if ((_root.enemymoney > 30000) && (_root.enemytechcentre1._x != undefined)) { upgrade = _root.upgradelevel; } aaa = Math.random() * upgrade; if ((Math.random() * upgrade) > 0.5) { _parent.seeker = true; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.2) { _parent.miss++; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.5) { _parent.miss++; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.5) { _parent.blast = true; _root.enemymoney = _root.enemymoney - 1000; } _parent.unittype = "rocket"; _parent.hitonly = false; aaa = Math.random() * upgrade; _parent.damage = 50 + Math.round(aaa * 25); _root.enemymoney = _root.enemymoney - (aaa * 1000); aaa = Math.random() * upgrade; _parent.shellspd = 3 + Math.round(aaa * 4); _root.enemymoney = _root.enemymoney - (aaa * 250); as = 0; _parent.aggressive = true; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 250; _parent.fulllife = 250; aaa = Math.random() * upgrade; _root.enemymoney = _root.enemymoney - (aaa * 250); _parent.speed = 2 + Math.round(aaa * 4); _parent.firerate = 25; _parent.walking = false; _parent.fireing = false; _parent.attack = false; nohit = 0; _parent.range = 350; empulse = 0; left = 1; this.waypoint = "waypoint" + String(Math.floor(Math.random() * 6) + 100); _root.n++; _parent.selector.play(); if ((_root[this.waypoint]._x != undefined) && (_parent.getDepth() > 0)) { _parent.aigoto(_root[this.waypoint]._x, _root[this.waypoint]._y, false); } aaa = undefined; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; obstacle = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range + 150)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (!obstacle) { if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 45; } if (left < 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 90; } if (as > 70) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 637 MovieClip [enemyrocket] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 637 MovieClip [enemyrocket] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 637 MovieClip [enemyrocket] Frame 2
stop();
Symbol 638 MovieClip [enemyhumvee] Frame 1
stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 638 MovieClip [enemyhumvee] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 478 MovieClip [humveeebase] "dummy" in Symbol 638 MovieClip [enemyhumvee] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; upgrade = 0; charge = 0; _parent.gatling = false; _parent.avoid = true; _parent.laser = false; if ((_root.enemymoney > 30000) && (_root.enemytechcentre1._x != undefined)) { upgrade = _root.upgradelevel; } aaa = Math.random() * upgrade; if ((Math.random() * upgrade) > 0.5) { _parent.gatling = true; _root.enemymoney = _root.enemymoney - 500; } if ((Math.random() * upgrade) > 0.5) { _parent.laser = true; _root.enemymoney = _root.enemymoney - 1000; } _parent.unittype = "humvee"; _parent.damage = 3 + Math.round(aaa * 2); _root.enemymoney = _root.enemymoney - (aaa * 200); aaa = Math.random() * upgrade; _parent.shellspd = 15; _parent.aggressive = true; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 200; _parent.fulllife = 200; _parent.speed = 6 + Math.round(aaa * 3); _root.enemymoney = _root.enemymoney - (aaa * 120); aaa = Math.random() * upgrade; _parent.firerate = 3 - Math.round(aaa * 2); _root.enemymoney = _root.enemymoney - (aaa * 100); _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 150; as = 0; empulse = 0; left = 1; this.waypoint = "waypoint" + String(Math.floor(Math.random() * 6) + 100); _root.n++; _parent.selector.play(); if ((_root[this.waypoint]._x != undefined) && (_parent.getDepth() > 0)) { _parent.aigoto(_root[this.waypoint]._x, _root[this.waypoint]._y, false); } aaa = undefined; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 2)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { if (!obstacle) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 20) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 638 MovieClip [enemyhumvee] Frame 1
onClipEvent (enterFrame) { this._xscale = 80 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 638 MovieClip [enemyhumvee] Frame 2
stop();
Symbol 639 MovieClip [enemylight] Frame 1
stop();
Instance of Symbol 531 MovieClip "dummy" in Symbol 639 MovieClip [enemylight] Frame 1
onClipEvent (load) { _root.enemyarray.push(_parent._name); _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.auto = false; _parent.shell2 = false; _parent.hitonly = false; _parent.avoid = true; upgrade = 0; if ((_root.enemymoney > 30000) && (_root.enemytechcentre1._x != undefined)) { upgrade = _root.upgradelevel; } aaa = Math.random() * upgrade; if ((Math.random() * upgrade) > 0.5) { _parent.auto = true; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.5) { _parent.shell2 = true; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.3) { _parent.hitonly = true; _root.enemymoney = _root.enemymoney - 1000; } _parent.unittype = "light"; _parent.shellspd = 10; _parent.damage = 20; _parent.aggressive = true; _parent.enemy = true; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 300 + Math.round(aaa * 350); _parent.fulllife = 300 + Math.round(aaa * 350); _root.enemymoney = _root.enemymoney - (aaa * 300); aaa = Math.random() * upgrade; nohit = 0; _parent.speed = 3 + Math.round(aaa * 3); _root.enemymoney = _root.enemymoney - (aaa * 250); aaa = Math.random() * upgrade; _parent.firerate = 5 - Math.round(aaa * 4); _root.enemymoney = _root.enemymoney - (aaa * 450); _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 200; empulse = 0; as = 0; left = 1; this.waypoint = "waypoint" + String(Math.floor(Math.random() * 6) + 100); _root.n++; _parent.selector.play(); if ((_root[this.waypoint]._x != undefined) && (_parent.getDepth() > 0)) { _parent.aigoto(_root[this.waypoint]._x, _root[this.waypoint]._y, false); } aaa = undefined; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.locx == undefined) { _parent.locx = 0; _parent.locy = 0; } if (!obstacle) { dx = (_root[flag]._x - _parent._x) + _parent.locx; dy = (_root[flag]._y - _parent._y) + _parent.locy; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (_parent._width / 2); _parent._y = _parent._y + (_parent._height / 2); } if (this._rotation < 0) { _parent._x = _parent._x - (_parent._width / 2); _parent._y = _parent._y - (_parent._height / 2); } break; } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (!_parent.walking) { if (_parent.avoid) { as++; if (!obstacle) { if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) + 90; } if (left < 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 135; } if (as > 50) { as = 0; left = -left; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 639 MovieClip [enemylight] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 639 MovieClip [enemylight] Frame 1
onClipEvent (enterFrame) { this._xscale = 90 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 639 MovieClip [enemylight] Frame 2
stop();
Symbol 640 MovieClip [enemyartillery] Frame 1
stop();
Instance of Symbol 507 MovieClip "dummy" in Symbol 640 MovieClip [enemyartillery] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.deploy = function () { this.walking = false; this.dummy.gotoAndPlay("deploying"); this.dummy._rotation = 90; }; _parent.nuke = false; _parent.accurate = false; _parent.emp = false; upgrade = 0; if ((_root.enemymoney > 30000) && (_root.enemytechcentre1._x != undefined)) { upgrade = _root.upgradelevel; } aaa = Math.random() * upgrade; if ((Math.random() * upgrade) > 0.2) { _parent.accurate = true; _root.enemymoney = _root.enemymoney - 1000; } if ((Math.random() * upgrade) > 0.7) { _parent.nuke = true; _root.enemymoney = _root.enemymoney - 2000; } if ((Math.random() * upgrade) > 0.6) { _parent.emp = true; _root.enemymoney = _root.enemymoney - 2000; } _parent.unittype = "artillery"; _parent.damage = 35 + Math.round(aaa * 25); _root.enemymoney = _root.enemymoney - (800 * aaa); _parent.aggressive = true; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; nohit = 0; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 300; _parent.fulllife = 300; _parent.speed = 1; aaa = Math.random() * upgrade; _parent.firerate = 30 - Math.round(aaa * 15); _root.enemymoney = _root.enemymoney - (500 * aaa); _parent.walking = false; _parent.fireing = false; _parent.attack = false; _parent.range = 550 + Math.round(aaa * 200); _root.enemymoney = _root.enemymoney - (1000 * aaa); empulse = 0; n = 0; this.waypoint = "waypoint" + String(Math.floor(Math.random() * 6) + 100); _root.n++; _parent.selector.play(); if ((_root[this.waypoint]._x != undefined) && (_parent.getDepth() > 0)) { _parent.aigoto(_root[this.waypoint]._x, _root[this.waypoint]._y, false); } if (_parent.getDepth() < 0) { _parent.deploy(); } aaa = undefined; } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (this._currentframe == 11) { n++; if (n == 10) { n = 0; if (!_parent.fireing) { n = _root.friendlylist.length - 1; while (n > -1) { current2 = _root.friendlylist[n]; dx = -(_parent._x - _root[current2]._x); dy = -(_parent._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.targetobj = current2; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } hit = true; } n--; } } } } if (_parent.attack) { _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { if (this._currentframe == 1) { _parent.walking = false; gotoAndPlay ("deploying"); _parent.fireing = true; this._rotation = 90; } } } if (_parent.walking == true) { if ((this._currentframe > 1) && (_parent.life > 0)) { gotoAndStop (1); _parent.turret.gotoAndStop(1); } if (this._currentframe == 1) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (_parent.attack) { _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; gotoAndPlay ("deploying"); this._rotation = 90; _parent.fireing = true; } } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; if (!_parent.attacks) { _parent.deploy(); } } } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 2) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } } else { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 640 MovieClip [enemyartillery] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 640 MovieClip [enemyartillery] Frame 1
onClipEvent (enterFrame) { this._xscale = 110 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe <= 11) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 640 MovieClip [enemyartillery] Frame 2
stop();
Symbol 641 MovieClip [enemydozer] Frame 1
dozers.push(this._name); stop();
Instance of Symbol 632 MovieClip "dummy" in Symbol 641 MovieClip [enemydozer] Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.aibuild = function (what, x, y, cost, rate) { _root.enemymoney = _root.enemymoney - cost; _root.attachMovie("enemyconstruction", "enemyconstruction" + _root.n, _root.n); _root["enemyconstruction" + _root.n].structure = what; _root["enemyconstruction" + _root.n].buildrate = rate; _root["enemyconstruction" + _root.n]._x = x; _root["enemyconstruction" + _root.n]._y = y; _root["enemyconstruction" + _root.n].dozer = _parent._name; _root.n++; }; _parent.aibuild2 = function (what, x, y, cost, nnn, rate) { _root.enemymoney = _root.enemymoney - cost; _root.attachMovie("enemyconstruction2", "enemyconstruction" + _root.n, _root.n); _root["enemyconstruction" + _root.n].structure = what; _root["enemyconstruction" + _root.n].buildrate = rate; _root["enemyconstruction" + _root.n]._x = x; _root["enemyconstruction" + _root.n]._y = y; _root["enemyconstruction" + _root.n].number = nnn; _root["enemyconstruction" + _root.n].dozer = _parent._name; _root.n++; }; _parent.build = false; building = false; nohit = 0; _parent.auto = false; _parent.unittype = "dozer"; _parent.aggressive = false; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 450; _parent.fulllife = 450; _parent.speed = 3; _parent.walking = false; as = 0; left = 1; empulse = 0; if (_root.enemycomcentre1._x != undefined) { _parent.aigoto(_root.enemycomcentre1._x, _root.enemycomcentre1._y + 100, false); } } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.build) { if (_root[_parent.targetbuild].life == undefined) { obstacle = false; buidling = false; _parent.build = false; _parent.walking = false; _parent.targetbuild = undefined; } } if (building) { _root[_parent.targetbuild].percent = _root[_parent.targetbuild].percent + (0.25 * _root[_parent.targetbuild].buildrate); _root[_parent.targetbuild].life = _root[_parent.targetbuild].life + (2.4 * _root[_parent.targetbuild].buildrate); if (_root[_parent.targetbuild].percent >= 100) { _root[_parent.targetbuild].nextFrame(); buidling = false; _parent.build = false; } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (_parent.build) { if (!obstacle) { dx = _root[_parent.targetbuild]._x - _parent._x; dy = _root[_parent.targetbuild]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } _root[_parent.targetbuild].percent = 0; if (_root[_parent.targetbuild].life > 100) { _root[_parent.targetbuild].life = 100; } } if (!_parent.build) { if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (this.hitTest(_root[flag2])) { obstacle = false; } if (_parent.build && (_root[_parent.targetbuild]._x == undefined)) { obstacle = false; _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; _parent.build = false; } if (this.hitTest(_root[flag]) && (!_parent.build)) { obstacle = false; _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } if (this.hitTest(_root[_parent.targetbuild]) && (_parent.build)) { obstacle = false; _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; building = true; } } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 641 MovieClip [enemydozer] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 641 MovieClip [enemydozer] Frame 1
onClipEvent (enterFrame) { this._xscale = 85 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 641 MovieClip [enemydozer] Frame 2
stop();
Symbol 643 MovieClip [box5] Frame 1
if (_root.comcentre1.life == undefined) { this._visible = false; }
Symbol 656 Button
on (rollOver) { _root.sidebar.build.texts = "Nuclear Missile superweapon timer"; _root.sidebar.texts = "Nuclear Missile superweapon timer"; } on (rollOut) { _root.sidebar.build.texts = ""; _root.sidebar.texts = ""; }
Symbol 666 Button
on (press) { if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); } _root.attachMovie("targeter", "targeter", 1100001); } on (rollOver) { _root.sidebar.build.texts = "Launch nuclear missile at target specified by cursor"; _root.sidebar.texts = "Launch nuclear missile at target specified by cursor"; } on (rollOut) { _root.sidebar.build.texts = ""; _root.sidebar.texts = ""; }
Symbol 668 MovieClip Frame 1
this._visible = false; stop();
Symbol 668 MovieClip Frame 2
this._visible = true; percent = 0; stop();
Instance of Symbol 648 MovieClip "pp" in Symbol 668 MovieClip Frame 2
onClipEvent (load) { timer = 0; pptimer = 0; this._visible = false; _parent.percent = 0; } onClipEvent (enterFrame) { if (_parent._currentframe != 10) { timer++; pptimer++; if (pptimer == 20) { _parent.percent = _parent.percent + 1.25; pptimer = 0; } if (timer == 200) { _parent.nextFrame(); timer = 0; } } }
Symbol 668 MovieClip Frame 10
_root.weaponsilo1.silodoors.play(); stop();
Symbol 688 MovieClip Frame 1
this._visible = false; stop();
Symbol 688 MovieClip Frame 2
this._visible = true; stop();
Instance of Symbol 648 MovieClip in Symbol 688 MovieClip Frame 2
onClipEvent (load) { timer = 0; _parent.percent = 0; pptimer = 0; this._visible = false; } onClipEvent (enterFrame) { timer++; pptimer++; if (pptimer > 20) { _parent.percent = _parent.percent + 1.25; pptimer = 0; } if (timer == 200) { _parent.nextFrame(); timer = 0; } }
Symbol 688 MovieClip Frame 9
_root.enemyweaponsilo1.silodoors.play();
Symbol 688 MovieClip Frame 10
nonculear = true; len = _root.structurearray.length - 2; if (_root[_root.structurearray[len]]._x != undefined) { af = _root.structurearray[len]; _root.sidebar.enemynuketimer.gotoAndPlay(2); _root.attachMovie("flag2", "nuclearstrike2", _root.n); _root.nuclearstrike2._x = _root[af]._x; _root.nuclearstrike2._y = _root[af]._y; _root.objarray.push("nuclearstrike2"); _root.n++; hit = true; _root.attachMovie("nukemiss2", "nukemiss2", _root.n); _root.nukemiss2._x = _root.enemyweaponsilo1._x; _root.nukemiss2._y = _root.enemyweaponsilo1._y; _root.n++; _root.enemyweaponsilo1.silodoors.gotoAndStop(1); soundobj = new Sound(); soundobj.attachSound("launch"); soundobj.start(); nonuclear = false; }
Symbol 694 MovieClip Frame 1
n = 0; hit = false; stop();
Symbol 694 MovieClip Frame 2
stop();
Symbol 698 Button
on (press) { if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("blip"); soundobj.start(); } i = 20; while (i > 0) { if (this._name == ("d" + i)) { unit = _root.selectedarray[i - 1]; hp = _root[unit].life; if ((hp > 0) && (hp != undefined)) { firepower = _root[unit].damage; hp2 = _root[unit].fulllife; rate = 1 / _root[unit].firerate; speed = _root[unit].speed; range = _root[unit].range; unittype = _root[unit].unittype; _parent.unittype = unittype; if (unittype == "light") { unittype2 = "Light Tank"; } else if (unittype == "heavy") { unittype2 = "Heavy Tank"; } else if (unittype == "rocket") { unittype2 = "Rocket Launcher"; } else if (unittype == "humvee") { unittype2 = "Humvee"; } else if (unittype == "artillery") { unittype2 = "Artillery"; } else if (unittype == "dozer") { unittype2 = "Construction Dozer"; } i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; i--; } _parent.unit = unit; _root.selectedarray = [unit]; _root[unit].selector._visible = true; _parent.stats = (((((((((((((((((unittype2 + newline) + newline) + "firepower:") + firepower) + newline) + "HP:") + hp) + "/") + hp2) + newline) + "speed:") + speed) + newline) + "rate of fire:") + rate) + newline) + "range:") + range; _parent.gotoAndStop("selected"); } } i--; } }
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 2
stop();
Instance of Symbol 694 MovieClip "boxns" in Symbol 722 MovieClip Frame 2
onClipEvent (load) { if (_root[_parent.unit].enemy) { gotoAndStop (2); } else { gotoAndStop (1); } }
Instance of Symbol 84 MovieClip in Symbol 722 MovieClip Frame 2
onClipEvent (load) { if (!_root[_parent.unit].accurate) { this._visible = false; } }
Instance of Symbol 86 MovieClip in Symbol 722 MovieClip Frame 2
onClipEvent (load) { if (!_root[_parent.unit].nuke) { this._visible = false; } }
Instance of Symbol 88 MovieClip in Symbol 722 MovieClip Frame 2
onClipEvent (load) { if (!_root[_parent.unit].emp) { this._visible = false; } }
Symbol 722 MovieClip Frame 3
stop();
Instance of Symbol 90 MovieClip in Symbol 722 MovieClip Frame 3
onClipEvent (load) { if (!_root[_parent.unit].shell2) { this._visible = false; } }
Instance of Symbol 92 MovieClip in Symbol 722 MovieClip Frame 3
onClipEvent (load) { if (!_root[_parent.unit].hitonly) { this._visible = false; } }
Instance of Symbol 94 MovieClip in Symbol 722 MovieClip Frame 3
onClipEvent (load) { if (!_root[_parent.unit].auto) { this._visible = false; } }
Symbol 722 MovieClip Frame 4
stop();
Instance of Symbol 104 MovieClip in Symbol 722 MovieClip Frame 4
onClipEvent (load) { if (!_root[_parent.unit].seeker) { this._visible = false; } }
Instance of Symbol 102 MovieClip in Symbol 722 MovieClip Frame 4
onClipEvent (load) { if (_root[_parent.unit].miss != 3) { this._visible = false; } }
Instance of Symbol 106 MovieClip in Symbol 722 MovieClip Frame 4
onClipEvent (load) { if (_root[_parent.unit].miss != 2) { this._visible = false; } }
Instance of Symbol 108 MovieClip in Symbol 722 MovieClip Frame 4
onClipEvent (load) { if (!_root[_parent.unit].blast) { this._visible = false; } }
Symbol 722 MovieClip Frame 5
stop();
Instance of Symbol 96 MovieClip in Symbol 722 MovieClip Frame 5
onClipEvent (load) { if (!_root[_parent.unit].gatling) { this._visible = false; } }
Instance of Symbol 98 MovieClip in Symbol 722 MovieClip Frame 5
onClipEvent (load) { if (!_root[_parent.unit].laser) { this._visible = false; } }
Symbol 722 MovieClip Frame 6
stop();
Instance of Symbol 100 MovieClip in Symbol 722 MovieClip Frame 6
onClipEvent (load) { if (!_root[_parent.unit].crush) { this._visible = false; } }
Instance of Symbol 106 MovieClip in Symbol 722 MovieClip Frame 6
onClipEvent (load) { if (!_root[_parent.unit].missile) { this._visible = false; } }
Instance of Symbol 92 MovieClip in Symbol 722 MovieClip Frame 6
onClipEvent (load) { if (!_root[_parent.unit].hitonly) { this._visible = false; } }
Instance of Symbol 94 MovieClip in Symbol 722 MovieClip Frame 6
onClipEvent (load) { if (!_root[_parent.unit].auto) { this._visible = false; } }
Symbol 722 MovieClip Frame 7
stop();
Symbol 722 MovieClip Frame 8
stop();
Symbol 722 MovieClip Frame 9
stop();
Symbol 722 MovieClip Frame 10
stop();
Symbol 722 MovieClip Frame 11
stop();
Symbol 722 MovieClip Frame 12
stop();
Symbol 722 MovieClip Frame 13
stop();
Symbol 722 MovieClip Frame 14
stop();
Instance of Symbol 569 MovieClip in Symbol 722 MovieClip Frame 14
/* no clip actions */
Symbol 722 MovieClip Frame 15
stop();
Symbol 722 MovieClip Frame 16
stop();
Symbol 722 MovieClip Frame 17
stop();
Symbol 722 MovieClip Frame 18
stop();
Symbol 722 MovieClip Frame 19
stop();
Symbol 722 MovieClip Frame 20
stop();
Symbol 722 MovieClip Frame 21
stop();
Symbol 722 MovieClip Frame 22
stop();
Symbol 722 MovieClip Frame 23
stop();
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 2
stop();
Instance of Symbol 694 MovieClip "boxns" in Symbol 745 MovieClip Frame 2
onClipEvent (load) { if (_root[_parent._parent.unit].enemy) { gotoAndStop (2); } else { gotoAndStop (1); } }
Symbol 745 MovieClip Frame 3
stop();
Symbol 745 MovieClip Frame 4
stop();
Symbol 745 MovieClip Frame 5
stop();
Symbol 745 MovieClip Frame 6
stop();
Symbol 745 MovieClip Frame 7
stop();
Symbol 745 MovieClip Frame 8
stop();
Symbol 745 MovieClip Frame 9
stop();
Symbol 745 MovieClip Frame 10
stop();
Symbol 745 MovieClip Frame 11
stop();
Symbol 745 MovieClip Frame 12
stop();
Symbol 745 MovieClip Frame 13
stop();
Symbol 745 MovieClip Frame 14
stop();
Instance of Symbol 569 MovieClip in Symbol 745 MovieClip Frame 14
/* no clip actions */
Symbol 745 MovieClip Frame 15
stop();
Symbol 745 MovieClip Frame 16
stop();
Symbol 745 MovieClip Frame 17
stop();
Symbol 745 MovieClip Frame 18
stop();
Symbol 745 MovieClip Frame 19
stop();
Symbol 745 MovieClip Frame 20
stop();
Symbol 745 MovieClip Frame 21
stop();
Symbol 745 MovieClip Frame 22
stop();
Symbol 745 MovieClip Frame 23
stop();
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
stop();
Instance of Symbol 745 MovieClip "picture" in Symbol 746 MovieClip Frame 2
onClipEvent (load) { this.gotoAndStop(_parent.unittype); } onClipEvent (enterFrame) { unit = _parent.unit; hp = Math.round(_root[unit].life); if ((hp < 0) || (hp == undefined)) { _parent.prevFrame(); } firepower = _root[unit].damage; hp2 = _root[unit].fulllife; rate = _root[unit].firerate; speed = _root[unit].speed; shellspd = _root[unit].shellspd; range = _root[unit].range; unittype = _root[unit].unittype; _parent.unittype = unittype; if (unittype == "light") { unittype2 = "Light Tank"; } if (unittype == "lasertank") { unittype2 = "Laser Tank"; } if (unittype == "techcentre") { unittype2 = "Tech Centre"; } if (unittype == "heavy") { unittype2 = "Heavy Tank"; } if (unittype == "rocket") { unittype2 = "Rocket Launcher"; } if (unittype == "apc") { unittype2 = " APC"; } if (unittype == "humvee") { unittype2 = "Humvee"; } if (unittype == "artillery") { unittype2 = "Artillery"; } if (unittype == "war factory") { unittype2 = "War Factory"; } if (unittype == "dozer") { unittype2 = "Construction Dozer"; } if (unittype == "comcentre") { unittype2 = "Command Centre"; } if (unittype == "oiltruck") { unittype2 = "Oil Truck"; } if (unittype == "refinery") { unittype2 = "Oil Refinery"; } if (unittype == "construction") { unittype2 = "Construction Site"; } if (unittype == "turret1") { unittype2 = "Gattling Turret"; } if (unittype == "turret2") { unittype2 = "Patriot Missile"; } if (unittype == "turret3") { unittype2 = "Laser"; } if (unittype == "servicedepot") { unittype2 = "Service Depot"; } if (unittype == "mine") { unittype2 = "Mine"; } if (unittype == "weaponsilo") { unittype2 = "Weapon Silo"; } if (unittype == "derrick") { unittype2 = "Enemy Laser Tank Facility"; } if (unittype == "airport") { unittype2 = "Airport"; } if (unittype == "radar") { unittype2 = "Control Station"; } if (_root[unit].enemy) { unittype2 = "Enemy " + unittype2; } if (_root[unit].ally) { unittype2 = "Allied " + unittype2; } i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].selector._visible = false; _root[current].selected1 = false; i--; } aggressive = _root[unit].aggressive; avoid = _root[unit].avoid; _root.selectedarray = [unit]; _root[unit].selector._visible = true; _parent.stats = (((((((((((((((((((((((unittype2 + newline) + "firepower:") + firepower) + newline) + "HP:") + hp) + "/") + hp2) + newline) + "speed:") + speed) + newline) + "weapon speed:") + shellspd) + newline) + "reload time:") + rate) + newline) + "range:") + range) + "\n guardmode:") + aggressive) + "\n avoid fire:") + avoid; }
Instance of Symbol 84 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].accurate) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 86 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].nuke) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 88 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (load) { if (!_root[_parent.unit].emp) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 90 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].shell2) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 92 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].hitonly) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 94 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].auto) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 96 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].gatling) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 98 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].laser) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 100 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].crush) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 102 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (_root[_parent.unit].miss != 3) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 104 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].seeker) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 106 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if ((_root[_parent.unit].miss != 2) || (_root[_parent.unit].missile && (_root[_parent.unit].unittype == "heavy"))) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 108 MovieClip in Symbol 746 MovieClip Frame 2
onClipEvent (enterFrame) { if (!_root[_parent.unit].blast) { this._visible = false; } else { this._visible = true; } }
Symbol 751 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if (((_parent[current].speed != undefined) && (_parent[current].damage != undefined)) && (!_parent[current].enemy)) { _parent[current].targetobj = undefined; _parent[current].fireing = false; _parent[current].attack = false; flag = _parent[current].dummy.flag; _root[_parent[current].dummy.flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent[current].walking = false; } i--; } } on (rollOver) { build.texts = "Stops the selected units"; texts = "Stops the selected units"; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 755 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("o3"); soundobj.start(); i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if (((!_parent[current].enemy) && (_parent[current].speed != undefined)) && (_parent[current].damage != undefined)) { _parent[current].aggressive = false; } i--; } } on (keyPress "U") { soundobj = new Sound(); soundobj.attachSound("o3"); soundobj.start(); i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if (((!_parent[current].enemy) && (_parent[current].speed != undefined)) && (_parent[current].damage != undefined)) { _parent[current].aggressive = false; } i--; } } on (rollOver) { build.texts = "Forces all selected units into 'harmless' mode.\n 'harmless' units won't attack any unit unless ordered to."; texts = "Forces all selected units into 'harmless' mode.\n 'harmless' units won't attack any unit unless ordered to."; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 759 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); _root.formation = "sparse"; } on (rollOver) { build.texts = "The selected units will gather in a scattered formation at the location specified by the mouse"; texts = "The selected units will gather in a scattered formation at the location specified by the mouse"; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 771 Button
on (press) { doo(); } on (rollOver) { _root.sidebar.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _root.sidebar.texts = ""; }
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 2
stop();
Symbol 773 Button
on (press) { doo(); } on (rollOver) { _root.sidebar.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _root.sidebar.texts = ""; }
Symbol 774 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 2
stop();
Symbol 780 Button
on (press) { if (_root.sidebar._visible) { this.build._visible = true; i = 20; while (i > -1) { this["s" + i].gotoAndStop(1); i--; } } } on (keyPress "D") { if (_root.sidebar._visible) { this.build._visible = true; i = 20; while (i > -1) { this["s" + i].gotoAndStop(1); i--; } } }
Symbol 787 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("building"); soundobj.start(); if (_root.money >= cost) { if (_parent.buildlist.length == 0) { play(); } else { gotoAndStop ("reserved"); } _root.money = _root.money - cost; this.buildno++; _parent.buildlist.push(unittype); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 789 Button
on (press) { doo(); } on (rollOver) { _root.sidebar.texts = texts; } on (rollOut) { _root.sidebar.texts = ""; }
Symbol 790 Button
on (press) { if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); } if (_root.money >= cost) { _root.money = _root.money - cost; this.buildno++; _parent.buildlist.push(unittype); } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _root.sidebar.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _root.sidebar.texts = ""; }
Symbol 799 Button
on (press) { if (_root.moeny >= cost) { if (_parent.buildlist.length == 0) { play(); } _root.money = _root.money - cost; this.buildno++; this.s.queue++; _parent.buildlist.push(unittype); } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 800 MovieClip Frame 1
if (_root.warfactory < 1) { this.buildno = 0; stop(); }
Instance of Symbol 786 MovieClip in Symbol 800 MovieClip Frame 1
onClipEvent (mouseDown) { if ((_root.money > _parent.cost) && (_root.warfactory1._x != undefined)) { _parent.gotoAndStop(2); } }
Symbol 800 MovieClip Frame 2
stop();
Symbol 800 MovieClip Frame 3
stop();
Instance of Symbol 648 MovieClip in Symbol 800 MovieClip Frame 3
onClipEvent (load) { timer = 0; this.queue = _parent.buildno; } onClipEvent (enterFrame) { timer++; if (timer >= _parent.rates) { _parent.nextFrame(); timer = 0; } this.queue = _parent.buildno; }
Symbol 800 MovieClip Frame 11
type = _parent.buildlist.shift(); type2 = _parent.buildlist[0]; _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.warfactory1._x; _root[unittype + _root.n]._y = _root.warfactory1._y; _root[unittype + _root.n]._rotation = 0; _root.rallylist.push(unittype + _root.n); _root.n++; _root.built++; if (_parent.buildlist[0] == unittype) { gotoAndPlay ("building"); } else { gotoAndStop ("reserved"); _parent[type2].gotoAndPlay("building"); } buildno--; if (buildno == 0) { gotoAndStop (2); }
Symbol 800 MovieClip Frame 12
stop();
Instance of Symbol 648 MovieClip "s" in Symbol 800 MovieClip Frame 12
onClipEvent (load) { this.queue = _parent.buildno; }
Symbol 802 Button
on (press) { if (_root.sidebar._visible) { _visible = false; } } on (keyPress "A") { if (_root.sidebar._visible) { _visible = false; } }
Symbol 803 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("building"); soundobj.start(); if (_root.money >= cost) { play(); _root.money = _root.money - cost; this.buildno++; } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 804 Button
on (press) { if (_root.money >= cost) { _root.money = _root.money - cost; this.buildno++; soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _root.sidebar.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _root.sidebar.texts = ""; }
Symbol 805 MovieClip Frame 1
stop();
Instance of Symbol 786 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (mouseDown) { if ((_root.money > _parent.cost) && (_root.comcentre1.life != undefined)) { _parent.gotoAndStop(2); } }
Symbol 805 MovieClip Frame 2
stop();
Symbol 805 MovieClip Frame 3
stop();
Instance of Symbol 648 MovieClip in Symbol 805 MovieClip Frame 3
onClipEvent (load) { timer = 0; this.queue = _parent.buildno; } onClipEvent (enterFrame) { timer++; if (timer >= _parent.rates) { _parent.nextFrame(); timer = 0; } this.queue = _parent.buildno; }
Symbol 805 MovieClip Frame 11
_root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.comcentre1._x; _root[unittype + _root.n]._y = _root.comcentre1._y; _root[unittype + _root.n]._rotation = 0; _root.n++; buildno--; if (buildno == 0) { gotoAndStop (2); } else { gotoAndPlay (3); }
Symbol 806 Button
on (press) { if (_root.money >= cost) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); _root.attachMovie("construction", "construction" + _root.n, _root.n); _root["construction" + _root.n].drag = true; _root["construction" + _root.n].structure = structure; _root["construction" + _root.n].buildrate = buildrate; _root["construction" + _root.n].cost = cost; found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if (((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) && (!_root[elementsearched].build)) { found = elementsearched; break; } i--; } _root["construction" + _root.n].dozer = found; _root.n++; if (found != false) { _root.money = _root.money - cost; nextFrame(); } } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 808 MovieClip Frame 1
stop();
Instance of Symbol 786 MovieClip in Symbol 808 MovieClip Frame 1
/* no clip actions */
Symbol 808 MovieClip Frame 2
stop();
Symbol 808 MovieClip Frame 3
stop();
Instance of Symbol 786 MovieClip in Symbol 808 MovieClip Frame 3
onClipEvent (mouseDown) { if (_root[structure] < 0) { gotoAndStop (1); } }
Symbol 809 Button
on (press) { if (_root.money >= cost) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); _root.attachMovie("construction2", "construction2" + _root.n, _root.n); _root["construction2" + _root.n].drag = true; _root["construction2" + _root.n].structure = structure; _root["construction2" + _root.n].buildrate = buildrate; _root["construction2" + _root.n].cost = cost; found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if (((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) && (!_root[elementsearched].build)) { found = elementsearched; break; } i--; } _root["construction2" + _root.n].dozer = found; _root.n++; if (found != false) { _root.money = _root.money - cost; } } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 810 MovieClip Frame 1
stop();
Instance of Symbol 786 MovieClip in Symbol 810 MovieClip Frame 1
/* no clip actions */
Symbol 810 MovieClip Frame 2
stop();
Symbol 811 Button
on (press) { if (_root.money >= cost) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); if (_parent.buildlist.length == 0) { play(); } else { gotoAndStop ("reserved"); } _root.money = _root.money - cost; this.buildno++; _parent.buildlist.push(unittype); } else { soundobj = new Sound(); soundobj.attachSound("fund"); soundobj.start(); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 812 Button
on (rollOver) { _root.sidebar.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _root.sidebar.texts = ""; }
Symbol 813 Button
on (press) { if (_root.moeny >= cost) { if (_parent.buildlist.length == 0) { play(); } _root.money = _root.money - cost; this.buildno++; this.s.queue++; _parent.buildlist.push(unittype); } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 815 MovieClip Frame 1
if (_root.warfactory < 1) { stop(); }
Instance of Symbol 786 MovieClip in Symbol 815 MovieClip Frame 1
onClipEvent (mouseDown) { if (((_root.money > _parent.cost) && (_root.warfactory1._x != undefined)) && (_root.techcentre1._x != undefined)) { _parent.gotoAndStop(2); } }
Symbol 815 MovieClip Frame 2
stop();
Symbol 815 MovieClip Frame 3
stop();
Instance of Symbol 648 MovieClip in Symbol 815 MovieClip Frame 3
onClipEvent (load) { timer = 0; this.queue = _parent.buildno; } onClipEvent (enterFrame) { timer++; if (timer >= _parent.rates) { _parent.nextFrame(); timer = 0; } this.queue = _parent.buildno; }
Symbol 815 MovieClip Frame 11
type = _parent.buildlist.shift(); type2 = _parent.buildlist[0]; _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.warfactory1._x; _root[unittype + _root.n]._y = _root.warfactory1._y; _root[unittype + _root.n]._rotation = 0; _root.rallylist.push(unittype + _root.n); _root.n++; _root.built++; gotoAndStop ("already"); _parent[type2].gotoAndPlay("building"); buildno--; if (buildno == 0) { gotoAndStop (2); }
Symbol 815 MovieClip Frame 12
stop();
Instance of Symbol 648 MovieClip "s" in Symbol 815 MovieClip Frame 12
onClipEvent (load) { this.queue = _parent.buildno; }
Symbol 815 MovieClip Frame 13
stop();
Symbol 816 Button
on (press) { if (_root.money >= cost) { _root.attachMovie("construction", "construction" + _root.n, _root.n); _root["construction" + _root.n].drag = true; _root["construction" + _root.n].structure = structure; _root["construction" + _root.n].buildrate = buildrate; found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if (((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) && (!_root[elementsearched].build)) { found = elementsearched; break; } i--; } _root["construction" + _root.n].dozer = found; _root.n++; if (found != false) { _root.money = _root.money - cost; nextFrame(); } } } on (rollOver) { _parent.texts = ((texts + newline) + "cost:$") + calculatecost; } on (rollOut) { _parent.texts = ""; }
Symbol 817 MovieClip Frame 1
stop();
Instance of Symbol 786 MovieClip in Symbol 817 MovieClip Frame 1
/* no clip actions */
Symbol 817 MovieClip Frame 2
stop();
Symbol 817 MovieClip Frame 3
stop();
Instance of Symbol 786 MovieClip in Symbol 817 MovieClip Frame 3
onClipEvent (mouseDown) { if (_root[structure] < 0) { gotoAndStop (1); } }
Instance of Symbol 569 MovieClip in Symbol 820 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 800 MovieClip "light" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "light"; buildno = 0; rates = 5; cost = 1000; calculatecost = cost; texts = "Build Light Tank\n\nA medium sized armoured unit\nbasic firepower:20\nbasic HP:300"; } onClipEvent (mouseDown) { if (_root.warfactory1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 800 MovieClip "rocket" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "rocket"; buildno = 0; rates = 8; cost = 1500; calculatecost = cost; texts = "Build Rocket Launcher\n\nSlow but deadly unit in terms of firepower\nbasic firepower:50\nbasic HP:250"; } onClipEvent (mouseDown) { if (_root.warfactory1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 800 MovieClip "artillery" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "artillery"; buildno = 0; rates = 13; cost = 2000; calculatecost = cost; texts = "Build Artillery\nLong range unit used to lob shells great distances.Must be deployed to fire.\nbasic firepower:35\nbasic HP:300"; } onClipEvent (mouseDown) { if (_root.warfactory1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 800 MovieClip "heavy" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "heavy"; buildno = 0; rates = 15; cost = 2500; calculatecost = cost; texts = "Build Heavy Tank\n\nLarge,lumbering but heavily armoured unit\nbasic firepower:30\nbasic HP:600"; } onClipEvent (mouseDown) { if (_root.warfactory1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 805 MovieClip "dozer" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "dozer"; buildno = 0; rates = 8; cost = 1000; calculatecost = cost; texts = "Build Dozer\n\nUsed to construct or repair buildings"; } onClipEvent (mouseDown) { if (_root.comcentre1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 800 MovieClip "oiltruck" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "oiltruck"; buildno = 0; rates = 7; cost = 1500; calculatecost = cost; texts = "Build Oil Truck\n\nGathers oil from oil wells and converts it into cash "; }
Instance of Symbol 808 MovieClip "warfactory" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "warfactory"; cost = 2000; calculatecost = cost; buildrate = 1; texts = "Build War Factory\n\nBuilds your units."; } onClipEvent (mouseUp) { if (this._currentframe != 3) { if (_root[structure] > 0) { gotoAndStop (3); } found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.comcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } } }
Instance of Symbol 808 MovieClip "techcentre" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "techcentre"; cost = 1500; calculatecost = cost; buildrate = 0.7; texts = "Build Tech Centre\n\nEnables unit upgrading, and the laser tank prototype, and weapon silo to be built"; } onClipEvent (mouseUp) { if (this._currentframe != 3) { if (_root[structure] > 0) { gotoAndStop (3); } found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.warfactory1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } } }
Instance of Symbol 810 MovieClip "turrets" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "turrets"; cost = 1000; calculatecost = cost; buildrate = 1.5; texts = "Build Gattling Turret\n\nBase Defense.Fires bullets in quick sucession."; } onClipEvent (mouseUp) { found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.comcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } }
Instance of Symbol 810 MovieClip "patriotmissile" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "patriotmiss"; cost = 1500; calculatecost = cost; buildrate = 1.5; texts = "Build Patriot Missile Turret\n\nBase Defense.Fires 3 homing missiles at enemy."; } onClipEvent (mouseUp) { found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.comcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } }
Instance of Symbol 810 MovieClip "laser" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "laserbasedefense"; cost = 1500; calculatecost = cost; buildrate = 1.5; texts = "Build Laser Turret\n\nBase Defense.Fires one devastating laser bolt at enemy."; } onClipEvent (mouseUp) { found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.comcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } }
Instance of Symbol 808 MovieClip "servicedepot" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "servicedepot"; cost = 1500; calculatecost = cost; buildrate = 1; texts = "Build Service Depot\n\nRepairs damaged units that come on top of it."; } onClipEvent (mouseUp) { if (this._currentframe != 3) { if (_root[structure] > 0) { gotoAndStop (3); } found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.refinery1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } } }
Instance of Symbol 810 MovieClip "mine" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "mine"; cost = 1000; calculatecost = cost; buildrate = 5; texts = "Build Mine\n\nBase Defense.Detonates when enemy units come too close, disabling and damaging it"; } onClipEvent (mouseUp) { found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.comcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } }
Instance of Symbol 815 MovieClip "lasertank" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "lasertank"; buildno = 0; rates = 30; cost = 5000; calculatecost = cost; texts = "Build Laser Tank\n\nPrototype special unit.Limited to one unit at a time\nbasic firepower:80\nbasic HP:1000"; } onClipEvent (mouseDown) { if (_root.warfactory1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 817 MovieClip "weaponsilo" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "weaponsilo"; cost = 10000; calculatecost = cost; buildrate = 0.2; texts = "Build Weapon Silo\n\nUnleashes the Nuclear Missile superweapon "; } onClipEvent (mouseUp) { if (this._currentframe != 3) { if (_root[structure] > 0) { gotoAndStop (3); } found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.techcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } } }
Instance of Symbol 800 MovieClip "humvee" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { unittype = "humvee"; buildno = 0; rates = 2; cost = 500; calculatecost = cost; texts = "Build Humvee\n\nA fast agile unit with high rate of fire\nbasic firepower:7\nbasic HP:200"; } onClipEvent (mouseDown) { if (_root.warfactory1.life == undefined) { gotoAndStop (1); } }
Instance of Symbol 808 MovieClip "refinery" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "refinery"; cost = 3000; calculatecost = cost; buildrate = 1; texts = "Build Oil Refinery\n\nUsed by Oiltrucks to refine oil and convert into cash."; } onClipEvent (mouseUp) { if (this._currentframe != 3) { if (_root[structure] > 0) { gotoAndStop (3); } found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if (((_root.money > cost) && (found)) && (_root.comcentre1._x != undefined)) { gotoAndStop (2); } else { gotoAndStop (1); } } }
Instance of Symbol 808 MovieClip "comcentre" in Symbol 820 MovieClip Frame 1
onClipEvent (load) { structure = "comcentre"; cost = 5000; calculatecost = cost; buildrate = 0.5; texts = "Build Command Centre\n\nWhere you build dozers to construct or repair your base.Provides radar."; } onClipEvent (mouseUp) { if (this._currentframe != 3) { if (_root[structure] > 0) { gotoAndStop (3); } found = false; i = _root.selectedarray.length - 1; while (i > -1) { elementsearched = _root.selectedarray[i]; if ((_root[elementsearched].unittype == "dozer") && (!_root[elementsearched].enemy)) { found = true; break; } i--; } if ((_root.money > cost) && (found)) { gotoAndStop (2); } else { gotoAndStop (1); } } }
Symbol 824 Button
on (press) { i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if ((_parent[current].unittype == "artillery") && (!_parent[current].enemy)) { _parent[current].deploy(); if (deploying == undefined) { soundobj = new Sound(); soundobj.attachSound("deploying"); soundobj.start(); deploying = true; } } i--; } deploying = undefined; } on (keyPress "D") { i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if ((_parent[current].unittype == "artillery") && (!_parent[current].enemy)) { _parent[current].deploy(); if (deploying == undefined) { soundobj = new Sound(); soundobj.attachSound("deploying"); soundobj.start(); deploying = true; } } i--; } deploying = undefined; } on (rollOver) { build.texts = "Deploys the selected artillery into firing position"; texts = "Deploys the selected artillery into firing position"; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 828 Button
on (press) { i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if ((_parent[current].auto._x != undefined) && (!_parent[current].enemy)) { _parent[current].gotoAndPlay(10); _parent.money = _parent.money + _parent[current].life; _parent[current]._visible = false; soundobj = new Sound(); soundobj.attachSound("sold"); soundobj.start(); } i--; } } on (rollOver) { build.texts = "Sells the selected structures for their HP worth of cash"; texts = "Sells the selected structures for their HP worth of cash"; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 832 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("o2"); soundobj.start(); i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if (((!_parent[current].enemy) && (_parent[current].speed != undefined)) && (_parent[current].damage != undefined)) { _parent[current].aggressive = true; } i--; } } on (keyPress "G") { if (_root.soundon) { soundobj = new Sound(); soundobj.attachSound("o2"); soundobj.start(); } i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if (((!_parent[current].enemy) && (_parent[current].speed != undefined)) && (_parent[current].damage != undefined)) { _parent[current].aggressive = true; } i--; } } on (rollOver) { build.texts = "Sends all selected unit into guard mode.\n They will attack any enemy that comes near them."; texts = "Sends all selected unit into guard mode.\n They will attack any enemy that comes near them."; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 836 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("o3"); soundobj.start(); i = _parent.selectedarray.length - 1; while (i > -1) { current = _parent.selectedarray[i]; if (((!_parent[current].enemy) && (_parent[current].speed != undefined)) && (_parent[current].damage != undefined)) { _parent[current].avoid = avoid; } i--; } avoid = !avoid; } on (rollOver) { build.texts = "Sends the selected units into 'stand ground' mode.\n They won't move around while firing to avoid return fire.\n Press again to disable 'stand ground' mode."; texts = "Sends the selected units into 'stand ground' mode.\n They won't move around while firing to avoid return fire.\n Press again to disable 'stand ground' mode."; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 840 Button
on (press) { soundobj = new Sound(); soundobj.attachSound("click"); soundobj.start(); _root.formation = "line"; } on (rollOver) { build.texts = "The selected units will gather in a dense line formation at the location specified by the mouse"; texts = "The selected units will gather in a dense line formation at the location specified by the mouse"; } on (rollOut) { texts = ""; build.texts = ""; }
Symbol 846 MovieClip Frame 1
this._visible = false;
Symbol 847 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 852 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 856 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 859 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 864 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 867 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 868 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0; stop();
Symbol 868 MovieClip Frame 2
stop();
Instance of Symbol 852 MovieClip "back" in Symbol 868 MovieClip Frame 5
/* no clip actions */
Instance of Symbol 856 MovieClip "back" in Symbol 868 MovieClip Frame 7
/* no clip actions */
Instance of Symbol 346 MovieClip "back" in Symbol 868 MovieClip Frame 8
/* no clip actions */
Instance of Symbol 859 MovieClip "back" in Symbol 868 MovieClip Frame 9
onClipEvent (load) { }
Instance of Symbol 350 MovieClip "back" in Symbol 868 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 864 MovieClip "back" in Symbol 868 MovieClip Frame 11
/* no clip actions */
Instance of Symbol 867 MovieClip "back" in Symbol 868 MovieClip Frame 12
/* no clip actions */
Symbol 872 MovieClip Frame 1
stop();
Symbol 872 MovieClip Frame 2
stop();
Symbol 876 Button
on (release) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; _root[current].life = 0; i--; } if (_root.mission) { currentframe = _root._currentframe; _root.gotoAndStop(currentframe + 2); } }
Instance of Symbol 229 MovieClip in Symbol 877 MovieClip Frame 1
/* no clip actions */
Symbol 878 MovieClip [sidebar] Frame 1
function calccost() { _root.money = Math.round(_root.money); if (_root.selectedarray.length == 0) { this.shower.gotoAndStop(1); } if (_root.selectedarray.length == 1) { this.shower.gotoAndStop(2); this.shower.unit = _root.selectedarray[0]; this.shower.unittype = _root[_root.selectedarray[0]].unittype; } else { this.shower.gotoAndStop(1); } laser = 0; hitonly = 0; firepower = 0; armour = 0; fire = 0; range = 0; speed = 0; shell = 0; auto = 0; loads = 0; miss2 = 0; crush = 0; seeker = 0; blast = 0; gatling = 0; accurate = 0; enemy = true; nuke = 0; emp = 0; rocket = false; light = false; humvee = false; artillery = false; heavy = false; i = 20; while (i > -1) { this["s" + i].gotoAndStop(1); this.shower["d" + Number(i + 1)].gotoAndStop(1); i--; } if (_root.selectedarray.length > 0) { this.s1.gotoAndStop(2); this.s2.gotoAndStop(2); this.s7.gotoAndStop(2); this.s8.gotoAndStop(2); this.s13.gotoAndStop(2); this.s14.gotoAndStop(2); } i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; if (!this.build._visible) { if (_root.techcentre1._x != undefined) { if (!_root[current].enemy) { if (_root[current].upgrade < 5) { enemy = false; if (!isNaN(_root[current].damage)) { firepower = firepower + (_root[current].damage * 5); } if (!isNaN(_root[current].speed)) { speed = speed + (_root[current].speed * 100); } if (_root[current].shellspd != undefined) { shell = shell + (_root[current].shellspd * 20); } if (!isNaN(_root[current].damage)) { fire = fire + ((50 - _root[current].firerate) * 10); range = range + (_root[current].range * 9); } armour = armour + _root[current].fulllife; } } if (_root[current].unittype == "rocket") { if (!_root[current].enemy) { rocket = true; if (!_root[current].blast) { if (_root.money >= this.s16.cost) { this.s16.gotoAndStop(2); } blast = blast + this.s16.cost; } } } if (!_root[current].enemy) { if (_root[current].unittype == "rocket") { if (!_root[current].seeker) { if (_root.money >= this.s4.cost) { this.s4.gotoAndStop(2); } seeker = seeker + this.s4.cost; } } if (_root[current].unittype == "rocket") { if (_root[current].miss < 3) { if (_root.money >= this.s10.cost) { this.s10.gotoAndStop(2); } miss2 = miss2 + this.s10.cost; } } if (_root[current].unittype == "heavy") { heavy = true; if (!_root[current].missile) { this.s10.gotoAndStop(2); miss2 = miss2 + (this.s10.cost * 2); } } } if (_root[current].unittype == "humvee") { if (!_root[current].enemy) { if (!_root[current].gatling) { humvee = true; if (_root.money >= this.s5.cost) { this.s5.gotoAndStop(2); } gatling = gatling + this.s5.cost; } if (!_root[current].laser) { if (_root.money >= this.s11.cost) { this.s11.gotoAndStop(2); } laser = laser + this.s11.cost; } } } if (((_root[current].unittype == "rocket") || (_root[current].unittype == "light")) || (_root[current].unittype == "heavy")) { if (!_root[current].enemy) { if (!_root[current].hitonly) { hitonly = hitonly + this.s17.cost; if (_root.money >= this.s17.cost) { this.s17.gotoAndStop(2); } light = true; } } } if (_root[current].unittype == "artillery") { if (!_root[current].enemy) { artillery = true; if (!_root[current].accurate) { if (_root.money >= this.s6.cost) { this.s6.gotoAndStop(2); } accurate = accurate + this.s6.cost; } if (!_root[current].nuke) { if (_root.money >= this.s12.cost) { this.s12.gotoAndStop(2); } nuke = nuke + this.s12.cost; } if (!_root[current].emp) { if (_root.money >= this.s18.cost) { this.s18.gotoAndStop(2); } emp = emp + this.s18.cost; } } } if (_root[current].unittype == "light") { if (!_root[current].enemy) { if (!_root[current].shell2) { if (_root.money >= this.s3.cost) { this.s3.gotoAndStop(2); } loads = loads + this.s3.cost; } } } if (_root[current].unittype == "heavy") { if (!_root[current].enemy) { if (!_root[current].crush) { if (_root.money >= this.s9.cost) { this.s9.gotoAndStop(2); } crush = crush + this.s9.cost; } } } if (((_root[current].unittype == "light") || (_root[current].unittype == "heavy")) || (_root[current].unittype == "dozer")) { if (!_root[current].enemy) { if (!_root[current].auto) { if (_root.money >= this.s15.cost) { this.s15.gotoAndStop(2); } auto = auto + this.s15.cost; } } } } } if (_root[current].unittype == "rocket") { this.shower["d" + Number(i + 1)].gotoAndStop("rocket"); } if (_root[current].unittype == "humvee") { this.shower["d" + Number(i + 1)].gotoAndStop("humvee"); } if (_root[current].unittype == "artillery") { this.shower["d" + Number(i + 1)].gotoAndStop("artillery"); } if (_root[current].unittype == "light") { this.shower["d" + Number(i + 1)].gotoAndStop("light"); } if (_root[current].unittype == "heavy") { this.shower["d" + Number(i + 1)].gotoAndStop("heavy"); } if (_root[current].unittype == "war factory") { this.shower["d" + Number(i + 1)].gotoAndStop("war factory"); } if (_root[current].unittype == "dozer") { this.shower["d" + Number(i + 1)].gotoAndStop("dozer"); } if (_root[current].unittype == "comcentre") { this.shower["d" + Number(i + 1)].gotoAndStop("comcentre"); } if (_root[current].unittype == "lasertank") { this.shower["d" + Number(i + 1)].gotoAndStop("lasertank"); } if (_root[current].unittype == "oiltruck") { this.shower["d" + Number(i + 1)].gotoAndStop("oiltruck"); } if (_root[current].unittype == "refinery") { this.shower["d" + Number(i + 1)].gotoAndStop("refinery"); } if (_root[current].unittype == "construction") { this.shower["d" + Number(i + 1)].gotoAndStop("construction"); } if (_root[current].unittype == "turret1") { this.shower["d" + Number(i + 1)].gotoAndStop("turret1"); } if (_root[current].unittype == "mine") { this.shower["d" + Number(i + 1)].gotoAndStop("mine"); } if (_root[current].unittype == "turret2") { this.shower["d" + Number(i + 1)].gotoAndStop("turret2"); } if (_root[current].unittype == "servicedepot") { this.shower["d" + Number(i + 1)].gotoAndStop("servicedepot"); } if (_root[current].unittype == "turret3") { this.shower["d" + Number(i + 1)].gotoAndStop("turret3"); } if (_root[current].unittype == "weaponsilo") { this.shower["d" + Number(i + 1)].gotoAndStop("weaponsilo"); } if (_root[current].unittype == "techcentre") { this.shower["d" + Number(i + 1)].gotoAndStop("techcentre"); } if (_root[current].unittype == "derrick") { this.shower["d" + Number(i + 1)].gotoAndStop("derrick"); } if (_root[current].unittype == "apc") { this.shower["d" + Number(i + 1)].gotoAndStop("apc"); } if (_root[current].unittype == "radar") { this.shower["d" + Number(i + 1)].gotoAndStop("radar"); } this.shower["d" + Number(i + 1)].unit = current; i--; } if (this._currentframe == 1) { this.s6.calculatecost = accurate; this.s12.calculatecost = nuke; this.s18.calculatecost = emp; this.s9.calculatecost = crush; this.s3.calculatecost = loads; this.s15.calculatecost = auto; this.s16.calculatecost = blast; this.s11.calculatecost = laser; this.s10.calculatecost = miss2; this.s4.calculatecost = seeker; this.s5.calculatecost = gatling; this.s17.calculatecost = hitonly; this.s1.calculatecost = firepower; this.s2.calculatecost = fire; this.s7.calculatecost = armour; this.s8.calculatecost = range; this.s13.calculatecost = speed; this.s14.calculatecost = shell; i = 0; if (enemy) { this.s1.gotoAndStop(1); this.s2.gotoAndStop(1); this.s7.gotoAndStop(1); this.s8.gotoAndStop(1); this.s13.gotoAndStop(1); this.s14.gotoAndStop(1); } } } this.cacheAsBitmap = true; avoid = true; stop();
Instance of Symbol 746 MovieClip "shower" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { _parent.build.buildlist = []; }
Instance of Symbol 772 MovieClip "s1" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if (!_root[current].enemy) { if (((_root.money >= (_root[current].damage * 5)) && (!isNaN(_root[current].damage))) && (_root[current].upgrade < 5)) { _root.money = _root.money - (_root[current].damage * 5); _root[current].damage = _root[current].damage * 1.25; _root[current].upgrade++; } } i--; } } texts = "Firepower Uprgade\n\nIncrease the firepower of this unit by 25%"; } onClipEvent (enterFrame) { i = 18; while (i > 1) { if (_root.money < _parent["s" + i].cost) { _parent["s" + i].gotoAndStop(1); } i--; } }
Instance of Symbol 774 MovieClip "s2" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if (!_root[current].enemy) { if (((_root.money >= ((50 - _root[current].firerate) * 10)) && (!isNaN(_root[current].firerate))) && (_root[current].upgrade < 5)) { _root.money = _root.money - ((50 - _root[current].firerate) * 10); _root[current].firerate = _root[current].firerate * 0.8; _root[current].upgrade++; } } i--; } } texts = "Reload time upgrade\n\nDecrease the reload time of this unit by 25%"; }
Instance of Symbol 774 MovieClip "s3" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "light")) { if (!_root[current].shell2) { _root.money = _root.money - cost; _root[current].shell2 = true; if (_root.money < cost) { break; } } } i--; } } cost = 750; texts = "Autoloader\n\nLight Tanks can fire two shells at once"; }
Instance of Symbol 774 MovieClip "s4" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "rocket")) { if (!_root[current].seeker) { _root.money = _root.money - cost; _root[current].seeker = true; if (_root.money < cost) { break; } } } i--; } } cost = 2000; texts = "Homing Missiles\n\nThis Rocket Launcher can fire homing missiles"; }
Instance of Symbol 774 MovieClip "s5" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "humvee")) { if (!_root[current].gatling) { _root[current].gatling = true; _root.money = _root.money - cost; if (_root.money < cost) { break; } } } i--; } } cost = 1000; texts = "Gatling Gun\n\nIncreases the rate of fire of this Humvee drastically"; }
Instance of Symbol 774 MovieClip "s6" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "artillery")) { if (!_root[current].accurate) { _root.money = _root.money - cost; _root[current].accurate = true; if (_root.money < cost) { break; } } } i--; } } cost = 3000; texts = "Accurate Targeting\n\nThis Artillery now hit all targets spot on."; }
Instance of Symbol 774 MovieClip "s7" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if (!_root[current].enemy) { if ((_root.money >= _root[current].fulllife) && (_root[current].upgrade < 5)) { _root.money = _root.money - _root[current].fulllife; _root[current].life = _root[current].life * 1.25; _root[current].fulllife = _root[current].fulllife * 1.25; _root[current].upgrade++; } } i--; } } texts = "Armour Uprgade\n\nIncrease the HP of this unit by 25%"; }
Instance of Symbol 774 MovieClip "s8" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if (!_root[current].enemy) { if (((_root.money >= (_root[current].range * 9)) && (!isNaN(_root[current].range))) && (_root[current].upgrade < 5)) { _root.money = _root.money - (_root[current].range * 9); _root[current].range = _root[current].range * 1.15; _root[current].upgrade++; } } i--; } } texts = "Range Uprgade\n\nIncrease the range of this unit by 15%"; }
Instance of Symbol 774 MovieClip "s14" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if (!_root[current].enemy) { if (((_root.money >= (_root[current].shellspd * 20)) && (!isNaN(_root[current].shellspd))) && (_root[current].upgrade < 5)) { if (_root[current].shellspd != undefined) { _root.money = _root.money - (_root[current].shellspd * 20); _root[current].shellspd = _root[current].shellspd * 1.2; _root[current].upgrade++; } } } i--; } } texts = "Shell Speed Upgrade\n\nIncrease the speed of all projectiles fired by this unit by 20%"; }
Instance of Symbol 774 MovieClip "s9" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "heavy")) { if (!_root[current].crush) { _root[current].crush = true; _root.money = _root.money - cost; if (_root.money < cost) { break; } } } i--; } } cost = 2000; texts = "Tank Crushers\n\nThis Heavy Tank can crush smaller vehicles by running on top of them"; }
Instance of Symbol 774 MovieClip "s15" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (((_root[current].unittype == "light") || (_root[current].unittype == "heavy")) || (_root[current].unittype == "dozer"))) { if (!_root[current].auto) { _root[current].auto = true; _root.money = _root.money - cost; if (_root.money < cost) { break; } } } i--; } } cost = 2000; texts = "Auto Repair\n\nThis Light Tank , Heavy Tank or Construction Dozer can auto heal itself "; }
Instance of Symbol 774 MovieClip "s10" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "rocket")) { if (_root[current].miss < 3) { _root.money = _root.money - cost; _root[current].miss++; } } if ((!_root[current].enemy) && (_root[current].unittype == "heavy")) { if (!_root[current].missile) { _root[current].missile = true; _root.money = _root.money - (cost * 2); if (_root.money < cost) { break; } } } i--; } } cost = 1000; texts = "Multiple Missiles\nThis Rocket Launcher fires 1 more missile (max 3) Heavy Tank also fires missiles"; }
Instance of Symbol 774 MovieClip "s16" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "rocket")) { if (!_root[current].blast) { _root[current].blast = true; _root.money = _root.money - cost; if (_root.money < cost) { break; } } } i--; } } cost = 2500; texts = "Blast Effects\n\nMissiles damage the area around it when it hits."; }
Instance of Symbol 774 MovieClip "s17" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (((_root[current].unittype == "rocket") || (_root[current].unittype == "light")) || (_root[current].unittype == "heavy"))) { if (!_root[current].hitonly) { _root.money = _root.money - cost; _root[current].hitonly = true; if (_root.money < cost) { break; } } } i--; } } cost = 1500; texts = "Friendly Targeting\n\nShells or missiles can no longer damage friendly units"; }
Instance of Symbol 774 MovieClip "s11" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "humvee")) { if (!_root[current].laser) { _root.money = _root.money - cost; _root[current].laser = true; if (_root.money < cost) { break; } } } i--; } } cost = 1500; texts = "Laser Interceptors\nThis Humvee shoots a laser to intercept enemy missiles or shells and make them explode before the reach their targets"; }
Instance of Symbol 774 MovieClip "s18" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "artillery")) { if (!_root[current].emp) { _root.money = _root.money - cost; _root[current].emp = true; if (_root.money < cost) { break; } } } i--; } } cost = 2500; texts = "EM pulse\n\nRounds from this artillery disable enemy units when hit."; }
Instance of Symbol 774 MovieClip "s12" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if ((!_root[current].enemy) && (_root[current].unittype == "artillery")) { if (!_root[current].nuke) { _root.money = _root.money - cost; _root[current].nuke = true; if (_root.money < cost) { break; } } } i--; } } cost = 2500; texts = "Rad Cannon\nThis Artillery fires rounds that leave behind a green cloud of radiation which damages all units in that area for 10 seconds "; }
Instance of Symbol 774 MovieClip "s13" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { function doo() { i = _root.selectedarray.length - 1; while (i > -1) { current = _root.selectedarray[i]; _root[current].selector.play(); if (!_root[current].enemy) { if (((_root.money >= (_root[current].speed * 100)) && (!isNaN(_root[current].speed))) && (_root[current].upgrade < 5)) { _root.money = _root.money - (_root[current].speed * 100); _root[current].speed = _root[current].speed * 1.2; _root[current].upgrade++; } } i--; } } texts = "Speed Upgrade\n\nIncrease the speed of this unit by 20%"; }
Instance of Symbol 820 MovieClip "build" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { this._visible = true; } onClipEvent (mouseDown) { if (_root.money < this.light.cost) { if (this.light._currentframe == 2) { this.light.gotoAndStop(1); } } if (_root.money < this.heavy.cost) { if (this.heavy._currentframe == 2) { this.heavy.gotoAndStop(1); } } if (_root.money < this.rocket.cost) { if (this.rocket._currentframe == 2) { this.rocket.gotoAndStop(1); } } if (_root.money < this.humvee.cost) { if (this.humvee._currentframe == 2) { this.humvee.gotoAndStop(1); } } if (_root.money < this.dozer.cost) { if (this.dozer._currentframe == 2) { this.dozer.gotoAndStop(1); } } if (_root.money < this.artillery.cost) { if (this.artillery._currentframe == 2) { this.artillery.gotoAndStop(1); } } if (_root.money < this.oiltruck.cost) { if (this.oiltruck._currentframe == 2) { this.oiltruck.gotoAndStop(1); } } }
Instance of Symbol 868 MovieClip "mapp" in Symbol 878 MovieClip [sidebar] Frame 1
/* no clip actions */
Instance of Symbol 877 MovieClip "escape" in Symbol 878 MovieClip [sidebar] Frame 1
onClipEvent (load) { this._visible = false; } onClipEvent (keyDown) { if (Key.isDown(13)) { this._visible = !this._visible; if (this._visible) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].dummy.empulse = -1; i--; } _root.pig.stop(); _root.pig2.stop(); this._x = 650; _root.ai.lastimer = _root.ai.timer; _root.ai.timer = undefined; } if (!this._visible) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; _root[current].dummy.empulse = 0; i--; } _root.pig.play(); _root.pig2.play(); _root.ai.timer = _root.ai.lastimer; _root.ai.lastimer = undefined; this._x = 100; } _root.sidebar._visible = true; } }
Symbol 881 MovieClip [patriot] Frame 1
timer = 0; _root.shellarray.push(this._name); stop();
Instance of Symbol 217 MovieClip in Symbol 881 MovieClip [patriot] Frame 1
onClipEvent (enterFrame) { if (_parent.seeker) { if (_root[_parent.targetobj].life <= 0) { _parent.play(); } _parent.timer++; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; _parent._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (_parent._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.shellspd); _parent._y = _parent._y + (Math.sin(rads) * _parent.shellspd); } }
Symbol 881 MovieClip [patriot] Frame 2
if (this.hitTest(_root[targetobj])) { _root[targetobj].life = _root[targetobj].life - damage; _root[targetobj + "symbols"].play(); if ((((!_root[targetobj].walking) && (!_root[targetobj].fireing)) && (_root[targetobj].enemy == _root[targetobj].enemy)) && (_root[targetobj].aggressive)) { _root[targetobj].targetobj = firerer; _root[targetobj].attack = true; _root["flag" + targetobj].removeMovieClip(); _root.flagsarray.findandsplice("flag" + targetobj); _root.objarray.findandsplice("flag" + targetobj); _root.attachMovie("flag2", "flag" + targetobj, _root.n); _root["flag" + targetobj]._visible = false; _root["flag" + targetobj]._x = origx; _root["flag" + targetobj]._y = origy; _root.flagsarray.push("flag" + targetobj); _root.objarray.push("flag" + targetobj); _root[targetobj].walking = true; _root.n++; hit = true; } } if (((((this._x < 1000) && (this._y < 768)) && (this._x > 0)) && (this._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("exp"); soundobj.start(); }
Symbol 881 MovieClip [patriot] Frame 3
_root.shellarray.findandsplice(this._name); this.removeMovieClip(); stop();
Symbol 885 MovieClip [shell2] Frame 1
_root.objarray.push(this._name); ti = 0; stop();
Instance of Symbol 556 MovieClip in Symbol 885 MovieClip [shell2] Frame 1
onClipEvent (enterFrame) { _parent.ti++; _parent._x = _parent._x + _parent.movex; _parent._y = _parent._y + _parent.movey; if (_parent.hitTest(_root[_parent.targetobj])) { _parent.play(); } if (_parent.ti > 40) { _parent.play(); } }
Symbol 885 MovieClip [shell2] Frame 4
_root[targetobj].life = _root[targetobj].life - damage; _root[targetobj + "symbols"].play();
Symbol 885 MovieClip [shell2] Frame 5
this.removeMovieClip(); stop();
Symbol 886 MovieClip [emp] Frame 1
i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { _root[current].dummy.empulse = 100; _root[current + "symbols"].play(); break; } i--; }
Symbol 886 MovieClip [emp] Frame 3
this._alpha = this._alpha - 30;
Symbol 886 MovieClip [emp] Frame 5
this._alpha = this._alpha - 30;
Symbol 886 MovieClip [emp] Frame 7
_root.objarray.findandsplice(this._name); this.removeMovieClip();
Symbol 890 MovieClip [bomb2] Frame 1
Symbol 890 MovieClip [bomb2] Frame 2
if (((((this._x < 1000) && (this._y < 768)) && (this._x > 0)) && (this._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("exp"); soundobj.start(); }
Symbol 890 MovieClip [bomb2] Frame 4
i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - (damage / 2); _root[current + "symbols"].play(); } i--; }
Symbol 890 MovieClip [bomb2] Frame 6
hitp = 0; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(this)) { hitp++; if (hitp < 5) { _root[current].life = _root[current].life - (damage / 2); _root[current + "symbols"].play(); } if (((!_root[current].walking) && ((!_root[current].fireing) || (_root[current].unittype == "artillery"))) && (_root[current].aggressive)) { _root[current].attack = true; _root[current].targetobj = firerer; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } } i--; } if (emp) { _root.attachMovie("emp", "emp" + _root.n, _root.n); _root["emp" + _root.n]._x = this._x; _root["emp" + _root.n]._y = this._y; _root["emp" + _root.n].timer = 0; _root.objarray.push("emp" + _root.n); _root.n++; } if (nuke) { _root.attachMovie("rad", "rad" + _root.n, _root.n); _root["rad" + _root.n]._x = this._x; _root["rad" + _root.n]._y = this._y; _root["rad" + _root.n].timer = 0; _root.objarray.push("rad" + _root.n); _root.n++; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].hitTest(_root["rad" + _root.n])) { _root[current + "symbols"].play(); if (((!_root[current].walking) && ((!_root[current].fireing) || (_root[current].unittype == "artillery"))) && (_root[current].aggressive)) { _root[current].attack = true; _root[current].targetobj = firerer; _root["rad" + _root.n].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } } i--; } }
Symbol 890 MovieClip [bomb2] Frame 21
stop(); this.removeMovieClip(); stop();
Symbol 892 MovieClip [bomb] Frame 1
Symbol 892 MovieClip [bomb] Frame 2
if (((((this._x < 1000) && (this._y < 768)) && (this._x > 0)) && (this._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("exp"); soundobj.start(); }
Symbol 892 MovieClip [bomb] Frame 4
i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if (_root[current].hitTest(this)) { _root[current].life = _root[current].life - (damage / 2); _root[current + "symbols"].play(); } i--; }
Symbol 892 MovieClip [bomb] Frame 6
hitp = 0; i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if (_root[current].hitTest(this)) { hitp++; if (hitp < 5) { _root[current].life = _root[current].life - (damage / 2); _root[current + "symbols"].play(); } if (((!_root[current].walking) && ((!_root[current].fireing) || (_root[current].unittype == "artillery"))) && (_root[current].aggressive)) { _root[current].attack = true; _root[current].targetobj = firerer; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } } i--; } if (emp) { _root.attachMovie("emp", "emp" + _root.n, _root.n); _root["emp" + _root.n]._x = this._x; _root["emp" + _root.n]._y = this._y; _root["emp" + _root.n].timer = 0; _root.objarray.push("emp" + _root.n); _root.n++; } if (nuke) { _root.attachMovie("rad", "rad" + _root.n, _root.n); _root["rad" + _root.n]._x = this._x; _root["rad" + _root.n]._y = this._y; _root["rad" + _root.n].timer = 0; _root.objarray.push("rad" + _root.n); _root.n++; i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if (_root[current].hitTest(_root["rad" + _root.n])) { _root[current + "symbols"].play(); if (((!_root[current].walking) && ((!_root[current].fireing) || (_root[current].unittype == "artillery"))) && (_root[current].aggressive)) { _root[current].attack = true; _root[current].targetobj = firerer; _root["rad" + _root.n].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } } i--; } }
Symbol 892 MovieClip [bomb] Frame 21
stop(); this.removeMovieClip(); stop();
Symbol 893 MovieClip [bullet] Frame 1
_root.objarray.push(this._name); t = 0; stop();
Instance of Symbol 556 MovieClip in Symbol 893 MovieClip [bullet] Frame 1
onClipEvent (enterFrame) { _parent.t++; _parent._x = _parent._x + _parent.movex; _parent._y = _parent._y + _parent.movey; if (_parent.hitTest(_root[_parent.targetobj])) { _parent.play(); } if (_parent.t > 11) { _parent.play(); } }
Symbol 893 MovieClip [bullet] Frame 4
_root[targetobj].life = _root[targetobj].life - damage; _root[targetobj + "symbols"].play();
Symbol 893 MovieClip [bullet] Frame 5
this.removeMovieClip(); stop();
Symbol 897 MovieClip [missile] Frame 1
timer = 0; _root.shellarray.push(this._name); stop();
Instance of Symbol 217 MovieClip in Symbol 897 MovieClip [missile] Frame 1
onClipEvent (enterFrame) { if ((!_parent.seeker) || (_parent.seeker == undefined)) { _parent.timer++; _parent._x = _parent._x + _parent.movex; _parent._y = _parent._y + _parent.movey; } if (_parent.seeker) { if (_root[_parent.targetobj].life <= 0) { _parent.play(); } _parent.timer++; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; _parent._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (_parent._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.shellspd); _parent._y = _parent._y + (Math.sin(rads) * _parent.shellspd); } }
Symbol 897 MovieClip [missile] Frame 2
if (this.hitTest(_root[hits])) { _root[hits].life = _root[hits].life - (damage / 2); _root[hits + "symbols"].play(); if ((((!_root[hits].walking) && (!_root[hits].fireing)) && (_root[hits].enemy == _root[targetobj].enemy)) && (_root[hits].aggressive)) { _root[hits].targetobj = firerer; _root[hits].attack = true; _root["flag" + hits].removeMovieClip(); _root.flagsarray.findandsplice("flag" + hits); _root.objarray.findandsplice("flag" + hits); _root.attachMovie("flag2", "flag" + hits, _root.n); _root["flag" + hits]._visible = false; _root["flag" + hits]._x = origx; _root["flag" + hits]._y = origy; _root.flagsarray.push("flag" + hits); _root.objarray.push("flag" + hits); _root[hits].walking = true; _root.n++; hit = true; } }
Symbol 897 MovieClip [missile] Frame 3
if (this.hitTest(_root[hits])) { _root[hits].life = _root[hits].life - (damage / 2); _root[hits + "symbols"].play(); if ((((!_root[hits].walking) && (!_root[hits].fireing)) && (_root[hits].enemy == _root[targetobj].enemy)) && (_root[hits].aggressive)) { _root[hits].targetobj = firerer; _root[hits].attack = true; _root["flag" + hits].removeMovieClip(); _root.flagsarray.findandsplice("flag" + hits); _root.objarray.findandsplice("flag" + hits); _root.attachMovie("flag2", "flag" + hits, _root.n); _root["flag" + hits]._visible = false; _root["flag" + hits]._x = origx; _root["flag" + hits]._y = origy; _root.flagsarray.push("flag" + hits); _root.objarray.push("flag" + hits); _root[hits].walking = true; _root.n++; hit = true; } } if (blast) { hitp = 0; i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (hitonly) { if (_root[current].hitTest(this) && (_root[current].enemy == _root[targetobj].enemy)) { hitp++; if (hitp < 5) { _root[current].life = _root[current].life - (damage / 2); } _root[current + "symbols"].play(); if ((((!_root[current].walking) && (!_root[current].fireing)) && (_root[current].enemy == _root[targetobj].enemy)) && (_root[current].aggressive)) { _root[current].targetobj = firerer; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } } } if (!hitonly) { if (_root[current].hitTest(this)) { hitp++; if (hitp < 5) { _root[current].life = _root[current].life - (damage / 2); } _root[current + "symbols"].play(); if ((((!_root[current].walking) && (!_root[current].fireing)) && (_root[current].enemy == _root[targetobj].enemy)) && (_root[current].aggressive)) { _root[current].targetobj = firerer; _root[current].attack = true; _root["flag" + current].removeMovieClip(); _root.flagsarray.findandsplice("flag" + current); _root.objarray.findandsplice("flag" + current); _root.attachMovie("flag2", "flag" + current, _root.n); _root["flag" + current]._visible = false; _root["flag" + current]._x = origx; _root["flag" + current]._y = origy; _root.flagsarray.push("flag" + current); _root.objarray.push("flag" + current); _root[current].walking = true; _root.n++; hit = true; } } } i--; } } if (((((this._x < 1000) && (this._y < 768)) && (this._x > 0)) && (this._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("exp3"); soundobj.start(); }
Symbol 897 MovieClip [missile] Frame 4
_root.shellarray.findandsplice(this._name); this.removeMovieClip(); stop();
Symbol 899 MovieClip [flag2] Frame 1
stop();
Instance of Symbol 600 MovieClip in Symbol 899 MovieClip [flag2] Frame 1
/* no clip actions */
Symbol 903 MovieClip Frame 5
if (_parent.timer > 8) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_parent.hitonly) { if (_root[current].hitTest(_parent) && (_root[current].enemy == _root[_parent.targetobj].enemy)) { _parent.targetobj = current; _parent.play(); break; } } if (!_parent.hitonly) { if (_root[current].hitTest(_parent)) { _parent.targetobj = current; _parent.play(); break; } } i--; } } if ((_parent.timer > 8) && (_parent.hitonly)) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (_root[current].hitTest(_parent) && (_root[current].enemy == _root[_parent.targetobj].enemy)) { _parent.hits = current; _parent.play(); break; } i--; } } if (_parent.hitTest(_root[_parent.targetobj])) { _parent.play(); } if (_parent.timer > 40) { _parent.removeMovieClip(); }
Symbol 905 MovieClip [shell] Frame 1
timer = 0; _root.shellarray.push(this._name); stop();
Instance of Symbol 903 MovieClip in Symbol 905 MovieClip [shell] Frame 1
onClipEvent (enterFrame) { _parent.timer++; _parent._x = _parent._x + _parent.movex; _parent._y = _parent._y + _parent.movey; }
Symbol 905 MovieClip [shell] Frame 2
if (this.hitTest(_root[targetobj])) { _root[targetobj].life = _root[targetobj].life - damage; _root[targetobj + "symbols"].play(); } if (((((this._x < 1000) && (this._y < 768)) && (this._x > 0)) && (this._y > 0)) && (_root.soundon)) { soundobj = new Sound(); soundobj.attachSound("exp2"); soundobj.start(); }
Symbol 905 MovieClip [shell] Frame 3
_root.shellarray.findandsplice(this._name); this.removeMovieClip(); stop();
Symbol 908 MovieClip [flag] Frame 1
this._visible = false; dd = _root.flagsarray.concat(_root.unitsarray); stop();
Instance of Symbol 600 MovieClip in Symbol 908 MovieClip [flag] Frame 1
onClipEvent (enterFrame) { hit = false; i = _parent.dd.length - 1; while (i > -1) { current = _parent.dd[i]; if (_root[current].hitTest(_parent) && (current != _parent._name)) { _parent._x = _parent._x - ((Math.random() - 0.5) * _parent._width); _parent._y = _parent._y - ((Math.random() - 0.5) * _parent._height); hit = true; } i--; } if (!hit) { _parent.nextFrame(); } }
Symbol 908 MovieClip [flag] Frame 2
if (this.vsisible == undefined) { this._visible = true; }
Symbol 911 MovieClip [flag copy] Frame 1
_root.objarray.push(this._name); this._visible = false; stop();
Instance of Symbol 600 MovieClip in Symbol 911 MovieClip [flag copy] Frame 1
/* no clip actions */
Symbol 919 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 921 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 924 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 926 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 929 MovieClip [Defaults] Frame 1
#initclip 25 Object.registerClass("Defaults", mx.skins.halo.Defaults); #endinitclip
Symbol 930 MovieClip [UIObjectExtensions] Frame 1
#initclip 26 Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions); #endinitclip
Symbol 931 MovieClip [UIObject] Frame 1
#initclip 27 Object.registerClass("UIObject", mx.core.UIObject); #endinitclip stop();
Symbol 934 Button
on (keyPress "<Tab>") { this.tabHandler(); }
Symbol 935 MovieClip Frame 1
#initclip 28 Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } #endinitclip
Symbol 936 MovieClip [FocusRect] Frame 1
#initclip 29 Object.registerClass("FocusRect", mx.skins.halo.FocusRect); #endinitclip
Symbol 937 MovieClip [FocusManager] Frame 1
#initclip 30 Object.registerClass("FocusManager", mx.managers.FocusManager); #endinitclip stop();
Symbol 938 MovieClip [UIComponentExtensions] Frame 1
#initclip 31 Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions); #endinitclip
Symbol 939 MovieClip [UIComponent] Frame 1
#initclip 32 Object.registerClass("UIComponent", mx.core.UIComponent); #endinitclip stop();
Symbol 940 MovieClip [SimpleButton] Frame 1
#initclip 33 Object.registerClass("SimpleButton", mx.controls.SimpleButton); #endinitclip stop();
Symbol 941 MovieClip [Border] Frame 1
#initclip 34 Object.registerClass("Border", mx.skins.Border); #endinitclip stop();
Symbol 942 MovieClip [RectBorder] Frame 1
#initclip 35 mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass("RectBorder", mx.skins.halo.RectBorder); #endinitclip stop();
Symbol 943 MovieClip [ButtonSkin] Frame 1
#initclip 36 Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin); #endinitclip
Symbol 944 MovieClip [Button] Frame 1
#initclip 37 Object.registerClass("Button", mx.controls.Button); #endinitclip stop();
Instance of Symbol 940 MovieClip [SimpleButton] in Symbol 944 MovieClip [Button] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 1003 Button
on (release) { getURL ("http://www.newgrounds.com", "_blank"); }
Symbol 1012 Button
on (release) { _parent.play(); }
Symbol 1014 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 1014 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1032 MovieClip Frame 1
stop();
Symbol 1032 MovieClip Frame 2
function onEnterFrame() { if (!loaded) { var _local3 = _root.getBytesLoaded() / _root.getBytesTotal(); if (_local3 >= 1) { play(); bar._x = initX; loaded = true; } else { bar._x = initX + ((_local3 - 1) * bar._width); } } var _local4 = getTimer() - time; timeAccum = timeAccum + _local4; while (timeAccum >= FRAME_TIME) { var _local2 = 0; while (_local2 < timeClips.length) { if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) { timeClips[_local2].nextFrame(); } else { timeClips[_local2].gotoAndStop(1); } _local2++; } if (loaded && (_currentframe < _totalframes)) { nextFrame(); } timeAccum = timeAccum - FRAME_TIME; } time = time + _local4; } stop(); _root.stop(); var initX = bar._x; var time = getTimer(); var FRAME_TIME = 33.3333333333333; var timeAccum = 0; var loaded = false; timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0]; var i = 0; while (i < timeClips.length) { timeClips[i].stop(); i++; }
Symbol 1032 MovieClip Frame 52
Symbol 1032 MovieClip Frame 161
stopAllSounds();
Symbol 1032 MovieClip Frame 173
Symbol 1032 MovieClip Frame 302
_root.play();
Symbol 912 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; function UIObject () { super(); constructObject(); } function get width() { return(_width); } function get height() { return(_height); } function get left() { return(_x); } function get x() { return(_x); } function get top() { return(_y); } function get y() { return(_y); } function get right() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + height)); } function getMinHeight(Void) { return(_minHeight); } function setMinHeight(h) { _minHeight = h; } function get minHeight() { return(getMinHeight()); } function set minHeight(h) { setMinHeight(h); //return(minHeight); } function getMinWidth(Void) { return(_minWidth); } function setMinWidth(w) { _minWidth = w; } function get minWidth() { return(getMinWidth()); } function set minWidth(w) { setMinWidth(w); //return(minWidth); } function setVisible(x, noEvent) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "reveal" : "hide")}); } } } function get visible() { return(_visible); } function set visible(x) { setVisible(x, false); //return(visible); } function get scaleX() { return(_xscale); } function set scaleX(x) { _xscale = x; //return(scaleX); } function get scaleY() { return(_yscale); } function set scaleY(y) { _yscale = y; //return(scaleY); } function doLater(obj, fn) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local2 = __width; var _local3 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local2, oldHeight:_local3}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = createObject(className.symbolOwner.symbolName, id, depth, initobj); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.2.126"; static var textColorList = {color:1, disabledColor:1}; var invalidateFlag = false; var lineWidth = 1; var lineColor = 0; var tabEnabled = false; var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1}; }
Symbol 913 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; function UIComponent () { super(); } function get width() { return(__width); } function get height() { return(__height); } function setVisible(x, noEvent) { super.setVisible(x, noEvent); } function enabledChanged(id, oldValue, newValue) { setEnabled(newValue); invalidate(); delete stylecache.tf; return(newValue); } function setEnabled(enabled) { invalidate(); } function getFocus() { var selFocus = Selection.getFocus(); return(((selFocus === null) ? null : (eval (selFocus)))); } function setFocus() { Selection.setFocus(this); } function getFocusManager() { var _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { setEnabled(false); } } function dispatchValueChangedEvent(value) { dispatchEvent({type:"valueChanged", value:value}); } static var symbolName = "UIComponent"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.126"; static var kStretch = 5000; var focusEnabled = true; var tabEnabled = true; var origBorderStyles = {themeColor:16711680}; var clipParameters = {}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 914 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent { static var emphasizedStyleDeclaration; var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle; function SimpleButton () { super(); } function init(Void) { super.init(); if (preset == undefined) { boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } useHandCursor = false; } function createChildren(Void) { if (preset != undefined) { var _local2 = this[idNames[preset]]; this[refNames[preset]] = _local2; skinName = _local2; if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } initializing = false; } else if (__state == true) { setStateVar(true); } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } } } function setIcon(tag, linkageName) { return(setSkin(tag + 8, linkageName)); } function changeIcon(tag, linkageName) { linkLength = linkageName.length; var _local2 = stateNames[tag] + "Icon"; this[_local2] = linkageName; this[idNames[tag + 8]] = _local2; setStateVar(getState()); } function changeSkin(tag, linkageName) { var _local2 = stateNames[tag] + "Skin"; this[_local2] = linkageName; this[idNames[tag]] = _local2; setStateVar(getState()); } function viewIcon(varName) { var _local4 = varName + "Icon"; var _local3 = this[_local4]; if (typeof(_local3) == "string") { var _local5 = _local3; if (__emphasized) { if (this[_local3 + "Emphasized"].length > 0) { _local3 = _local3 + "Emphasized"; } } if (this[_local3].length == 0) { return(undefined); } _local3 = setIcon(tagMap[_local5], this[_local3]); if ((_local3 == undefined) && (_global.isLivePreview)) { _local3 = setIcon(0, "ButtonIcon"); } this[_local4] = _local3; } iconName._visible = false; iconName = _local3; iconName._visible = true; } function removeIcons() { var _local3 = 0; while (_local3 < 2) { var _local2 = 8; while (_local2 < 16) { destroyObject(idNames[_local2]); this[stateNames[_local2 - 8] + "Icon"] = ""; _local2++; } _local3++; } refresh(); } function setSkin(tag, linkageName, initobj) { var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this}))); calcSize(tag, _local3); return(_local3); } function calcSize(Void) { __width = _width; __height = _height; } function viewSkin(varName, initObj) { var _local3 = varName + "Skin"; var _local2 = this[_local3]; if (typeof(_local2) == "string") { var _local4 = _local2; if (__emphasized) { if (this[_local2 + "Emphasized"].length > 0) { _local2 = _local2 + "Emphasized"; } } if (this[_local2].length == 0) { return(undefined); } _local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this}))); this[_local3] = _local2; } skinName._visible = false; skinName = _local2; skinName._visible = true; } function showEmphasized(e) { if (e && (!__emphatic)) { if (emphasizedStyleDeclaration != undefined) { __emphaticStyleName = styleName; styleName = emphasizedStyleDeclaration; } __emphatic = true; } else { if (__emphatic) { styleName = __emphaticStyleName; } __emphatic = false; } } function refresh(Void) { var _local2 = getState(); if (enabled == false) { viewIcon("disabled"); viewSkin("disabled"); } else { viewSkin(phase); viewIcon(phase); } setView(phase == "down"); iconName.enabled = enabled; } function setView(offset) { if (iconName == undefined) { return(undefined); } var _local2 = (offset ? (btnOffset) : 0); iconName._x = ((__width - iconName._width) / 2) + _local2; iconName._y = ((__height - iconName._height) / 2) + _local2; } function setStateVar(state) { if (state) { if (trueOverSkin.length == 0) { rolloverSkin = tus; } else { rolloverSkin = trs; } if (trueOverIcon.length == 0) { rolloverIcon = tui; } else { rolloverIcon = tri; } upSkin = tus; downSkin = tds; disabledSkin = dts; upIcon = tui; downIcon = tdi; disabledIcon = dti; } else { if (falseOverSkin.length == 0) { rolloverSkin = fus; } else { rolloverSkin = frs; } if (falseOverIcon.length == 0) { rolloverIcon = fui; } else { rolloverIcon = fri; } upSkin = fus; downSkin = fds; disabledSkin = dfs; upIcon = fui; downIcon = fdi; disabledIcon = dfi; } __state = state; } function setState(state) { if (state != __state) { setStateVar(state); invalidate(); } } function size(Void) { refresh(); } function draw(Void) { if (initializing) { initializing = false; skinName.visible = true; iconName.visible = true; } size(); } function getState(Void) { return(__state); } function setToggle(val) { __toggle = val; if (__toggle == false) { setState(false); } } function getToggle(Void) { return(__toggle); } function set toggle(val) { setToggle(val); //return(toggle); } function get toggle() { return(getToggle()); } function set value(val) { setSelected(val); //return(value); } function get value() { return(getSelected()); } function set selected(val) { setSelected(val); //return(selected); } function get selected() { return(getSelected()); } function setSelected(val) { if (__toggle) { setState(val); } else { setState((initializing ? (val) : (__state))); } } function getSelected() { return(__state); } function setEnabled(val) { if (enabled != val) { super.setEnabled(val); invalidate(); } } function onPress(Void) { pressFocus(); phase = "down"; refresh(); dispatchEvent({type:"buttonDown"}); if (autoRepeat) { interval = setInterval(this, "onPressDelay", getStyle("repeatDelay")); } } function onPressDelay(Void) { dispatchEvent({type:"buttonDown"}); if (autoRepeat) { clearInterval(interval); interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval")); } } function onPressRepeat(Void) { dispatchEvent({type:"buttonDown"}); updateAfterEvent(); } function onRelease(Void) { releaseFocus(); phase = "rollover"; if (interval != undefined) { clearInterval(interval); delete interval; } if (getToggle()) { setState(!getState()); } else { refresh(); } dispatchEvent({type:"click"}); } function onDragOut(Void) { phase = "up"; refresh(); dispatchEvent({type:"buttonDragOut"}); } function onDragOver(Void) { if (phase != "up") { onPress(); return(undefined); } phase = "down"; refresh(); } function onReleaseOutside(Void) { releaseFocus(); phase = "up"; if (interval != undefined) { clearInterval(interval); delete interval; } } function onRollOver(Void) { phase = "rollover"; refresh(); } function onRollOut(Void) { phase = "up"; refresh(); } function getLabel(Void) { return(fui.text); } function setLabel(val) { if (typeof(fui) == "string") { createLabel("fui", 8, val); fui.styleName = this; } else { fui.text = val; } var _local4 = fui._getTextFormat(); var _local2 = _local4.getTextExtent2(val); fui._width = _local2.width + 5; fui._height = _local2.height + 5; iconName = fui; setView(__state); } function get emphasized() { return(__emphasized); } function set emphasized(val) { __emphasized = val; var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]] = stateNames[_local2] + "Skin"; if (typeof(this[idNames[_local2 + 8]]) == "movieclip") { this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon"; } _local2++; } showEmphasized(__emphasized); setStateVar(__state); invalidateStyle(); //return(emphasized); } function keyDown(e) { if (e.code == 32) { onPress(); } } function keyUp(e) { if (e.code == 32) { onRelease(); } } function onKillFocus(newFocus) { super.onKillFocus(); if (phase != "up") { phase = "up"; refresh(); } } static var symbolName = "SimpleButton"; static var symbolOwner = mx.controls.SimpleButton; static var version = "2.0.2.126"; var className = "SimpleButton"; var style3dInset = 4; var btnOffset = 1; var __toggle = false; var __state = false; var __emphasized = false; var __emphatic = false; static var falseUp = 0; static var falseDown = 1; static var falseOver = 2; static var falseDisabled = 3; static var trueUp = 4; static var trueDown = 5; static var trueOver = 6; static var trueDisabled = 7; var falseUpSkin = "SimpleButtonUp"; var falseDownSkin = "SimpleButtonIn"; var falseOverSkin = ""; var falseDisabledSkin = "SimpleButtonUp"; var trueUpSkin = "SimpleButtonIn"; var trueDownSkin = ""; var trueOverSkin = ""; var trueDisabledSkin = "SimpleButtonIn"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var phase = "up"; var fui = "falseUpIcon"; var fus = "falseUpSkin"; var fdi = "falseDownIcon"; var fds = "falseDownSkin"; var frs = "falseOverSkin"; var fri = "falseOverIcon"; var dfi = "falseDisabledIcon"; var dfs = "falseDisabledSkin"; var tui = "trueUpIcon"; var tus = "trueUpSkin"; var tdi = "trueDownIcon"; var tds = "trueDownSkin"; var trs = "trueOverSkin"; var tri = "trueOverIcon"; var dts = "trueDisabledSkin"; var dti = "trueDisabledIcon"; var rolloverSkin = mx.controls.SimpleButton.prototype.frs; var rolloverIcon = mx.controls.SimpleButton.prototype.fri; var upSkin = mx.controls.SimpleButton.prototype.fus; var downSkin = mx.controls.SimpleButton.prototype.fds; var disabledSkin = mx.controls.SimpleButton.prototype.dfs; var upIcon = mx.controls.SimpleButton.prototype.fui; var downIcon = mx.controls.SimpleButton.prototype.fdi; var disabledIcon = mx.controls.SimpleButton.prototype.dfi; var initializing = true; var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"]; var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"]; var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"]; var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7}; }
Symbol 915 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton { var initializing, labelPath, initIcon, getState, enabled, phase, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, removeIcons, hitArea_mc, createEmptyObject; function Button () { super(); } function init(Void) { super.init(); } function draw() { if (initializing) { labelPath.visible = true; } super.draw(); if (initIcon != undefined) { _setIcon(initIcon); } delete initIcon; } function onRelease(Void) { super.onRelease(); } function createChildren(Void) { super.createChildren(); } function setSkin(tag, linkageName, initobj) { return(super.setSkin(tag, linkageName, initobj)); } function viewSkin(varName) { var _local3 = (getState() ? "true" : "false"); _local3 = _local3 + (enabled ? (phase) : "disabled"); super.viewSkin(varName, {styleName:this, borderStyle:_local3}); } function invalidateStyle(c) { labelPath.invalidateStyle(c); super.invalidateStyle(c); } function setColor(c) { var _local2 = 0; while (_local2 < 8) { this[idNames[_local2]].redraw(true); _local2++; } } function setEnabled(enable) { labelPath.enabled = enable; super.setEnabled(enable); } function calcSize(tag, ref) { if ((__width == undefined) || (__height == undefined)) { return(undefined); } if (tag < 7) { ref.setSize(__width, __height, true); } } function size(Void) { setState(getState()); setHitArea(__width, __height); var _local3 = 0; while (_local3 < 8) { var _local4 = idNames[_local3]; if (typeof(this[_local4]) == "movieclip") { this[_local4].setSize(__width, __height, true); } _local3++; } super.size(); } function set labelPlacement(val) { __labelPlacement = val; invalidate(); //return(labelPlacement); } function get labelPlacement() { return(__labelPlacement); } function getLabelPlacement(Void) { return(__labelPlacement); } function setLabelPlacement(val) { __labelPlacement = val; invalidate(); } function getBtnOffset(Void) { if (getState()) { var _local2 = btnOffset; } else if (phase == "down") { var _local2 = btnOffset; } else { var _local2 = 0; } return(_local2); } function setView(offset) { var _local16 = (offset ? (btnOffset) : 0); var _local12 = getLabelPlacement(); var _local7 = 0; var _local6 = 0; var _local9 = 0; var _local8 = 0; var _local5 = 0; var _local4 = 0; var _local3 = labelPath; var _local2 = iconName; var _local15 = _local3.textWidth; var _local14 = _local3.textHeight; var _local10 = (__width - borderW) - borderW; var _local11 = (__height - borderW) - borderW; if (_local2 != undefined) { _local7 = _local2._width; _local6 = _local2._height; } if ((_local12 == "left") || (_local12 == "right")) { if (_local3 != undefined) { _local9 = Math.min(_local10 - _local7, _local15 + 5); _local3._width = _local9; _local8 = Math.min(_local11, _local14 + 5); _local3._height = _local8; } if (_local12 == "right") { _local5 = _local7; if (centerContent) { _local5 = _local5 + (((_local10 - _local9) - _local7) / 2); } _local2._x = _local5 - _local7; } else { _local5 = (_local10 - _local9) - _local7; if (centerContent) { _local5 = _local5 / 2; } _local2._x = _local5 + _local9; } _local4 = 0; _local2._y = _local4; if (centerContent) { _local2._y = (_local11 - _local6) / 2; _local4 = (_local11 - _local8) / 2; } if (!centerContent) { _local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2); } } else { if (_local3 != undefined) { _local9 = Math.min(_local10, _local15 + 5); _local3._width = _local9; _local8 = Math.min(_local11 - _local6, _local14 + 5); _local3._height = _local8; } _local5 = (_local10 - _local9) / 2; _local2._x = (_local10 - _local7) / 2; if (_local12 == "top") { _local4 = (_local11 - _local8) - _local6; if (centerContent) { _local4 = _local4 / 2; } _local2._y = _local4 + _local8; } else { _local4 = _local6; if (centerContent) { _local4 = _local4 + (((_local11 - _local8) - _local6) / 2); } _local2._y = _local4 - _local6; } } var _local13 = borderW + _local16; _local3._x = _local5 + _local13; _local3._y = _local4 + _local13; _local2._x = _local2._x + _local13; _local2._y = _local2._y + _local13; } function set label(lbl) { setLabel(lbl); //return(label); } function setLabel(label) { if (label == "") { labelPath.removeTextField(); refresh(); return(undefined); } if (labelPath == undefined) { var _local2 = createLabel("labelPath", 200, label); _local2._width = _local2.textWidth + 5; _local2._height = _local2.textHeight + 5; if (initializing) { _local2.visible = false; } } else { delete labelPath.__text; labelPath.text = label; refresh(); } } function getLabel(Void) { return(((labelPath.__text != undefined) ? (labelPath.__text) : (labelPath.text))); } function get label() { return(getLabel()); } function _getIcon(Void) { return(_iconLinkageName); } function get icon() { if (initializing) { return(initIcon); } return(_iconLinkageName); } function _setIcon(linkage) { if (initializing) { if (linkage == "") { return(undefined); } initIcon = linkage; } else { if (linkage == "") { removeIcons(); return(undefined); } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); _iconLinkageName = linkage; refresh(); } } function set icon(linkage) { _setIcon(linkage); //return(icon); } function setHitArea(w, h) { if (hitArea_mc == undefined) { createEmptyObject("hitArea_mc", 100); } var _local2 = hitArea_mc; _local2.clear(); _local2.beginFill(16711680); _local2.drawRect(0, 0, w, h); _local2.endFill(); _local2.setVisible(false); } static var symbolName = "Button"; static var symbolOwner = mx.controls.Button; var className = "Button"; static var version = "2.0.2.126"; var btnOffset = 0; var _color = "buttonColor"; var __label = "default value"; var __labelPlacement = "right"; var falseUpSkin = "ButtonSkin"; var falseDownSkin = "ButtonSkin"; var falseOverSkin = "ButtonSkin"; var falseDisabledSkin = "ButtonSkin"; var trueUpSkin = "ButtonSkin"; var trueDownSkin = "ButtonSkin"; var trueOverSkin = "ButtonSkin"; var trueDisabledSkin = "ButtonSkin"; var falseUpIcon = ""; var falseDownIcon = ""; var falseOverIcon = ""; var falseDisabledIcon = ""; var trueUpIcon = ""; var trueDownIcon = ""; var trueOverIcon = ""; var trueDisabledIcon = ""; var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters); var centerContent = true; var borderW = 1; }
Symbol 945 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip { var _visible, _x, _y, _width, _height; function SkinElement () { super(); } static function registerElement(name, className) { Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className))); _global.skinRegistry[name] = true; } function __set__visible(visible) { _visible = visible; } function move(x, y) { _x = x; _y = y; } function setSize(w, h) { _width = w; _height = h; } }
Symbol 946 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(o, bColor) { o.addProperty("textAlign", function () { return(this._tf.align); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty("fontWeight", function () { return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == "bold"; }); if (bColor) { o.addProperty("color", function () { return(this._tf.color); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty("fontFamily", function () { return(this._tf.font); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty("textIndent", function () { return(this._tf.indent); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty("fontStyle", function () { return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == "italic"; }); o.addProperty("marginLeft", function () { return(this._tf.leftMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty("marginRight", function () { return(this._tf.rightMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty("fontSize", function () { return(this._tf.size); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty("textDecoration", function () { return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == "underline"; }); o.addProperty("embedFonts", function () { return(this._tf.embedFonts); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); } }
Symbol 947 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager { function StyleManager () { } static function registerInheritingStyle(styleName) { inheritingStyles[styleName] = true; } static function isInheritingStyle(styleName) { return(inheritingStyles[styleName] == true); } static function registerColorStyle(styleName) { colorStyles[styleName] = true; } static function isColorStyle(styleName) { return(colorStyles[styleName] == true); } static function registerColorName(colorName, colorValue) { colorNames[colorName] = colorValue; } static function isColorName(colorName) { return(colorNames[colorName] != undefined); } static function getColorName(colorName) { return(colorNames[colorName]); } static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true}; static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true}; static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344}; static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false}; static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true}; }
Symbol 948 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } static function classConstruct() { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return(true); } static var classConstructed = classConstruct(); static var CSSTextStylesDependency = mx.styles.CSSTextStyles; }
Symbol 949 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 950 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher { var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener; function UIEventDispatcher () { super(); } static function addKeyEvents(obj) { if (obj.keyHandler == undefined) { var _local1 = (obj.keyHandler = new Object()); _local1.owner = obj; _local1.onKeyDown = _fEventDispatcher.onKeyDown; _local1.onKeyUp = _fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); } static function removeKeyEvents(obj) { Key.removeListener(obj.keyHandler); } static function addLoadEvents(obj) { if (obj.onLoad == undefined) { obj.onLoad = _fEventDispatcher.onLoad; obj.onUnload = _fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, "onLoad"); } } } static function removeLoadEvents(obj) { delete obj.onLoad; delete obj.onUnload; } static function initialize(obj) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = _fEventDispatcher.__addEventListener; obj.__origAddEventListener = _fEventDispatcher.addEventListener; obj.removeEventListener = _fEventDispatcher.removeEventListener; obj.dispatchEvent = _fEventDispatcher.dispatchEvent; obj.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(mx.events.EventDispatcher, eventObj); dispatchQueue(this, eventObj); } function onKeyDown(Void) { owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onKeyUp(Void) { owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)}); } function onLoad(Void) { if (__sentLoadEvent != true) { dispatchEvent({type:"load"}); } __sentLoadEvent = true; } function onUnload(Void) { dispatchEvent({type:"unload"}); } function __addEventListener(event, handler) { __origAddEventListener(event, handler); var _local3 = lowLevelEvents; for (var _local5 in _local3) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local2 = _local3[_local5][0]; mx.events.UIEventDispatcher[_local2](this); } } } function removeEventListener(event, handler) { var _local6 = "__q_" + event; mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler); if (this[_local6].length == 0) { var _local2 = lowLevelEvents; for (var _local5 in _local2) { if (mx.events.UIEventDispatcher[_local5][event] != undefined) { var _local3 = _local2[_local5][1]; mx.events.UIEventDispatcher[_local2[_local5][1]](this); } } } } static var keyEvents = {keyDown:1, keyUp:1}; static var loadEvents = {load:1, unload:1}; static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]}; static var _fEventDispatcher = undefined; }
Symbol 951 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement { var getStyle, _color, onEnterFrame; function ColoredSkinElement () { } function setColor(c) { if (c != undefined) { var _local2 = new Color(this); _local2.setRGB(c); } } function draw(Void) { setColor(getStyle(_color)); onEnterFrame = undefined; } function invalidateStyle(Void) { onEnterFrame = draw; } static function setColorStyle(p, colorStyle) { if (p._color == undefined) { p._color = colorStyle; } p.setColor = mixins.setColor; p.invalidateStyle = mixins.invalidateStyle; p.draw = mixins.draw; p.setColor(p.getStyle(colorStyle)); } static var mixins = new mx.skins.ColoredSkinElement(); }
Symbol 952 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions { function UIObjectExtensions () { } static function addGeometry(tf, ui) { tf.addProperty("width", ui.__get__width, null); tf.addProperty("height", ui.__get__height, null); tf.addProperty("left", ui.__get__left, null); tf.addProperty("x", ui.__get__x, null); tf.addProperty("top", ui.__get__top, null); tf.addProperty("y", ui.__get__y, null); tf.addProperty("right", ui.__get__right, null); tf.addProperty("bottom", ui.__get__bottom, null); tf.addProperty("visible", ui.__get__visible, ui.__set__visible); } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; var _local6 = mx.core.UIObject.prototype; var _local9 = mx.skins.SkinElement.prototype; addGeometry(_local9, _local6); mx.events.UIEventDispatcher.initialize(_local6); var _local13 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(_local6); var _local5 = MovieClip.prototype; _local5.getTopLevel = _local6.getTopLevel; _local5.createLabel = _local6.createLabel; _local5.createObject = _local6.createObject; _local5.createClassObject = _local6.createClassObject; _local5.createEmptyObject = _local6.createEmptyObject; _local5.destroyObject = _local6.destroyObject; _global.ASSetPropFlags(_local5, "getTopLevel", 1); _global.ASSetPropFlags(_local5, "createLabel", 1); _global.ASSetPropFlags(_local5, "createObject", 1); _global.ASSetPropFlags(_local5, "createClassObject", 1); _global.ASSetPropFlags(_local5, "createEmptyObject", 1); _global.ASSetPropFlags(_local5, "destroyObject", 1); _local5.__getTextFormat = _local6.__getTextFormat; _local5._getTextFormat = _local6._getTextFormat; _local5.getStyleName = _local6.getStyleName; _local5.getStyle = _local6.getStyle; _global.ASSetPropFlags(_local5, "__getTextFormat", 1); _global.ASSetPropFlags(_local5, "_getTextFormat", 1); _global.ASSetPropFlags(_local5, "getStyleName", 1); _global.ASSetPropFlags(_local5, "getStyle", 1); var _local7 = TextField.prototype; addGeometry(_local7, _local6); _local7.addProperty("enabled", function () { return(this.__enabled); }, function (x) { this.__enabled = x; this.invalidateStyle(); }); _local7.move = _local9.move; _local7.setSize = _local9.setSize; _local7.invalidateStyle = function () { this.invalidateFlag = true; }; _local7.draw = function () { if (this.invalidateFlag) { this.invalidateFlag = false; var _local2 = this._getTextFormat(); this.setTextFormat(_local2); this.setNewTextFormat(_local2); this.embedFonts = _local2.embedFonts == true; if (this.__text != undefined) { if (this.text == "") { this.text = this.__text; } delete this.__text; } this._visible = true; } }; _local7.setColor = function (color) { this.textColor = color; }; _local7.getStyle = _local5.getStyle; _local7.__getTextFormat = _local6.__getTextFormat; _local7.setValue = function (v) { this.text = v; }; _local7.getValue = function () { return(this.text); }; _local7.addProperty("value", function () { return(this.getValue()); }, function (v) { this.setValue(v); }); _local7._getTextFormat = function () { var _local2 = this.stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); this.__getTextFormat(_local2); this.stylecache.tf = _local2; if (this.__enabled == false) { if (this.enabledColor == undefined) { var _local4 = this.getTextFormat(); this.enabledColor = _local4.color; } var _local3 = this.getStyle("disabledColor"); _local2.color = _local3; } else if (this.enabledColor != undefined) { if (_local2.color == undefined) { _local2.color = this.enabledColor; } } return(_local2); }; _local7.getPreferredWidth = function () { this.draw(); return(this.textWidth + 4); }; _local7.getPreferredHeight = function () { this.draw(); return(this.textHeight + 4); }; TextFormat.prototype.getTextExtent2 = function (s) { var _local3 = _root._getTextExtent; if (_local3 == undefined) { _root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100); _local3 = _root._getTextExtent; _local3._visible = false; } _root._getTextExtent.text = s; var _local4 = this.align; this.align = "left"; _root._getTextExtent.setTextFormat(this); this.align = _local4; return({width:_local3.textWidth, height:_local3.textHeight}); }; if (_global.style == undefined) { _global.style = new mx.styles.CSSStyleDeclaration(); _global.cascadingStyles = true; _global.styles = new Object(); _global.skinRegistry = new Object(); if (_global._origWidth == undefined) { _global.origWidth = Stage.width; _global.origHeight = Stage.height; } } var _local4 = _root; while (_local4._parent != undefined) { _local4 = _local4._parent; } _local4.addProperty("width", function () { return(Stage.width); }, null); _local4.addProperty("height", function () { return(Stage.height); }, null); _global.ASSetPropFlags(_local4, "width", 1); _global.ASSetPropFlags(_local4, "height", 1); return(true); } static var bExtended = false; static var UIObjectExtended = Extensions(); static var UIObjectDependency = mx.core.UIObject; static var SkinElementDependency = mx.skins.SkinElement; static var CSSTextStylesDependency = mx.styles.CSSTextStyles; static var UIEventDispatcherDependency = mx.events.UIEventDispatcher; }
Symbol 953 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults { var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill; function Defaults () { } static function setThemeDefaults() { var _local2 = _global.style; _local2.themeColor = 8453965 /* 0x80FF4D */; _local2.disabledColor = 8684164 /* 0x848284 */; _local2.modalTransparency = 0; _local2.filled = true; _local2.stroked = true; _local2.strokeWidth = 1; _local2.strokeColor = 0; _local2.fillColor = 16777215 /* 0xFFFFFF */; _local2.repeatInterval = 35; _local2.repeatDelay = 500; _local2.fontFamily = "_sans"; _local2.fontSize = 12; _local2.selectionColor = 13500353 /* 0xCDFFC1 */; _local2.rollOverColor = 14942166 /* 0xE3FFD6 */; _local2.useRollOver = true; _local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */; _local2.selectionDuration = 200; _local2.openDuration = 250; _local2.borderStyle = "inset"; _local2.color = 734012 /* 0x0B333C */; _local2.textSelectedColor = 24371; _local2.textRollOverColor = 2831164 /* 0x2B333C */; _local2.textDisabledColor = 16777215 /* 0xFFFFFF */; _local2.vGridLines = true; _local2.hGridLines = false; _local2.vGridLineColor = 6710886 /* 0x666666 */; _local2.hGridLineColor = 6710886 /* 0x666666 */; _local2.headerColor = 15395562 /* 0xEAEAEA */; _local2.indentation = 17; _local2.folderOpenIcon = "TreeFolderOpen"; _local2.folderClosedIcon = "TreeFolderClosed"; _local2.defaultLeafIcon = "TreeNodeIcon"; _local2.disclosureOpenIcon = "TreeDisclosureOpen"; _local2.disclosureClosedIcon = "TreeDisclosureClosed"; _local2.popupDuration = 150; _local2.todayColor = 6710886 /* 0x666666 */; _local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration()); _local2.backgroundColor = 16777215 /* 0xFFFFFF */; _local2.borderColor = 13290186 /* 0xCACACA */; _local2.borderStyle = "inset"; _local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration()); _local2.borderStyle = "inset"; _local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration()); _local2.textAlign = "center"; _local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration()); _local2.borderColor = 14015965 /* 0xD5DDDD */; _local2.buttonColor = 7305079 /* 0x6F7777 */; _local2.shadowColor = 15658734 /* 0xEEEEEE */; _local2.highlightColor = 12897484 /* 0xC4CCCC */; _local2.shadowCapColor = 14015965 /* 0xD5DDDD */; _local2.borderCapColor = 9542041 /* 0x919999 */; var _local4 = new Object(); _local4.borderColor = 16711680 /* 0xFF0000 */; _local4.buttonColor = 16711680 /* 0xFF0000 */; _local4.shadowColor = 16711680 /* 0xFF0000 */; _local4.highlightColor = 16711680 /* 0xFF0000 */; _local4.shadowCapColor = 16711680 /* 0xFF0000 */; _local4.borderCapColor = 16711680 /* 0xFF0000 */; mx.core.UIComponent.prototype.origBorderStyles = _local4; var _local3; _local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration()); _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderStyle = "inset"; _global.styles.TextArea = _global.styles.TextInput; _local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "default"; _local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "alert"; _local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "inset"; _local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "none"; _local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration()); _local3.color = 11187123 /* 0xAAB3B3 */; _local3.fontWeight = "bold"; _local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = "11"; _local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration()); _local3.borderStyle = "solid"; _local3.backgroundColor = 16777215 /* 0xFFFFFF */; _local3.borderColor = 9081738 /* 0x8A938A */; _local3.headerHeight = 22; _local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1))); _local3.verticalGap = -1; _local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration()); _local3.borderColor = 9542041 /* 0x919999 */; _local3.headerColor = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 10; _local3.textAlign = "right"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration()); _local3.fontWeight = "bold"; _local3.fontSize = 11; _local3.textAlign = "center"; _local3.color = 2831164 /* 0x2B333C */; _local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration()); _local3.color = 16777215 /* 0xFFFFFF */; _local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration()); _local3.fontSize = 12; _local3.fontWeight = "bold"; _local3.textAlign = "center"; } function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) { if (typeof(r) == "object") { var _local18 = r.br; var _local16 = r.bl; var _local15 = r.tl; var _local10 = r.tr; } else { var _local10 = r; var _local15 = _local10; var _local16 = _local15; var _local18 = _local16; } if (typeof(c) == "object") { if (typeof(alpha) != "object") { var _local9 = [alpha, alpha]; } else { var _local9 = alpha; } if (ratios == undefined) { ratios = [0, 255]; } var _local14 = h * 0.7; if (typeof(rot) != "object") { var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */}; } else { var _local11 = rot; } if (gradient == "radial") { beginGradientFill("radial", c, _local9, ratios, _local11); } else { beginGradientFill("linear", c, _local9, ratios, _local11); } } else if (c != undefined) { beginFill(c, alpha); } r = _local18; var _local13 = r - (r * 0.707106781186547); var _local12 = r - (r * 0.414213562373095); moveTo(x + w, (y + h) - r); lineTo(x + w, (y + h) - r); curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13); curveTo((x + w) - _local12, y + h, (x + w) - r, y + h); r = _local16; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x + r, y + h); curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13); curveTo(x, (y + h) - _local12, x, (y + h) - r); r = _local15; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo(x, y + r); curveTo(x, y + _local12, x + _local13, y + _local13); curveTo(x + _local12, y, x + r, y); r = _local10; _local13 = r - (r * 0.707106781186547); _local12 = r - (r * 0.414213562373095); lineTo((x + w) - r, y); curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13); curveTo(x + w, y + _local12, x + w, y + r); lineTo(x + w, (y + h) - r); if (c != undefined) { endFill(); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); setThemeDefaults(); mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; static var UIObjectDependency = mx.core.UIObject; }
Symbol 954 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager { var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth; function DepthManager () { MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth; MovieClip.prototype.createChildAtDepth = createChildAtDepth; MovieClip.prototype.setDepthTo = setDepthTo; MovieClip.prototype.setDepthAbove = setDepthAbove; MovieClip.prototype.setDepthBelow = setDepthBelow; MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth; MovieClip.prototype.shuffleDepths = shuffleDepths; MovieClip.prototype.getDepthByFlag = getDepthByFlag; MovieClip.prototype.buildDepthTable = buildDepthTable; _global.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1); _global.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1); _global.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1); _global.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1); _global.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1); _global.ASSetPropFlags(MovieClip.prototype, "buildDepthTable", 1); } static function sortFunction(a, b) { if (a.getDepth() > b.getDepth()) { return(1); } return(-1); } static function test(depth) { if (depth == reservedDepth) { return(false); } return(true); } static function createClassObjectAtDepth(className, depthSpace, initObj) { var _local1; switch (depthSpace) { case kCursor : _local1 = holder.createClassChildAtDepth(className, kTopmost, initObj); break; case kTooltip : _local1 = holder.createClassChildAtDepth(className, kTop, initObj); break; } return(_local1); } static function createObjectAtDepth(linkageName, depthSpace, initObj) { var _local1; switch (depthSpace) { case kCursor : _local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj); break; case kTooltip : _local1 = holder.createChildAtDepth(linkageName, kTop, initObj); break; } return(_local1); } function createClassChildAtDepth(className, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local6 = "down"; if (depthFlag == kBottom) { _local6 = "up"; } var _local5; if (_local3[_local2] != undefined) { _local5 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local6); } var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj); if (_local5 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local5, _local3, _local6); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function createChildAtDepth(linkageName, depthFlag, initObj) { if (_childCounter == undefined) { _childCounter = 0; } var _local3 = buildDepthTable(); var _local2 = getDepthByFlag(depthFlag, _local3); var _local6 = "down"; if (depthFlag == kBottom) { _local6 = "up"; } var _local5; if (_local3[_local2] != undefined) { _local5 = _local2; _local2 = findNextAvailableDepth(_local2, _local3, _local6); } var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj); if (_local5 != undefined) { _local3[_local2] = _local4; shuffleDepths(_local4, _local5, _local3, _local6); } if (depthFlag == kTopmost) { _local4._topmost = true; } return(_local4); } function setDepthTo(depthFlag) { var _local2 = _parent.buildDepthTable(); var _local3 = _parent.getDepthByFlag(depthFlag, _local2); if (_local2[_local3] != undefined) { shuffleDepths(this, _local3, _local2, undefined); } else { swapDepths(_local3); } if (depthFlag == kTopmost) { _topmost = true; } else { delete _topmost; } } function setDepthAbove(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local2 = targetInstance.getDepth() + 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local2] != undefined) && (getDepth() < _local2)) { _local2 = _local2 - 1; } if (_local2 > highestDepth) { _local2 = highestDepth; } if (_local2 == highestDepth) { _parent.shuffleDepths(this, _local2, _local3, "down"); } else if (_local3[_local2] != undefined) { _parent.shuffleDepths(this, _local2, _local3, undefined); } else { swapDepths(_local2); } } function setDepthBelow(targetInstance) { if (targetInstance._parent != _parent) { return(undefined); } var _local6 = targetInstance.getDepth() - 1; var _local3 = _parent.buildDepthTable(); if ((_local3[_local6] != undefined) && (getDepth() > _local6)) { _local6 = _local6 + 1; } var _local4 = lowestDepth + numberOfAuthortimeLayers; var _local5; for (_local5 in _local3) { var _local2 = _local3[_local5]; if (_local2._parent != undefined) { _local4 = Math.min(_local4, _local2.getDepth()); } } if (_local6 < _local4) { _local6 = _local4; } if (_local6 == _local4) { _parent.shuffleDepths(this, _local6, _local3, "up"); } else if (_local3[_local6] != undefined) { _parent.shuffleDepths(this, _local6, _local3, undefined); } else { swapDepths(_local6); } } function findNextAvailableDepth(targetDepth, depthTable, direction) { var _local5 = lowestDepth + numberOfAuthortimeLayers; if (targetDepth < _local5) { targetDepth = _local5; } if (depthTable[targetDepth] == undefined) { return(targetDepth); } var _local2 = targetDepth; var _local1 = targetDepth; if (direction == "down") { while (depthTable[_local1] != undefined) { _local1--; } return(_local1); } while (depthTable[_local2] != undefined) { _local2++; } return(_local2); } function shuffleDepths(subject, targetDepth, depthTable, direction) { var _local9 = lowestDepth + numberOfAuthortimeLayers; var _local8 = _local9; var _local5; for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local9 = Math.min(_local9, _local7.getDepth()); } } if (direction == undefined) { if (subject.getDepth() > targetDepth) { direction = "up"; } else { direction = "down"; } } var _local1 = new Array(); for (_local5 in depthTable) { var _local7 = depthTable[_local5]; if (_local7._parent != undefined) { _local1.push(_local7); } } _local1.sort(sortFunction); if (direction == "up") { var _local3; var _local11; do { if (_local1.length <= 0) { break; } _local3 = _local1.pop(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } _local11 = subject.getDepth(); _local3 = _local1.pop(); var _local4 = _local3.getDepth(); if (_local11 > (_local4 + 1)) { if (_local4 >= 0) { subject.swapDepths(_local4 + 1); } else if ((_local11 > _local8) && (_local4 < _local8)) { subject.swapDepths(_local8); } } subject.swapDepths(_local3); } while (_local4 != targetDepth); } else if (direction == "down") { var _local3; do { if (_local1.length <= 0) { break; } _local3 = _local1.shift(); } while (_local3 != subject); do { if (_local1.length <= 0) { break; } var _local11 = _local3.getDepth(); _local3 = _local1.shift(); var _local4 = _local3.getDepth(); if ((_local11 < (_local4 - 1)) && (_local4 > 0)) { subject.swapDepths(_local4 - 1); } subject.swapDepths(_local3); } while (_local4 != targetDepth); } } function getDepthByFlag(depthFlag, depthTable) { var _local2 = 0; if ((depthFlag == kTop) || (depthFlag == kNotopmost)) { var _local5 = 0; var _local7 = false; var _local8; for (_local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { if (!_local9._topmost) { _local2 = Math.max(_local2, _local9.getDepth()); } else if (!_local7) { _local5 = _local9.getDepth(); _local7 = true; } else { _local5 = Math.min(_local5, _local9.getDepth()); } } } } _local2 = _local2 + 20; if (_local7) { if (_local2 >= _local5) { _local2 = _local5 - 1; } } } else if (depthFlag == kBottom) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.min(_local2, _local9.getDepth()); } } } _local2 = _local2 - 20; } else if (depthFlag == kTopmost) { for (var _local8 in depthTable) { var _local9 = depthTable[_local8]; var _local3 = typeof(_local9); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) { if (_local9.getDepth() <= highestDepth) { _local2 = Math.max(_local2, _local9.getDepth()); } } } _local2 = _local2 + 100; } if (_local2 >= highestDepth) { _local2 = highestDepth; } var _local6 = lowestDepth + numberOfAuthortimeLayers; for (var _local9 in depthTable) { var _local4 = depthTable[_local9]; if (_local4._parent != undefined) { _local6 = Math.min(_local6, _local4.getDepth()); } } if (_local2 <= _local6) { _local2 = _local6; } return(_local2); } function buildDepthTable(Void) { var _local5 = new Array(); var _local4; for (_local4 in this) { var _local2 = this[_local4]; var _local3 = typeof(_local2); if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) { if (_local2._parent == this) { _local5[_local2.getDepth()] = _local2; } } } return(_local5); } static var reservedDepth = 1048575; static var highestDepth = 1048574; static var lowestDepth = -16383; static var numberOfAuthortimeLayers = 383; static var kCursor = 101; static var kTooltip = 102; static var kTop = 201; static var kBottom = 202; static var kTopmost = 203; static var kNotopmost = 204; static var holder = _root.createEmptyMovieClip("reserved", reservedDepth); static var __depthManager = new mx.managers.DepthManager(); }
Symbol 955 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager { static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent; function SystemManager () { } static function init(Void) { if (_initialized == false) { _initialized = true; mx.events.EventDispatcher.initialize(mx.managers.SystemManager); Mouse.addListener(mx.managers.SystemManager); Stage.addListener(mx.managers.SystemManager); _xAddEventListener = addEventListener; addEventListener = __addEventListener; _xRemoveEventListener = removeEventListener; removeEventListener = __removeEventListener; } } static function addFocusManager(f) { form = f; f.focusManager.activate(); } static function removeFocusManager(f) { } static function onMouseDown(Void) { var _local1 = form; _local1.focusManager._onMouseDown(); } static function onResize(Void) { var _local7 = Stage.width; var _local6 = Stage.height; var _local9 = _global.origWidth; var _local8 = _global.origHeight; var _local3 = Stage.align; var _local5 = (_local9 - _local7) / 2; var _local4 = (_local8 - _local6) / 2; if (_local3 == "T") { _local4 = 0; } else if (_local3 == "B") { _local4 = _local8 - _local6; } else if (_local3 == "L") { _local5 = 0; } else if (_local3 == "R") { _local5 = _local9 - _local7; } else if (_local3 == "LT") { _local4 = 0; _local5 = 0; } else if (_local3 == "TR") { _local4 = 0; _local5 = _local9 - _local7; } else if (_local3 == "LB") { _local4 = _local8 - _local6; _local5 = 0; } else if (_local3 == "RB") { _local4 = _local8 - _local6; _local5 = _local9 - _local7; } if (__screen == undefined) { __screen = new Object(); } __screen.x = _local5; __screen.y = _local4; __screen.width = _local7; __screen.height = _local6; _root.focusManager.relocate(); dispatchEvent({type:"resize"}); } static function get screen() { init(); if (__screen == undefined) { onResize(); } return(__screen); } static var _initialized = false; static var idleFrames = 0; static var isMouseDown = false; static var forms = new Array(); }
Symbol 956 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent { var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject; function FocusManager () { super(); } function get defaultPushButton() { return(__defaultPushButton); } function set defaultPushButton(x) { if (x != __defaultPushButton) { __defaultPushButton.__set__emphasized(false); __defaultPushButton = x; defPushButton = x; x.__set__emphasized(true); } //return(defaultPushButton); } function getMaxTabIndex(o) { var _local3 = 0; var _local6; for (_local6 in o) { var _local2 = o[_local6]; if (_local2._parent == o) { if (_local2.tabIndex != undefined) { if (_local2.tabIndex > _local3) { _local3 = _local2.tabIndex; } } if (_local2.tabChildren == true) { var _local4 = getMaxTabIndex(_local2); if (_local4 > _local3) { _local3 = _local4; } } } } return(_local3); } function getNextTabIndex(Void) { return(getMaxTabIndex(form) + 1); } function get nextTabIndex() { return(getNextTabIndex()); } function relocate(Void) { var _local2 = mx.managers.SystemManager.__get__screen(); move(_local2.x - 1, _local2.y - 1); } function init(Void) { super.init(); tabEnabled = false; _width = (_height = 1); _x = (_y = -1); _alpha = 0; _parent.focusManager = this; _parent.tabChildren = true; _parent.tabEnabled = false; form = _parent; _parent.addEventListener("hide", this); _parent.addEventListener("reveal", this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(form); tabCapture.tabIndex = 0; watch("enabled", enabledChanged); Selection.addListener(this); lastMouse = new Object(); _global.ASSetPropFlags(_parent, "focusManager", 1); _global.ASSetPropFlags(_parent, "tabChildren", 1); _global.ASSetPropFlags(_parent, "tabEnabled", 1); } function enabledChanged(id, oldValue, newValue) { _visible = newValue; return(newValue); } function activate(Void) { Key.addListener(this); activated = (_visible = true); if (lastFocus != undefined) { bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { doLater(this, "restoreFocus"); } } } function deactivate(Void) { Key.removeListener(this); activated = (_visible = false); var _local2 = getSelectionFocus(); var _local3 = getActualFocus(_local2); if (isOurFocus(_local3)) { lastSelFocus = _local2; lastFocus = _local3; } cancelAllDoLaters(); } function isOurFocus(o) { if (o.focusManager == this) { return(true); } while (o != undefined) { if (o.focusManager != undefined) { return(false); } if (o._parent == _parent) { return(true); } o = o._parent; } return(false); } function onSetFocus(o, n) { if (n == null) { if (activated) { bNeedFocus = true; } } else { var _local2 = getFocus(); if (isOurFocus(_local2)) { bNeedFocus = false; lastFocus = _local2; lastSelFocus = n; } } } function restoreFocus(Void) { var _local2 = lastSelFocus.hscroll; if (_local2 != undefined) { var _local5 = lastSelFocus.scroll; var _local4 = lastSelFocus.background; } lastFocus.setFocus(); var _local3 = Selection; Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex); if (_local2 != undefined) { lastSelFocus.scroll = _local5; lastSelFocus.hscroll = _local2; lastSelFocus.background = _local4; } } function onUnload(Void) { mx.managers.SystemManager.removeFocusManager(form); } function setFocus(o) { if (o == null) { Selection.setFocus(null); } else if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } function getActualFocus(o) { var _local1 = o._parent; while (_local1 != undefined) { if (_local1.focusTextField != undefined) { while (_local1.focusTextField != undefined) { o = _local1; _local1 = _local1._parent; if (_local1 == undefined) { return(undefined); } if (_local1.focusTextField == undefined) { return(o); } } } if (_local1.tabEnabled != true) { return(o); } o = _local1; _local1 = o._parent; } return(undefined); } function getSelectionFocus() { var m = Selection.getFocus(); var o = eval (m); return(o); } function getFocus(Void) { var _local2 = getSelectionFocus(); return(getActualFocus(_local2)); } function walkTree(p, index, groupName, dir, lookup, firstChild) { var _local5 = true; var _local11; for (_local11 in p) { var _local2 = p[_local11]; if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_local2 != _lastTarget) { if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) { continue; } if ((_local2 instanceof TextField) && (_local2.selectable == false)) { continue; } if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) { if (firstChild) { _firstNode = _local2; firstChild = false; } } if (_nextIsNext == true) { if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) { _nextNode = _local2; } } if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) { if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) { } else { _lastx = _local2; } } } else { _prevNode = _lastx; _needPrev = false; _nextIsNext = true; } if (_local2.tabIndex != undefined) { if (_local2.tabIndex == index) { if (_foundList[_local2._name] == undefined) { if (_needPrev) { _prevObj = _local2; _needPrev = false; } _nextObj = _local2; } } if (dir && (_local2.tabIndex > index)) { if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) { _nextObj = _local2; } } else if ((!dir) && (_local2.tabIndex < index)) { if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) { _prevObj = _local2; } } if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) { _firstObj = _local2; } if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) { _lastObj = _local2; } } if (_local2.tabChildren) { getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) { if (_local2 == _lastTarget) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; if (_prevNode == undefined) { var _local3 = _lastx; var _local7 = false; while (_local3 != undefined) { if (_local3 == _local2) { _local7 = true; break; } _local3 = _local3._parent; } if (_local7 == false) { _prevNode = _lastx; } } _needPrev = false; if (_nextNode == undefined) { _nextIsNext = true; } } else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) { if (_local2._searchKey == _searchKey) { continue; } _local2._searchKey = _searchKey; getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild)); } _local5 = false; } } _lastNode = _lastx; if (lookup) { if (p._parent != undefined) { if (p != _parent) { if ((_prevNode == undefined) && (dir)) { _needPrev = true; } else if ((_nextNode == undefined) && (!dir)) { _nextIsNext = false; } _lastTarget = _lastTarget._parent; getTabCandidate(p._parent, index, groupName, dir, true); } } } } function getTabCandidate(o, index, groupName, dir, firstChild) { var _local2; var _local3 = true; if (o == _parent) { _local2 = o; _local3 = false; } else { _local2 = o._parent; if (_local2 == undefined) { _local2 = o; _local3 = false; } } walkTree(_local2, index, groupName, dir, _local3, firstChild); } function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) { walkTree(o, index, groupName, dir, false, firstChild); } function getFocusManagerFromObject(o) { while (o != undefined) { if (o.focusManager != undefined) { return(o.focusManager); } o = o._parent; } return(undefined); } function tabHandler(Void) { bDrawFocus = true; var _local5 = getSelectionFocus(); var _local4 = getActualFocus(_local5); if (_local4 != _local5) { _local5 = _local4; } if (getFocusManagerFromObject(_local5) != this) { _local5 == undefined; } if (_local5 == undefined) { _local5 = form; } else if (_local5.tabIndex != undefined) { if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) { _foundList = new Object(); _foundList.tabIndex = _local5.tabIndex; } _foundList[_local5._name] = _local5; } var _local3 = Key.isDown(16) != true; _searchKey = getTimer(); _needPrev = true; _nextIsNext = false; _lastx = undefined; _firstNode = undefined; _lastNode = undefined; _nextNode = undefined; _prevNode = undefined; _firstObj = undefined; _lastObj = undefined; _nextObj = undefined; _prevObj = undefined; _lastTarget = _local5; var _local6 = _local5; getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true); var _local2; if (_local3) { if (_nextObj != undefined) { _local2 = _nextObj; } else { _local2 = _firstObj; } } else if (_prevObj != undefined) { _local2 = _prevObj; } else { _local2 = _lastObj; } if (_local2.tabIndex != _local5.tabIndex) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; _foundList[_local2._name] = _local2; } else { if (_foundList == undefined) { _foundList = new Object(); _foundList.tabIndex = _local2.tabIndex; } _foundList[_local2._name] = _local2; } if (_local2 == undefined) { if (_local3 == false) { if (_nextNode != undefined) { _local2 = _nextNode; } else { _local2 = _firstNode; } } else if ((_prevNode == undefined) || (_local5 == form)) { _local2 = _lastNode; } else { _local2 = _prevNode; } } if (_local2 == undefined) { return(undefined); } lastTabFocus = _local2; setFocus(_local2); if (_local2.emphasized != undefined) { if (defPushButton != undefined) { _local5 = defPushButton; defPushButton = _local2; _local5.emphasized = false; _local2.emphasized = true; } } else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) { _local5 = defPushButton; defPushButton = __defaultPushButton; _local5.emphasized = false; __defaultPushButton.__set__emphasized(true); } } function onKeyDown(Void) { mx.managers.SystemManager.idleFrames = 0; if (defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (defaultPushButton != undefined) { doLater(this, "sendDefaultPushButtonEvent"); } } } } function sendDefaultPushButtonEvent(Void) { defPushButton.dispatchEvent({type:"click"}); } function getMousedComponentFromChildren(x, y, o) { for (var _local7 in o) { var _local2 = o[_local7]; if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) { _local2._searchKey = _searchKey; if (_local2.hitTest(x, y, true)) { if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) { return(_local2); } var _local3 = getMousedComponentFromChildren(x, y, _local2); if (_local3 != undefined) { return(_local3); } return(_local2); } } } return(undefined); } function mouseActivate(Void) { if (!bNeedFocus) { return(undefined); } _searchKey = getTimer(); var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form); if (_local2 instanceof mx.core.UIComponent) { return(undefined); } _local2 = findFocusFromObject(_local2); if (_local2 == lastFocus) { return(undefined); } if (_local2 == undefined) { doLater(this, "restoreFocus"); return(undefined); } var _local3 = _local2.hscroll; if (_local3 != undefined) { var _local6 = _local2.scroll; var _local5 = _local2.background; } setFocus(_local2); var _local4 = Selection; Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex); if (_local3 != undefined) { _local2.scroll = _local6; _local2.hscroll = _local3; _local2.background = _local5; } } function _onMouseDown(Void) { bDrawFocus = false; if (lastFocus != undefined) { lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var _local3 = Selection; _local3.lastBeginIndex = Selection.getBeginIndex(); _local3.lastEndIndex = Selection.getEndIndex(); lastMouse.x = _root._xmouse; lastMouse.y = _root._ymouse; _root.localToGlobal(lastMouse); } function onMouseUp(Void) { if (_visible) { doLater(this, "mouseActivate"); } } function handleEvent(e) { if (e.type == "reveal") { mx.managers.SystemManager.activate(form); } else { mx.managers.SystemManager.deactivate(form); } } static function enableFocusManagement() { if (!initialized) { initialized = true; Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } } } static var symbolName = "FocusManager"; static var symbolOwner = mx.managers.FocusManager; static var version = "2.0.2.126"; var className = "FocusManager"; var bNeedFocus = false; var bDrawFocus = false; var defaultPushButtonEnabled = true; var activated = true; static var initialized = false; static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 957 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement { var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible; function FocusRect () { super(); boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function draw(o) { o.adjustFocusRect(); } function setSize(w, h, r, a, rectCol) { _xscale = (_yscale = 100); clear(); if (typeof(r) == "object") { r.br = ((r.br > 2) ? (r.br - 2) : 0); r.bl = ((r.bl > 2) ? (r.bl - 2) : 0); r.tr = ((r.tr > 2) ? (r.tr - 2) : 0); r.tl = ((r.tl > 2) ? (r.tl - 2) : 0); beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); r.br = ((r.br > 1) ? (r.br + 1) : 0); r.bl = ((r.bl > 1) ? (r.bl + 1) : 0); r.tr = ((r.tr > 1) ? (r.tr + 1) : 0); r.tl = ((r.tl > 1) ? (r.tl + 1) : 0); beginFill(rectCol, a * 0.3); drawRoundRect(1, 1, w - 2, h - 2, r); r.br = ((r.br > 1) ? (r.br - 1) : 0); r.bl = ((r.bl > 1) ? (r.bl - 1) : 0); r.tr = ((r.tr > 1) ? (r.tr - 1) : 0); r.tl = ((r.tl > 1) ? (r.tl - 1) : 0); drawRoundRect(2, 2, w - 4, h - 4, r); endFill(); } else { var _local5; if (r != 0) { _local5 = r - 2; } else { _local5 = 0; } beginFill(rectCol, a * 0.3); drawRoundRect(0, 0, w, h, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); beginFill(rectCol, a * 0.3); if (r != 0) { _local5 = r - 2; r = r - 1; } else { _local5 = 0; r = 0; } drawRoundRect(1, 1, w - 2, h - 2, r); drawRoundRect(2, 2, w - 4, h - 4, _local5); endFill(); } } function handleEvent(e) { if (e.type == "unload") { _visible = true; } else if (e.type == "resize") { e.target.adjustFocusRect(); } else if (e.type == "move") { e.target.adjustFocusRect(); } } static function classConstruct() { mx.core.UIComponent.prototype.drawFocus = function (focused) { var _local2 = this._parent.focus_mc; if (!focused) { _local2._visible = false; this.removeEventListener("unload", _local2); this.removeEventListener("move", _local2); this.removeEventListener("resize", _local2); } else { if (_local2 == undefined) { _local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop); _local2.tabEnabled = false; this._parent.focus_mc = _local2; } else { _local2._visible = true; } _local2.draw(this); if (_local2.getDepth() < this.getDepth()) { _local2.setDepthAbove(this); } this.addEventListener("unload", _local2); this.addEventListener("move", _local2); this.addEventListener("resize", _local2); } }; mx.core.UIComponent.prototype.adjustFocusRect = function () { var _local2 = this.getStyle("themeColor"); if (_local2 == undefined) { _local2 = 8453965 /* 0x80FF4D */; } var _local3 = this._parent.focus_mc; _local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2); _local3.move(this.x - 2, this.y - 2); }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect; mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return(true); } static var classConstructed = classConstruct(); static var DefaultsDependency = mx.skins.halo.Defaults; static var UIComponentDependency = mx.core.UIComponent; }
Symbol 958 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows { function OverlappedWindows () { } static function checkIdle(Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({type:"idle"}); } else { mx.managers.SystemManager.idleFrames++; } } static function __addEventListener(e, o, l) { if (e == "idle") { if (mx.managers.SystemManager.interval == undefined) { mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100); } } mx.managers.SystemManager._xAddEventListener(e, o, l); } static function __removeEventListener(e, o, l) { if (e == "idle") { if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) { clearInterval(mx.managers.SystemManager.interval); } } else { mx.managers.SystemManager._xRemoveEventListener(e, o, l); } } static function onMouseDown(Void) { mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = true; var _local5 = _root; var _local3; var _local8 = _root._xmouse; var _local7 = _root._ymouse; if (mx.managers.SystemManager.form.modalWindow == undefined) { if (mx.managers.SystemManager.forms.length > 1) { var _local6 = mx.managers.SystemManager.forms.length; var _local4; _local4 = 0; while (_local4 < _local6) { var _local2 = mx.managers.SystemManager.forms[_local4]; if (_local2._visible) { if (_local2.hitTest(_local8, _local7)) { if (_local3 == undefined) { _local3 = _local2.getDepth(); _local5 = _local2; } else if (_local3 < _local2.getDepth()) { _local3 = _local2.getDepth(); _local5 = _local2; } } } _local4++; } if (_local5 != mx.managers.SystemManager.form) { mx.managers.SystemManager.activate(_local5); } } } var _local9 = mx.managers.SystemManager.form; _local9.focusManager._onMouseDown(); } static function onMouseMove(Void) { mx.managers.SystemManager.idleFrames = 0; } static function onMouseUp(Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; } static function activate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) { var _local1 = mx.managers.SystemManager.form; _local1.focusManager.deactivate(); } } mx.managers.SystemManager.form = f; f.focusManager.activate(); } static function deactivate(f) { if (mx.managers.SystemManager.form != undefined) { if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) { var _local5 = mx.managers.SystemManager.form; _local5.focusManager.deactivate(); var _local3 = mx.managers.SystemManager.forms.length; var _local1; var _local2; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { _local1 = _local1 + 1; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } mx.managers.SystemManager.form = _local2; break; } if (mx.managers.SystemManager.forms[_local1]._visible == true) { _local2 = mx.managers.SystemManager.forms[_local1]; } _local1++; } _local5 = mx.managers.SystemManager.form; _local5.focusManager.activate(); } } } static function addFocusManager(f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); } static function removeFocusManager(f) { var _local3 = mx.managers.SystemManager.forms.length; var _local1; _local1 = 0; while (_local1 < _local3) { if (mx.managers.SystemManager.forms[_local1] == f) { if (mx.managers.SystemManager.form == f) { mx.managers.SystemManager.deactivate(f); } mx.managers.SystemManager.forms.splice(_local1, 1); return(undefined); } _local1++; } } static function enableOverlappedWindows() { if (!initialized) { initialized = true; mx.managers.SystemManager.checkIdle = checkIdle; mx.managers.SystemManager.__addEventListener = __addEventListener; mx.managers.SystemManager.__removeEventListener = __removeEventListener; mx.managers.SystemManager.onMouseDown = onMouseDown; mx.managers.SystemManager.onMouseMove = onMouseMove; mx.managers.SystemManager.onMouseUp = onMouseUp; mx.managers.SystemManager.activate = activate; mx.managers.SystemManager.deactivate = deactivate; mx.managers.SystemManager.addFocusManager = addFocusManager; mx.managers.SystemManager.removeFocusManager = removeFocusManager; } } static var initialized = false; static var SystemManagerDependency = mx.managers.SystemManager; }
Symbol 959 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle { var styleName, stylecache, _color, setColor, invalidateStyle; function CSSSetStyle () { } function _setStyle(styleProp, newValue) { this[styleProp] = newValue; if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) { if (styleProp == "color") { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } } _level0.changeTextStyleInChildren(styleProp); return(undefined); } if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } if (styleProp == "themeColor") { var _local7 = mx.styles.StyleManager.colorNames.haloBlue; var _local6 = mx.styles.StyleManager.colorNames.haloGreen; var _local8 = mx.styles.StyleManager.colorNames.haloOrange; var _local4 = {}; _local4[_local7] = 12188666 /* 0xB9FBFA */; _local4[_local6] = 13500353 /* 0xCDFFC1 */; _local4[_local8] = 16766319 /* 0xFFD56F */; var _local5 = {}; _local5[_local7] = 13958653 /* 0xD4FDFD */; _local5[_local6] = 14942166 /* 0xE3FFD6 */; _local5[_local8] = 16772787 /* 0xFFEEB3 */; var _local9 = _local4[newValue]; var _local10 = _local5[newValue]; if (_local9 == undefined) { _local9 = newValue; } if (_local10 == undefined) { _local10 = newValue; } setStyle("selectionColor", _local9); setStyle("rollOverColor", _local10); } _level0.changeColorStyleInChildren(styleName, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } _level0.notifyStyleChangeInChildren(styleName, styleProp, newValue); } } function changeTextStyleInChildren(styleProp) { var _local4 = getTimer(); var _local5; for (_local5 in this) { var _local2 = this[_local5]; if (_local2._parent == this) { if (_local2.searchKey != _local4) { if (_local2.stylecache != undefined) { delete _local2.stylecache.tf; delete _local2.stylecache[styleProp]; } _local2.invalidateStyle(styleProp); _local2.changeTextStyleInChildren(styleProp); _local2.searchKey = _local4; } } } } function changeColorStyleInChildren(sheetName, colorStyle, newValue) { var _local6 = getTimer(); var _local7; for (_local7 in this) { var _local2 = this[_local7]; if (_local2._parent == this) { if (_local2.searchKey != _local6) { if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) { if (_local2.stylecache != undefined) { delete _local2.stylecache[colorStyle]; } if (typeof(_local2._color) == "string") { if (_local2._color == colorStyle) { var _local4 = _local2.getStyle(colorStyle); if (colorStyle == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = _local4; } } _local2.setColor(_local4); } } else if (_local2._color[colorStyle] != undefined) { if (typeof(_local2) != "movieclip") { _local2._parent.invalidateStyle(); } else { _local2.invalidateStyle(colorStyle); } } } _local2.changeColorStyleInChildren(sheetName, colorStyle, newValue); _local2.searchKey = _local6; } } } } function notifyStyleChangeInChildren(sheetName, styleProp, newValue) { var _local5 = getTimer(); var _local6; for (_local6 in this) { var _local2 = this[_local6]; if (_local2._parent == this) { if (_local2.searchKey != _local5) { if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) { if (_local2.stylecache != undefined) { delete _local2.stylecache[styleProp]; delete _local2.stylecache.tf; } delete _local2.enabledColor; _local2.invalidateStyle(styleProp); } _local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue); _local2.searchKey = _local5; } } } } function setStyle(styleProp, newValue) { if (stylecache != undefined) { delete stylecache[styleProp]; delete stylecache.tf; } this[styleProp] = newValue; if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } if (styleProp == "themeColor") { var _local10 = mx.styles.StyleManager.colorNames.haloBlue; var _local9 = mx.styles.StyleManager.colorNames.haloGreen; var _local11 = mx.styles.StyleManager.colorNames.haloOrange; var _local6 = {}; _local6[_local10] = 12188666 /* 0xB9FBFA */; _local6[_local9] = 13500353 /* 0xCDFFC1 */; _local6[_local11] = 16766319 /* 0xFFD56F */; var _local7 = {}; _local7[_local10] = 13958653 /* 0xD4FDFD */; _local7[_local9] = 14942166 /* 0xE3FFD6 */; _local7[_local11] = 16772787 /* 0xFFEEB3 */; var _local12 = _local6[newValue]; var _local13 = _local7[newValue]; if (_local12 == undefined) { _local12 = newValue; } if (_local13 == undefined) { _local13 = newValue; } setStyle("selectionColor", _local12); setStyle("rollOverColor", _local13); } if (typeof(_color) == "string") { if (_color == styleProp) { if (styleProp == "color") { if (stylecache.tf.color != undefined) { stylecache.tf.color = newValue; } } setColor(newValue); } } else if (_color[styleProp] != undefined) { invalidateStyle(styleProp); } changeColorStyleInChildren(undefined, styleProp, newValue); } else { if ((styleProp == "backgroundColor") && (isNaN(newValue))) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return(undefined); } } invalidateStyle(styleProp); } if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) { var _local8; var _local5 = newValue; if (styleProp == "styleName") { _local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5)); _local5 = _local8.themeColor; if (_local5 != undefined) { _local8.rollOverColor = (_local8.selectionColor = _local5); } } notifyStyleChangeInChildren(undefined, styleProp, newValue); } } static function enableRunTimeCSS() { } static function classConstruct() { var _local2 = MovieClip.prototype; var _local3 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle; _local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren; _local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren; _local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren; _local2.setStyle = _local3.setStyle; _global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1); _global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1); _global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1); _global.ASSetPropFlags(_local2, "setStyle", 1); var _local4 = TextField.prototype; _local4.setStyle = _local2.setStyle; _local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren; return(true); } static var classConstructed = classConstruct(); static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; }
Symbol 960 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions { function UIComponentExtensions () { } static function Extensions() { if (bExtended == true) { return(true); } bExtended = true; TextField.prototype.setFocus = function () { Selection.setFocus(this); }; TextField.prototype.onSetFocus = function (oldFocus) { if (this.tabEnabled != false) { if (this.getFocusManager().bDrawFocus) { this.drawFocus(true); } } }; TextField.prototype.onKillFocus = function (oldFocus) { if (this.tabEnabled != false) { this.drawFocus(false); } }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager; mx.managers.OverlappedWindows.enableOverlappedWindows(); mx.styles.CSSSetStyle.enableRunTimeCSS(); mx.managers.FocusManager.enableFocusManagement(); } static var bExtended = false; static var UIComponentExtended = Extensions(); static var UIComponentDependency = mx.core.UIComponent; static var FocusManagerDependency = mx.managers.FocusManager; static var OverlappedWindowsDependency = mx.managers.OverlappedWindows; }
Symbol 961 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject { function Border () { super(); } function init(Void) { super.init(); } static var symbolName = "Border"; static var symbolOwner = mx.skins.Border; var className = "Border"; var tagBorder = 0; var idNames = new Array("border_mc"); }
Symbol 962 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border { var __width, __height, offset, __borderMetrics; function RectBorder () { super(); } function get width() { return(__width); } function get height() { return(__height); } function init(Void) { super.init(); } function draw(Void) { size(); } function getBorderMetrics(Void) { var _local2 = offset; if (__borderMetrics == undefined) { __borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2}; } else { __borderMetrics.left = _local2; __borderMetrics.top = _local2; __borderMetrics.right = _local2; __borderMetrics.bottom = _local2; } return(__borderMetrics); } function get borderMetrics() { return(getBorderMetrics()); } function drawBorder(Void) { } function size(Void) { drawBorder(); } function setColor(Void) { drawBorder(); } static var symbolName = "RectBorder"; static var symbolOwner = mx.skins.RectBorder; static var version = "2.0.2.126"; var className = "RectBorder"; var borderStyleName = "borderStyle"; var borderColorName = "borderColor"; var shadowColorName = "shadowColor"; var highlightColorName = "highlightColor"; var buttonColorName = "buttonColor"; var backgroundColorName = "backgroundColor"; }
Symbol 963 MovieClip [__Packages.mx.skins.halo.RectBorder] Frame 0
class mx.skins.halo.RectBorder extends mx.skins.RectBorder { var offset, getStyle, borderStyleName, __borderMetrics, className, borderColorName, backgroundColorName, shadowColorName, highlightColorName, buttonColorName, __get__width, __get__height, clear, _color, drawRoundRect, beginFill, drawRect, endFill; function RectBorder () { super(); } function init(Void) { borderWidths.default = 3; super.init(); } function getBorderMetrics(Void) { if (offset == undefined) { var _local3 = getStyle(borderStyleName); offset = borderWidths[_local3]; } if ((getStyle(borderStyleName) == "default") || (getStyle(borderStyleName) == "alert")) { __borderMetrics = {left:3, top:1, right:3, bottom:3}; return(__borderMetrics); } return(super.getBorderMetrics()); } function drawBorder(Void) { var _local6 = _global.styles[className]; if (_local6 == undefined) { _local6 = _global.styles.RectBorder; } var _local5 = getStyle(borderStyleName); var _local7 = getStyle(borderColorName); if (_local7 == undefined) { _local7 = _local6[borderColorName]; } var _local8 = getStyle(backgroundColorName); if (_local8 == undefined) { _local8 = _local6[backgroundColorName]; } var _local16 = getStyle("backgroundImage"); if (_local5 != "none") { var _local14 = getStyle(shadowColorName); if (_local14 == undefined) { _local14 = _local6[shadowColorName]; } var _local13 = getStyle(highlightColorName); if (_local13 == undefined) { _local13 = _local6[highlightColorName]; } var _local12 = getStyle(buttonColorName); if (_local12 == undefined) { _local12 = _local6[buttonColorName]; } var _local11 = getStyle(borderCapColorName); if (_local11 == undefined) { _local11 = _local6[borderCapColorName]; } var _local10 = getStyle(shadowCapColorName); if (_local10 == undefined) { _local10 = _local6[shadowCapColorName]; } } offset = borderWidths[_local5]; var _local9 = offset; var _local3 = __get__width(); var _local4 = __get__height(); clear(); _color = undefined; if (_local5 == "none") { } else if (_local5 == "inset") { _color = colorList; draw3dBorder(_local11, _local12, _local7, _local13, _local14, _local10); } else if (_local5 == "outset") { _color = colorList; draw3dBorder(_local11, _local7, _local12, _local14, _local13, _local10); } else if (_local5 == "alert") { var _local15 = getStyle("themeColor"); drawRoundRect(0, 5, _local3, _local4 - 5, 5, 6184542, 10); drawRoundRect(1, 4, _local3 - 2, _local4 - 5, 4, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, _local15, 50); drawRoundRect(3, 1, _local3 - 6, _local4 - 4, 2, 16777215, 100); } else if (_local5 == "default") { drawRoundRect(0, 5, _local3, _local4 - 5, {tl:5, tr:5, br:0, bl:0}, 6184542, 10); drawRoundRect(1, 4, _local3 - 2, _local4 - 5, {tl:4, tr:4, br:0, bl:0}, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(2, 0, _local3 - 4, _local4 - 2, {tl:3, tr:3, br:0, bl:0}, [12897484, 11844796], 100, 0, "radial"); drawRoundRect(3, 1, _local3 - 6, _local4 - 4, {tl:2, tr:2, br:0, bl:0}, 16777215, 100); } else if (_local5 == "dropDown") { drawRoundRect(0, 0, _local3 + 1, _local4, {tl:4, tr:0, br:0, bl:4}, [13290186, 7895160], 100, -10, "linear"); drawRoundRect(1, 1, _local3 - 1, _local4 - 2, {tl:3, tr:0, br:0, bl:3}, 16777215, 100); } else if (_local5 == "menuBorder") { var _local15 = getStyle("themeColor"); drawRoundRect(4, 4, _local3 - 2, _local4 - 3, 0, [6184542, 6184542], 10, 0, "radial"); drawRoundRect(4, 4, _local3 - 1, _local4 - 2, 0, 6184542, 10); drawRoundRect(0, 0, _local3 + 1, _local4, 0, [0, 14342874], 100, 250, "linear"); drawRoundRect(0, 0, _local3 + 1, _local4, 0, _local15, 50); drawRoundRect(2, 2, _local3 - 3, _local4 - 4, 0, 16777215, 100); } else if (_local5 == "comboNonEdit") { } else { beginFill(_local7); drawRect(0, 0, _local3, _local4); drawRect(1, 1, _local3 - 1, _local4 - 1); endFill(); _color = borderColorName; } if (_local8 != undefined) { beginFill(_local8); drawRect(_local9, _local9, __get__width() - _local9, __get__height() - _local9); endFill(); } } function draw3dBorder(c1, c2, c3, c4, c5, c6) { var _local3 = __get__width(); var _local2 = __get__height(); beginFill(c1); drawRect(0, 0, _local3, _local2); drawRect(1, 0, _local3 - 1, _local2); endFill(); beginFill(c2); drawRect(1, 0, _local3 - 1, 1); endFill(); beginFill(c3); drawRect(1, _local2 - 1, _local3 - 1, _local2); endFill(); beginFill(c4); drawRect(1, 1, _local3 - 1, 2); endFill(); beginFill(c5); drawRect(1, _local2 - 2, _local3 - 1, _local2 - 1); endFill(); beginFill(c6); drawRect(1, 2, _local3 - 1, _local2 - 2); drawRect(2, 2, _local3 - 2, _local2 - 2); endFill(); } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return(true); } static var symbolName = "RectBorder"; static var symbolOwner = mx.skins.halo.RectBorder; static var version = "2.0.2.126"; var borderCapColorName = "borderCapColor"; var shadowCapColorName = "shadowCapColor"; var colorList = {highlightColor:0, borderColor:0, buttonColor:0, shadowColor:0, borderCapColor:0, shadowCapColor:0}; var borderWidths = {none:0, solid:1, inset:2, outset:2, alert:3, dropDown:2, menuBorder:2, comboNonEdit:2}; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 964 MovieClip [__Packages.mx.skins.halo.ButtonSkin] Frame 0
class mx.skins.halo.ButtonSkin extends mx.skins.RectBorder { var __get__width, __get__height, getStyle, _parent, clear, drawRoundRect, __get__x, __get__y; function ButtonSkin () { super(); } function init() { super.init(); } function size() { drawHaloRect(__get__width(), __get__height()); } function drawHaloRect(w, h) { var _local6 = getStyle("borderStyle"); var _local4 = getStyle("themeColor"); var _local5 = _parent.emphasized; clear(); switch (_local6) { case "falseup" : if (_local5) { drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 75); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 75); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); } else { drawRoundRect(0, 0, w, h, 5, 9542041, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, "radial"); drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, "radial"); drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100); } break; case "falsedown" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20); break; case "falserollover" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 50); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case "falsedisabled" : drawRoundRect(0, 0, w, h, 5, 13159628, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); break; case "trueup" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16250871, 100); break; case "truedown" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20); break; case "truerollover" : drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100); drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial"); drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 40); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial"); drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 40); drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100); drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case "truedisabled" : drawRoundRect(0, 0, w, h, 5, 13159628, 100); drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); } } static function classConstruct() { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.ButtonSkin = true; return(true); } static var symbolName = "ButtonSkin"; static var symbolOwner = mx.skins.halo.ButtonSkin; var className = "ButtonSkin"; var backgroundColorName = "buttonColor"; static var classConstructed = classConstruct(); static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; }
Symbol 1037 MovieClip Frame 1
play(); if (ranges == undefined) { ranges = 1.5; } if (_root.pig._x == undefined) { this._name = "pig"; }
Instance of Symbol 454 MovieClip in Symbol 1037 MovieClip Frame 1
onClipEvent (enterFrame) { i = po; while (i < (po + 5)) { current = _root.unitsarray[i]; if (((_root[current].unittype != "dozer") && (_root[current].unittype != "oiltruck")) && (_root[current].unittype != "artillery")) { if (((!_root[current].walking) && (!_root[current].fireing)) && (_root[current].aggressive)) { if (_root[current].enemy) { if (_root[current].unittype == "light") { if (_root[current].auto && (_root[current].life < _root[current].fulllife)) { _root[current].life = _root[current].life + 20; } } if (_root[current].unittype == "heavy") { if (_root[current].auto && (_root[current].life < _root[current].fulllife)) { _root[current].life = _root[current].life + 20; } } if (Math.random() > 0.5) { n = _root.friendlylist.length - 1; while (n > -1) { current2 = _root.friendlylist[n]; dx = _root[current]._x - _root[current2]._x; dy = _root[current]._y - _root[current2]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < (_root[current].range * ranges)) { _root[current].aiattack(current2); break; } n--; } } } if (!_root[current].enemy) { if ((_root[current].unittype == "light") || (_root[current].unittype == "dozer")) { if (_root[current].auto && (_root[current].life < _root[current].fulllife)) { _root[current].life = _root[current].life + 20; } } if (_root[current].unittype == "heavy") { if (_root[current].auto && (_root[current].life < _root[current].fulllife)) { _root[current].life = _root[current].life + 20; } } if (Math.random() > 0.5) { n = _root.enemyarray.length - 1; while (n > -1) { current2 = _root.enemyarray[n]; dx = _root[current]._x - _root[current2]._x; dy = _root[current]._y - _root[current2]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < (_root[current].range * ranges)) { _root[current].aiattack(current2); break; } n--; } } } } } i++; } po = po + 5; if (po >= _root.unitsarray.length) { po = 0; } } onClipEvent (load) { ranges = _parent.ranges; po = 0; }
Symbol 1037 MovieClip Frame 6
_root.objarrays = "fps:" + (10 / ((getTimer() - lastgettimer) / 1000)); lastgettimer = getTimer(); baseunder--; breaking = false; n = _root.structurearray.length - 1; while (n > -1) { current2 = _root.structurearray[n]; if (((baseunder <= 0) && (_root[current2].life < _root[current2].fulllife)) && (_root[current2].percent == undefined)) { soundobj = new Sound(); soundobj.attachSound("ba"); soundobj.start(); baseunder = 100; } if (breaking) { break; } i = _root.dozerarray.length - 1; while (i > -1) { current = _root.dozerarray[i]; if (((!_root[current].enemy) && (!_root[current].build)) && (!_root[current].walking)) { dx = _root[current]._x - _root[current2]._x; dy = _root[current]._y - _root[current2]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 200) { if (((_root[current2].life < _root[current2].fulllife) && (_root[current2].percent == undefined)) && (_root[current2].auto._currentframe == 1)) { if (!_root[current].hitTest(_root[current2])) { _root[current].aigoto(_root[current2]._x, _root[current2]._y, false); } _root[current2].auto.play(); breaking = true; break; } } } i--; } n--; }
Symbol 1037 MovieClip Frame 8
i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].speed != undefined) { n = _root.enemyminearray.length - 1; while (n > -1) { current2 = _root.enemyminearray[n]; if (_root[current2].hitTest(_root[current]) && (_root[current2]._currentframe == 1)) { _root[current2].play(); } n--; } x = _root[current]._x; y = _root[current]._y; if (_root.back.water.hitTest(x, y, true)) { if (_root[current].water == undefined) { _root[current].speed = _root[current].speed / 2; _root[current].water = true; } } if (!_root.back.water.hitTest(x, y, true)) { if (_root[current].water === true) { _root[current].speed = _root[current].speed * 2; _root[current].water = undefined; } } dx = _root[current]._x - _root.servicedepot1._x; dy = _root[current]._y - _root.servicedepot1._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if ((dist < 150) && (_root[current].life < _root[current].fulllife)) { _root[current].life = _root[current].life + 15; _root[current]._x = _root.servicedepot1._x; _root[current]._y = _root.servicedepot1._y; if (_root[current].getDepth() < _root.servicedepot1.getDepth()) { _root[current].swapDepths(_root.servicedepot1); } _root[current].dummy.empulse = 10; _root.servicedepot1.auto2.play(); _root.money = _root.money - 20; break; } } i--; } i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if (_root[current].speed != undefined) { n = _root.minearray.length - 1; while (n > -1) { current2 = _root.minearray[n]; if (_root[current2].hitTest(_root[current]) && (_root[current2]._currentframe == 1)) { _root[current2].play(); } n--; } x = _root[current]._x; y = _root[current]._y; if (_root.back.water.hitTest(x, y, true)) { if (_root[current].water == undefined) { _root[current].speed = _root[current].speed / 2; _root[current].water = true; } } if (!_root.back.water.hitTest(x, y, true)) { if (_root[current].water === true) { _root[current].speed = _root[current].speed * 2; _root[current].water = undefined; } } dx = _root[current]._x - _root.enemyservicedepot1._x; dy = _root[current]._y - _root.enemyservicedepot1._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if ((dist < 150) && (_root[current].life < _root[current].fulllife)) { _root[current].life = _root[current].life + 15; _root[current]._x = _root.enemyservicedepot1._x; _root[current]._y = _root.enemyservicedepot1._y; if (_root[current].getDepth() < _root.enemyservicedepot1.getDepth()) { _root[current].swapDepths(_root.enemyservicedepot1); } _root[current].dummy.empulse = 10; _root.emeyservicedepot1.auto2.play(); _root.enemymoney = _root.enemymoney - 20; break; } } i--; }
Symbol 1037 MovieClip Frame 10
c = _root.objarray.length - 1; while (c > -1) { current = _root.objarray[c]; if ((_root[current]._x == undefined) || (!_root[current].hitTest(_root.back))) { _root[current].life = 0; _root.objarray.splice(c, 1); } c--; } gotoAndPlay (1);
Symbol 1040 MovieClip Frame 1
play(); if (_root.pig2._x == undefined) { this._name = "pig2"; } if (ranges == undefined) { ranges = 1; }
Instance of Symbol 454 MovieClip in Symbol 1040 MovieClip Frame 1
onClipEvent (enterFrame) { i = po; while (i < (po + 5)) { current = _root.unitsarray[i]; if ((!_root.sidebar._visible) || (_root.comcentre1._currentframe > 1)) { _root[current + "symbols"]._visible = false; } if (_root[current].unittype != "dozer") { _root[current].dummy.charge--; if ((((_root[current].unittype == "humvee") && (_root[current].laser)) && (_root[current].dummy.charge <= 0)) && (_root[current].life > 0)) { n = _root.shellarray.length - 1; while (n > -1) { current2 = _root.shellarray[n]; if (_root[_root[current2].targetobj].enemy == _root[current].enemy) { dx = -(_root[current]._x - _root[current2]._x); dy = -(_root[current]._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < (_root[current].range * 2)) { if (_root[current2].timer > 5) { _root[current].dummy.charge = 5; _root.attachMovie("laser", "laser" + current, _root.n); _root["laser" + current]._x = _root[current]._x; _root["laser" + current]._y = _root[current]._y; _root["laser" + current]._width = dist + 10; _root["laser" + current]._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); _root[current2].play(); break; } } } n--; } } if ((((_root[current].walking && (_root[current].unittype != "artillery")) || ((_root[current].unittype == "artillery") && (_root[current].turret._currentframe == 2))) && (!_root[current].fireing)) && (_root[current].aggressive || (_root[current].unittype == "artillery"))) { if (_root[current].enemy) { n = _root.friendlylist.length - 1; while (n > -1) { current2 = _root.friendlylist[n]; dx = -(_root[current]._x - _root[current2]._x); dy = -(_root[current]._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < (_root[current].range * _parent.ranges)) { _root[current].turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_root[current].turret._currentframe == 1) { _root[current].turret.play(); _root[current].turret.targetobj = current2; } hit = true; break; } n--; } } if (!_root[current].enemy) { n = _root.enemyarray.length - 1; while (n > -1) { current2 = _root.enemyarray[n]; dx = -(_root[current]._x - _root[current2]._x); dy = -(_root[current]._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < (_root[current].range * _parent.ranges)) { _root[current].turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_root[current].turret._currentframe == 1) { _root[current].turret.play(); _root[current].turret.targetobj = current2; } hit = true; break; } n--; } } } } i++; } po = po + 5; if (po >= _root.unitsarray.length) { po = 0; } } onClipEvent (load) { po = 0; }
Symbol 1040 MovieClip Frame 3
i = _root.turretarray.length - 1; while (i > -1) { current = _root.turretarray[i]; if (_root[current].turret._currentframe == 1) { _root[current].turret.targetobj = undefined; n = _root.enemyarray.length - 1; while (n > -1) { current2 = _root.enemyarray[n]; dx = -(_root[current]._x - _root[current2]._x); dy = -(_root[current]._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (Math.random() > 0.8) { if (dist < _root[current].range) { _root[current].turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_root[current].turret._currentframe == 1) { _root[current].turret.play(); _root[current].turret.targetobj = current2; } hit = true; } } n--; } } i--; } i = _root.enemyturretarray.length - 1; while (i > -1) { current = _root.enemyturretarray[i]; if (_root[current].turret._currentframe == 1) { _root[current].turret.targetobj = undefined; n = _root.friendlylist.length - 1; while (n > -1) { current2 = _root.friendlylist[n]; dx = -(_root[current]._x - _root[current2]._x); dy = -(_root[current]._y - _root[current2]._y); dist = Math.sqrt((dx * dx) + (dy * dy)); if (Math.random() > 0.8) { if (dist < _root[current].range) { _root[current].turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_root[current].turret._currentframe == 1) { _root[current].turret.play(); _root[current].turret.targetobj = current2; } hit = true; } } n--; } } i--; }
Symbol 1040 MovieClip Frame 5
gotoAndPlay (1);
Symbol 1043 Button
on (press) { _root.musicn--; if (_root.musicn < 1) { _root.musicn = 5; } musicu = _root.musicn; musics = musico[musicu]; stopAllSounds(); gotoAndStop("music" + musicu); } on (keyPress "n") { _root.musicn--; if (_root.musicn < 1) { _root.musicn = 5; } musicu = _root.musicn + 1; stopAllSounds(); musics = musico[musicu]; gotoAndStop("music" + musicu); }
Symbol 1044 Button
on (press) { _root.musicn++; if (_root.musicn > 5) { _root.musicn = 1; } musicu = _root.musicn; stopAllSounds(); musics = musico[musicu]; gotoAndStop("music" + musicu); } on (keyPress "p") { _root.musicn++; if (_root.musicn > 5) { _root.musicn = 1; } musicu = _root.musicn + 1; stopAllSounds(); musics = musico[musicu]; gotoAndStop("music" + musicu); }
Symbol 1048 Button
on (press) { stopAllSounds(); }
Symbol 1054 MovieClip Frame 1
this.swapDepths(12300); this.cacheAsBitmap = true; if (musics == undefined) { musics = ""; musico = ["Several Tanks of fueled dest..", "War Menu 2", "Arctic", "Victorious Day", "newgrounds Nuclear....", "TankMen Theme", "The Battlefield"]; }
Symbol 1054 MovieClip Frame 2
gotoAndStop (1);
Symbol 1054 MovieClip Frame 3
gotoAndStop (1);
Symbol 1054 MovieClip Frame 4
gotoAndStop (1);
Symbol 1054 MovieClip Frame 5
gotoAndStop (1);
Symbol 1054 MovieClip Frame 6
gotoAndStop (1);
Instance of Symbol 600 MovieClip "kiss" in Symbol 1075 MovieClip Frame 1
onClipEvent (load) { timer = 0; str1 = "Making theories on likely enemy plan..."; str2 = "\n Examining Battlefield Integrity...."; str3 = "\n Loading Dialogue...."; str4 = "\n Loading Mission data"; str5 = "\n Loading map..."; str6 = "\n Loading Units..."; str7 = "\n Loading Scripts.."; str8 = "\n......"; str9 = "\n.........."; str10 = "\n Loading Sidebar..."; str11 = "\n Loading Mission Bar..."; str12 = "\nDone..."; _parent.textss = ""; i = 0; sound = new Sound(); sound.attachSound("tie"); } onClipEvent (enterFrame) { timer++; if (timer >= (Math.random() * 150)) { i++; _parent.textss = _parent.textss + this["str" + i]; sound.start(0, 1); timer = 0; } if (i == 13) { _root.dialogue._visible = true; stopAllSounds(); sound.setVolume(100); _root.nextFrame(); } }
Instance of Symbol 88 MovieClip in Symbol 1096 MovieClip Frame 2
onClipEvent (load) { if (!_root[_parent.unit].emp) { this._visible = false; } }
Instance of Symbol 86 MovieClip in Symbol 1096 MovieClip Frame 6
onClipEvent (load) { if (!_root[_parent.unit].nuke) { this._visible = false; } }
Instance of Symbol 100 MovieClip in Symbol 1096 MovieClip Frame 9
onClipEvent (load) { if (!_root[_parent.unit].crush) { this._visible = false; } }
Symbol 1097 MovieClip Frame 1
_root.sidebar._visible = false; stopAllSounds(); _root.stop();
Instance of Symbol 1072 MovieClip in Symbol 1097 MovieClip Frame 1
onClipEvent (load) { randomframe = Math.ceil(Math.random() * 6); gotoAndStop(randomframe); }
Instance of Symbol 1075 MovieClip "barn" in Symbol 1097 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1096 MovieClip in Symbol 1097 MovieClip Frame 1
onClipEvent (load) { randomframe = Math.ceil(Math.random() * 10); gotoAndStop(randomframe); }
Symbol 1102 MovieClip Frame 1
this._x = 0; this._y = 0; this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1108 MovieClip Frame 1
this._visible = false;
Symbol 1113 MovieClip Frame 1
_root.objarray.push(this._name); _root.oilarray.push(this._name); this.cacheAsBitmap = true;
Symbol 1120 MovieClip Frame 8
if (_root[oilfield].oilspill._xscale < 100) { _root[oilfield].oilspill._xscale = _root[oilfield].oilspill._xscale + 1; _root[oilfield].oilspill._yscale = _root[oilfield].oilspill._yscale + 1; }
Symbol 1121 Button
on (press) { if (_root.sidebar._visible) { unitsarray = _root.unitsarray.concat(_root.oilarray); i = unitsarray.length - 1; while (i > -1) { current = unitsarray[i]; _root[current + "symbols"]._visible = false; i--; } _root.box6._visible = false; _root.sidebar._visible = false; } else { if ((_root.comcentre1.life > 0) && (_root.comcentre1.life != undefined)) { unitsarray = _root.unitsarray.concat(_root.oilarray); i = unitsarray.length - 1; while (i > -1) { current = unitsarray[i]; _root[current + "symbols"]._visible = true; i--; } _root.box6._visible = true; } _root.sidebar._visible = true; } }
Symbol 1124 MovieClip Frame 1
_root.objarray.push(this._name); stop();
Symbol 1126 MovieClip Frame 1
stop(); build = true; timer = 150; teamtype("guard", [], 6 / _root.difficulty); _root.enemymoney = _root.enemymoney + (20000 / _root.difficulty); this.aicheck = function () { if (type == 1) { commandteamtype(); } if (type == 2) { commandteamtype2(); } if (type == 3) { commandteamtype3(); } if (type == 4) { commandteamtype4(); } if (type == 5) { commandteamtype5(); } timeelasped++; ppp = _root.enemyarray.toString(); Mouse.hide(); _root.ai.timer++; if (_root.ai.timer == Math.round(_root.difficulty * 150)) { if (this.teamslist.length < teamsneeded) { nabei = Math.round(minteamlength + (Math.random() * teamlength)); teamtype("team" + pteam, [], nabei); pteam++; } } i = 0; while (i < this.teamslist.length) { current = this.teamslist[i]; _root[current].checks(); _root.guard.checks(); i++; } if (_root.ai.timer == 500) { n = _root.enemyoiltruckarray.length - 1; while (n > -1) { current2 = _root.enemyoiltruckarray[n]; if ((_root[current2].targetobj != undefined) && (_root[current2].life < (_root[current2].fulllife * 0.6))) { _root.guard.goto(undefined, undefined, current2); _root[current2].targetobj = undefined; break; } n--; } if (_root.enemymines < minesneeded) { a = dozers[0]; if ((!_root[a].build) && (!_root[current].walking)) { if (Math.random() < mineweight) { p = Math.floor(Math.random() * minesneeded); _root[current].aibuild2("enemymine", _root["minept" + p]._x, _root["minept" + p]._y, 500, 0, 5); _root[current].build = true; } } } _root.ai.timer = 0; n = 1; while (n < 5) { if ((!_root["enemyturret" + n]) && (_root.enemymoney >= turretmoney)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { bb = Math.random(); if (bb < turret1wt) { _root[current].aibuild2("enemyturret", _root["turretpt" + n]._x, _root["turretpt" + n]._y, 1000, n, 1.5); _root[current].build = true; break; } if ((bb > turret1wt) && (bb < turret2wt)) { _root[current].aibuild2("enemymultiple", _root["turretpt" + n]._x, _root["turretpt" + n]._y, 1500, n, 1.5); _root[current].build = true; break; } if (bb > turret3wt) { _root[current].aibuild2("enemylaser", _root["turretpt" + n]._x, _root["turretpt" + n]._y, 1500, n, 1.5); _root[current].build = true; break; } } i--; } } n++; } } if (_root.ai.timer == 250) { if ((_root.enemycomcentre < 1) && (_root.enemymoney >= 5000)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemycomcentre", _root.comcentrept._x, _root.comcentrept._y, 5000, 0.5); _root[current].build = true; break; } i--; } } if ((_root.enemyservicedepot < 1) && (_root.enemymoney >= servicedepotmoney)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemyservicedepot", _root.servpt._x, _root.servpt._y, 1500, 1); _root[current].build = true; break; } i--; } } if ((_root.enemyrefinery < 1) && (_root.enemymoney >= 2000)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemyrefinery", _root.refpt._x, _root.refpt._y, 2000, 1); _root[current].build = true; break; } i--; } } if ((_root.enemywarfactory == 0) && (_root.enemymoney >= 2000)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemywarfactory", _root.warpt._x, _root.warpt._y, 2000, 1); _root[current].build = true; break; } i--; } } if ((_root.enemytechcentre < 1) && (_root.enemymoney >= techcentremoney)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemytechcentre", _root.techpt._x, _root.techpt._y, 1500, 0.7); _root[current].build = true; break; } i--; } } if (((_root.enemytechcentre1._x != undefined) && (timeelasped >= this.nuketime)) && (_root.enemyweaponsilo == 0)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemyweaponsilo", _root.silopt._x, _root.silopt._y, 10000, 0.2); _root[current].build = true; timeelasped = 0; break; } i--; } } } if ((Math.round(_root.ai.timer / 30) * 30) == _root.ai.timer) { if (_root.enemyarray.length <= 0) { _root.gotoAndStop("victory"); } if (_root.friendlylist.length <= 0) { _root.gotoAndStop("defeat"); } n = _root.enemystructurearray.length - 1; while (n > -1) { current2 = _root.enemystructurearray[n]; i = dozers.length - 1; while (i > -1) { current = dozers[i]; if (_root[current].build || (_root[current].walking)) { } else { dx = _root[current]._x - _root[current2]._x; dy = _root[current]._y - _root[current2]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 1500) { ant = 0; if (((_root[current2].life < _root[current2].fulllife) && (_root[current2].percent == undefined)) && (_root[current2].auto._currentframe == 1)) { if (!_root[current].hitTest(_root[current2])) { _root[current].aigoto(_root[current2]._x, _root[current2]._y, false); } _root[current2].auto.play(); if (_root[current2].targetobj != undefined) { _root.guard.goto(undefined, undefined, current2); _root[current2].targetobj = undefined; } } } break; } i--; } n--; } } if ((Math.round(_root.ai.timer / 70) * 70) == _root.ai.timer) { if (((dozers.length < dozersneeded) && (_root.enemycomcentre1._x != undefined)) && (_root.enemymoney > 1000)) { _root.enemymoney = _root.enemymoney - 1000; _root.attachMovie("enemydozer", "enemydozer" + _root.n, _root.n); _root["enemydozer" + _root.n]._x = _root.enemycomcentre1._x; _root["enemydozer" + _root.n]._y = _root.enemycomcentre1._y; _root["enemydozer" + _root.n]._rotation = 0; _root.n++; } if ((_root.enemymoney > uppermoney) && (!build)) { build = true; rounds++; } if ((_root.enemymoney < lowermoney) && (build)) { build = false; } arrayone = _root.array1.toString(); if (_root.enemywarfactory1.life > 0) { if ((_root.enemyoiltrucks < oiltrucksneeded) && (_root.enemymoney >= 2000)) { _root.enemymoney = _root.enemymoney - 1500; _root.attachMovie("enemyoiltruck", "enemyoiltruck" + _root.n, _root.n); _root["enemyoiltruck" + _root.n]._x = _root.enemywarfactory1._x; _root["enemyoiltruck" + _root.n]._y = _root.enemywarfactory1._y; _root["enemyoiltruck" + _root.n]._rotation = 0; _root.n++; } if ((build && (_root.enemymoney > 0)) || (_root.guard.members.length < _root.guard.maxlength)) { randomteam = Math.floor(Math.random() * this.teamslist.length); i = randomteam; current = this.teamslist[i]; if ((_root.guard.members.length < _root.guard.maxlength) && (Math.random() > 0.4)) { current = "guard"; } if (_root[current].members.length < _root[current].maxlength) { a = Math.random(); if ((a > 0) && (a < lightwt)) { unittype = "enemylight"; _root.enemymoney = _root.enemymoney - 1000; } if ((a > lightwt) && (a < rocketwt)) { unittype = "enemyrocket"; _root.enemymoney = _root.enemymoney - 1500; } if ((a > rocketwt) && (a < heavywt)) { unittype = "enemyheavy"; _root.enemymoney = _root.enemymoney - 2500; } if ((a > heavywt) && (a < humveewt)) { unittype = "enemyhumvee"; _root.enemymoney = _root.enemymoney - 500; } if ((a > humveewt) && (a < 1)) { unittype = "enemyartillery"; _root.enemymoney = _root.enemymoney - 2000; } _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.enemywarfactory1._x; _root[unittype + _root.n]._y = _root.enemywarfactory1._y + 100; _root[unittype + _root.n]._rotation = 0; _root[current].members.push(unittype + _root.n); unittype = undefined; _root.n++; } if ((_root.enemylasertank1._x == undefined) && (_root.enemytechcentre1._x != undefined)) { if (Math.random() > 0.9) { _root.attachMovie("enemylasertank", "enemylasertank1", _root.n); _root.enemylasertank1._x = _root.enemywarfactory1._x; _root.enemylasertank1._y = _root.enemywarfactory1._y + 100; _root.enemylasertank1._rotation = 0; _root.enemymoney = _root.enemymoney - 7500; teamli = teamslist[0]; _root[teamli].members.push("enemylasertank1"); } } } } } }; this.stupidai = function () { ppp = _root.enemyarray.toString(); Mouse.hide(); _root.ai.timer++; if (_root.ai.timer == 500) { if (_root.enemymines < minesneeded) { a = dozers[0]; if ((!_root[a].build) && (!_root[current].walking)) { if (Math.random() < mineweight) { p = Math.floor(Math.random() * minesneeded); _root[current].aibuild2("enemymine", _root["minept" + p]._x, _root["minept" + p]._y, 500, 0, 5); _root[current].build = true; } } } _root.ai.timer = 0; n = 1; while (n < 5) { if ((!_root["enemyturret" + n]) && (_root.enemymoney >= turretmoney)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { bb = Math.random(); if (bb < turret1wt) { _root[current].aibuild2("enemyturret", _root["turretpt" + n]._x, _root["turretpt" + n]._y, 1000, n, 1.5); _root[current].build = true; break; } if ((bb > turret1wt) && (bb < turret2wt)) { _root[current].aibuild2("enemymultiple", _root["turretpt" + n]._x, _root["turretpt" + n]._y, 1500, n, 1.5); _root[current].build = true; break; } if (bb > turret3wt) { _root[current].aibuild2("enemylaser", _root["turretpt" + n]._x, _root["turretpt" + n]._y, 1500, n, 1.5); _root[current].build = true; break; } } i--; } } n++; } } if (_root.ai.timer == 250) { if ((_root.enemycomcentre < 1) && (_root.enemymoney >= 5000)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemycomcentre", _root.comcentrept._x, _root.comcentrept._y, 5000, 0.5); _root[current].build = true; break; } i--; } } if ((_root.enemyservicedepot < 1) && (_root.enemymoney >= servicedepotmoney)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemyservicedepot", _root.servpt._x, _root.servpt._y, 1500, 1); _root[current].build = true; break; } i--; } } if ((_root.enemyrefinery < 1) && (_root.enemymoney >= 2000)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemyrefinery", _root.refpt._x, _root.refpt._y, 2000, 1); _root[current].build = true; break; } i--; } } if ((_root.enemywarfactory == 0) && (_root.enemymoney >= 2000)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemywarfactory", _root.warpt._x, _root.warpt._y, 2000, 1); _root[current].build = true; break; } i--; } } if ((_root.enemytechcentre < 1) && (_root.enemymoney >= techcentremoney)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemytechcentre", _root.techpt._x, _root.techpt._y, 1500, 0.7); _root[current].build = true; break; } i--; } } if (((_root.enemytechcentre1._x != undefined) && (timeelasped >= this.nuketime)) && (_root.enemyweaponsilo == 0)) { i = dozers.length - 1; while (i > -1) { current = dozers[i]; if ((!_root[current].walking) && (!_root[current].build)) { _root[current].aibuild("enemyweaponsilo", _root.silopt._x, _root.silopt._y, 10000, 0.2); _root[current].build = true; timeelasped = 0; break; } i--; } } i = 0; while (i < _root.array1.length) { current = _root.array1[i]; if (_root[current].life == undefined) { _root.array1.splice(i, 1); } if (i < (_root.array1.length - peoplestay)) { _root.array2.push(current); _root.array1.splice(i, 1); if (Math.random() > 0.5) { _root[current].avoid = true; } if (Math.random() > 0.8) { _root[current].aggressive = false; } } else if (_root[current].unittype != "artillery") { this.waypoint = "waypoint" + String(Math.floor(Math.random() * 7) + 100); _parent.selector.play(); if (_root[this.waypoint]._x != undefined) { _root[current].aigoto(_root[this.waypoint]._x, _root[this.waypoint]._y, false); } } i++; } } if ((Math.round(_root.ai.timer / 30) * 30) == _root.ai.timer) { if (_root.enemyarray.length <= 0) { _root.gotoAndStop("victory"); } if (_root.friendlylist.length <= 0) { _root.gotoAndStop("defeat"); } n = _root.enemystructurearray.length - 1; while (n > -1) { current2 = _root.enemystructurearray[n]; i = dozers.length - 1; while (i > -1) { current = dozers[i]; if (_root[current].build || (_root[current].walking)) { } else { dx = _root[current]._x - _root[current2]._x; dy = _root[current]._y - _root[current2]._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 1500) { ant = 0; if (((_root[current2].life < _root[current2].fulllife) && (_root[current2].percent == undefined)) && (_root[current2].auto._currentframe == 1)) { if (!_root[current].hitTest(_root[current2])) { _root[current].aigoto(_root[current2]._x, _root[current2]._y, false); } _root[current2].auto.play(); h = array1.length - 1; while (h > -1) { currents = _root.array1[h]; if ((((_root[currents].natack == undefined) && (!_root[currents].walking)) && (!_root[currents].fireing)) && (ant < 5)) { ant++; _root[currents].aigoto(_root[current2]._x, _root[current2]._y, false); if (_root[current2].targetobj != undefined) { targetobj = _root[current2].targetobj; _root[currents].aiattack(targetobj); } } h--; } } } break; } i--; } n--; } } if ((Math.round(_root.ai.timer / 70) * 70) == _root.ai.timer) { if (((dozers.length < dozersneeded) && (_root.enemycomcentre1._x != undefined)) && (_root.enemymoney > 1000)) { _root.enemymoney = _root.enemymoney - 1000; _root.attachMovie("enemydozer", "enemydozer" + _root.n, _root.n); _root["enemydozer" + _root.n]._x = _root.enemycomcentre1._x; _root["enemydozer" + _root.n]._y = _root.enemycomcentre1._y; _root["enemydozer" + _root.n]._rotation = 0; _root.n++; } if ((_root.enemymoney > uppermoney) && (!build)) { build = true; rounds++; } if ((_root.enemymoney < lowermoney) && (build)) { build = false; } i = 0; while (i < _root.array2.length) { current = _root.array2[i]; if (_root[current].life == undefined) { _root.array2.splice(i, 1); } else if ((!_root[current].fireing) && (!_root[current].walking)) { lo = Math.floor(Math.random() * (_root.friendlylist.length - 1)); unit = _root.friendlylist[lo]; _root[current].aiattack(unit); } i++; } arrayone = _root.array1.toString(); if (_root.enemywarfactory1.life > 0) { if ((_root.enemyoiltrucks < oiltrucksneeded) && (_root.enemymoney >= 2000)) { _root.enemymoney = _root.enemymoney - 1500; _root.attachMovie("enemyoiltruck", "enemyoiltruck" + _root.n, _root.n); _root["enemyoiltruck" + _root.n]._x = _root.enemywarfactory1._x; _root["enemyoiltruck" + _root.n]._y = _root.enemywarfactory1._y; _root["enemyoiltruck" + _root.n]._rotation = 0; _root.n++; } if (build || ((_root.array1.length < totalpeople) && (_root.enemymoney > 0))) { a = Math.random(); if ((a > 0) && (a < lightwt)) { unittype = "enemylight"; _root.enemymoney = _root.enemymoney - 1000; } if ((a > lightwt) && (a < rocketwt)) { unittype = "enemyrocket"; _root.enemymoney = _root.enemymoney - 1500; } if ((a > rocketwt) && (a < heavywt)) { unittype = "enemyheavy"; _root.enemymoney = _root.enemymoney - 2500; } if ((a > heavywt) && (a < humveewt)) { unittype = "enemyhumvee"; _root.enemymoney = _root.enemymoney - 500; } if ((a > humveewt) && (a < 1)) { unittype = "enemyartillery"; _root.enemymoney = _root.enemymoney - 2000; } _root.attachMovie(unittype, unittype + _root.n, _root.n); _root[unittype + _root.n]._x = _root.enemywarfactory1._x; _root[unittype + _root.n]._y = _root.enemywarfactory1._y + 100; _root[unittype + _root.n]._rotation = 0; _root.array1.push(unittype + _root.n); unittype = undefined; _root.n++; if ((_root.enemylasertank1._x == undefined) && (_root.enemytechcentre1._x != undefined)) { if (Math.random() > 0.9) { _root.attachMovie("enemylasertank", "enemylasertank1", _root.n); _root.enemylasertank1._x = _root.enemywarfactory1._x; _root.enemylasertank1._y = _root.enemywarfactory1._y + 100; _root.enemylasertank1._rotation = 0; _root.enemymoney = _root.enemymoney - 7500; _root.array1.push("enemylasertank1"); } } } } } }; this.difficulty = _root.difficulty; if (_root.ais == 1) { _root.ai.timer = 0; _root.array2 = []; _root.array1 = []; _root.ai.build = true; _root.ai.rounds = 0; _root.enemyoiltrucks = 0; _root.ai.minesneeded = 0; _root.ai.mineweight = 0; turretsneeded = 4; var i = 1; while (i < turretsneeded) { _root["enemyturret" + i] = false; i++; } _root.ai.pteam = 0; _root.ai.turretmoney = 1500; _root.ai.techcentremoney = 10000; _root.ai.servicedepotmoney = 50000; _root.ai.teamslist = []; _root.ai.teamsneeded = 5 + Math.round(5 / _root.difficulty); _root.ai.minteamlength = 2; _root.ai.teamlength = 3; _root.ai.dozersneeded = 3; _root.ai.timeelasped = 0; _root.ai.nuketime = 2000; _root.ai.uppermoney = 20000; _root.ai.lowermoney = 10000; _root.ai.oiltrucksneeded = 5; _root.ai.difficulty = _root.difficulty; _root.ai.lightwt = 0.3; _root.ai.rocketwt = 0.5; _root.ai.heavywt = 0.6; _root.ai.humveewt = 1; _root.ai.turret1wt = 0.5; _root.ai.turret2wt = 0.5; _root.ai.turret3wt = 1; totalpeople = 14; peoplestay = 6; type = 1; this.commandteamtype = function () { if ((Math.round(_root.ai.timer / 70) * 70) == _root.ai.timer) { nextteam++; if ((nextteam == undefined) || (nextteam >= _root.ai.teamslist.length)) { nextteam = 0; } current = _root.ai.teamslist[nextteam]; if ((_root[current].members.length <= (_root[current].members.length * 0.333333333333333)) && (_root[current].attackpt != undefined)) { _root[current].fleeing = true; if (_root.enemyservicedepot1._x != undefined) { waypoint = "enemyservicedepot1"; } else { waypoint = "waypoint100"; } } if (_root[current].iswithindistance(_root[current].attackpt, 200) && (!(_root[current].fleeing === true))) { lo = Math.floor(Math.random() * (_root.friendlylist.length - 1)); unit = _root.friendlylist[lo]; _root[current].attack(unit); } if ((_root[current].members.length == 0) && (_root[current].built === true)) { _root.ai.teamslist.findandsplice(current); _root[current] = undefined; } if (_root[current].members.length >= 1) { _root[current].built = true; } if (_root[current].members.length >= _root[current].maxlength) { _root[current].fleeing = false; _root[current].attackpt = "attackpt" + String(Math.ceil(Math.random() * 3)); _root[current].goto(undefined, undefined, _root[current].attackpt); _root[current].attacks = true; } } }; } if (_root.ais == 2) { _root.ai.timer = 0; _root.array2 = []; _root.array1 = []; _root.ai.build = true; _root.ai.rounds = 0; _root.enemyoiltrucks = 0; _root.ai.minesneeded = 3; _root.ai.mineweight = 0.3; turretsneeded = 9; var i = 1; while (i < turretsneeded) { _root["enemyturret" + i] = false; i++; } _root.ai.pteam = 0; _root.ai.turretmoney = 1500; _root.ai.techcentremoney = 30000; _root.ai.servicedepotmoney = 20000; _root.ai.teamslist = []; _root.ai.teamsneeded = 2; _root.ai.minteamlength = Math.round(10 / _root.difficulty); _root.ai.teamlength = Math.round(10 / _root.difficulty); _root.ai.dozersneeded = 5; _root.ai.timeelasped = 0; _root.ai.nuketime = 2000; _root.ai.uppermoney = 10000; _root.ai.lowermoney = 5000; _root.ai.oiltrucksneeded = 3; _root.ai.difficulty = _root.difficulty; _root.ai.lightwt = 0.2; _root.ai.rocketwt = 0.3; _root.ai.heavywt = 0.6; _root.ai.humveewt = 0.7; _root.ai.turret1wt = 0.1; _root.ai.turret2wt = 0.5; _root.ai.turret3wt = 0.7; totalpeople = 30; peoplestay = 2; type = 2; this.commandteamtype2 = function () { if (_root.ai.timer == Math.round(_root.difficulty * 250)) { nextteam++; if ((nextteam == undefined) || (nextteam >= _root.ai.teamslist.length)) { nextteam = 0; } current = _root.ai.teamslist[nextteam]; if ((_root[current].members.length == 0) && (_root[current].built === true)) { _root.ai.teamslist.findandsplice(current); _root[current] = undefined; } if (_root[current].members.length >= 1) { _root[current].built = true; } if (_root[current].members.length >= _root[current].maxlength) { lo = Math.floor(Math.random() * (_root.friendlylist.length - 1)); unit = _root.friendlylist[lo]; _root[current].attack(unit); } } if ((Math.round(_root.ai.timer / 100) * 100) == _root.ai.timer) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root.team1.iswithindistance2(current, 1000)) { _root.team1.attack(current, true); } i--; } } }; } if (_root.ais == 3) { _root.ai.timer = 0; _root.array2 = []; _root.array1 = []; _root.ai.build = true; _root.ai.rounds = 0; _root.enemyoiltrucks = 0; _root.ai.minesneeded = 0; _root.ai.mineweight = 0; turretsneeded = 6; var i = 1; while (i < turretsneeded) { _root["enemyturret" + i] = false; i++; } _root.ai.pteam = 0; _root.ai.turretmoney = 1500; _root.ai.techcentremoney = 30000; _root.ai.servicedepotmoney = 20000; _root.ai.teamslist = []; _root.ai.teamsneeded = _root.oilarray.length; _root.ai.minteamlength = 3 + Math.round(5 / _root.difficulty); _root.ai.teamlength = 2 + Math.round(4 / _root.difficulty); _root.ai.dozersneeded = 6; _root.ai.timeelasped = 0; _root.ai.nuketime = 10000; _root.ai.uppermoney = 20000; _root.ai.lowermoney = 10000; _root.ai.oiltrucksneeded = 8; _root.ai.difficulty = _root.difficulty; _root.ai.lightwt = 0.4; _root.ai.rocketwt = 0.6; _root.ai.heavywt = 0.7; _root.ai.humveewt = 0.9; _root.ai.turret1wt = 0.3; _root.ai.turret2wt = 0.6; _root.ai.turret3wt = 0.9; totalpeople = 30; peoplestay = 2; type = 3; this.commandteamtype3 = function () { if ((Math.round(_root.ai.timer / 100) * 100) == _root.ai.timer) { nextteam++; if ((nextteam == undefined) || (nextteam >= _root.ai.teamslist.length)) { nextteam = 0; } _root.ai.teamsneeded = _root.oilarray.length; current = _root.ai.teamslist[nextteam]; if ((_root[current].members.length == 0) && (_root[current].built === true)) { _root.ai.teamslist.findandsplice(current); _root[current] = undefined; } if (_root[current].members.length >= 1) { _root[current].built = true; } lo = Math.floor(Math.random() * (_root.oilarray.length - 1)); unit = _root.oilarray[lo]; _root[current].goto(undefined, undefined, unit); if (Math.random() > 0.5) { if (Math.random() > 0.8) { lo = Math.floor(Math.random() * _root.friendlylist.length); unit = _root.friendlylist[lo]; _root[current].attack(unit); } else { lo = Math.floor(Math.random() * _root.oiltruckarray.length); unit = _root.oiltruckarray[lo]; _root[current].attack(unit); } } } }; } if (_root.ais == 4) { _root.ai.timer = 0; _root.array2 = []; _root.array1 = []; _root.ai.build = true; _root.ai.rounds = 0; _root.enemyoiltrucks = 0; _root.ai.minesneeded = 5; _root.ai.mineweight = 0.5; turretsneeded = 4; var i = 1; while (i < turretsneeded) { _root["enemyturret" + i] = false; i++; } _root.ai.pteam = 0; _root.ai.turretmoney = 1500; _root.ai.techcentremoney = 10000; _root.ai.servicedepotmoney = 10000; _root.ai.teamslist = []; _root.ai.teamsneeded = 4; _root.ai.minteamlength = 2; _root.ai.teamlength = 3 + Math.round(3 / _root.difficulty); _root.ai.dozersneeded = 3; _root.ai.timeelasped = 0; _root.ai.nuketime = 5000; _root.ai.uppermoney = 40000; _root.ai.lowermoney = 15000; _root.ai.oiltrucksneeded = 6; _root.ai.difficulty = _root.difficulty; _root.ai.lightwt = 0.2; _root.ai.rocketwt = 0.4; _root.ai.heavywt = 0.6; _root.ai.humveewt = 0.8; _root.ai.turret1wt = 0.1; _root.ai.turret2wt = 0.4; _root.ai.turret3wt = 0.6; posarray = 0; const = 1; upgradearray = ["shell2", "laser", "gatling", "emp", "nuke", "seeker", "missile", "blast", "accurate", "crush", "auto"]; totalpeople = 20; peoplestay = 10; type = 4; this.commandteamtype4 = function () { if (_root.ai.timer == Math.round(_root.difficulty * 250)) { _root.enemymoney = _root.enemymoney - 500; nextteam++; if ((nextteam == undefined) || (nextteam >= _root.ai.teamslist.length)) { nextteam = 0; } current = _root.ai.teamslist[nextteam]; _root[current].timer++; if ((_root[current].members.length == 0) && (_root[current].built === true)) { _root.ai.teamslist.findandsplice(current); _root[current] = undefined; } if (_root[current].members.length >= 1) { _root[current].built = true; } if (_root[current].upgradealready == true) { lo = Math.floor(Math.random() * _root.friendlylist.length); unit = _root.friendlylist[lo]; _root[current].attack(unit); } } if (_root[current].members.length < 2) { _root[current].upgradealready = undefined; } if (_root.enemytechcentre1.life != undefined) { if ((Math.round(_root.ai.timer / 50) * 50) == _root.ai.timer) { posarray++; if (posarray >= upgradearray.length) { posarray = 0; } currents = upgradearray[posarray]; _root[current].command(currents, true); _root[current].command("miss", 3); if (_root[current].timer > 7) { if (_root[current].upgradealready == undefined) { _root[current].upgrade("firerate", 0.75); _root[current].upgrade("damage", 1.5); _root[current].upgrade("fulllife", 3); _root[current].upgrade("life", 3); _root[current].upgrade("speed", 1.5); _root[current].upgrade("shellspd", 1.5); _root[current].upgrade("range", 1.5); _root[current].upgradealready = true; } } } } }; } if (_root.ais == 5) { _root.ai.timer = 0; _root.array2 = []; _root.array1 = []; _root.ai.build = true; _root.ai.rounds = 0; _root.enemyoiltrucks = 0; _root.ai.minesneeded = 3; _root.ai.mineweight = 0.2; turretsneeded = 6; var i = 1; while (i < turretsneeded) { _root["enemyturret" + i] = false; i++; } _root.ai.pteam = 0; _root.ai.turretmoney = 3500; _root.ai.techcentremoney = 20000; _root.ai.servicedepotmoney = 15000; _root.ai.teamslist = []; _root.ai.teamsneeded = 4; _root.ai.minteamlength = 3 + Math.round(2 / _root.difficulty); _root.ai.teamlength = 0 + Math.round(5 / _root.difficulty); _root.ai.dozersneeded = 5; _root.ai.timeelasped = 0; _root.ai.nuketime = 500; _root.ai.uppermoney = 30000; _root.ai.lowermoney = 15000; _root.ai.oiltrucksneeded = 4; _root.ai.difficulty = _root.difficulty; _root.ai.lightwt = 0; _root.ai.rocketwt = 0.4; _root.ai.heavywt = 0.4; _root.ai.humveewt = 0.5; _root.ai.turret1wt = 0; _root.ai.turret2wt = 0.6; _root.ai.turret3wt = 0.6; posarray = 0; const = 100 * (1 / _root.ai.difficulty); upgradearray = ["emp", "nuke", "accurate"]; totalpeople = 20; peoplestay = 5; type = 5; this.commandteamtype5 = function () { if (_root.ai.timer == Math.round(_root.difficulty * 250)) { nextteam++; if ((nextteam == undefined) || (nextteam >= _root.ai.teamslist.length)) { nextteam = 0; } current = _root.ai.teamslist[nextteam]; _root[current].timer++; if ((_root[current].members.length == 0) && (_root[current].built === true)) { _root.ai.teamslist.findandsplice(current); _root[current] = undefined; } if (_root[current].members.length >= 1) { _root[current].built = true; } if (_root[current].attackpt == undefined) { _root[current].attackpt = "attackpt" + String(nextteam + 1); } if (_root[current].members.length < 2) { _root[current].upgradealready = undefined; _root[current].isattack = false; } posarray++; if (posarray >= upgradearray.length) { posarray = 0; } currents = upgradearray[posarray]; _root[current].command(currents, true); _root[current].command("miss", 2); if (_root[current].timer > 10) { if (_root[current].iswithindistance(_root[current].attackpt, 400)) { lo = Math.floor(Math.random() * _root.friendlylist.length); unit = _root.friendlylist[lo]; _root[current].attack(unit); _root[current].isattack = true; } if ((!_root[current].iswithindistance(_root[current].attackpt, 200)) && (!_root[current].isattack)) { _root[current].goto(undefined, undefined, _root[current].attackpt); } } } if (_root[current].upgradealready == undefined) { _root[current].upgrade("damage", 2); _root[current].upgrade("range", 1.5); _root[current].upgradealready = true; } }; }
Symbol 1128 MovieClip Frame 1
n = 0; hit = false; stop();
Symbol 1130 MovieClip Frame 1
if (_root.ownmap5 === true) { this._visible = false; } this.swapDepths(25000 + _root.n); _root.n++; _root.shroudarray.push(this._name); _root.objarray.push(this._name);
Symbol 1151 MovieClip Frame 1
this._visible = false;
Symbol 1152 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1157 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1162 MovieClip Frame 1
this._x = 0; this._y = 0; this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1168 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1170 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1186 Button
on (release) { _root.play(); }
Symbol 1187 MovieClip Frame 1
stop();
Symbol 1187 MovieClip Frame 20
stop();
Symbol 1188 MovieClip Frame 25
stop();
Instance of Symbol 600 MovieClip "kiss" in Symbol 1188 MovieClip Frame 25
onClipEvent (load) { playa = false; words = " Dear Commander,\n A month ago ,we have encountered criticisms from our European Neighbours after a deal to sell $155 billion worth of Military Equiptment to The European Union fell through. Their governments have since rallied together and formed the Confederacy Of European States in a bid to force us to hand over our new state of the art Class 16 Military Tanks.\n \n The European Confederacy threatens to wage war on our bases in Europe should their demands not be met. I will not allow a once United Europe be split into factions because of such a trivial matter. \n\nYou are to lead a US peacekeeping team based in France and quell the conflicts in Europe. Your commanding Officer shall give you more details."; n = 0; _parent.textss = ""; stringarray = words.split(""); pp = stringarray.length - 1; playa = true; } onClipEvent (enterFrame) { if (n == pp) { if (_parent.signs._currentframe == 1) { _parent.signs.play(); } } if ((n < pp) && (playa)) { i = n; _parent.textss = _parent.textss + stringarray[i]; n = n + 1; } else { sound.stop(); } }
Symbol 1202 MovieClip Frame 1
stop();
Symbol 1205 MovieClip Frame 1
stop(); if (_root.musicon) { stopAllSounds(); _root.music = new Sound(); _root.music.attachSound("music6"); _root.music.setVolume(70); _root.music.stop(); _root.music.start(0, 1000); } _root.dialogue.gotoAndStop("empty");
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 7
onClipEvent (load) { gotoAndStop (2); }
Symbol 1205 MovieClip Frame 14
Symbol 1205 MovieClip Frame 15
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 17
onClipEvent (load) { gotoAndStop (2); }
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 25
onClipEvent (load) { gotoAndStop (3); }
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 34
onClipEvent (load) { gotoAndStop (2); }
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 42
onClipEvent (load) { gotoAndStop (4); }
Symbol 1205 MovieClip Frame 49
_root.shader2.play(); stop();
Symbol 1205 MovieClip Frame 50
stop();
Symbol 1205 MovieClip Frame 70
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 70
onClipEvent (load) { gotoAndStop (5); }
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 80
onClipEvent (load) { gotoAndStop (6); }
Symbol 1205 MovieClip Frame 95
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 110
onClipEvent (load) { gotoAndStop (7); }
Symbol 1205 MovieClip Frame 120
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 140
onClipEvent (load) { gotoAndStop (8); }
Symbol 1205 MovieClip Frame 152
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 185
onClipEvent (load) { gotoAndStop (9); }
Symbol 1205 MovieClip Frame 186
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 205
onClipEvent (load) { gotoAndStop (10); }
Symbol 1205 MovieClip Frame 216
_root.shader2.play(); stop();
Instance of Symbol 1202 MovieClip in Symbol 1205 MovieClip Frame 230
onClipEvent (load) { gotoAndStop (11); }
Symbol 1205 MovieClip Frame 241
_root.shader2.play(); stop();
Symbol 1209 Button
on (release) { _root.mapbar.commandbutton._visible = true; _root.mapbar.selectedarray = _root[this._name + "array"].concat(); _root.mapbar.mapn = this._name; _root.mapbar.invadebutton._visible = false; _root.mapbar.calccost(); i = 10; while (i > -1) { _root["map" + i].selecteds._visible = false; i--; } this.selecteds._visible = true; } on (rollOver) { _root.mapbar.words = words; }
Symbol 1211 Button
on (release) { _root.mapbar.kiss.sound.stop(); _root.gotoAndPlay(map); } on (rollOver) { _root.mapbar.words = words; _root.mapbar.info = info; _root.mapbar.kiss.loadtexts(); } on (rollOut) { _root.mapbar.words = ""; _root.mapbar.textss = ""; _root.mapbar.info = ""; _root.mapbar.kiss.stringarray = []; _root.mapbar.kiss.sound.stop(); _root.mapbar.kiss.n = 0; _root.mapbar.kiss.pp = 0; _root.mapbar.kiss.i = 0; _root.mapbar.kiss.playa = false; }
Symbol 1214 MovieClip Frame 1
this._visible = false; stop();
Symbol 1214 MovieClip Frame 2
this._visible = true;
Symbol 1214 MovieClip Frame 15
if (_root.shader1._currentframe == 1) { _root.shader1.play(); } if ((this._name == "shader1") && (_root.shader0._currentframe == 1)) { _root.shader0.play(); } stop();
Instance of Symbol 1213 MovieClip in Symbol 1214 MovieClip Frame 15
onClipEvent (load) { this._yscale = 10000 / _parent._yscale; this._xscale = 10000 / _parent._xscale; }
Symbol 1214 MovieClip Frame 17
stop();
Symbol 1329 MovieClip Frame 1
_global.teamtype("enemies", _root.enemyarray, 100000); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 1
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { _root.apc.life = _root.apc.life * (3 / _root.difficulty); _root.apc.fulllife = _root.apc.fulllife * (3 / _root.difficulty); n = 0; }
Symbol 1329 MovieClip Frame 2
stop();
Symbol 1329 MovieClip Frame 3
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 3
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 4
n = 0; _root.enemies.attack("apc");
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 4
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 100) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 5
stop();
Symbol 1329 MovieClip Frame 6
n = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 6
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 100) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 7
n = 0; _root.scrolla = true;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 7
onClipEvent (enterFrame) { _parent.n++; if (_parent.n == 100) { var i = 4; while (i > 0) { _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].life = 500; _root["elite" + i].fulllife = 500; _root["elite" + i].shell2 = true; _root["elite" + i].auto = true; _root["elite" + i].firerate = 10; i--; } var i = 6; while (i > 4) { _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].miss = 2; _root["elite" + i].damage = 75; _root["elite" + i].seeker = true; i--; } var i = 9; while (i > 6) { _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].laser = true; _root["elite" + i].speed = 8; i--; } var i = 10; while (i > 9) { _root["elite" + i]._x = _root.tart._x; _root["elite" + i]._y = _root.tart._y; _root["elite" + i].emp = true; i--; } _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 8
stop();
Symbol 1329 MovieClip Frame 9
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 9
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 100) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 10
stop();
Symbol 1329 MovieClip Frame 11
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 12
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 13
stop();
Symbol 1329 MovieClip Frame 14
p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 14
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 15
stop();
Symbol 1329 MovieClip Frame 16
stop(); p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 16
onClipEvent (enterFrame) { n++; if (n == 2) { _root.miss4.miss = 2; _root.miss5.miss = 3; _root.miss4.range = 550; _root.miss5.range = 550; _root.arts.nuke = true; _root.hum1.gatling = true; _root.hum2.laser = true; _root.tank1.shell2 = true; _root.htank.crush = true; _global.teamtype("friendlies", _root.friendlylist, 1000); _root.friendlies.upgrade("fulllife", 5 / _root.difficulty); _root.friendlies.upgrade("life", 5 / _root.difficulty); _root.friendlies.command("hitonly", true); } if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 17
stop();
Symbol 1329 MovieClip Frame 18
p = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 18
onClipEvent (enterFrame) { n++; if (n > 100) { _root.gotoAndStop("defeat4b"); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 19
stop();
Symbol 1329 MovieClip Frame 20
p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 20
onClipEvent (enterFrame) { n++; pet++; if (pet == 10) { _root.ai.createobj2(); _root.ai.applyobj(); pet = 0; } if (n > 300) { _global.teamtype("enemies", _root.guyzarray, 1000); _parent.nextFrame(); } } onClipEvent (load) { n = 0; pet = 0; }
Symbol 1329 MovieClip Frame 21
stop();
Symbol 1329 MovieClip Frame 22
p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 22
onClipEvent (enterFrame) { n++; if (n > 500) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; pet = 0; }
Symbol 1329 MovieClip Frame 23
stop();
Symbol 1329 MovieClip Frame 24
stop(); p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 24
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 26
stop(); p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 26
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 28
stop(); p = 0;
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 28
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 30
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 30
onClipEvent (enterFrame) { n++; if (n == 2) { _root.laser1.fulllife = _root.laser1.fulllife * 10; _root.laser1.life = _root.laser1.life * 10; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].unittype != "humvee") { _root[current].dummy.empulse = -500; } else { _root[current].laser = true; _root[current].gatling = true; _root[current].aggressive = false; } i--; } i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if (_root[current].hitTest(_root.tech1)) { _root.ai.guyz.push(current); } i--; } teamtype("guards", _root.ai.guyz, 10000); } if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 31
stop();
Symbol 1329 MovieClip Frame 32
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 32
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 33
stop();
Symbol 1329 MovieClip Frame 34
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 34
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 35
nextFrame();
Symbol 1329 MovieClip Frame 36
_root.guards.goto(undefined, undefined, "enemyrefinery1"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 36
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 37
stop();
Symbol 1329 MovieClip Frame 38
_root.guards.goto(undefined, undefined, "enemytechcentre1"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 38
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 39
stop();
Symbol 1329 MovieClip Frame 40
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 40
onClipEvent (enterFrame) { n++; if (n > (700 / _root.difficulty)) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 41
nextFrame();
Symbol 1329 MovieClip Frame 42
i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; _root[current].dummy.empulse = 0; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 42
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 400) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 43
n = 0; _root.laser1.aiattack("service1"); stop();
Symbol 1329 MovieClip Frame 44
n = 0; _root.laser1.aiattack("turret1"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 44
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 200) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 45
n = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 45
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 400) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 46
n = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 46
onClipEvent (enterFrame) { _parent.n++; if (_parent.n > 100) { _root.gotoAndStop("victory6"); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1329 MovieClip Frame 47
i = 5; while (i > 0) { _root["laser" + i].life = 10000; _root["laser" + i].fulllife = 10000; _root["laser" + i].range = 100; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 47
onClipEvent (enterFrame) { n++; if (n > 1000) { _parent.nextFrame(); } } onClipEvent (load) { _root.selectedarray = ["em1", "em2", "em3", "em4", "em5"]; i = 5; while (i > -1) { _root["em" + i].emp = true; _root["em" + i].selector._visible = true; _root["em" + i].speed = 0; _root["em" + i].deploy(); i--; } n = 0; }
Symbol 1329 MovieClip Frame 48
nextFrame();
Symbol 1329 MovieClip Frame 49
teamtype("enemies", _root.enemyarray, 10000); _root.enemies.attack("comally"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 49
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 50
stop();
Symbol 1329 MovieClip Frame 51
i = _root.enemyarray.length - 1; while (i > (_root.enemyarray.length / 3)) { current = _root.enemyarray[i]; _root[current].aiattack("warfactory1"); i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 51
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 52
stop();
Symbol 1329 MovieClip Frame 53
i = 3; while (i > 0) { _root["laser" + i].life = 10000; _root["laser" + i].fulllife = 10000; _root["laser" + i].speed = 2; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 53
onClipEvent (enterFrame) { n++; if (n > 500) { _parent.nextFrame(); } } onClipEvent (load) { }
Symbol 1329 MovieClip Frame 55
_root.money = _root.money - 50000; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 55
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; _root.guide.dummy.empulse = 0; _root.guide.aigoto(_root.enemytechcentre1._x, _root.enemytechcentre1._y); }
Symbol 1329 MovieClip Frame 57
_root.ai.convert("laser1", 1); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 57
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { _root.guide.aigoto(_root.enemytechcentre2._x, _root.enemytechcentre2._y); }
Symbol 1329 MovieClip Frame 59
_root.ai.convert("laser2", 2); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 59
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; _root.guide.aigoto(_root.enemytechcentre3._x, _root.enemytechcentre3._y); }
Symbol 1329 MovieClip Frame 61
_root.ai.convert("laser3", 3); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 61
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; _root.guide.aigoto(_root.com._x, _root.com._y); }
Symbol 1329 MovieClip Frame 62
nextFrame();
Symbol 1329 MovieClip Frame 63
i = 3; while (i > 0) { _root["laser" + i].life = 10000; _root["laser" + i].fulllife = 10000; _root["laser" + i].speed = 2; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 63
onClipEvent (enterFrame) { n++; if (n > 500) { _parent.nextFrame(); } } onClipEvent (load) { }
Symbol 1329 MovieClip Frame 64
stop();
Symbol 1329 MovieClip Frame 65
i = 3; while (i > 0) { _root["laser" + i].life = 10000; _root["laser" + i].fulllife = 10000; _root["laser" + i].speed = 2; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 65
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { }
Symbol 1329 MovieClip Frame 67
i = 4; while (i > 0) { _root.attachMovie("lasertank", "lasers" + i, _root.n); _root["lasers" + i]._x = _root.pao1._x + (50 * i); _root["lasers" + i]._y = _root.pao1._y; _root.n++; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 67
onClipEvent (enterFrame) { n++; if (n == 3) { i = 4; while (i > 0) { _root["lasers" + i].life = 10000; _root["lasers" + i].fulllife = 10000; _root["lasers" + i].speed = 2; i--; } } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 69
i = 3; while (i > 0) { _root["laser" + i].life = 10000; _root["laser" + i].fulllife = 10000; _root["laser" + i].speed = 2; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 69
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { }
Symbol 1329 MovieClip Frame 71
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 71
onClipEvent (enterFrame) { n++; if (n > 200) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; _root[current].hitonly = true; i--; } _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 73
_root.truck.dummy.empulse = 100; _root.ai.go = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 73
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 74
if (_root.truck.mined) { gotoAndStop ("bugged"); } else { gotoAndStop ("good"); }
Symbol 1329 MovieClip Frame 75
_root.truck.aigoto(_root.enemyservicedepot1._x, _root.enemyservicedepot1._y); _root.truck.dummy.empulse = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 75
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 76
_root.ai.go = false; stop();
Symbol 1329 MovieClip Frame 77
_root.truck.life = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 77
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 78
_root.ai.go = false; stop();
Symbol 1329 MovieClip Frame 79
_root.patrols1.goto(undefined, undefined, "enemyservicedepot1"); _root.patrols2.goto(undefined, undefined, "enemyservicedepot1"); _root.patrols3.goto(undefined, undefined, "enemyservicedepot1"); _root.ai.bombed = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 79
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 80
stop();
Symbol 1329 MovieClip Frame 81
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 81
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 82
stop();
Symbol 1329 MovieClip Frame 83
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 83
onClipEvent (enterFrame) { n++; if (n == 3) { teamtype("convoy", _root.friendlylist, 10000); _root.convoy.goto(undefined, undefined, "dropoff"); _root.dozer1.speed = 1; _root.dozer2.speed = 1; _root.dozer3.speed = 1; _root.laser.speed = 2; _root.convoy.command("laser", true); _root.convoy.command("auto", true); _root.convoy.command("gatling", true); _root.convoy.command("emp", true); _root.convoy.command("accurate", true); _root.convoy.command("shell2", true); _root.convoy.command("seeker", true); _root.convoy.command("miss", 2); _root.convoy.command("hitonly", true); _root.convoy.upgrade("life", 2); _root.convoy.upgrade("fulllife", 2); _root.convoy.upgrade("damage", 2); } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 85
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 85
onClipEvent (enterFrame) { n++; if (n == 3) { } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 87
i = _root.dozerarray.length - 1; while (i > -1) { current = _root.dozerarray[i]; if (_root[current]._y > _root.bridge2._y) { _root.ai.downbridge.push(current); } if (_root[current]._y < _root.bridge2._y) { _root.ai.upbridge.push(current); } i--; } teamtype("down", _root.ai.downbridge, 1000); teamtype("up", _root.ai.upbridge, 1000); _root.down.goto(undefined, undefined, "repair1"); _root.up.goto(undefined, undefined, "repair2"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 87
onClipEvent (enterFrame) { n++; if (n == 3) { } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 88
stop();
Symbol 1329 MovieClip Frame 89
_root.back.bridge.gotoAndStop("q"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 89
onClipEvent (enterFrame) { n++; if (n == 3) { } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 90
stop();
Symbol 1329 MovieClip Frame 91
_root.back.bridge.gotoAndStop("h"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 91
onClipEvent (enterFrame) { n++; if (n == 3) { } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 92
stop();
Symbol 1329 MovieClip Frame 93
_root.back.bridge.gotoAndStop("3q"); stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 93
onClipEvent (enterFrame) { n++; if (n == 3) { } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 94
stop();
Symbol 1329 MovieClip Frame 95
_root.back.bridge.gotoAndStop(1); _root.ai.ambush = false; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 95
onClipEvent (enterFrame) { n++; if (n == 3) { } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 96
stop();
Symbol 1329 MovieClip Frame 97
i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; _root[current].life = _root[current].life * 10; _root[current].fulllife = _root[current].fulllife * 10; i--; } stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 97
onClipEvent (enterFrame) { n++; if (n == 3) { _root.fortress.life = 10000000 /* 0x989680 */; _root.fortress.fulllife = 10000000 /* 0x989680 */; _root.fortress.dummy.empulse = -3; i = _root.enemyturretarray.length - 1; while (i > -1) { current = _root.enemyturretarray[i]; if (_root[current]._yscale > 101) { _root[current].damage = _root[current].damage * 3; _root[current].range = 550; } i--; } i = _root.enemystructurearray.length - 1; while (i > -1) { current = _root.enemystructurearray[i]; _root[current].life = _root[current].life * 2; _root[current].fulllife = _root[current].fulllife * 2; i--; } } if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 98
stop();
Symbol 1329 MovieClip Frame 99
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 99
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 100
stop();
Symbol 1329 MovieClip Frame 101
_root.fortress.dummy.empulse = 0; _root.fortress.fulllife = 100000 /* 0x0186A0 */; _root.fortress.life = 100000 /* 0x0186A0 */; stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 101
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 102
stop();
Symbol 1329 MovieClip Frame 103
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 103
onClipEvent (enterFrame) { n++; if (n > 200) { _root.gotoAndStop("victory10"); _root.decoy = true; } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 104
stop();
Symbol 1329 MovieClip Frame 105
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 105
onClipEvent (enterFrame) { n++; if (n > 200) { _root.gotoAndStop("victory10"); _root.decoy = false; } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 106
stop();
Symbol 1329 MovieClip Frame 107
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 107
onClipEvent (enterFrame) { n++; if (n == 3) { _root.friendlies = undefined; teamtype("friendlies", _root.friendlylist, 100); _root.friendlies.upgrade("fulllife", 10); _root.friendlies.upgrade("life", 10); _root.friendlies.command("hitonly", true); _root.friendlies.command("laser", true); _root.friendlies.command("aggressive", false); _root.friendlies.command("gatling", true); _root.friendlies.command("crush", true); _root.friendlies.command("auto", true); _root.friendlies.command("emp", true); _root.friendlies.command("seeker", true); _root.friendlies.command("miss", 2); _root.friendlies.command("emp", true); _root.friendlies.command("_alpha", 50); _root.friendlies = undefined; } if (n > 400) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 108
stop();
Symbol 1329 MovieClip Frame 109
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 109
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 111
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 111
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 113
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 113
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 115
stop();
Instance of Symbol 37 MovieClip in Symbol 1329 MovieClip Frame 115
onClipEvent (enterFrame) { n++; if (n > 100) { _root.gotoAndStop("defeat10a"); } } onClipEvent (load) { n = 0; }
Symbol 1329 MovieClip Frame 116
stop();
Symbol 1334 MovieClip Frame 1
this.cacheAsBitmap = true; _root.enemyarray.push(this._name); _root.objarray.push(_name); stop();
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1334 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent.life <= 0) { _parent.nextFrame(); } } onClipEvent (load) { _parent.life = 500; this._visible = false; }
Symbol 1334 MovieClip Frame 2
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.ai.timergo = true; stop();
Symbol 1365 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1375 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1380 MovieClip Frame 1
this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 1380 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.upgrade = 0; _root.structurearray.push(_parent._name); this._visible = false; _parent.enemy = false; _parent.aggressive = true; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 2000; _parent.fulllife = 2000; _parent.unittype = "comcentre"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1380 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 1380 MovieClip Frame 2
_root.enemymoney = _root.enemymoney + 5000; _root.sidebar.build.dozer.gotoAndStop(1);
Symbol 1380 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root[_name + "symbols"].removeMovieClip(); this._name = "noo2b"; _root.alliedunits--; this.removeMovieClip(); stop();
Symbol 1382 MovieClip Frame 1
this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 1382 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; this._visible = false; _parent.enemy = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _parent.unittype = "servicedepot"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1382 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 380 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 1382 MovieClip Frame 2
_root.money = _root.money + 5000;
Symbol 1382 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.alliedunits--; _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 1384 MovieClip Frame 1
this.cacheAsBitmap = true; stop();
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1384 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 290 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1384 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 290 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Instance of Symbol 110 MovieClip "selector" in Symbol 1384 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; this._visible = false; _parent.enemy = false; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _root.friendlylist.push(_parent._name); _parent.unittype = "war factory"; }
Symbol 1384 MovieClip Frame 2
_root.money = _root.money + 2000;
Symbol 1384 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.alliedunits--; _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 1386 MovieClip Frame 1
this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 1386 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; this._visible = false; _parent.enemy = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _parent.unittype = "techcentre"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1386 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 240 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 1386 MovieClip Frame 2
_root.money = _root.money + 1500;
Symbol 1386 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.alliedunits--; _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 1391 MovieClip Frame 1
_root.enemycomcentre = 1; repairs = false; name = this._name; this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 1391 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; this._visible = false; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 1000; _parent.fulllife = 1000; _parent.unittype = "radar"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 1391 MovieClip Frame 2
_root.money = _root.money + 5000;
Symbol 1391 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.sensornets--; _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 1394 MovieClip Frame 1
this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 1394 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; this._visible = false; _parent.aggressive = false; _root.enemyarray.push(_parent._name); _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _parent.life = 5000; _parent.fulllife = 5000; _parent.unittype = "derrick"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1394 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 1000 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 1394 MovieClip Frame 2
_root.money = _root.money + 5000;
Symbol 1394 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.enemystructurearray.findandsplice(_name); _root.gotoAndStop("victory7"); _root[_name + "symbols"].removeMovieClip(); this._name = "nobody"; this.removeMovieClip(); stop();
Symbol 1398 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1413 MovieClip Frame 1
stop();
Symbol 1413 MovieClip Frame 20
stop();
Symbol 1413 MovieClip Frame 21
stop();
Symbol 1413 MovieClip Frame 22
stop();
Symbol 1413 MovieClip Frame 23
stop();
Symbol 1416 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1421 MovieClip Frame 1
_root.enemycomcentre = 1; repairs = false; name = this._name; this.cacheAsBitmap = true; stop();
Instance of Symbol 110 MovieClip "selector" in Symbol 1421 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("bigdot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; this._visible = false; _parent.aggressive = false; _root.objarray.push(_parent._name); _root.unitsarray.push(_parent._name); _root.enemyarray.push(_parent._name); _parent.life = 2000; _parent.fulllife = 2000; _parent.unittype = "radar"; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1421 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 370 * (_parent.life / _parent.fulllife); if (_parent.life <= 0) { _parent.gotoAndPlay("explode"); } }
Symbol 1421 MovieClip Frame 2
_root.money = _root.money + 5000;
Symbol 1421 MovieClip Frame 11
_root.objarray.findandsplice(_name); _root.unitsarray.findandsplice(_name); _root.enemyarray.findandsplice(_name); _root.sensornets--; _root[_name + "symbols"].removeMovieClip(); this.removeMovieClip(); stop();
Symbol 1426 MovieClip Frame 1
this.cacheAsBitmap = true; this.opaqueBackground = 0;
Symbol 1428 MovieClip Frame 1
stop();
Instance of Symbol 596 MovieClip "dummy" in Symbol 1428 MovieClip Frame 1
onClipEvent (load) { _root.attachMovie("dot2", _parent._name + "symbols", 1000006 + _root.n); _root[_parent._name + "symbols"]._x = x1 + (constantsx * (_parent._x - _root.back._x)); _root[_parent._name + "symbols"]._y = y1 + (constantsy * (_parent._y - _root.back._y)); _root.n++; _parent.unittype = "apc"; _parent.avoid = false; upgrade = 0; aaa = Math.random() * upgrade; _parent.aggressive = true; _root.enemyarray.push(_parent._name); _parent.enemy = true; _parent.num = _root.num; _root.num++; _parent.selected1 = false; _root.unitsarray.push(_parent._name); _root.objarray.push(_parent._name); _parent.life = 1500; _parent.fulllife = 1500; _parent.speed = 1; empulse = 0; nohit = 0; as = 0; left = 1; _parent.selector.play(); } onClipEvent (enterFrame) { if (empulse > 0) { empulse--; } if (empulse == 0) { if (_parent.attack) { if (_root[_parent.targetobj].life <= 0) { obstacle = false; _parent.targetobj = undefined; _parent.walking = false; _parent.attack = false; } _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < _parent.range) { obstacle = false; _parent.walking = false; _parent.fireing = true; _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.attack = false; _parent.fireing = false; } } } if (_parent.walking == true) { _parent.fireing = false; hit = false; flag = "flag" + _parent._name; if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); nohit++; if (nohit == 20) { i = _root.unitsarray.length - 1; while (i > -1) { current = _root.unitsarray[i]; if (this.hitTest(_root[current])) { if ((_parent.crush && (!_root[current].enemy)) && (_root[current].fulllife < 500)) { _root[current].life = 0; } if (_parent.num > _root[current].num) { if (this._rotation > 0) { _parent._x = _parent._x + (0.2 * _parent._width); _parent._y = _parent._y + (0.2 * _parent._height); } if (this._rotation < 0) { _parent._x = _parent._x - (0.2 * _parent._width); _parent._y = _parent._y - (0.2 * _parent._height); } } } i--; } nohit = 0; } if (obstacle) { dx = _root[flag2]._x - _parent._x; dy = _root[flag2]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { obstacle = false; } } if (!obstacle) { dx = _root[flag]._x - _parent._x; dy = _root[flag]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist < 10) { _root[flag].removeMovieClip(); _root.objarray.findandsplice(flag); _root.flagsarray.findandsplice(flag); _parent.walking = false; } } } if (_parent.fireing) { dx = _root[_parent.targetobj]._x - _parent._x; dy = _root[_parent.targetobj]._y - _parent._y; dist = Math.sqrt((dx * dx) + (dy * dy)); if (dist > (_parent.range * 1.5)) { _parent.walking = true; _root[flag]._x = _root[_parent.targetobj]._x; _root[flag]._y = _root[_parent.targetobj]._y; _parent.fireing = false; } } if (_parent.fireing) { _parent.turret._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); if (_parent.turret._currentframe == 1) { _parent.turret.play(); _parent.turret.targetobj = _parent.targetobj; } if (_root[_parent.targetobj].life <= 0) { _parent.targetobj = undefined; _parent.fireing = false; _parent.attack = false; } if (_parent.crush) { this._rotation = (Math.atan2(dy, dx) * 360) / (Math.PI*2); rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); if ((dist < 10) && (_root[_parent.targetobj].auto._x == undefined)) { _root[_parent.targetobj].life = -1; _parent._x = _root[_parent.targetobj]._x; _parent._y = _root[_parent.targetobj]._y; } } if (((!_parent.walking) && (_parent.avoid)) && (!_parent.crush)) { if (!obstacle) { as++; if (left > 0) { this._rotation = ((Math.atan2(dy, dx) * 360) / (Math.PI*2)) - 90; } if (left < 0) { this._rotation = -((Math.atan2(dy, dx) * 360) / (Math.PI*2)); } if (as > 50) { as = 0; } } if (obstacle) { dxn = _root[flag2]._x - _parent._x; dyn = _root[flag2]._y - _parent._y; this._rotation = (Math.atan2(dyn, dxn) * 360) / (Math.PI*2); } rads = (this._rotation * (Math.PI*2)) / 360; _parent._x = _parent._x + (Math.cos(rads) * _parent.speed); _parent._y = _parent._y + (Math.sin(rads) * _parent.speed); _parent.movesym(); } } if (_parent.hitTest(_root.back.tops)) { _parent._y = _parent._y + 20; } if (_parent.hitTest(_root.back.bottoms)) { _parent._y = _parent._y - 20; } if (_parent.hitTest(_root.back.lefts)) { _parent._x = _parent._x + 20; } if (_parent.hitTest(_root.back.rights)) { _parent._x = _parent._x - 20; } } }
Instance of Symbol 110 MovieClip "selector" in Symbol 1428 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 115 MovieClip "lifebar" in Symbol 1428 MovieClip Frame 1
onClipEvent (enterFrame) { this._xscale = 160 * (_parent.life / _parent.fulllife); if (_parent.dummy._currentframe == 1) { if (_parent.life <= 0) { _parent.dummy.gotoAndPlay("explode"); } } }
Symbol 1428 MovieClip Frame 2
stop();
Symbol 1431 MovieClip Frame 1
stop();
Symbol 1431 MovieClip Frame 39
_root.play();
Symbol 1433 MovieClip Frame 1
_root.stop(); stop();
Instance of Symbol 600 MovieClip "kiss" in Symbol 1433 MovieClip Frame 1
onClipEvent (load) { playa = false; words = " Baron Anton Von Traitos was trialed in the Supreme Court in the United States and charged with War Crimes relating to corruption.It was discovered that Traitos blackmailed the European leaders to force them to comply with his wishes to obtain top-secret US military technology. \n \n He was sentenced to be executed on the electric chair on May 16, 2045.However, he has escaped and is now on the loose , reportedly taking revenge on his 'aides' who betrayed him not too long ago.... \n \n It is possible that he could stir up another war in Europe, but in the event of such happening, the US will always step in to resolve the matter, and we can always rely on the services of one who suceeded in bringing Traitos to his knees....."; n = 0; _parent.textss = ""; stringarray = words.split(""); pp = stringarray.length - 1; } onClipEvent (enterFrame) { if (n == pp) { if (_parent.signs._currentframe == 1) { _parent.signs.play(); } } if ((n < pp) && (playa)) { i = n; _parent.textss = _parent.textss + stringarray[i]; n = n + 1; } else { sound.stop(); } }
Symbol 1475 MovieClip Frame 1
this.swapDepths(11100); i = _root.enemyarray.length - 1; while (i > -1) { _root[enemyarray[i]]._visible = false; i--; } i = 6; while (i > 0) { _root["a" + i]._visible = false; i--; } _root.missilelaunch1._visible = false; _root.tank2._visible = false; _root.tank3._visible = false; _root.humvee1._visible = false; _root.enemyheavytank1._visible = false; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 1
onClipEvent (enterFrame) { n++; if (n > 100) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Symbol 1475 MovieClip Frame 2
n = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 2
onClipEvent (enterFrame) { _parent.n++; if ((_parent.n > 100) || (Key.isDown(16))) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1475 MovieClip Frame 3
stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 3
onClipEvent (enterFrame) { if (_root.selectedarray.arrayfind("tank1") || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 4
_root.flag1._visible = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 4
onClipEvent (enterFrame) { if (_root.tank1.hitTest(_root.flag1) || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 5
_root.flag1._visible = false; _root.flag2._visible = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 5
onClipEvent (enterFrame) { if (_parent.hitTest(_root.flag2) || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 6
stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 6
onClipEvent (enterFrame) { if (_root.tank1.hitTest(_root.flag2) || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 7
_root.enemytechcentre1._visible = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 7
onClipEvent (enterFrame) { if ((_root.enemytechcentre1.life <= 0) || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 8
_root.tank2._visible = true; _root.tank3._visible = true; _root.humvee1._visible = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 8
onClipEvent (enterFrame) { if (((_root.selectedarray.arrayfind("tank2") && (_root.selectedarray.arrayfind("tank3"))) && (_root.selectedarray.arrayfind("humvee1"))) || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 9
stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 9
onClipEvent (enterFrame) { if ((_root.selectedarray.length == 0) || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 10
_root.enemyheavytank1._visible = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 10
onClipEvent (enterFrame) { if (_root.selectedarray.arrayfind("enemyheavytank1") || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 11
stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 11
onClipEvent (enterFrame) { if (_root.selectedarray.arrayfind("tank1") || (Key.isDown(16))) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 12
n = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 12
onClipEvent (enterFrame) { _parent.n++; if ((_parent.n > 200) || (Key.isDown(16))) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1475 MovieClip Frame 13
n = 0; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 13
onClipEvent (enterFrame) { _parent.n++; if ((_parent.n > 200) || (Key.isDown(16))) { _parent.nextFrame(); } } onClipEvent (load) { _parent.n = 0; }
Symbol 1475 MovieClip Frame 14
stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 14
onClipEvent (enterFrame) { if (_root.friendlylist.length < 7) { _root.attachMovie("tank", "tank" + _root.n, _root.n); _root["tank" + _root.n]._x = _root.waypointn._x; _root["tank" + _root.n]._y = _root.waypointn._y; _root.n++; _root.attachMovie("tank", "tank" + _root.n, _root.n); _root["tank" + _root.n]._x = _root.waypointn._x; _root["tank" + _root.n]._y = _root.waypointn._y; _root.n++; _root.attachMovie("humvee", "humvee" + _root.n, _root.n); _root["humvee" + _root.n]._x = _root.waypointn._x; _root["humvee" + _root.n]._y = _root.waypointn._y; _root.n++; } if (_root.enemyheavytank1.life <= 0) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 15
stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 15
onClipEvent (enterFrame) { if (_root.friendlylist.length <= 0) { _root.attachMovie("tank", "tank" + _root.n, _root.n); _root["tank" + _root.n]._x = _root.waypointn._x; _root["tank" + _root.n]._y = _root.waypointn._y; _root.n++; _root.attachMovie("tank", "tank" + _root.n, _root.n); _root["tank" + _root.n]._x = _root.waypointn._x; _root["tank" + _root.n]._y = _root.waypointn._y; _root.n++; _root.attachMovie("humvee", "humvee" + _root.n, _root.n); _root["humvee" + _root.n]._x = _root.waypointn._x; _root["humvee" + _root.n]._y = _root.waypointn._y; _root.n++; } if (_parent.hitTest(_root.missilelaunch1)) { _parent.nextFrame(); } }
Symbol 1475 MovieClip Frame 16
i = 6; while (i > 0) { _root["a" + i]._visible = true; i--; } _root.missilelaunch1._visible = true; stop();
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 16
onClipEvent (enterFrame) { }
Symbol 1475 MovieClip Frame 17
Instance of Symbol 37 MovieClip in Symbol 1475 MovieClip Frame 17
onClipEvent (enterFrame) { if (_root.enemyarray.length <= 0) { _parent._visible = false; _root.gotoAndStop("victoryd"); } }
Symbol 1504 MovieClip Frame 1
this.swapDepths(11000); stop();
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 1
onClipEvent (enterFrame) { pp++; if (pp > 100) { _parent.nextFrame(); } } onClipEvent (load) { pp = 0; }
Symbol 1504 MovieClip Frame 2
_root.flag12._visible = true;
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 2
onClipEvent (enterFrame) { if (_root.dozer1.hitTest(_root.flag12)) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 3
onClipEvent (enterFrame) { if (_root.comcentre1.life != undefined) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 4
onClipEvent (enterFrame) { n++; if (n > 300) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 5
onClipEvent (enterFrame) { if (_root.refinery1._x != undefined) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 6
onClipEvent (enterFrame) { n++; if (n > 200) { _parent.nextFrame(); } } onClipEvent (load) { n = 0; }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 7
onClipEvent (enterFrame) { if (_root.warfactory1.life != undefined) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 8
onClipEvent (enterFrame) { if (_root.friendlylist.length > 10) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 9
onClipEvent (enterFrame) { numbert = 0; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].unittype == "turret1") { numbert++; if (numbert >= 3) { _parent.nextFrame(); break; } } i--; } }
Symbol 1504 MovieClip Frame 10
i = _root.enemyarray.length - 1; while (i > -1) { current = _root.enemyarray[i]; if ((_root[current].damage != undefined) && (_root[current].speed != undefined)) { _root[current].life = 400; _root[current].fulllife = 400; _root[current].aiattack("comcentre1"); } i--; }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 10
onClipEvent (enterFrame) { pp++; if (pp > 500) { _parent.nextFrame(); } } onClipEvent (load) { pp = 0; }
Symbol 1504 MovieClip Frame 11
stop();
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 11
onClipEvent (enterFrame) { if (_root.techcentre1.life != undefined) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 12
onClipEvent (enterFrame) { i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if (_root[current].laser && (_root[current].unittype == "humvee")) { _parent.nextFrame(); break; } i--; } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 13
onClipEvent (enterFrame) { numbert2 = 0; i = _root.friendlylist.length - 1; while (i > -1) { current = _root.friendlylist[i]; if ((_root[current].speed > 6) && (_root[current].unittype == "humvee")) { numbert2++; if (numbert2 >= 3) { _parent.nextFrame(); break; } } i--; } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 14
onClipEvent (enterFrame) { pp++; if (pp > 200) { _parent.nextFrame(); } } onClipEvent (load) { pp = 0; }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 15
onClipEvent (enterFrame) { if (_root.patroit.life <= 0) { _parent.nextFrame(); } }
Instance of Symbol 37 MovieClip in Symbol 1504 MovieClip Frame 16
onClipEvent (enterFrame) { if (_root.enemyarray.length <= 0) { _root.gotoAndStop("victory2e"); } }

Library Items

Symbol 1 Sound [d1]
Symbol 2 Sound [unitloss]
Symbol 3 Sound [d3]
Symbol 4 Sound [sold]
Symbol 5 Sound [d2]
Symbol 6 Sound [o2]
Symbol 7 Sound [o4]
Symbol 8 Sound [o3]
Symbol 9 Sound [missi]
Symbol 10 Sound [mach]
Symbol 11 Sound [lights]
Symbol 12 Sound [Las]
Symbol 13 Sound [la]
Symbol 14 Sound [fund]
Symbol 15 Sound [o1]
Symbol 16 Sound [deploying]
Symbol 17 Sound [cannon6]
Symbol 18 Sound [button2]
Symbol 19 Sound [building]
Symbol 20 Sound [breach]
Symbol 21 Sound [blip]
Symbol 22 Sound [ba]
Symbol 23 Sound [d4]
Symbol 24 Sound [ar]
Symbol 25 Sound [sel]Used by:213
Symbol 26 Sound [launch]Used by:220
Symbol 27 Sound [exp2]Used by:1413
Symbol 28 Sound [exp]Used by:1413
Symbol 29 Sound [exp3]Used by:1413
Symbol 30 Sound [crash]Used by:1380
Symbol 31 Sound [tie]Used by:364 365 375 376 382 1205
Symbol 32 Sound [click]Used by:368 771
Symbol 33 GraphicUsed by:39 41 44 46 57 60 62 64 72 74 123
Symbol 34 FontUsed by:35 38 40 42 43 45 48 49 51 53 54 56 58 59 61 63 65 66 67 68 69 70 71 73 122 231 232 235 236 240 241 244 245 248 249 256 261 262 267 268 271 272 274 276 277 278 281 282 357 358 604 605 607 608 612 613 617 647 649 671 683 684 685 724 749 760 762 765 766 767 777 785 801 826 870 873 874 1019 1024 1025 1077 1078 1080 1082 1083 1085 1087 1088 1091 1093 1095 1098 1103 1104 1172 1206 1216 1217 1220 1221 1222 1223 1225 1226 1229 1230 1232 1233 1235 1236 1238 1240 1242 1243 1245 1247 1248 1250 1252 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1274 1276 1277 1278 1279 1281 1282 1283 1284 1285 1286 1287 1289 1290 1291 1292 1294 1295 1296 1297 1298 1300 1302 1303 1304 1306 1308 1310 1312 1314 1316 1318 1320 1322 1324 1325 1327 1330 1332 1343 1346 1347 1350 1351 1354 1355 1358 1359 1360 1366 1367 1370 1371 1372 1376 1377 1378 1389 1392 1395 1399 1400 1417 1418 1419 1427 1434 1435 1437 1438 1439 1440 1441 1442 1443 1444 1446 1447 1448 1449 1450 1452 1453 1454 1455 1457 1458 1459 1461 1463 1464 1466 1467 1468 1469 1470 1474 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1497 1499 1500 1501 1502 1503 1507
Symbol 35 TextUses:34Used by:39
Symbol 36 GraphicUsed by:37 523 535
Symbol 37 MovieClipUses:36Used by:39 41 44 46 62 64 72 123 523 535 1329 1475 1504
Symbol 38 TextUses:34Used by:39 41 46 62 64 72 123
Symbol 39 MovieClip [mission5]Uses:33 35 37 38
Symbol 40 TextUses:34Used by:41
Symbol 41 MovieClip [mission6]Uses:33 40 37 38
Symbol 42 TextUses:34Used by:44
Symbol 43 TextUses:34Used by:44
Symbol 44 MovieClip [mission8]Uses:33 42 37 43
Symbol 45 TextUses:34Used by:46
Symbol 46 MovieClip [mission7]Uses:33 45 37 38
Symbol 47 GraphicUsed by:50 52 55
Symbol 48 TextUses:34Used by:50
Symbol 49 TextUses:34Used by:50 52
Symbol 50 MovieClip [mission14]Uses:47 48 49
Symbol 51 TextUses:34Used by:52
Symbol 52 MovieClip [mission13]Uses:47 51 49
Symbol 53 TextUses:34Used by:55
Symbol 54 TextUses:34Used by:55 57
Symbol 55 MovieClip [mission11]Uses:47 53 54
Symbol 56 TextUses:34Used by:57
Symbol 57 MovieClip [mission10]Uses:33 56 54
Symbol 58 TextUses:34Used by:60
Symbol 59 TextUses:34Used by:60
Symbol 60 MovieClip [mission9]Uses:33 58 59
Symbol 61 TextUses:34Used by:62
Symbol 62 MovieClip [mission4]Uses:33 61 37 38
Symbol 63 TextUses:34Used by:64
Symbol 64 MovieClip [mission3]Uses:33 63 37 38
Symbol 65 TextUses:34Used by:72
Symbol 66 TextUses:34Used by:72
Symbol 67 TextUses:34Used by:72
Symbol 68 TextUses:34Used by:72 74
Symbol 69 TextUses:34Used by:72
Symbol 70 EditableTextUses:34Used by:72
Symbol 71 EditableTextUses:34Used by:72
Symbol 72 MovieClip [mission2]Uses:33 65 37 66 67 68 38 69 70 71
Symbol 73 TextUses:34Used by:74
Symbol 74 MovieClip [mission0]Uses:33 73 68
Symbol 75 GraphicUsed by:121
Symbol 76 GraphicUsed by:81
Symbol 77 GraphicUsed by:81
Symbol 78 GraphicUsed by:81
Symbol 79 GraphicUsed by:81
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:76 77 78 79 80Used by:121 466
Symbol 82 GraphicUsed by:110
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:110 722 746
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:110 722 746 1096
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:110 722 746 1096
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:110 722 746
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:110 722 746
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:110 722 746
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:110 722 746
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:110 722 746
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:110 722 746 1096
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:110 722 746
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:110 722 746
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:110 722 746
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:110 722 746
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:82 84 86 88 90 92 94 96 98 100 102 104 106 108 109Used by:121 157 178 189 451 462 466 470 476 485 501 517 524 529 536 542 546 547 549 551 561 563 565 573 575 577 579 581 582 584 591 592 594 597 627 628 629 633 634 635 636 637 638 639 640 641 1380 1382 1384 1386 1391 1394 1421 1428
Symbol 111 GraphicUsed by:112 464
Symbol 112 MovieClipUses:111Used by:121 546 547 563 565 573 575 577 579 591 1380
Symbol 113 GraphicUsed by:121 157 178 189 451 462 466 470 476 485 501 517 524 529 536 546 547 549 551 561 563 565 573 575 577 579 581 582 584 591 592 594 597 627 628 629 633 634 635 636 637 638 639 640 641 1380 1382 1384 1386 1391 1394 1421 1428
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:121 157 178 189 451 462 466 470 476 485 501 517 524 529 536 546 547 549 551 561 563 565 573 575 577 579 581 582 584 591 592 594 597 627 628 629 633 634 635 636 637 638 639 640 641 1334 1380 1382 1384 1386 1391 1394 1421 1428
Symbol 116 GraphicUsed by:118 150 176 455 465 468 472
Symbol 117 GraphicUsed by:118 150 176 455 465 468 472
Symbol 118 ButtonUses:116 117Used by:121 546 547 563 565 573 575 577 579 1380
Symbol 119 GraphicUsed by:121 157 178 189 451 457 466 469 475 478 487 507 520 528 531 542 546 547 549 551 561 563 565 573 575 577 579 581 582 584 591 592 594 596 632 1380 1382 1384 1386 1391 1394 1413 1421
Symbol 120 ShapeTweeningUsed by:121 157 178 189 451 457 466 469 475 478 487 507 520 528 531 542 546 547 549 551 561 563 565 573 575 577 579 581 582 584 591 592 594 596 632 1380 1382 1384 1386 1391 1394 1413 1421
Symbol 121 MovieClip [weaponsilo]Uses:75 81 110 112 113 115 118 119 120
Symbol 122 TextUses:34Used by:123
Symbol 123 MovieClip [mission]Uses:37 33 122 38
Symbol 124 ShapeTweeningUsed by:127 128
Symbol 125 ShapeTweeningUsed by:127 128
Symbol 126 GraphicUsed by:127 128
Symbol 127 MovieClipUses:124 125 126Used by:128
Symbol 128 MovieClip [rad]Uses:124 125 126 127
Symbol 129 GraphicUsed by:131
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClip [laser2]Uses:129 130
Symbol 132 GraphicUsed by:135
Symbol 133 GraphicUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClip [ionbeams]Uses:132 133 134
Symbol 136 GraphicUsed by:138
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClip [laser]Uses:136 137
Symbol 139 GraphicUsed by:157
Symbol 140 GraphicUsed by:149
Symbol 141 GraphicUsed by:149
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:149 186 551 577
Symbol 144 GraphicUsed by:149 186 551 577
Symbol 145 GraphicUsed by:149
Symbol 146 GraphicUsed by:149
Symbol 147 GraphicUsed by:149
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:140 141 143 144 145 146 147 148Used by:157
Symbol 150 ButtonUses:116 117Used by:157 451 549 594 1384 1391 1421
Symbol 151 GraphicUsed by:157
Symbol 152 GraphicUsed by:157
Symbol 153 FontUsed by:154 155 174 175 187 650 665 672 775 776 807 1016 1042 1045 1074 1335 1349 1357 1362 1369
Symbol 154 TextUses:153Used by:157 189
Symbol 155 EditableTextUses:153Used by:157
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClip [enemyconstruction]Uses:139 149 110 150 113 115 151 152 154 155 156 119 120
Symbol 158 GraphicUsed by:178
Symbol 159 GraphicUsed by:173 547
Symbol 160 GraphicUsed by:168
Symbol 161 GraphicUsed by:168
Symbol 162 GraphicUsed by:168
Symbol 163 GraphicUsed by:168
Symbol 164 GraphicUsed by:168
Symbol 165 GraphicUsed by:168
Symbol 166 GraphicUsed by:168
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:160 161 162 163 164 165 166 167Used by:173 449 547 582
Symbol 169 GraphicUsed by:173
Symbol 170 GraphicUsed by:173
Symbol 171 GraphicUsed by:173 449 544 545 722 745 820
Symbol 172 GraphicUsed by:173 449 542
Symbol 173 MovieClipUses:159 168 169 170 171 172Used by:178
Symbol 174 TextUses:153Used by:178
Symbol 175 EditableTextUses:153Used by:178
Symbol 176 ButtonUses:116 117Used by:178 189
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClip [construction2]Uses:158 173 110 174 175 176 113 115 177 119 120
Symbol 179 GraphicUsed by:189
Symbol 180 GraphicUsed by:186
Symbol 181 GraphicUsed by:186
Symbol 182 GraphicUsed by:186
Symbol 183 GraphicUsed by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:180 181 143 144 182 183 184 185Used by:189
Symbol 187 EditableTextUses:153Used by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClip [construction]Uses:179 186 154 187 110 176 113 115 188 119 120
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192 194
Symbol 192 MovieClip [bigdot2]Uses:190 191
Symbol 193 GraphicUsed by:194 396 442
Symbol 194 MovieClip [bigdot]Uses:193 191
Symbol 195 GraphicUsed by:197
Symbol 196 GraphicUsed by:197 626
Symbol 197 MovieClip [dot2]Uses:195 196
Symbol 198 ShapeTweeningUsed by:208
Symbol 199 GraphicUsed by:208
Symbol 200 ShapeTweeningUsed by:208
Symbol 201 ShapeTweeningUsed by:208
Symbol 202 GraphicUsed by:208
Symbol 203 ShapeTweeningUsed by:208
Symbol 204 GraphicUsed by:208
Symbol 205 ShapeTweeningUsed by:208
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip [nuke]Uses:198 199 200 201 202 203 204 205 206 207
Symbol 209 GraphicUsed by:213
Symbol 210 ShapeTweeningUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:210 211Used by:213
Symbol 213 MovieClip [targeter]Uses:209 212 25
Symbol 214 GraphicUsed by:218
Symbol 215 GraphicUsed by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:215 216Used by:218 220 881 897
Symbol 218 MovieClip [nukemiss2]Uses:214 217
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClip [nukemiss]Uses:219 217 26
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClip [padded]Uses:221Used by:356 444
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:225
Symbol 225 MovieClipUses:224Used by:257
Symbol 226 SoundUsed by:257
Symbol 227 GraphicUsed by:257
Symbol 228 GraphicUsed by:229 1075
Symbol 229 MovieClipUses:228Used by:257 444 616 877  Timeline
Symbol 230 GraphicUsed by:234 239 243 247 251 264 270 275 279 360 611 615 876
Symbol 231 TextUses:34Used by:234
Symbol 232 TextUses:34Used by:234
Symbol 233 GraphicUsed by:234
Symbol 234 ButtonUses:230 231 232 233Used by:257
Symbol 235 TextUses:34Used by:239
Symbol 236 TextUses:34Used by:239
Symbol 237 GraphicUsed by:239 279
Symbol 238 SoundUsed by:239 243 247 251 264 270 275 279 283 308
Symbol 239 ButtonUses:230 235 236 237 238Used by:257
Symbol 240 TextUses:34Used by:243
Symbol 241 TextUses:34Used by:243
Symbol 242 GraphicUsed by:243
Symbol 243 ButtonUses:230 240 241 242 238Used by:257
Symbol 244 TextUses:34Used by:247
Symbol 245 TextUses:34Used by:247
Symbol 246 GraphicUsed by:247
Symbol 247 ButtonUses:230 244 245 246 238Used by:257
Symbol 248 TextUses:34Used by:251
Symbol 249 TextUses:34Used by:251
Symbol 250 GraphicUsed by:251
Symbol 251 ButtonUses:230 248 249 250 238Used by:257
Symbol 252 GraphicUsed by:255
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:253Used by:255
Symbol 255 MovieClipUses:252 254Used by:257 1032 1097
Symbol 256 TextUses:34Used by:257
Symbol 257 MovieClipUses:225 226 227 229 234 239 243 247 251 255 256Used by:444
Symbol 258 SoundUsed by:444 1214
Symbol 259 ShapeTweeningUsed by:444
Symbol 260 GraphicUsed by:444
Symbol 261 TextUses:34Used by:264
Symbol 262 TextUses:34Used by:264
Symbol 263 GraphicUsed by:264
Symbol 264 ButtonUses:230 261 262 263 238Used by:444
Symbol 265 FontUsed by:266 284 286 287 288 289 290 292 299 304 307 309 314 317 318 321 324 366 371 374 380 386
Symbol 266 TextUses:265Used by:444
Symbol 267 TextUses:34Used by:270
Symbol 268 TextUses:34Used by:270
Symbol 269 GraphicUsed by:270
Symbol 270 ButtonUses:230 267 268 269 238Used by:444
Symbol 271 TextUses:34Used by:275
Symbol 272 TextUses:34Used by:275
Symbol 273 GraphicUsed by:275
Symbol 274 TextUses:34Used by:275
Symbol 275 ButtonUses:230 271 272 273 274 238Used by:444
Symbol 276 TextUses:34Used by:279
Symbol 277 TextUses:34Used by:279
Symbol 278 TextUses:34Used by:279
Symbol 279 ButtonUses:230 276 277 237 278 238Used by:444
Symbol 280 GraphicUsed by:283
Symbol 281 TextUses:34Used by:283
Symbol 282 TextUses:34Used by:283
Symbol 283 ButtonUses:280 281 282 238Used by:444
Symbol 284 TextUses:265Used by:285
Symbol 285 MovieClipUses:284Used by:444
Symbol 286 TextUses:265Used by:444
Symbol 287 TextUses:265Used by:444
Symbol 288 TextUses:265Used by:444
Symbol 289 TextUses:265Used by:444
Symbol 290 TextUses:265Used by:444
Symbol 291 GraphicUsed by:297 368
Symbol 292 EditableTextUses:265Used by:297
Symbol 293 GraphicUsed by:297 368
Symbol 294 FontUsed by:295 301 306 311 315 319 367 369 373 378 379 381 383 384 388 390 393 395 397 399 401 402 404 406 407 410 412 414 417 419 421 422 425 427 429 431 433 436 438 440 441
Symbol 295 TextUses:294Used by:297
Symbol 296 GraphicUsed by:297 302 308 312 316 320 368
Symbol 297 ButtonUses:291 292 293 295 296Used by:444
Symbol 298 GraphicUsed by:302 312 320
Symbol 299 EditableTextUses:265Used by:302
Symbol 300 GraphicUsed by:302 320
Symbol 301 TextUses:294Used by:302
Symbol 302 ButtonUses:298 299 300 301 296Used by:444
Symbol 303 GraphicUsed by:308
Symbol 304 EditableTextUses:265Used by:308
Symbol 305 GraphicUsed by:308
Symbol 306 TextUses:294Used by:308
Symbol 307 EditableTextUses:265Used by:308
Symbol 308 ButtonUses:303 304 305 306 307 296 238Used by:444
Symbol 309 EditableTextUses:265Used by:312
Symbol 310 GraphicUsed by:312 316
Symbol 311 TextUses:294Used by:312
Symbol 312 ButtonUses:298 309 310 311 296Used by:444
Symbol 313 GraphicUsed by:316
Symbol 314 EditableTextUses:265Used by:316
Symbol 315 TextUses:294Used by:316
Symbol 316 ButtonUses:313 314 310 315 296Used by:444
Symbol 317 TextUses:265Used by:444
Symbol 318 EditableTextUses:265Used by:320
Symbol 319 TextUses:294Used by:320
Symbol 320 ButtonUses:298 318 300 319 296Used by:444
Symbol 321 TextUses:265Used by:322
Symbol 322 MovieClipUses:321Used by:444
Symbol 323 GraphicUsed by:444
Symbol 324 TextUses:265Used by:444
Symbol 325 BitmapUsed by:329 331 332 335 336 338 340 342 349 354 841 842 843 844 848 849 850 853 854 855 857 858 860 861 865 866 1099 1100 1155 1159 1160 1164 1165 1169 1363 1373 1374 1396 1397 1401 1402 1424 1425
Symbol 326 BitmapUsed by:329 331 335 338 340 342 345 354 841 842 844 849 851 858 861 866 1099 1100 1156 1160 1169 1397 1425
Symbol 327 BitmapUsed by:329 331 335 338 340 342 345 349 354 841 842 844 849 850 854 855 858 861 866 1033 1099 1100 1156 1159 1160 1165 1169 1363 1374 1397 1402 1425
Symbol 328 BitmapUsed by:329 331 335 338 340 342 345 349 841 842 844 849 854 855 861 866 1100 1156 1159 1160 1165 1169 1363 1397 1425
Symbol 329 GraphicUses:325 326 327 328Used by:356
Symbol 330 GraphicUsed by:356
Symbol 331 GraphicUses:327 328 325 326Used by:356
Symbol 332 GraphicUses:325Used by:356
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:356 847 852 856 859 864 867 868 1152 1157 1168 1170 1365 1375 1398 1416 1426
Symbol 335 GraphicUses:327 325 326 328Used by:356
Symbol 336 GraphicUses:325Used by:356
Symbol 337 BitmapUsed by:338 349 354 854 855 858 862 1166 1374 1397 1403
Symbol 338 GraphicUses:327 325 326 328 337Used by:339
Symbol 339 MovieClipUses:338Used by:356 868 1152
Symbol 340 GraphicUses:327 325 326 328Used by:341
Symbol 341 MovieClipUses:340Used by:356 868 1152
Symbol 342 GraphicUses:325 327 326 328Used by:343
Symbol 343 MovieClipUses:342Used by:356 868 1152
Symbol 344 GraphicUsed by:356
Symbol 345 GraphicUses:327 326 328Used by:346
Symbol 346 MovieClipUses:345Used by:356 868
Symbol 347 GraphicUsed by:356
Symbol 348 BitmapUsed by:349 354 855 858 861 866 1165 1364 1397 1402 1405 1406 1407 1408 1409 1410 1411 1412
Symbol 349 GraphicUses:325 348 327 328 337Used by:350
Symbol 350 MovieClipUses:349Used by:356 868
Symbol 351 GraphicUsed by:356
Symbol 352 BitmapUsed by:354 858 1374 1402
Symbol 353 BitmapUsed by:354 854 855 858 861 1363 1397 1425
Symbol 354 GraphicUses:325 348 352 327 337 326 353Used by:356
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:329 222 330 331 332 334 335 336 339 341 343 344 346 347 350 351 354 355Used by:444
Symbol 357 TextUses:34Used by:360
Symbol 358 TextUses:34Used by:360
Symbol 359 GraphicUsed by:360
Symbol 360 ButtonUses:230 357 358 359Used by:444
Symbol 361 GraphicUsed by:364 365 375 376 382 385
Symbol 362 GraphicUsed by:364 365 375 376 382 385
Symbol 363 GraphicUsed by:364 365 375 376 382 385 780 802 1043 1044 1048 1121
Symbol 364 ButtonUses:361 362 363 31Used by:444
Symbol 365 ButtonUses:361 362 363 31Used by:444
Symbol 366 EditableTextUses:265Used by:368
Symbol 367 TextUses:294Used by:368
Symbol 368 ButtonUses:291 366 293 367 296 32Used by:444
Symbol 369 TextUses:294Used by:444
Symbol 370 GraphicUsed by:444
Symbol 371 TextUses:265Used by:444
Symbol 372 GraphicUsed by:444
Symbol 373 TextUses:294Used by:444
Symbol 374 EditableTextUses:265Used by:444
Symbol 375 ButtonUses:361 362 363 31Used by:444
Symbol 376 ButtonUses:361 362 363 31Used by:444
Symbol 377 GraphicUsed by:444
Symbol 378 EditableTextUses:294Used by:444
Symbol 379 TextUses:294Used by:444
Symbol 380 TextUses:265Used by:444
Symbol 381 TextUses:294Used by:444
Symbol 382 ButtonUses:361 362 363 31Used by:444
Symbol 383 EditableTextUses:294Used by:444
Symbol 384 EditableTextUses:294Used by:444
Symbol 385 ButtonUses:361 362 363Used by:444
Symbol 386 TextUses:265Used by:444
Symbol 387 GraphicUsed by:409 443
Symbol 388 TextUses:294Used by:392
Symbol 389 GraphicUsed by:392 405 408 454
Symbol 390 TextUses:294Used by:392
Symbol 391 GraphicUsed by:392
Symbol 392 ButtonUses:388 389 390 391Used by:409
Symbol 393 TextUses:294Used by:396
Symbol 394 GraphicUsed by:396
Symbol 395 TextUses:294Used by:396
Symbol 396 ButtonUses:393 394 395 193Used by:409
Symbol 397 TextUses:294Used by:400
Symbol 398 GraphicUsed by:400
Symbol 399 TextUses:294Used by:400
Symbol 400 ButtonUses:397 398 399Used by:409
Symbol 401 TextUses:294Used by:405
Symbol 402 TextUses:294Used by:405
Symbol 403 GraphicUsed by:405 408 435
Symbol 404 TextUses:294Used by:405 408 435
Symbol 405 ButtonUses:401 389 402 403 404Used by:409
Symbol 406 TextUses:294Used by:408
Symbol 407 TextUses:294Used by:408
Symbol 408 ButtonUses:406 389 407 403 404Used by:409
Symbol 409 MovieClipUses:387 392 396 400 405 408Used by:444
Symbol 410 TextUses:294Used by:416
Symbol 411 GraphicUsed by:416
Symbol 412 TextUses:294Used by:416
Symbol 413 GraphicUsed by:416
Symbol 414 TextUses:294Used by:416
Symbol 415 GraphicUsed by:416
Symbol 416 ButtonUses:410 411 412 413 414 415Used by:443
Symbol 417 TextUses:294Used by:424
Symbol 418 GraphicUsed by:424
Symbol 419 TextUses:294Used by:424
Symbol 420 GraphicUsed by:424
Symbol 421 TextUses:294Used by:424
Symbol 422 TextUses:294Used by:424
Symbol 423 GraphicUsed by:424
Symbol 424 ButtonUses:417 418 419 420 421 422 423Used by:443
Symbol 425 TextUses:294Used by:430
Symbol 426 GraphicUsed by:430
Symbol 427 TextUses:294Used by:430
Symbol 428 GraphicUsed by:430
Symbol 429 TextUses:294Used by:430
Symbol 430 ButtonUses:425 426 427 428 429Used by:443
Symbol 431 TextUses:294Used by:435
Symbol 432 GraphicUsed by:435
Symbol 433 TextUses:294Used by:435
Symbol 434 GraphicUsed by:435
Symbol 435 ButtonUses:431 432 433 434 404 403Used by:443
Symbol 436 TextUses:294Used by:442
Symbol 437 GraphicUsed by:442
Symbol 438 TextUses:294Used by:442
Symbol 439 GraphicUsed by:442
Symbol 440 TextUses:294Used by:442
Symbol 441 TextUses:294Used by:442
Symbol 442 ButtonUses:436 437 438 439 440 441 193Used by:443
Symbol 443 MovieClipUses:387 416 424 430 435 442Used by:444
Symbol 444 MovieClip [bar]Uses:257 229 258 259 260 264 266 270 275 279 283 285 286 287 288 289 290 297 302 308 312 316 317 320 322 323 324 356 360 364 365 368 369 370 371 372 222 373 374 375 376 377 378 379 380 381 382 383 384 385 386 409 443
Symbol 445 GraphicUsed by:451
Symbol 446 GraphicUsed by:449
Symbol 447 GraphicUsed by:449
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:446 168 447 448 171 172Used by:451
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClip [enemyconstruction2]Uses:445 449 110 150 113 115 450 119 120Used by:Timeline
Symbol 452 GraphicUsed by:457
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:389 453Used by:457 469 478 500 507 520 531 596 632 722 745 1037 1040
Symbol 455 ButtonUses:116 117Used by:457 487
Symbol 456 GraphicUsed by:457 475 528 563 575 1413
Symbol 457 MovieClipUses:452 454 455 119 120 456Used by:462
Symbol 458 GraphicUsed by:460 461
Symbol 459 GraphicUsed by:461 545
Symbol 460 MovieClipUses:458Used by:461
Symbol 461 MovieClipUses:458 459 460Used by:462 470
Symbol 462 MovieClip [lasertank]Uses:457 110 461 113 115Used by:Timeline
Symbol 463 GraphicUsed by:466
Symbol 464 MovieClipUses:111Used by:466 549 551 561 581 582 584 592 594 1382 1384 1386 1415
Symbol 465 ButtonUses:116 117Used by:466 551 561 581 582 584 592 1382 1386 1394
Symbol 466 MovieClip [enemyweaponsilo]Uses:463 81 110 464 113 115 465 119 120Used by:Timeline
Symbol 467 GraphicUsed by:469
Symbol 468 ButtonUses:116 117Used by:469 507
Symbol 469 MovieClipUses:467 454 468 119 120Used by:470
Symbol 470 MovieClip [enemylasertank]Uses:469 110 461 113 115Used by:Timeline
Symbol 471 GraphicUsed by:475
Symbol 472 ButtonUses:116 117Used by:475 478 507 520 528 531 596 632
Symbol 473 GraphicUsed by:475
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:471 472 473 474 119 120 456Used by:476
Symbol 476 MovieClip [enemyoiltruck]Uses:475 110 113 115Used by:Timeline
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClip [humveeebase]Uses:477 454 472 119 120Used by:485 635 638
Symbol 479 GraphicUsed by:484
Symbol 480 GraphicUsed by:484
Symbol 481 GraphicUsed by:484
Symbol 482 GraphicUsed by:483 484
Symbol 483 MovieClipUses:482Used by:484
Symbol 484 MovieClipUses:479 480 481 483 482Used by:485 635 638
Symbol 485 MovieClip [humveeally]Uses:478 110 484 113 115Used by:Timeline
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486 455 119 120Used by:501 634 637
Symbol 488 GraphicUsed by:496 500
Symbol 489 GraphicUsed by:500
Symbol 490 GraphicUsed by:500
Symbol 491 GraphicUsed by:496 500
Symbol 492 GraphicUsed by:496 500
Symbol 493 GraphicUsed by:500 535 572
Symbol 494 GraphicUsed by:500 535 572
Symbol 495 GraphicUsed by:500
Symbol 496 MovieClipUses:488 491 492Used by:500  Timeline
Symbol 497 GraphicUsed by:500
Symbol 498 GraphicUsed by:500
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:488 489 454 490 491 492 493 494 495 496 497 498 499Used by:501 634 637
Symbol 501 MovieClip [rocketally]Uses:487 110 500 113 115Used by:Timeline
Symbol 502 GraphicUsed by:507
Symbol 503 GraphicUsed by:504 516
Symbol 504 MovieClipUses:503Used by:507 516
Symbol 505 GraphicUsed by:507
Symbol 506 GraphicUsed by:507
Symbol 507 MovieClipUses:502 454 472 504 468 505 506 119 120Used by:517 629 640
Symbol 508 GraphicUsed by:516
Symbol 509 GraphicUsed by:516
Symbol 510 GraphicUsed by:516
Symbol 511 GraphicUsed by:516
Symbol 512 GraphicUsed by:516
Symbol 513 GraphicUsed by:516
Symbol 514 GraphicUsed by:516
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:508 509 503 510 511 512 513 514 515 504Used by:517 629 640
Symbol 517 MovieClip [artilleryally]Uses:507 110 516 113 115Used by:Timeline
Symbol 518 GraphicUsed by:520
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:518 454 519 472 119 120Used by:524 628 636
Symbol 521 GraphicUsed by:523
Symbol 522 GraphicUsed by:523
Symbol 523 MovieClipUses:36 521 522 37Used by:524 628 636
Symbol 524 MovieClip [heavyally]Uses:520 110 523 113 115Used by:Timeline
Symbol 525 GraphicUsed by:528
Symbol 526 GraphicUsed by:528
Symbol 527 GraphicUsed by:528
Symbol 528 MovieClipUses:525 472 526 527 119 120 456Used by:529
Symbol 529 MovieClip [oiltruck]Uses:528 110 113 115Used by:Timeline
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClipUses:530 454 472 119 120Used by:536 627 639
Symbol 532 GraphicUsed by:535
Symbol 533 BitmapUsed by:534 630 695 706 731 761 781 833 834 835 1076 1079 1086
Symbol 534 GraphicUses:533Used by:535
Symbol 535 MovieClipUses:36 532 493 494 37 534Used by:536 627 639
Symbol 536 MovieClip [lightally]Uses:531 110 535 113 115Used by:Timeline
Symbol 537 GraphicUsed by:542
Symbol 538 SoundUsed by:542
Symbol 539 GraphicUsed by:542 591 886
Symbol 540 GraphicUsed by:542 591 886
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClip [mine]Uses:537 110 172 538 119 120 539 540 541Used by:Timeline
Symbol 543 GraphicUsed by:546
Symbol 544 MovieClipUses:171Used by:545
Symbol 545 MovieClipUses:171 459 544Used by:546 581
Symbol 546 MovieClip [laserbasedefense]Uses:543 545 110 112 118 113 115 119 120Used by:Timeline
Symbol 547 MovieClip [turrets]Uses:159 110 112 113 115 168 118 119 120Used by:Timeline
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClip [enemywarfactory]Uses:548 113 115 110 464 150 119 120Used by:Timeline
Symbol 550 GraphicUsed by:551
Symbol 551 MovieClip [enemyrefinery]Uses:550 110 464 143 113 115 144 465 119 120Used by:Timeline
Symbol 552 GraphicUsed by:561
Symbol 553 GraphicUsed by:560 722 745 820
Symbol 554 GraphicUsed by:560
Symbol 555 GraphicUsed by:556
Symbol 556 MovieClipUses:555Used by:560 885 893
Symbol 557 GraphicUsed by:560 893
Symbol 558 GraphicUsed by:560 893
Symbol 559 GraphicUsed by:560 893
Symbol 560 MovieClipUses:553 554 556 557 558 559Used by:561 563
Symbol 561 MovieClip [enemyservicedepot]Uses:552 560 110 464 465 113 115 119 120Used by:Timeline
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClip [servicedepot]Uses:562 110 112 560 113 115 118 119 120 456Used by:Timeline
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClip [techcentre]Uses:564 110 112 118 113 115 119 120Used by:Timeline
Symbol 566 GraphicUsed by:573
Symbol 567 GraphicUsed by:572
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:572 722 745 820
Symbol 570 GraphicUsed by:572
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:567 569 493 494 570 571Used by:573 592
Symbol 573 MovieClip [patriotmiss]Uses:566 572 110 112 118 113 115 119 120Used by:Timeline
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClip [warfactory]Uses:574 118 112 110 113 115 119 120 456Used by:Timeline
Symbol 576 GraphicUsed by:577
Symbol 577 MovieClip [refinery]Uses:576 143 144 110 112 113 115 118 119 120Used by:Timeline
Symbol 578 GraphicUsed by:579
Symbol 579 MovieClip [comcentre]Uses:578 118 110 112 113 115 119 120Used by:Timeline
Symbol 580 GraphicUsed by:581 582 592
Symbol 581 MovieClip [enemylaser]Uses:580 110 464 113 115 545 465 119 120Used by:Timeline
Symbol 582 MovieClip [enemyturret]Uses:580 168 464 110 113 115 465 119 120Used by:Timeline
Symbol 583 GraphicUsed by:584
Symbol 584 MovieClip [enemytechcentre]Uses:583 110 464 465 113 115 119 120Used by:Timeline
Symbol 585 GraphicUsed by:591
Symbol 586 GraphicUsed by:591
Symbol 587 GraphicUsed by:591
Symbol 588 GraphicUsed by:591
Symbol 589 GraphicUsed by:591 886
Symbol 590 GraphicUsed by:591 886
Symbol 591 MovieClip [enemymine]Uses:585 110 112 113 115 586 587 539 119 120 540 588 589 590Used by:Timeline
Symbol 592 MovieClip [enemymultiple]Uses:580 572 464 110 465 113 115 119 120Used by:Timeline
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClip [enemycomcentre]Uses:593 110 464 150 113 115 119 120Used by:Timeline
Symbol 595 GraphicUsed by:596
Symbol 596 MovieClipUses:595 454 472 119 120Used by:597 1428
Symbol 597 MovieClip [apc]Uses:596 110 113 115Used by:Timeline
Symbol 598 GraphicUsed by:618
Symbol 599 GraphicUsed by:600
Symbol 600 MovieClipUses:599Used by:618 899 908 911 1075 1188 1433
Symbol 601 GraphicUsed by:618
Symbol 602 GraphicUsed by:603
Symbol 603 MovieClipUses:602Used by:618 878
Symbol 604 EditableTextUses:34Used by:618
Symbol 605 TextUses:34Used by:616 877
Symbol 606 GraphicUsed by:611 615 876
Symbol 607 TextUses:34Used by:611
Symbol 608 TextUses:34Used by:611
Symbol 609 GraphicUsed by:611
Symbol 610 SoundUsed by:611
Symbol 611 ButtonUses:606 607 230 608 609 610Used by:616 877
Symbol 612 TextUses:34Used by:615
Symbol 613 TextUses:34Used by:615
Symbol 614 GraphicUsed by:615
Symbol 615 ButtonUses:606 612 230 613 614Used by:616
Symbol 616 MovieClipUses:229 605 611 615Used by:618
Symbol 617 EditableTextUses:34Used by:618
Symbol 618 MovieClip [mapbar]Uses:598 600 601 603 604 616 617Used by:Timeline
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:619Used by:624
Symbol 621 GraphicUsed by:623
Symbol 622 GraphicUsed by:623
Symbol 623 MovieClipUses:621 622Used by:624
Symbol 624 MovieClip [mo]Uses:620 623Used by:Timeline
Symbol 625 GraphicUsed by:626
Symbol 626 MovieClip [dot]Uses:625 196Used by:Timeline
Symbol 627 MovieClip [light]Uses:531 110 535 113 115Used by:Timeline
Symbol 628 MovieClip [heavy]Uses:520 110 523 113 115Used by:Timeline
Symbol 629 MovieClip [artillery]Uses:507 110 516 113 115Used by:Timeline
Symbol 630 GraphicUses:533Used by:632
Symbol 631 GraphicUsed by:632
Symbol 632 MovieClipUses:630 454 631 472 119 120Used by:633 641
Symbol 633 MovieClip [dozer]Uses:632 110 113 115Used by:Timeline
Symbol 634 MovieClip [rocket]Uses:487 110 500 113 115Used by:Timeline
Symbol 635 MovieClip [humvee]Uses:478 110 484 113 115Used by:Timeline
Symbol 636 MovieClip [enemyheavy]Uses:520 110 523 113 115Used by:Timeline
Symbol 637 MovieClip [enemyrocket]Uses:487 110 500 113 115Used by:Timeline
Symbol 638 MovieClip [enemyhumvee]Uses:110 478 484 113 115Used by:Timeline
Symbol 639 MovieClip [enemylight]Uses:531 110 535 113 115Used by:Timeline
Symbol 640 MovieClip [enemyartillery]Uses:507 110 516 113 115Used by:Timeline
Symbol 641 MovieClip [enemydozer]Uses:632 110 113 115Used by:Timeline
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClip [box5]Uses:642Used by:Timeline
Symbol 644 GraphicUsed by:878
Symbol 645 GraphicUsed by:668
Symbol 646 GraphicUsed by:668
Symbol 647 EditableTextUses:34Used by:648
Symbol 648 MovieClipUses:647Used by:668 688 800 805 815
Symbol 649 EditableTextUses:34Used by:668
Symbol 650 TextUses:153Used by:668
Symbol 651 BitmapUsed by:652 670 687
Symbol 652 GraphicUses:651Used by:668
Symbol 653 GraphicUsed by:668
Symbol 654 GraphicUsed by:656 666 773 787 789 790 799 803 804 806 809 811 812 813 816
Symbol 655 GraphicUsed by:656 666 698 773 787 789 790 799 803 804 806 809 811 812 813 816
Symbol 656 ButtonUses:654 655Used by:668
Symbol 657 GraphicUsed by:668
Symbol 658 GraphicUsed by:668
Symbol 659 GraphicUsed by:668
Symbol 660 GraphicUsed by:668
Symbol 661 GraphicUsed by:668
Symbol 662 GraphicUsed by:668
Symbol 663 GraphicUsed by:668
Symbol 664 GraphicUsed by:668
Symbol 665 TextUses:153Used by:668
Symbol 666 ButtonUses:654 655Used by:668
Symbol 667 SoundUsed by:668
Symbol 668 MovieClipUses:645 646 648 649 650 652 653 656 657 658 659 660 661 662 663 664 665 666 667Used by:878
Symbol 669 GraphicUsed by:688
Symbol 670 GraphicUses:651Used by:688
Symbol 671 EditableTextUses:34Used by:688
Symbol 672 TextUses:153Used by:686 688
Symbol 673 GraphicUsed by:688
Symbol 674 GraphicUsed by:688
Symbol 675 GraphicUsed by:688
Symbol 676 GraphicUsed by:688
Symbol 677 GraphicUsed by:688
Symbol 678 GraphicUsed by:688
Symbol 679 GraphicUsed by:688
Symbol 680 GraphicUsed by:688
Symbol 681 GraphicUsed by:688
Symbol 682 GraphicUsed by:686
Symbol 683 TextUses:34Used by:686
Symbol 684 TextUses:34Used by:686
Symbol 685 TextUses:34Used by:686
Symbol 686 MovieClipUses:682 683 672 684 685Used by:688
Symbol 687 GraphicUses:651Used by:688
Symbol 688 MovieClipUses:669 670 671 672 648 673 674 675 676 677 678 679 680 681 686 687Used by:878
Symbol 689 GraphicUsed by:878
Symbol 690 GraphicUsed by:746
Symbol 691 GraphicUsed by:722
Symbol 692 GraphicUsed by:694
Symbol 693 GraphicUsed by:694
Symbol 694 MovieClipUses:692 693Used by:722 745  Timeline
Symbol 695 GraphicUses:533Used by:722
Symbol 696 GraphicUsed by:722
Symbol 697 GraphicUsed by:698
Symbol 698 ButtonUses:697 655Used by:722
Symbol 699 GraphicUsed by:722 745
Symbol 700 GraphicUsed by:722
Symbol 701 GraphicUsed by:722
Symbol 702 GraphicUsed by:722
Symbol 703 GraphicUsed by:722
Symbol 704 GraphicUsed by:722
Symbol 705 GraphicUsed by:722
Symbol 706 GraphicUses:533Used by:722
Symbol 707 GraphicUsed by:722
Symbol 708 GraphicUsed by:722
Symbol 709 GraphicUsed by:722
Symbol 710 GraphicUsed by:722
Symbol 711 GraphicUsed by:722
Symbol 712 GraphicUsed by:722 745
Symbol 713 GraphicUsed by:722
Symbol 714 GraphicUsed by:722
Symbol 715 GraphicUsed by:722
Symbol 716 GraphicUsed by:722 745
Symbol 717 GraphicUsed by:722
Symbol 718 GraphicUsed by:722
Symbol 719 GraphicUsed by:722
Symbol 720 GraphicUsed by:722
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:691 694 695 84 86 88 696 698 699 90 92 94 700 104 102 106 108 701 702 96 98 703 704 100 705 706 707 708 709 710 711 712 569 713 171 714 715 553 716 717 718 719 454 720 721Used by:746
Symbol 723 GraphicUsed by:746
Symbol 724 EditableTextUses:34Used by:746
Symbol 725 GraphicUsed by:745 774 786 1186
Symbol 726 GraphicUsed by:745
Symbol 727 GraphicUsed by:745
Symbol 728 GraphicUsed by:745
Symbol 729 GraphicUsed by:745
Symbol 730 GraphicUsed by:745
Symbol 731 GraphicUses:533Used by:745
Symbol 732 GraphicUsed by:745
Symbol 733 GraphicUsed by:745
Symbol 734 GraphicUsed by:745
Symbol 735 GraphicUsed by:745
Symbol 736 GraphicUsed by:745
Symbol 737 GraphicUsed by:745
Symbol 738 GraphicUsed by:745
Symbol 739 GraphicUsed by:745
Symbol 740 GraphicUsed by:745
Symbol 741 GraphicUsed by:745
Symbol 742 GraphicUsed by:745
Symbol 743 GraphicUsed by:745
Symbol 744 GraphicUsed by:745
Symbol 745 MovieClipUses:725 694 726 699 727 728 729 730 731 732 733 734 735 736 712 569 737 171 738 739 553 716 740 741 742 454 743 744Used by:746
Symbol 746 MovieClipUses:690 722 723 724 745 84 86 88 90 92 94 96 98 100 102 104 106 108Used by:878
Symbol 747 GraphicUsed by:751 755 759 824 828 832 836 840 1471 1472 1473 1475
Symbol 748 GraphicUsed by:751
Symbol 749 TextUses:34Used by:751
Symbol 750 GraphicUsed by:751
Symbol 751 ButtonUses:747 748 749 750Used by:878
Symbol 752 GraphicUsed by:755 1473
Symbol 753 GraphicUsed by:755 1473
Symbol 754 GraphicUsed by:755 1473
Symbol 755 ButtonUses:747 752 753 754Used by:878
Symbol 756 GraphicUsed by:759 1475
Symbol 757 GraphicUsed by:759
Symbol 758 GraphicUsed by:759
Symbol 759 ButtonUses:747 756 757 758Used by:878
Symbol 760 EditableTextUses:34Used by:878
Symbol 761 GraphicUses:533Used by:878
Symbol 762 TextUses:34Used by:878
Symbol 763 FontUsed by:764
Symbol 764 TextUses:763Used by:878
Symbol 765 EditableTextUses:34Used by:878
Symbol 766 TextUses:34Used by:878
Symbol 767 TextUses:34Used by:878
Symbol 768 GraphicUsed by:772
Symbol 769 GraphicUsed by:771
Symbol 770 GraphicUsed by:771
Symbol 771 ButtonUses:769 770 32Used by:772
Symbol 772 MovieClipUses:768 771Used by:878
Symbol 773 ButtonUses:654 655Used by:774
Symbol 774 MovieClipUses:725 773Used by:878
Symbol 775 EditableTextUses:153Used by:878
Symbol 776 TextUses:153Used by:878
Symbol 777 EditableTextUses:34Used by:878
Symbol 778 GraphicUsed by:780 802 1043 1044 1121
Symbol 779 GraphicUsed by:780 802 1043 1044 1121
Symbol 780 ButtonUses:778 779 363Used by:878
Symbol 781 GraphicUses:533Used by:820
Symbol 782 GraphicUsed by:820
Symbol 783 GraphicUsed by:820
Symbol 784 GraphicUsed by:820
Symbol 785 EditableTextUses:34Used by:820
Symbol 786 MovieClipUses:725Used by:800 805 808 810 815 817
Symbol 787 ButtonUses:654 655Used by:800
Symbol 788 GraphicUsed by:800 805 815
Symbol 789 ButtonUses:654 655Used by:800 805 815
Symbol 790 ButtonUses:654 655Used by:800
Symbol 791 GraphicUsed by:800 805 815
Symbol 792 GraphicUsed by:800 805 815
Symbol 793 GraphicUsed by:800 805 815
Symbol 794 GraphicUsed by:800 805 815
Symbol 795 GraphicUsed by:800 805 815
Symbol 796 GraphicUsed by:800 805 815
Symbol 797 GraphicUsed by:800 805 815
Symbol 798 SoundUsed by:800 805 815
Symbol 799 ButtonUses:654 655Used by:800
Symbol 800 MovieClipUses:786 787 788 789 648 790 791 792 793 794 795 796 797 798 799Used by:820
Symbol 801 EditableTextUses:34Used by:820
Symbol 802 ButtonUses:778 779 363Used by:820
Symbol 803 ButtonUses:654 655Used by:805
Symbol 804 ButtonUses:654 655Used by:805
Symbol 805 MovieClipUses:786 803 788 789 648 804 791 792 793 794 795 796 797 798Used by:820
Symbol 806 ButtonUses:654 655Used by:808
Symbol 807 TextUses:153Used by:808 815 817
Symbol 808 MovieClipUses:786 806 807Used by:820
Symbol 809 ButtonUses:654 655Used by:810
Symbol 810 MovieClipUses:786 809Used by:820
Symbol 811 ButtonUses:654 655Used by:815
Symbol 812 ButtonUses:654 655Used by:815
Symbol 813 ButtonUses:654 655Used by:815
Symbol 814 GraphicUsed by:815
Symbol 815 MovieClipUses:786 811 788 789 648 812 791 792 793 794 795 796 797 798 813 814 807Used by:820
Symbol 816 ButtonUses:654 655Used by:817
Symbol 817 MovieClipUses:786 816 807Used by:820
Symbol 818 GraphicUsed by:820
Symbol 819 GraphicUsed by:820
Symbol 820 MovieClipUses:781 171 782 569 783 553 784 785 800 801 802 805 808 810 815 817 818 819Used by:878
Symbol 821 GraphicUsed by:824
Symbol 822 GraphicUsed by:824
Symbol 823 GraphicUsed by:824
Symbol 824 ButtonUses:747 821 822 823Used by:878
Symbol 825 GraphicUsed by:828
Symbol 826 TextUses:34Used by:828
Symbol 827 GraphicUsed by:828
Symbol 828 ButtonUses:747 825 826 827Used by:878
Symbol 829 GraphicUsed by:832 1472
Symbol 830 GraphicUsed by:832 1472
Symbol 831 GraphicUsed by:832 1472
Symbol 832 ButtonUses:747 829 830 831Used by:878
Symbol 833 GraphicUses:533Used by:836 1471
Symbol 834 GraphicUses:533Used by:836 1471
Symbol 835 GraphicUses:533Used by:836 1471
Symbol 836 ButtonUses:747 833 834 835Used by:878
Symbol 837 GraphicUsed by:840
Symbol 838 GraphicUsed by:840
Symbol 839 GraphicUsed by:840
Symbol 840 ButtonUses:747 837 838 839Used by:878
Symbol 841 GraphicUses:327 326 325 328Used by:868
Symbol 842 GraphicUses:327 325 328 326Used by:868
Symbol 843 GraphicUses:325Used by:847 1170
Symbol 844 GraphicUses:325 326 328 327Used by:847
Symbol 845 GraphicUsed by:846
Symbol 846 MovieClipUses:845Used by:847 852 856 859 864 867 1102 1152 1157 1162 1168 1170 1365 1375 1398 1416 1426
Symbol 847 MovieClipUses:843 334 844 846Used by:868  Timeline
Symbol 848 GraphicUses:325Used by:868
Symbol 849 GraphicUses:327 325 326 328Used by:868
Symbol 850 GraphicUses:327 325Used by:852
Symbol 851 GraphicUses:326Used by:852
Symbol 852 MovieClipUses:334 850 846 851Used by:868  Timeline
Symbol 853 GraphicUses:325Used by:868
Symbol 854 GraphicUses:325 327 353 337 328Used by:856
Symbol 855 GraphicUses:353 325 337 327 328 348Used by:856
Symbol 856 MovieClipUses:854 334 846 855Used by:868  Timeline
Symbol 857 GraphicUses:325Used by:859
Symbol 858 GraphicUses:352 325 353 348 327 326 337Used by:859
Symbol 859 MovieClipUses:857 334 846 858Used by:868  Timeline
Symbol 860 GraphicUses:325Used by:864 1152
Symbol 861 GraphicUses:327 328 326 325 348 353Used by:864
Symbol 862 GraphicUses:337Used by:863
Symbol 863 MovieClipUses:862Used by:864
Symbol 864 MovieClipUses:860 334 861 846 863Used by:868  Timeline
Symbol 865 GraphicUses:325Used by:867
Symbol 866 GraphicUses:325 327 348 326 328Used by:867
Symbol 867 MovieClipUses:865 334 866 846Used by:868  Timeline
Symbol 868 MovieClipUses:841 842 847 848 334 849 852 853 339 341 343 856 346 859 350 864 867Used by:878
Symbol 869 GraphicUsed by:872
Symbol 870 EditableTextUses:34Used by:872
Symbol 871 GraphicUsed by:872
Symbol 872 MovieClipUses:869 870 871Used by:878
Symbol 873 TextUses:34Used by:876
Symbol 874 TextUses:34Used by:876
Symbol 875 GraphicUsed by:876
Symbol 876 ButtonUses:606 873 230 874 875Used by:877
Symbol 877 MovieClipUses:229 605 611 876Used by:878
Symbol 878 MovieClip [sidebar]Uses:644 668 688 689 746 751 755 759 760 761 762 764 765 766 767 772 774 775 776 777 780 820 824 828 832 836 840 868 872 603 877Used by:Timeline
Symbol 879 GraphicUsed by:881
Symbol 880 GraphicUsed by:881
Symbol 881 MovieClip [patriot]Uses:879 217 880Used by:Timeline
Symbol 882 GraphicUsed by:885
Symbol 883 GraphicUsed by:885
Symbol 884 GraphicUsed by:885
Symbol 885 MovieClip [shell2]Uses:556 882 883 884Used by:Timeline
Symbol 886 MovieClip [emp]Uses:539 540 589 590Used by:Timeline
Symbol 887 GraphicUsed by:890 892
Symbol 888 GraphicUsed by:890 892
Symbol 889 GraphicUsed by:890
Symbol 890 MovieClip [bomb2]Uses:887 888 889Used by:Timeline
Symbol 891 GraphicUsed by:892
Symbol 892 MovieClip [bomb]Uses:887 888 891Used by:Timeline
Symbol 893 MovieClip [bullet]Uses:556 557 558 559Used by:Timeline
Symbol 894 GraphicUsed by:897
Symbol 895 GraphicUsed by:897
Symbol 896 GraphicUsed by:897
Symbol 897 MovieClip [missile]Uses:894 217 895 896Used by:Timeline
Symbol 898 GraphicUsed by:899
Symbol 899 MovieClip [flag2]Uses:898 600Used by:Timeline
Symbol 900 GraphicUsed by:905
Symbol 901 GraphicUsed by:903
Symbol 902 GraphicUsed by:903
Symbol 903 MovieClipUses:901 902Used by:905
Symbol 904 GraphicUsed by:905
Symbol 905 MovieClip [shell]Uses:900 903 904Used by:Timeline
Symbol 906 GraphicUsed by:908
Symbol 907 GraphicUsed by:908
Symbol 908 MovieClip [flag]Uses:906 600 907Used by:Timeline
Symbol 909 GraphicUsed by:911
Symbol 910 GraphicUsed by:911
Symbol 911 MovieClip [flag copy]Uses:909 600 910Used by:Timeline
Symbol 916 GraphicUsed by:917
Symbol 917 MovieClip [BoundingBox]Uses:916Used by:936 940 944
Symbol 918 GraphicUsed by:919
Symbol 919 MovieClip [BrdrShdw]Uses:918Used by:922 927 928
Symbol 920 GraphicUsed by:921
Symbol 921 MovieClip [BrdrFace]Uses:920Used by:922 927 928
Symbol 922 MovieClip [SimpleButtonDown]Uses:919 921Used by:940
Symbol 923 GraphicUsed by:924
Symbol 924 MovieClip [BrdrBlk]Uses:923Used by:927 928
Symbol 925 GraphicUsed by:926
Symbol 926 MovieClip [BrdrHilght]Uses:925Used by:927 928
Symbol 927 MovieClip [SimpleButtonIn]Uses:924 926 919 921Used by:940
Symbol 928 MovieClip [SimpleButtonUp]Uses:924 921 919 926Used by:940
Symbol 929 MovieClip [Defaults]Used by:931
Symbol 930 MovieClip [UIObjectExtensions]Used by:931
Symbol 931 MovieClip [UIObject]Uses:929 930Used by:937 939 941
Symbol 932 GraphicUsed by:934
Symbol 933 GraphicUsed by:934
Symbol 934 ButtonUses:932 933Used by:937
Symbol 935 MovieClipUsed by:937
Symbol 936 MovieClip [FocusRect]Uses:917Used by:937
Symbol 937 MovieClip [FocusManager]Uses:934 935 936 931Used by:939
Symbol 938 MovieClip [UIComponentExtensions]Used by:939
Symbol 939 MovieClip [UIComponent]Uses:931 937 938Used by:940
Symbol 940 MovieClip [SimpleButton]Uses:917 922 927 928 939Used by:944
Symbol 941 MovieClip [Border]Uses:931Used by:942 944
Symbol 942 MovieClip [RectBorder]Uses:941Used by:944
Symbol 943 MovieClip [ButtonSkin]Used by:944
Symbol 944 MovieClip [Button]Uses:917 940 941 942 943
Symbol 965 GraphicUsed by:Timeline
Symbol 966 GraphicUsed by:1014
Symbol 967 GraphicUsed by:968 1003
Symbol 968 MovieClipUses:967Used by:1014
Symbol 969 GraphicUsed by:1014
Symbol 970 GraphicUsed by:1014
Symbol 971 GraphicUsed by:1014
Symbol 972 GraphicUsed by:973
Symbol 973 MovieClipUses:972Used by:974
Symbol 974 MovieClipUses:973Used by:1002
Symbol 975 GraphicUsed by:1002
Symbol 976 GraphicUsed by:977 978
Symbol 977 MovieClipUses:976Used by:1002
Symbol 978 MovieClipUses:976Used by:1002
Symbol 979 GraphicUsed by:980
Symbol 980 MovieClipUses:979Used by:1000
Symbol 981 GraphicUsed by:985
Symbol 982 GraphicUsed by:985
Symbol 983 GraphicUsed by:984
Symbol 984 MovieClipUses:983Used by:985 988
Symbol 985 MovieClipUses:981 982 984Used by:999
Symbol 986 GraphicUsed by:988
Symbol 987 GraphicUsed by:988
Symbol 988 MovieClipUses:986 987 984Used by:999
Symbol 989 GraphicUsed by:992
Symbol 990 GraphicUsed by:992 995
Symbol 991 GraphicUsed by:992
Symbol 992 MovieClipUses:989 990 991Used by:996
Symbol 993 GraphicUsed by:995
Symbol 994 GraphicUsed by:995
Symbol 995 MovieClipUses:993 990 994Used by:996
Symbol 996 MovieClipUses:992 995Used by:999
Symbol 997 GraphicUsed by:998
Symbol 998 MovieClipUses:997Used by:999
Symbol 999 MovieClipUses:985 988 996 998Used by:1000
Symbol 1000 MovieClipUses:980 999Used by:1002
Symbol 1001 GraphicUsed by:1002
Symbol 1002 MovieClipUses:974 975 977 978 1000 1001Used by:1014
Symbol 1003 ButtonUses:967Used by:1014
Symbol 1004 GraphicUsed by:1006
Symbol 1005 GraphicUsed by:1006
Symbol 1006 MovieClipUses:1004 1005Used by:1014
Symbol 1007 GraphicUsed by:1012
Symbol 1008 GraphicUsed by:1012
Symbol 1009 GraphicUsed by:1012
Symbol 1010 GraphicUsed by:1012
Symbol 1011 GraphicUsed by:1012
Symbol 1012 ButtonUses:1007 1008 1009 1010 1011Used by:1014
Symbol 1013 GraphicUsed by:1014
Symbol 1014 MovieClipUses:966 968 969 970 971 1002 1003 1006 1012 1013Used by:1032
Symbol 1015 ShapeTweeningUsed by:1032
Symbol 1016 TextUses:153Used by:1017
Symbol 1017 MovieClipUses:1016Used by:1032
Symbol 1018 SoundUsed by:1032
Symbol 1019 TextUses:34Used by:1020
Symbol 1020 MovieClipUses:1019Used by:1032
Symbol 1021 BitmapUsed by:1022
Symbol 1022 GraphicUses:1021Used by:1023
Symbol 1023 MovieClipUses:1022Used by:1032
Symbol 1024 TextUses:34Used by:1032
Symbol 1025 TextUses:34Used by:1032
Symbol 1026 GraphicUsed by:1032
Symbol 1027 SoundUsed by:1032
Symbol 1028 BitmapUsed by:1029 1030 1132 1340
Symbol 1029 GraphicUses:1028Used by:1032
Symbol 1030 GraphicUses:1028Used by:1032
Symbol 1031 GraphicUsed by:1032
Symbol 1032 MovieClipUses:1014 1015 1017 1018 1020 1023 1024 1025 1026 255 1027 1029 1030 1031Used by:Timeline
Symbol 912 MovieClip [__Packages.mx.core.UIObject]
Symbol 913 MovieClip [__Packages.mx.core.UIComponent]
Symbol 914 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 915 MovieClip [__Packages.mx.controls.Button]
Symbol 945 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 946 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 947 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 948 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 949 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 950 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 951 MovieClip [__Packages.mx.skins.ColoredSkinElement]
Symbol 952 MovieClip [__Packages.mx.core.ext.UIObjectExtensions]
Symbol 953 MovieClip [__Packages.mx.skins.halo.Defaults]
Symbol 954 MovieClip [__Packages.mx.managers.DepthManager]
Symbol 955 MovieClip [__Packages.mx.managers.SystemManager]
Symbol 956 MovieClip [__Packages.mx.managers.FocusManager]
Symbol 957 MovieClip [__Packages.mx.skins.halo.FocusRect]
Symbol 958 MovieClip [__Packages.mx.managers.OverlappedWindows]
Symbol 959 MovieClip [__Packages.mx.styles.CSSSetStyle]
Symbol 960 MovieClip [__Packages.mx.core.ext.UIComponentExtensions]
Symbol 961 MovieClip [__Packages.mx.skins.Border]
Symbol 962 MovieClip [__Packages.mx.skins.RectBorder]
Symbol 963 MovieClip [__Packages.mx.skins.halo.RectBorder]
Symbol 964 MovieClip [__Packages.mx.skins.halo.ButtonSkin]
Symbol 1033 GraphicUses:327Used by:1034
Symbol 1034 MovieClipUses:1033Used by:Timeline
Symbol 1035 GraphicUsed by:1037
Symbol 1036 GraphicUsed by:1037
Symbol 1037 MovieClipUses:1035 454 1036Used by:Timeline
Symbol 1038 GraphicUsed by:1040
Symbol 1039 GraphicUsed by:1040
Symbol 1040 MovieClipUses:1038 454 1039Used by:Timeline
Symbol 1041 GraphicUsed by:1054
Symbol 1042 EditableTextUses:153Used by:1054
Symbol 1043 ButtonUses:778 779 363Used by:1054
Symbol 1044 ButtonUses:778 779 363Used by:1054
Symbol 1045 TextUses:153Used by:1054
Symbol 1046 GraphicUsed by:1048
Symbol 1047 GraphicUsed by:1048
Symbol 1048 ButtonUses:1046 1047 363Used by:1054
Symbol 1049 Sound [music1]Used by:1054
Symbol 1050 SoundUsed by:1054
Symbol 1051 SoundUsed by:1054
Symbol 1052 SoundUsed by:1054
Symbol 1053 SoundUsed by:1054
Symbol 1054 MovieClipUses:1041 1042 1043 1044 1045 1048 1049 1050 1051 1052 1053Used by:Timeline
Symbol 1055 GraphicUsed by:1097
Symbol 1056 GraphicUsed by:1097
Symbol 1057 GraphicUsed by:1097
Symbol 1058 BitmapUsed by:1059 1061
Symbol 1059 GraphicUses:1058Used by:1072
Symbol 1060 BitmapUsed by:1061
Symbol 1061 GraphicUses:1060 1058Used by:1072
Symbol 1062 BitmapUsed by:1063 1065
Symbol 1063 GraphicUses:1062Used by:1072
Symbol 1064 BitmapUsed by:1065
Symbol 1065 GraphicUses:1064 1062Used by:1072
Symbol 1066 BitmapUsed by:1067
Symbol 1067 GraphicUses:1066Used by:1072
Symbol 1068 BitmapUsed by:1069
Symbol 1069 GraphicUses:1068Used by:1072
Symbol 1070 BitmapUsed by:1071
Symbol 1071 GraphicUses:1070Used by:1072
Symbol 1072 MovieClipUses:1059 1061 1063 1065 1067 1069 1071Used by:1097
Symbol 1073 GraphicUsed by:1097
Symbol 1074 EditableTextUses:153Used by:1075
Symbol 1075 MovieClipUses:228 1074 600Used by:1097
Symbol 1076 GraphicUses:533Used by:1096
Symbol 1077 TextUses:34Used by:1096
Symbol 1078 TextUses:34Used by:1096
Symbol 1079 GraphicUses:533Used by:1096
Symbol 1080 TextUses:34Used by:1096
Symbol 1081 GraphicUsed by:1096
Symbol 1082 TextUses:34Used by:1096
Symbol 1083 TextUses:34Used by:1096
Symbol 1084 GraphicUsed by:1096
Symbol 1085 TextUses:34Used by:1096
Symbol 1086 GraphicUses:533Used by:1096
Symbol 1087 TextUses:34Used by:1096
Symbol 1088 TextUses:34Used by:1096
Symbol 1089 GraphicUsed by:1096
Symbol 1090 GraphicUsed by:1096
Symbol 1091 TextUses:34Used by:1096
Symbol 1092 GraphicUsed by:1096
Symbol 1093 TextUses:34Used by:1096
Symbol 1094 GraphicUsed by:1096
Symbol 1095 TextUses:34Used by:1096
Symbol 1096 MovieClipUses:1076 1077 1078 1079 1080 88 1081 1082 1083 1084 1085 1086 1087 86 1088 1089 1090 1091 1092 1093 100 1094 1095Used by:1097
Symbol 1097 MovieClipUses:1055 1056 1057 1072 1073 1075 255 1096Used by:Timeline
Symbol 1098 EditableTextUses:34Used by:Timeline
Symbol 1099 GraphicUses:327 326 325Used by:1102
Symbol 1100 GraphicUses:327 325 326 328Used by:1101
Symbol 1101 MovieClipUses:1100Used by:1102
Symbol 1102 MovieClipUses:1099 1101 846Used by:Timeline
Symbol 1103 EditableTextUses:34Used by:Timeline
Symbol 1104 EditableTextUses:34Used by:Timeline
Symbol 1105 GraphicUsed by:1106
Symbol 1106 MovieClipUses:1105Used by:Timeline
Symbol 1107 GraphicUsed by:1108
Symbol 1108 MovieClipUses:1107Used by:Timeline
Symbol 1109 GraphicUsed by:Timeline
Symbol 1110 GraphicUsed by:1113
Symbol 1111 GraphicUsed by:1112
Symbol 1112 MovieClipUses:1111Used by:1113
Symbol 1113 MovieClipUses:1110 1112Used by:Timeline
Symbol 1114 GraphicUsed by:1120
Symbol 1115 GraphicUsed by:1120
Symbol 1116 GraphicUsed by:1120
Symbol 1117 GraphicUsed by:1120
Symbol 1118 GraphicUsed by:1120
Symbol 1119 GraphicUsed by:1120
Symbol 1120 MovieClipUses:1114 1115 1116 1117 1118 1119Used by:Timeline
Symbol 1121 ButtonUses:778 779 363Used by:1122
Symbol 1122 MovieClipUses:1121Used by:Timeline
Symbol 1123 GraphicUsed by:1124
Symbol 1124 MovieClipUses:1123Used by:Timeline
Symbol 1125 GraphicUsed by:1126
Symbol 1126 MovieClipUses:1125Used by:Timeline
Symbol 1127 GraphicUsed by:1128
Symbol 1128 MovieClipUses:1127Used by:Timeline
Symbol 1129 GraphicUsed by:1130
Symbol 1130 MovieClipUses:1129Used by:Timeline
Symbol 1131 GraphicUsed by:Timeline
Symbol 1132 GraphicUses:1028Used by:Timeline
Symbol 1133 FontUsed by:1134 1341 1344 1506
Symbol 1134 TextUses:1133Used by:Timeline
Symbol 1135 FontUsed by:1136 1137 1138 1139 1144 1145 1146 1147
Symbol 1136 EditableTextUses:1135Used by:Timeline
Symbol 1137 EditableTextUses:1135Used by:Timeline
Symbol 1138 EditableTextUses:1135Used by:Timeline
Symbol 1139 EditableTextUses:1135Used by:Timeline
Symbol 1140 GraphicUsed by:Timeline
Symbol 1141 SoundUsed by:Timeline
Symbol 1142 BitmapUsed by:1143
Symbol 1143 GraphicUses:1142Used by:Timeline
Symbol 1144 EditableTextUses:1135Used by:Timeline
Symbol 1145 EditableTextUses:1135Used by:Timeline
Symbol 1146 EditableTextUses:1135Used by:Timeline
Symbol 1147 EditableTextUses:1135Used by:Timeline
Symbol 1148 GraphicUsed by:Timeline
Symbol 1149 SoundUsed by:Timeline
Symbol 1150 GraphicUsed by:1151
Symbol 1151 MovieClipUses:1150Used by:1152
Symbol 1152 MovieClipUses:860 334 846 339 341 343 1151Used by:Timeline
Symbol 1153 GraphicUsed by:Timeline
Symbol 1154 GraphicUsed by:Timeline
Symbol 1155 GraphicUses:325Used by:1157
Symbol 1156 GraphicUses:328 327 326Used by:1157
Symbol 1157 MovieClipUses:1155 334 846 1156Used by:Timeline
Symbol 1158 GraphicUsed by:Timeline
Symbol 1159 GraphicUses:325 328 327Used by:1162
Symbol 1160 GraphicUses:326 327 328 325Used by:1161
Symbol 1161 MovieClipUses:1160Used by:1162
Symbol 1162 MovieClipUses:1159 1161 846Used by:Timeline
Symbol 1163 GraphicUsed by:Timeline
Symbol 1164 GraphicUses:325Used by:1168
Symbol 1165 GraphicUses:325 348 328 327Used by:1168
Symbol 1166 GraphicUses:337Used by:1167
Symbol 1167 MovieClipUses:1166Used by:1168
Symbol 1168 MovieClipUses:1164 334 846 1165 1167Used by:Timeline
Symbol 1169 GraphicUses:327 325 326 328Used by:1170
Symbol 1170 MovieClipUses:843 334 1169 846Used by:Timeline
Symbol 1171 GraphicUsed by:Timeline
Symbol 1172 EditableTextUses:34Used by:Timeline
Symbol 1173 GraphicUsed by:Timeline
Symbol 1174 GraphicUsed by:1188
Symbol 1175 GraphicUsed by:1188 1433
Symbol 1176 FontUsed by:1177 1180 1182 1183 1430 1432
Symbol 1177 EditableTextUses:1176Used by:1188
Symbol 1178 FontUsed by:1179
Symbol 1179 TextUses:1178Used by:1188
Symbol 1180 TextUses:1176Used by:1188
Symbol 1181 GraphicUsed by:1188
Symbol 1182 EditableTextUses:1176Used by:1188
Symbol 1183 TextUses:1176Used by:1187
Symbol 1184 GraphicUsed by:1187
Symbol 1185 GraphicUsed by:1186
Symbol 1186 ButtonUses:1185 725Used by:1187
Symbol 1187 MovieClipUses:1183 1184 1186Used by:1188
Symbol 1188 MovieClipUses:1174 1175 1177 1179 1180 1181 1182 600 1187Used by:Timeline
Symbol 1189 GraphicUsed by:1205
Symbol 1190 GraphicUsed by:1205
Symbol 1191 GraphicUsed by:1202
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:1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201Used by:1205
Symbol 1203 GraphicUsed by:1205
Symbol 1204 GraphicUsed by:1205
Symbol 1205 MovieClipUses:1189 1190 1202 31 1203 1204Used by:Timeline
Symbol 1206 TextUses:34Used by:Timeline
Symbol 1207 GraphicUsed by:1209 1210 1211
Symbol 1208 GraphicUsed by:1209 1210 1211
Symbol 1209 ButtonUses:1207 1208Used by:1214
Symbol 1210 ButtonUses:1207 1208Used by:1214
Symbol 1211 ButtonUses:1207 1208Used by:1214
Symbol 1212 GraphicUsed by:1213
Symbol 1213 MovieClipUses:1212Used by:1214
Symbol 1214 MovieClipUses:1209 1210 258 1211 1213Used by:Timeline
Symbol 1215 GraphicUsed by:1329
Symbol 1216 TextUses:34Used by:1329
Symbol 1217 TextUses:34Used by:1329
Symbol 1218 GraphicUsed by:1329
Symbol 1219 GraphicUsed by:1329 1475
Symbol 1220 TextUses:34Used by:1329
Symbol 1221 TextUses:34Used by:1329
Symbol 1222 TextUses:34Used by:1329
Symbol 1223 TextUses:34Used by:1329
Symbol 1224 GraphicUsed by:1329
Symbol 1225 TextUses:34Used by:1329
Symbol 1226 TextUses:34Used by:1329
Symbol 1227 GraphicUsed by:1329
Symbol 1228 GraphicUsed by:1329
Symbol 1229 TextUses:34Used by:1329
Symbol 1230 TextUses:34Used by:1329
Symbol 1231 GraphicUsed by:1329
Symbol 1232 TextUses:34Used by:1329
Symbol 1233 TextUses:34Used by:1329
Symbol 1234 GraphicUsed by:1329
Symbol 1235 EditableTextUses:34Used by:1329
Symbol 1236 TextUses:34Used by:1329
Symbol 1237 GraphicUsed by:1329
Symbol 1238 TextUses:34Used by:1329
Symbol 1239 GraphicUsed by:1329
Symbol 1240 TextUses:34Used by:1329
Symbol 1241 GraphicUsed by:1329
Symbol 1242 TextUses:34Used by:1329
Symbol 1243 TextUses:34Used by:1329
Symbol 1244 GraphicUsed by:1329
Symbol 1245 TextUses:34Used by:1329
Symbol 1246 GraphicUsed by:1329
Symbol 1247 TextUses:34Used by:1329
Symbol 1248 TextUses:34Used by:1329
Symbol 1249 GraphicUsed by:1329
Symbol 1250 TextUses:34Used by:1329
Symbol 1251 GraphicUsed by:1329
Symbol 1252 TextUses:34Used by:1329
Symbol 1253 GraphicUsed by:1329
Symbol 1254 TextUses:34Used by:1329
Symbol 1255 TextUses:34Used by:1329
Symbol 1256 TextUses:34Used by:1329
Symbol 1257 TextUses:34Used by:1329
Symbol 1258 TextUses:34Used by:1329
Symbol 1259 TextUses:34Used by:1329
Symbol 1260 TextUses:34Used by:1329
Symbol 1261 TextUses:34Used by:1329
Symbol 1262 TextUses:34Used by:1329
Symbol 1263 TextUses:34Used by:1329
Symbol 1264 TextUses:34Used by:1329
Symbol 1265 TextUses:34Used by:1329
Symbol 1266 TextUses:34Used by:1329
Symbol 1267 TextUses:34Used by:1329
Symbol 1268 TextUses:34Used by:1329
Symbol 1269 TextUses:34Used by:1329
Symbol 1270 TextUses:34Used by:1329
Symbol 1271 TextUses:34Used by:1329
Symbol 1272 TextUses:34Used by:1329
Symbol 1273 GraphicUsed by:1329
Symbol 1274 TextUses:34Used by:1329
Symbol 1275 GraphicUsed by:1329
Symbol 1276 TextUses:34Used by:1329
Symbol 1277 TextUses:34Used by:1329
Symbol 1278 TextUses:34Used by:1329
Symbol 1279 TextUses:34Used by:1329
Symbol 1280 GraphicUsed by:1329
Symbol 1281 TextUses:34Used by:1329
Symbol 1282 TextUses:34Used by:1329
Symbol 1283 TextUses:34Used by:1329
Symbol 1284 TextUses:34Used by:1329
Symbol 1285 TextUses:34Used by:1329
Symbol 1286 TextUses:34Used by:1329
Symbol 1287 TextUses:34Used by:1329
Symbol 1288 GraphicUsed by:1329
Symbol 1289 TextUses:34Used by:1329
Symbol 1290 TextUses:34Used by:1329
Symbol 1291 TextUses:34Used by:1329
Symbol 1292 TextUses:34Used by:1329
Symbol 1293 GraphicUsed by:1329
Symbol 1294 TextUses:34Used by:1329
Symbol 1295 TextUses:34Used by:1329
Symbol 1296 TextUses:34Used by:1329
Symbol 1297 TextUses:34Used by:1329
Symbol 1298 TextUses:34Used by:1329
Symbol 1299 GraphicUsed by:1329
Symbol 1300 TextUses:34Used by:1329
Symbol 1301 GraphicUsed by:1329
Symbol 1302 TextUses:34Used by:1329
Symbol 1303 TextUses:34Used by:1329
Symbol 1304 TextUses:34Used by:1329
Symbol 1305 GraphicUsed by:1329
Symbol 1306 TextUses:34Used by:1329
Symbol 1307 GraphicUsed by:1329
Symbol 1308 TextUses:34Used by:1329
Symbol 1309 GraphicUsed by:1329
Symbol 1310 TextUses:34Used by:1329
Symbol 1311 GraphicUsed by:1329
Symbol 1312 TextUses:34Used by:1329
Symbol 1313 GraphicUsed by:1329
Symbol 1314 TextUses:34Used by:1329
Symbol 1315 GraphicUsed by:1329
Symbol 1316 TextUses:34Used by:1329
Symbol 1317 GraphicUsed by:1329
Symbol 1318 TextUses:34Used by:1329
Symbol 1319 GraphicUsed by:1329
Symbol 1320 TextUses:34Used by:1329
Symbol 1321 GraphicUsed by:1329
Symbol 1322 TextUses:34Used by:1329
Symbol 1323 GraphicUsed by:1329
Symbol 1324 TextUses:34Used by:1329
Symbol 1325 TextUses:34Used by:1329
Symbol 1326 GraphicUsed by:1329
Symbol 1327 TextUses:34Used by:1329
Symbol 1328 GraphicUsed by:1329
Symbol 1329 MovieClipUses:1215 1216 1217 37 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 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 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328Used by:Timeline
Symbol 1330 EditableTextUses:34Used by:Timeline
Symbol 1331 GraphicUsed by:Timeline
Symbol 1332 EditableTextUses:34Used by:Timeline
Symbol 1333 GraphicUsed by:1334
Symbol 1334 MovieClipUses:1333 115Used by:Timeline
Symbol 1335 EditableTextUses:153Used by:Timeline
Symbol 1336 GraphicUsed by:1339
Symbol 1337 FontUsed by:1338
Symbol 1338 EditableTextUses:1337Used by:1339
Symbol 1339 MovieClipUses:1336 1338Used by:Timeline
Symbol 1340 GraphicUses:1028Used by:Timeline
Symbol 1341 TextUses:1133Used by:Timeline
Symbol 1342 GraphicUsed by:Timeline
Symbol 1343 TextUses:34Used by:Timeline
Symbol 1344 TextUses:1133Used by:Timeline
Symbol 1345 GraphicUsed by:Timeline
Symbol 1346 EditableTextUses:34Used by:Timeline
Symbol 1347 EditableTextUses:34Used by:Timeline
Symbol 1348 GraphicUsed by:Timeline
Symbol 1349 EditableTextUses:153Used by:Timeline
Symbol 1350 TextUses:34Used by:Timeline
Symbol 1351 EditableTextUses:34Used by:Timeline
Symbol 1352 GraphicUsed by:Timeline
Symbol 1353 GraphicUsed by:Timeline
Symbol 1354 EditableTextUses:34Used by:Timeline
Symbol 1355 EditableTextUses:34Used by:Timeline
Symbol 1356 GraphicUsed by:Timeline
Symbol 1357 EditableTextUses:153Used by:Timeline
Symbol 1358 TextUses:34Used by:Timeline
Symbol 1359 EditableTextUses:34Used by:Timeline
Symbol 1360 EditableTextUses:34Used by:Timeline
Symbol 1361 GraphicUsed by:Timeline
Symbol 1362 EditableTextUses:153Used by:Timeline
Symbol 1363 GraphicUses:327 353 325 328Used by:1365
Symbol 1364 GraphicUses:348Used by:1365
Symbol 1365 MovieClipUses:334 1363 846 1364Used by:Timeline
Symbol 1366 EditableTextUses:34Used by:Timeline
Symbol 1367 EditableTextUses:34Used by:Timeline
Symbol 1368 GraphicUsed by:Timeline
Symbol 1369 EditableTextUses:153Used by:Timeline
Symbol 1370 TextUses:34Used by:Timeline
Symbol 1371 EditableTextUses:34Used by:Timeline
Symbol 1372 TextUses:34Used by:Timeline
Symbol 1373 GraphicUses:325Used by:1375
Symbol 1374 GraphicUses:352 327 337 325Used by:1375
Symbol 1375 MovieClipUses:1373 334 1374 846Used by:Timeline
Symbol 1376 EditableTextUses:34Used by:Timeline
Symbol 1377 TextUses:34Used by:Timeline
Symbol 1378 EditableTextUses:34Used by:Timeline
Symbol 1379 GraphicUsed by:1380
Symbol 1380 MovieClipUses:1379 118 110 112 113 115 119 120 30Used by:Timeline
Symbol 1381 GraphicUsed by:1382
Symbol 1382 MovieClipUses:1381 110 464 465 113 115 119 120Used by:Timeline
Symbol 1383 GraphicUsed by:1384
Symbol 1384 MovieClipUses:1383 113 115 110 464 150 119 120Used by:Timeline
Symbol 1385 GraphicUsed by:1386
Symbol 1386 MovieClipUses:1385 110 464 465 113 115 119 120Used by:Timeline
Symbol 1387 GraphicUsed by:1388
Symbol 1388 MovieClipUses:1387Used by:Timeline
Symbol 1389 EditableTextUses:34Used by:Timeline
Symbol 1390 GraphicUsed by:1391
Symbol 1391 MovieClipUses:1390 110 150 113 115 119 120Used by:Timeline
Symbol 1392 EditableTextUses:34Used by:Timeline
Symbol 1393 GraphicUsed by:1394
Symbol 1394 MovieClipUses:1393 110 465 113 115 119 120Used by:Timeline
Symbol 1395 TextUses:34Used by:Timeline
Symbol 1396 GraphicUses:325Used by:1398
Symbol 1397 GraphicUses:327 337 328 326 348 325 353Used by:1398
Symbol 1398 MovieClipUses:1396 334 1397 846Used by:Timeline
Symbol 1399 EditableTextUses:34Used by:Timeline
Symbol 1400 TextUses:34Used by:Timeline
Symbol 1401 GraphicUses:325Used by:1416
Symbol 1402 GraphicUses:348 352 327 325Used by:1416
Symbol 1403 GraphicUses:337Used by:1404
Symbol 1404 MovieClipUses:1403Used by:1416
Symbol 1405 GraphicUses:348Used by:1413
Symbol 1406 GraphicUses:348Used by:1413
Symbol 1407 GraphicUses:348Used by:1413
Symbol 1408 GraphicUses:348Used by:1413
Symbol 1409 GraphicUses:348Used by:1413
Symbol 1410 GraphicUses:348Used by:1413
Symbol 1411 GraphicUses:348Used by:1413
Symbol 1412 GraphicUses:348Used by:1413
Symbol 1413 MovieClipUses:1405 1406 119 120 29 1407 28 1408 27 456 1409 1410 1411 1412Used by:1416
Symbol 1414 GraphicUsed by:1415
Symbol 1415 MovieClipUses:1414 464Used by:1416
Symbol 1416 MovieClipUses:1401 334 846 1402 1404 1413 1415Used by:Timeline
Symbol 1417 EditableTextUses:34Used by:Timeline
Symbol 1418 TextUses:34Used by:Timeline
Symbol 1419 EditableTextUses:34Used by:Timeline
Symbol 1420 GraphicUsed by:1421
Symbol 1421 MovieClipUses:1420 110 150 113 115 119 120Used by:Timeline
Symbol 1422 GraphicUsed by:1423
Symbol 1423 MovieClipUses:1422Used by:Timeline
Symbol 1424 GraphicUses:325Used by:1426
Symbol 1425 GraphicUses:325 328 326 327 353Used by:1426
Symbol 1426 MovieClipUses:1424 334 1425 846Used by:Timeline
Symbol 1427 EditableTextUses:34Used by:Timeline
Symbol 1428 MovieClipUses:596 110 113 115Used by:Timeline
Symbol 1429 GraphicUsed by:1433
Symbol 1430 TextUses:1176Used by:1431
Symbol 1431 MovieClipUses:1430Used by:1433
Symbol 1432 EditableTextUses:1176Used by:1433
Symbol 1433 MovieClipUses:1429 1175 600 1431 1432Used by:Timeline
Symbol 1434 EditableTextUses:34Used by:Timeline
Symbol 1435 EditableTextUses:34Used by:Timeline
Symbol 1436 GraphicUsed by:Timeline
Symbol 1437 TextUses:34Used by:1475 1504
Symbol 1438 TextUses:34Used by:1475
Symbol 1439 TextUses:34Used by:1475
Symbol 1440 TextUses:34Used by:1475
Symbol 1441 TextUses:34Used by:1475
Symbol 1442 TextUses:34Used by:1475
Symbol 1443 TextUses:34Used by:1475
Symbol 1444 TextUses:34Used by:1475
Symbol 1445 GraphicUsed by:1475
Symbol 1446 TextUses:34Used by:1475
Symbol 1447 TextUses:34Used by:1475
Symbol 1448 TextUses:34Used by:1475
Symbol 1449 TextUses:34Used by:1475
Symbol 1450 TextUses:34Used by:1475
Symbol 1451 GraphicUsed by:1475
Symbol 1452 TextUses:34Used by:1475
Symbol 1453 TextUses:34Used by:1475
Symbol 1454 TextUses:34Used by:1475
Symbol 1455 TextUses:34Used by:1475
Symbol 1456 GraphicUsed by:1475
Symbol 1457 TextUses:34Used by:1475
Symbol 1458 TextUses:34Used by:1475
Symbol 1459 TextUses:34Used by:1475
Symbol 1460 GraphicUsed by:1475 1504
Symbol 1461 TextUses:34Used by:1475
Symbol 1462 GraphicUsed by:1475 1504
Symbol 1463 TextUses:34Used by:1475
Symbol 1464 TextUses:34Used by:1475
Symbol 1465 GraphicUsed by:1475
Symbol 1466 TextUses:34Used by:1475
Symbol 1467 TextUses:34Used by:1475
Symbol 1468 TextUses:34Used by:1475
Symbol 1469 TextUses:34Used by:1475
Symbol 1470 TextUses:34Used by:1475
Symbol 1471 ButtonUses:747 833 834 835Used by:1475
Symbol 1472 ButtonUses:747 829 830 831Used by:1475
Symbol 1473 ButtonUses:747 752 753 754Used by:1475
Symbol 1474 TextUses:34Used by:1475
Symbol 1475 MovieClipUses:1219 1437 1438 37 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 747 756 1469 1470 1471 1472 1473 1474Used by:Timeline
Symbol 1476 GraphicUsed by:Timeline
Symbol 1477 TextUses:34Used by:1504
Symbol 1478 TextUses:34Used by:1504
Symbol 1479 TextUses:34Used by:1504
Symbol 1480 TextUses:34Used by:1504
Symbol 1481 TextUses:34Used by:1504
Symbol 1482 TextUses:34Used by:1504
Symbol 1483 TextUses:34Used by:1504
Symbol 1484 TextUses:34Used by:1504
Symbol 1485 TextUses:34Used by:1504
Symbol 1486 TextUses:34Used by:1504
Symbol 1487 TextUses:34Used by:1504
Symbol 1488 TextUses:34Used by:1504
Symbol 1489 TextUses:34Used by:1504
Symbol 1490 TextUses:34Used by:1504
Symbol 1491 TextUses:34Used by:1504
Symbol 1492 TextUses:34Used by:1504
Symbol 1493 TextUses:34Used by:1504
Symbol 1494 TextUses:34Used by:1504
Symbol 1495 TextUses:34Used by:1504
Symbol 1496 GraphicUsed by:1504
Symbol 1497 TextUses:34Used by:1504
Symbol 1498 GraphicUsed by:1504
Symbol 1499 TextUses:34Used by:1504
Symbol 1500 TextUses:34Used by:1504
Symbol 1501 TextUses:34Used by:1504
Symbol 1502 TextUses:34Used by:1504
Symbol 1503 TextUses:34Used by:1504
Symbol 1504 MovieClipUses:1460 1462 1437 1477 37 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503Used by:Timeline
Symbol 1505 GraphicUsed by:Timeline
Symbol 1506 TextUses:1133Used by:Timeline
Symbol 1507 TextUses:34Used by:Timeline

Instance Names

"back"Frame 2Symbol 1034 MovieClip
"comcentre1"Frame 2Symbol 1037 MovieClip
"reinforcement1"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement2"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement3"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement4"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement5"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement6"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement7"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement8"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement9"Frame 2Symbol 911 MovieClip [flag copy]
"reinforcement10"Frame 2Symbol 911 MovieClip [flag copy]
"centre"Frame 2Symbol 911 MovieClip [flag copy]
"centre1"Frame 2Symbol 908 MovieClip [flag]
"centre2"Frame 2Symbol 908 MovieClip [flag]
"flagn"Frame 2Symbol 911 MovieClip [flag copy]
"box5"Frame 8Symbol 643 MovieClip [box5]
"back"Frame 8Symbol 1102 MovieClip
"back"Frame 9Symbol 1102 MovieClip
"oil1"Frame 9Symbol 1113 MovieClip
"oil4"Frame 9Symbol 1113 MovieClip
"oil5"Frame 9Symbol 1113 MovieClip
"oil2"Frame 9Symbol 1113 MovieClip
"oil3"Frame 9Symbol 1113 MovieClip
"oil6"Frame 9Symbol 1113 MovieClip
"rig6"Frame 9Symbol 1120 MovieClip
"servpt"Frame 9Symbol 911 MovieClip [flag copy]
"warpt"Frame 9Symbol 911 MovieClip [flag copy]
"refpt"Frame 9Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint4"Frame 9Symbol 911 MovieClip [flag copy]
"techpt"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 9Symbol 911 MovieClip [flag copy]
"minept0"Frame 9Symbol 911 MovieClip [flag copy]
"minept1"Frame 9Symbol 911 MovieClip [flag copy]
"minept2"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint100"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 9Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 9Symbol 911 MovieClip [flag copy]
"silopt"Frame 9Symbol 911 MovieClip [flag copy]
"rig10"Frame 9Symbol 1120 MovieClip
"rig11"Frame 9Symbol 1120 MovieClip
"rig12"Frame 9Symbol 1120 MovieClip
"rig19"Frame 9Symbol 1120 MovieClip
"rig122"Frame 9Symbol 1120 MovieClip
"waypoint106"Frame 9Symbol 911 MovieClip [flag copy]
"attackpt"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt6"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 9Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 9Symbol 911 MovieClip [flag copy]
"minept4"Frame 9Symbol 911 MovieClip [flag copy]
"minept3"Frame 9Symbol 911 MovieClip [flag copy]
"burton"Frame 9Symbol 1122 MovieClip
"rallypoint"Frame 9Symbol 1124 MovieClip
"attackpt1"Frame 9Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 9Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 9Symbol 911 MovieClip [flag copy]
"ai"Frame 9Symbol 1126 MovieClip
"waypoint44"Frame 9Symbol 911 MovieClip [flag copy]
"box"Frame 9Symbol 1128 MovieClip
"rallypoint"Frame 10Symbol 1124 MovieClip
"attackpt1"Frame 10Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 10Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 10Symbol 911 MovieClip [flag copy]
"box5"Frame 12Symbol 643 MovieClip [box5]
"back"Frame 12Symbol 1152 MovieClip
"back"Frame 13Symbol 1152 MovieClip
"oil1"Frame 13Symbol 1113 MovieClip
"oil3"Frame 13Symbol 1113 MovieClip
"oil2"Frame 13Symbol 1113 MovieClip
"burton"Frame 13Symbol 1122 MovieClip
"waypoint44"Frame 13Symbol 911 MovieClip [flag copy]
"flag4"Frame 13Symbol 911 MovieClip [flag copy]
"refpt"Frame 13Symbol 911 MovieClip [flag copy]
"techpt"Frame 13Symbol 911 MovieClip [flag copy]
"silopt"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt6"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 13Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 13Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 13Symbol 911 MovieClip [flag copy]
"warpt"Frame 13Symbol 911 MovieClip [flag copy]
"rig19"Frame 13Symbol 1120 MovieClip
"minept0"Frame 13Symbol 911 MovieClip [flag copy]
"minept1"Frame 13Symbol 911 MovieClip [flag copy]
"minept2"Frame 13Symbol 911 MovieClip [flag copy]
"minept3"Frame 13Symbol 911 MovieClip [flag copy]
"minept4"Frame 13Symbol 911 MovieClip [flag copy]
"servpt"Frame 13Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 13Symbol 1124 MovieClip
"box"Frame 13Symbol 1128 MovieClip
"waypoint100"Frame 13Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 13Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 13Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 13Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 13Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 13Symbol 911 MovieClip [flag copy]
"attackpt1"Frame 13Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 13Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 13Symbol 911 MovieClip [flag copy]
"ai"Frame 13Symbol 1126 MovieClip
"box5"Frame 14Symbol 643 MovieClip [box5]
"back"Frame 14Symbol 1157 MovieClip
"back"Frame 15Symbol 1157 MovieClip
"oil122"Frame 15Symbol 1113 MovieClip
"oil1"Frame 15Symbol 1113 MovieClip
"oil2"Frame 15Symbol 1113 MovieClip
"oil3"Frame 15Symbol 1113 MovieClip
"servpt"Frame 15Symbol 911 MovieClip [flag copy]
"warpt"Frame 15Symbol 911 MovieClip [flag copy]
"refpt"Frame 15Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint4"Frame 15Symbol 911 MovieClip [flag copy]
"techpt"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 15Symbol 911 MovieClip [flag copy]
"minept0"Frame 15Symbol 911 MovieClip [flag copy]
"minept1"Frame 15Symbol 911 MovieClip [flag copy]
"minept2"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint100"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 15Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 15Symbol 911 MovieClip [flag copy]
"silopt"Frame 15Symbol 911 MovieClip [flag copy]
"rig10"Frame 15Symbol 1120 MovieClip
"rig11"Frame 15Symbol 1120 MovieClip
"rig19"Frame 15Symbol 1120 MovieClip
"waypoint106"Frame 15Symbol 911 MovieClip [flag copy]
"rig1"Frame 15Symbol 1120 MovieClip
"turretpt6"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 15Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 15Symbol 911 MovieClip [flag copy]
"minept4"Frame 15Symbol 911 MovieClip [flag copy]
"minept3"Frame 15Symbol 911 MovieClip [flag copy]
"minept5"Frame 15Symbol 911 MovieClip [flag copy]
"minept6"Frame 15Symbol 911 MovieClip [flag copy]
"attackpt1"Frame 15Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 15Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 15Symbol 911 MovieClip [flag copy]
"burton"Frame 15Symbol 1122 MovieClip
"rallypoint"Frame 15Symbol 1124 MovieClip
"waypoint44"Frame 15Symbol 911 MovieClip [flag copy]
"box"Frame 15Symbol 1128 MovieClip
"ai"Frame 15Symbol 1126 MovieClip
"box5"Frame 16Symbol 643 MovieClip [box5]
"back"Frame 16Symbol 1162 MovieClip
"back"Frame 17Symbol 1162 MovieClip
"oil1"Frame 17Symbol 1113 MovieClip
"oil3"Frame 17Symbol 1113 MovieClip
"servpt"Frame 17Symbol 911 MovieClip [flag copy]
"warpt"Frame 17Symbol 911 MovieClip [flag copy]
"refpt"Frame 17Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint4"Frame 17Symbol 911 MovieClip [flag copy]
"techpt"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 17Symbol 911 MovieClip [flag copy]
"minept0"Frame 17Symbol 911 MovieClip [flag copy]
"minept1"Frame 17Symbol 911 MovieClip [flag copy]
"minept2"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint100"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 17Symbol 911 MovieClip [flag copy]
"silopt"Frame 17Symbol 911 MovieClip [flag copy]
"rig10"Frame 17Symbol 1120 MovieClip
"rig19"Frame 17Symbol 1120 MovieClip
"waypoint106"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt6"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 17Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 17Symbol 911 MovieClip [flag copy]
"minept4"Frame 17Symbol 911 MovieClip [flag copy]
"minept3"Frame 17Symbol 911 MovieClip [flag copy]
"minept5"Frame 17Symbol 911 MovieClip [flag copy]
"minept6"Frame 17Symbol 911 MovieClip [flag copy]
"attackpt1"Frame 17Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 17Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 17Symbol 911 MovieClip [flag copy]
"burton"Frame 17Symbol 1122 MovieClip
"rallypoint"Frame 17Symbol 1124 MovieClip
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"box"Frame 17Symbol 1128 MovieClip
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"waypoint44"Frame 17Symbol 911 MovieClip [flag copy]
"ai"Frame 17Symbol 1126 MovieClip
"box5"Frame 18Symbol 643 MovieClip [box5]
"back"Frame 18Symbol 1168 MovieClip
"back"Frame 19Symbol 1168 MovieClip
"oil1"Frame 19Symbol 1113 MovieClip
"servpt"Frame 19Symbol 911 MovieClip [flag copy]
"warpt"Frame 19Symbol 911 MovieClip [flag copy]
"refpt"Frame 19Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 19Symbol 911 MovieClip [flag copy]
"techpt"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 19Symbol 911 MovieClip [flag copy]
"minept0"Frame 19Symbol 911 MovieClip [flag copy]
"minept1"Frame 19Symbol 911 MovieClip [flag copy]
"minept2"Frame 19Symbol 911 MovieClip [flag copy]
"waypoint100"Frame 19Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 19Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 19Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 19Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 19Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 19Symbol 911 MovieClip [flag copy]
"silopt"Frame 19Symbol 911 MovieClip [flag copy]
"oil4"Frame 19Symbol 1113 MovieClip
"rig10"Frame 19Symbol 1120 MovieClip
"rig19"Frame 19Symbol 1120 MovieClip
"waypoint106"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt6"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 19Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 19Symbol 911 MovieClip [flag copy]
"minept4"Frame 19Symbol 911 MovieClip [flag copy]
"minept3"Frame 19Symbol 911 MovieClip [flag copy]
"minept5"Frame 19Symbol 911 MovieClip [flag copy]
"minept6"Frame 19Symbol 911 MovieClip [flag copy]
"rig11"Frame 19Symbol 1120 MovieClip
"rig12"Frame 19Symbol 1120 MovieClip
"rig20"Frame 19Symbol 1120 MovieClip
"rig21"Frame 19Symbol 1120 MovieClip
"attackpt1"Frame 19Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 19Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 19Symbol 911 MovieClip [flag copy]
"burton"Frame 19Symbol 1122 MovieClip
"rallypoint"Frame 19Symbol 1124 MovieClip
"box"Frame 19Symbol 1128 MovieClip
"ai"Frame 19Symbol 1126 MovieClip
"box5"Frame 20Symbol 643 MovieClip [box5]
"back"Frame 20Symbol 1170 MovieClip
"back"Frame 21Symbol 1170 MovieClip
"oil0"Frame 21Symbol 1113 MovieClip
"oil34"Frame 21Symbol 1113 MovieClip
"servpt"Frame 21Symbol 911 MovieClip [flag copy]
"warpt"Frame 21Symbol 911 MovieClip [flag copy]
"refpt"Frame 21Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 21Symbol 911 MovieClip [flag copy]
"techpt"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 21Symbol 911 MovieClip [flag copy]
"minept0"Frame 21Symbol 911 MovieClip [flag copy]
"minept1"Frame 21Symbol 911 MovieClip [flag copy]
"minept2"Frame 21Symbol 911 MovieClip [flag copy]
"waypoint100"Frame 21Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 21Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 21Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 21Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 21Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 21Symbol 911 MovieClip [flag copy]
"silopt"Frame 21Symbol 911 MovieClip [flag copy]
"oil9"Frame 21Symbol 1113 MovieClip
"waypoint106"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt6"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 21Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 21Symbol 911 MovieClip [flag copy]
"minept4"Frame 21Symbol 911 MovieClip [flag copy]
"minept3"Frame 21Symbol 911 MovieClip [flag copy]
"minept5"Frame 21Symbol 911 MovieClip [flag copy]
"minept6"Frame 21Symbol 911 MovieClip [flag copy]
"rig12"Frame 21Symbol 1120 MovieClip
"oil1"Frame 21Symbol 1113 MovieClip
"rig19"Frame 21Symbol 1120 MovieClip
"oil33"Frame 21Symbol 1113 MovieClip
"oil8"Frame 21Symbol 1113 MovieClip
"oil6"Frame 21Symbol 1113 MovieClip
"rig19"Frame 21Symbol 1120 MovieClip
"rig31"Frame 21Symbol 1120 MovieClip
"rig20"Frame 21Symbol 1120 MovieClip
"attackpt1"Frame 21Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 21Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 21Symbol 911 MovieClip [flag copy]
"burton"Frame 21Symbol 1122 MovieClip
"rallypoint"Frame 21Symbol 1124 MovieClip
"box"Frame 21Symbol 1128 MovieClip
"ai"Frame 21Symbol 1126 MovieClip
"box5"Frame 22Symbol 643 MovieClip [box5]
"back"Frame 22Symbol 859 MovieClip
"back"Frame 23Symbol 859 MovieClip
"oil0"Frame 23Symbol 1113 MovieClip
"oil34"Frame 23Symbol 1113 MovieClip
"servpt"Frame 23Symbol 911 MovieClip [flag copy]
"warpt"Frame 23Symbol 911 MovieClip [flag copy]
"refpt"Frame 23Symbol 911 MovieClip [flag copy]
"comcentrept"Frame 23Symbol 911 MovieClip [flag copy]
"techpt"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt2"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt3"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt1"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt5"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt4"Frame 23Symbol 911 MovieClip [flag copy]
"minept0"Frame 23Symbol 911 MovieClip [flag copy]
"minept1"Frame 23Symbol 911 MovieClip [flag copy]
"minept2"Frame 23Symbol 911 MovieClip [flag copy]
"waypoint100"Frame 23Symbol 911 MovieClip [flag copy]
"waypoint101"Frame 23Symbol 911 MovieClip [flag copy]
"waypoint102"Frame 23Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 23Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 23Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 23Symbol 911 MovieClip [flag copy]
"silopt"Frame 23Symbol 911 MovieClip [flag copy]
"oil9"Frame 23Symbol 1113 MovieClip
"waypoint106"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt6"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt7"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt8"Frame 23Symbol 911 MovieClip [flag copy]
"turretpt9"Frame 23Symbol 911 MovieClip [flag copy]
"minept4"Frame 23Symbol 911 MovieClip [flag copy]
"minept3"Frame 23Symbol 911 MovieClip [flag copy]
"minept5"Frame 23Symbol 911 MovieClip [flag copy]
"minept6"Frame 23Symbol 911 MovieClip [flag copy]
"rig12"Frame 23Symbol 1120 MovieClip
"oil1"Frame 23Symbol 1113 MovieClip
"rig19"Frame 23Symbol 1120 MovieClip
"oil6"Frame 23Symbol 1113 MovieClip
"rig19"Frame 23Symbol 1120 MovieClip
"rig31"Frame 23Symbol 1120 MovieClip
"rig20"Frame 23Symbol 1120 MovieClip
"attackpt1"Frame 23Symbol 911 MovieClip [flag copy]
"attackpt2"Frame 23Symbol 911 MovieClip [flag copy]
"attackpt3"Frame 23Symbol 911 MovieClip [flag copy]
"burton"Frame 23Symbol 1122 MovieClip
"rallypoint"Frame 23Symbol 1124 MovieClip
"box"Frame 23Symbol 1128 MovieClip
"ai"Frame 23Symbol 1126 MovieClip
"mapbar"Frame 26Symbol 618 MovieClip [mapbar]
"shader2"Frame 26Symbol 1214 MovieClip
"dialogue"Frame 26Symbol 1329 MovieClip
"back"Frame 27Symbol 1170 MovieClip
"box5"Frame 27Symbol 643 MovieClip [box5]
"burton"Frame 27Symbol 1122 MovieClip
"back"Frame 28Symbol 1170 MovieClip
"apc"Frame 28Symbol 597 MovieClip [apc]
"wall0"Frame 28Symbol 1334 MovieClip
"wall1"Frame 28Symbol 1334 MovieClip
"wall2"Frame 28Symbol 1334 MovieClip
"wall3"Frame 28Symbol 1334 MovieClip
"wall5"Frame 28Symbol 1334 MovieClip
"wall6"Frame 28Symbol 1334 MovieClip
"enemytechcentre1"Frame 28Symbol 584 MovieClip [enemytechcentre]
"flag1"Frame 28Symbol 911 MovieClip [flag copy]
"wall7"Frame 28Symbol 1334 MovieClip
"wall8"Frame 28Symbol 1334 MovieClip
"wall9"Frame 28Symbol 1334 MovieClip
"wall10"Frame 28Symbol 1334 MovieClip
"dialogue"Frame 28Symbol 1329 MovieClip
"rallypoint"Frame 28Symbol 1124 MovieClip
"box"Frame 28Symbol 1128 MovieClip
"ai"Frame 28Symbol 1339 MovieClip
"flag3"Frame 28Symbol 911 MovieClip [flag copy]
"flag2"Frame 28Symbol 911 MovieClip [flag copy]
"flag1"Frame 28Symbol 911 MovieClip [flag copy]
"flag4"Frame 28Symbol 911 MovieClip [flag copy]
"ai"Frame 29Symbol 1339 MovieClip
"mapbar"Frame 30Symbol 618 MovieClip [mapbar]
"shader2"Frame 30Symbol 1214 MovieClip
"shader1"Frame 30Symbol 1214 MovieClip
"back"Frame 31Symbol 1170 MovieClip
"apc"Frame 31Symbol 597 MovieClip [apc]
"wall0"Frame 31Symbol 1334 MovieClip
"wall1"Frame 31Symbol 1334 MovieClip
"wall2"Frame 31Symbol 1334 MovieClip
"wall3"Frame 31Symbol 1334 MovieClip
"wall5"Frame 31Symbol 1334 MovieClip
"wall6"Frame 31Symbol 1334 MovieClip
"enemytechcentre1"Frame 31Symbol 584 MovieClip [enemytechcentre]
"flag1"Frame 31Symbol 911 MovieClip [flag copy]
"wall7"Frame 31Symbol 1334 MovieClip
"wall8"Frame 31Symbol 1334 MovieClip
"wall9"Frame 31Symbol 1334 MovieClip
"wall10"Frame 31Symbol 1334 MovieClip
"dialogue"Frame 31Symbol 1329 MovieClip
"ai"Frame 31Symbol 1339 MovieClip
"burton"Frame 31Symbol 1122 MovieClip
"box5"Frame 32Symbol 643 MovieClip [box5]
"back"Frame 32Symbol 847 MovieClip
"back"Frame 33Symbol 847 MovieClip
"comcentre1"Frame 33Symbol 579 MovieClip [comcentre]
"refinery1"Frame 33Symbol 577 MovieClip [refinery]
"warfactorey1"Frame 33Symbol 575 MovieClip [warfactory]
"pat1"Frame 33Symbol 573 MovieClip [patriotmiss]
"wall1"Frame 33Symbol 1334 MovieClip
"pat2"Frame 33Symbol 573 MovieClip [patriotmiss]
"wall2"Frame 33Symbol 1334 MovieClip
"oil3"Frame 33Symbol 1113 MovieClip
"rig10"Frame 33Symbol 1120 MovieClip
"burton"Frame 33Symbol 1122 MovieClip
"rallypoint"Frame 33Symbol 1124 MovieClip
"tartar"Frame 33Symbol 911 MovieClip [flag copy]
"tart"Frame 33Symbol 911 MovieClip [flag copy]
"tart2"Frame 33Symbol 911 MovieClip [flag copy]
"tart3"Frame 33Symbol 911 MovieClip [flag copy]
"tart4"Frame 33Symbol 911 MovieClip [flag copy]
"box"Frame 33Symbol 1128 MovieClip
"ai"Frame 33Symbol 1339 MovieClip
"ai"Frame 34Symbol 1339 MovieClip
"ai"Frame 35Symbol 1339 MovieClip
"mapbar"Frame 36Symbol 618 MovieClip [mapbar]
"shader2"Frame 36Symbol 1214 MovieClip
"back"Frame 37Symbol 1170 MovieClip
"box5"Frame 37Symbol 643 MovieClip [box5]
"burton"Frame 37Symbol 1122 MovieClip
"back"Frame 38Symbol 1170 MovieClip
"tartar"Frame 38Symbol 911 MovieClip [flag copy]
"tart5"Frame 38Symbol 911 MovieClip [flag copy]
"tart6"Frame 38Symbol 911 MovieClip [flag copy]
"warfactory1"Frame 38Symbol 575 MovieClip [warfactory]
"comcentre1"Frame 38Symbol 579 MovieClip [comcentre]
"enemywarfactory1"Frame 38Symbol 911 MovieClip [flag copy]
"enemywarfactory2"Frame 38Symbol 911 MovieClip [flag copy]
"oil6"Frame 38Symbol 1113 MovieClip
"rig11"Frame 38Symbol 1120 MovieClip
"oil4"Frame 38Symbol 1113 MovieClip
"rig5"Frame 38Symbol 1120 MovieClip
"enemywarfactory4"Frame 38Symbol 911 MovieClip [flag copy]
"enemywarfactory3"Frame 38Symbol 911 MovieClip [flag copy]
"lock1"Frame 38Symbol 911 MovieClip [flag copy]
"burton"Frame 38Symbol 1122 MovieClip
"techcentre1"Frame 38Symbol 565 MovieClip [techcentre]
"refinery1"Frame 38Symbol 577 MovieClip [refinery]
"servicedepot1"Frame 38Symbol 563 MovieClip [servicedepot]
"rallypoint"Frame 38Symbol 1124 MovieClip
"box"Frame 38Symbol 1128 MovieClip
"ai"Frame 38Symbol 1339 MovieClip
"ai"Frame 39Symbol 1339 MovieClip
"ai"Frame 40Symbol 1339 MovieClip
"back"Frame 41Symbol 852 MovieClip
"box5"Frame 41Symbol 643 MovieClip [box5]
"back"Frame 42Symbol 852 MovieClip
"burton"Frame 42Symbol 1122 MovieClip
"rallypoint"Frame 42Symbol 1124 MovieClip
"tartar"Frame 42Symbol 911 MovieClip [flag copy]
"tart"Frame 42Symbol 911 MovieClip [flag copy]
"tart2"Frame 42Symbol 911 MovieClip [flag copy]
"tart3"Frame 42Symbol 911 MovieClip [flag copy]
"tart4"Frame 42Symbol 911 MovieClip [flag copy]
"comcentre1"Frame 42Symbol 579 MovieClip [comcentre]
"enemytechcentre1"Frame 42Symbol 565 MovieClip [techcentre]
"servicedepot1"Frame 42Symbol 563 MovieClip [servicedepot]
"oil3"Frame 42Symbol 1113 MovieClip
"box"Frame 42Symbol 1128 MovieClip
"ai"Frame 42Symbol 1339 MovieClip
"ai"Frame 43Symbol 1339 MovieClip
"ai"Frame 44Symbol 1339 MovieClip
"mapbar"Frame 45Symbol 618 MovieClip [mapbar]
"shader2"Frame 45Symbol 1214 MovieClip
"shader1"Frame 45Symbol 1214 MovieClip
"back"Frame 46Symbol 856 MovieClip
"box5"Frame 46Symbol 643 MovieClip [box5]
"burton"Frame 46Symbol 1122 MovieClip
"back"Frame 47Symbol 856 MovieClip
"burton"Frame 47Symbol 1122 MovieClip
"rallypoint"Frame 47Symbol 1124 MovieClip
"tartar"Frame 47Symbol 911 MovieClip [flag copy]
"tart"Frame 47Symbol 911 MovieClip [flag copy]
"tart2"Frame 47Symbol 911 MovieClip [flag copy]
"tart3"Frame 47Symbol 911 MovieClip [flag copy]
"tart4"Frame 47Symbol 911 MovieClip [flag copy]
"centre2"Frame 47Symbol 911 MovieClip [flag copy]
"oil4"Frame 47Symbol 1113 MovieClip
"oil5"Frame 47Symbol 1113 MovieClip
"oil6"Frame 47Symbol 1113 MovieClip
"rig11"Frame 47Symbol 1120 MovieClip
"box"Frame 47Symbol 1128 MovieClip
"ai"Frame 47Symbol 1339 MovieClip
"reinforcement1"Frame 47Symbol 911 MovieClip [flag copy]
"reinforcement2"Frame 47Symbol 911 MovieClip [flag copy]
"reinforcement3"Frame 47Symbol 911 MovieClip [flag copy]
"reinforcement4"Frame 47Symbol 911 MovieClip [flag copy]
"reinforcement5"Frame 47Symbol 911 MovieClip [flag copy]
"ai"Frame 48Symbol 1339 MovieClip
"ai"Frame 49Symbol 1339 MovieClip
"box5"Frame 50Symbol 643 MovieClip [box5]
"back"Frame 50Symbol 1365 MovieClip
"back"Frame 51Symbol 1365 MovieClip
"burton"Frame 51Symbol 1122 MovieClip
"enemyservicedepot1"Frame 51Symbol 561 MovieClip [enemyservicedepot]
"enemycomcentre1"Frame 51Symbol 594 MovieClip [enemycomcentre]
"comcentre1"Frame 51Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 51Symbol 1124 MovieClip
"tartar"Frame 51Symbol 911 MovieClip [flag copy]
"tart"Frame 51Symbol 911 MovieClip [flag copy]
"tart2"Frame 51Symbol 911 MovieClip [flag copy]
"tart3"Frame 51Symbol 911 MovieClip [flag copy]
"tart4"Frame 51Symbol 911 MovieClip [flag copy]
"basewp"Frame 51Symbol 911 MovieClip [flag copy]
"box"Frame 51Symbol 1128 MovieClip
"ai"Frame 51Symbol 1339 MovieClip
"miss5"Frame 51Symbol 634 MovieClip [rocket]
"miss4"Frame 51Symbol 634 MovieClip [rocket]
"dozer"Frame 51Symbol 633 MovieClip [dozer]
"apc"Frame 51Symbol 633 MovieClip [dozer]
"arts"Frame 51Symbol 629 MovieClip [artillery]
"tank1"Frame 51Symbol 627 MovieClip [light]
"hum1"Frame 51Symbol 635 MovieClip [humvee]
"hum2"Frame 51Symbol 635 MovieClip [humvee]
"htank"Frame 51Symbol 628 MovieClip [heavy]
"centre2"Frame 51Symbol 911 MovieClip [flag copy]
"reinforcement1"Frame 51Symbol 911 MovieClip [flag copy]
"reinforcement2"Frame 51Symbol 911 MovieClip [flag copy]
"reinforcement3"Frame 51Symbol 911 MovieClip [flag copy]
"ai"Frame 52Symbol 1339 MovieClip
"mapbar"Frame 54Symbol 618 MovieClip [mapbar]
"shader2"Frame 54Symbol 1214 MovieClip
"back"Frame 55Symbol 864 MovieClip
"box5"Frame 55Symbol 643 MovieClip [box5]
"burton"Frame 55Symbol 1122 MovieClip
"back"Frame 56Symbol 864 MovieClip
"tartar"Frame 56Symbol 911 MovieClip [flag copy]
"tart5"Frame 56Symbol 911 MovieClip [flag copy]
"dropoff"Frame 56Symbol 911 MovieClip [flag copy]
"oil6"Frame 56Symbol 1113 MovieClip
"rig11"Frame 56Symbol 1120 MovieClip
"oil4"Frame 56Symbol 1113 MovieClip
"rig5"Frame 56Symbol 1120 MovieClip
"point4"Frame 56Symbol 911 MovieClip [flag copy]
"point3"Frame 56Symbol 911 MovieClip [flag copy]
"lock1"Frame 56Symbol 911 MovieClip [flag copy]
"burton"Frame 56Symbol 1122 MovieClip
"comcentre1"Frame 56Symbol 579 MovieClip [comcentre]
"servicedepot1"Frame 56Symbol 563 MovieClip [servicedepot]
"techcentre1"Frame 56Symbol 565 MovieClip [techcentre]
"refinery1"Frame 56Symbol 577 MovieClip [refinery]
"point1"Frame 56Symbol 911 MovieClip [flag copy]
"point2"Frame 56Symbol 911 MovieClip [flag copy]
"point5"Frame 56Symbol 911 MovieClip [flag copy]
"transportpoint"Frame 56Symbol 911 MovieClip [flag copy]
"dropin"Frame 56Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 56Symbol 1124 MovieClip
"box"Frame 56Symbol 1128 MovieClip
"ai"Frame 56Symbol 1339 MovieClip
"ai"Frame 57Symbol 1339 MovieClip
"ai"Frame 58Symbol 1339 MovieClip
"mapbar"Frame 59Symbol 618 MovieClip [mapbar]
"shader2"Frame 59Symbol 1214 MovieClip
"back"Frame 60Symbol 1375 MovieClip
"box5"Frame 60Symbol 643 MovieClip [box5]
"burton"Frame 60Symbol 1122 MovieClip
"back"Frame 61Symbol 1375 MovieClip
"oil6"Frame 61Symbol 1113 MovieClip
"rig11"Frame 61Symbol 1120 MovieClip
"ref"Frame 61Symbol 911 MovieClip [flag copy]
"burton"Frame 61Symbol 1122 MovieClip
"enemyrefinery1"Frame 61Symbol 551 MovieClip [enemyrefinery]
"oilt3"Frame 61Symbol 476 MovieClip [enemyoiltruck]
"oilt2"Frame 61Symbol 476 MovieClip [enemyoiltruck]
"oilt1"Frame 61Symbol 476 MovieClip [enemyoiltruck]
"laser1"Frame 61Symbol 470 MovieClip [enemylasertank]
"d1"Frame 61Symbol 633 MovieClip [dozer]
"d2"Frame 61Symbol 628 MovieClip [heavy]
"d4"Frame 61Symbol 529 MovieClip [oiltruck]
"d6"Frame 61Symbol 627 MovieClip [light]
"d5"Frame 61Symbol 634 MovieClip [rocket]
"service1"Frame 61Symbol 563 MovieClip [servicedepot]
"turret1"Frame 61Symbol 573 MovieClip [patriotmiss]
"enemytechcentre1"Frame 61Symbol 584 MovieClip [enemytechcentre]
"tech1"Frame 61Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 61Symbol 1124 MovieClip
"box"Frame 61Symbol 1128 MovieClip
"ai"Frame 61Symbol 1339 MovieClip
"ai"Frame 62Symbol 1339 MovieClip
"ai"Frame 63Symbol 1339 MovieClip
"mapbar"Frame 64Symbol 618 MovieClip [mapbar]
"shader1"Frame 64Symbol 1214 MovieClip
"shader2"Frame 64Symbol 1214 MovieClip
"shader0"Frame 64Symbol 1214 MovieClip
"back"Frame 65Symbol 1152 MovieClip
"box5"Frame 65Symbol 643 MovieClip [box5]
"burton"Frame 65Symbol 1122 MovieClip
"back"Frame 66Symbol 1152 MovieClip
"enemywarfactory1"Frame 66Symbol 911 MovieClip [flag copy]
"burton"Frame 66Symbol 1122 MovieClip
"warfactory1"Frame 66Symbol 575 MovieClip [warfactory]
"em5"Frame 66Symbol 629 MovieClip [artillery]
"em2"Frame 66Symbol 629 MovieClip [artillery]
"em1"Frame 66Symbol 629 MovieClip [artillery]
"em3"Frame 66Symbol 629 MovieClip [artillery]
"em4"Frame 66Symbol 629 MovieClip [artillery]
"rallypoint"Frame 66Symbol 1124 MovieClip
"comally"Frame 66Symbol 1380 MovieClip
"laser1"Frame 66Symbol 470 MovieClip [enemylasertank]
"laser2"Frame 66Symbol 470 MovieClip [enemylasertank]
"laser3"Frame 66Symbol 470 MovieClip [enemylasertank]
"laser4"Frame 66Symbol 470 MovieClip [enemylasertank]
"laser5"Frame 66Symbol 470 MovieClip [enemylasertank]
"servicedepot1"Frame 66Symbol 563 MovieClip [servicedepot]
"box"Frame 66Symbol 1128 MovieClip
"ai"Frame 66Symbol 1339 MovieClip
"ai"Frame 67Symbol 1339 MovieClip
"ai"Frame 68Symbol 1339 MovieClip
"back"Frame 69Symbol 859 MovieClip
"box5"Frame 69Symbol 643 MovieClip [box5]
"back"Frame 70Symbol 859 MovieClip
"burton"Frame 70Symbol 1122 MovieClip
"warfactory1"Frame 70Symbol 575 MovieClip [warfactory]
"refinery1"Frame 70Symbol 577 MovieClip [refinery]
"apc"Frame 70Symbol 597 MovieClip [apc]
"com"Frame 70Symbol 1380 MovieClip
"guide"Frame 70Symbol 536 MovieClip [lightally]
"giude1"Frame 70Symbol 536 MovieClip [lightally]
"enemyrefinery1"Frame 70Symbol 551 MovieClip [enemyrefinery]
"enemytechcentre3"Frame 70Symbol 1391 MovieClip
"enemytechcentre2"Frame 70Symbol 1391 MovieClip
"enemytechcentre1"Frame 70Symbol 1391 MovieClip
"enemyservicedepot1"Frame 70Symbol 561 MovieClip [enemyservicedepot]
"enemywarfactory1"Frame 70Symbol 549 MovieClip [enemywarfactory]
"enemycomcentre1"Frame 70Symbol 594 MovieClip [enemycomcentre]
"laser1"Frame 70Symbol 470 MovieClip [enemylasertank]
"laser3"Frame 70Symbol 470 MovieClip [enemylasertank]
"laser2"Frame 70Symbol 470 MovieClip [enemylasertank]
"oil6"Frame 70Symbol 1113 MovieClip
"oil5"Frame 70Symbol 1113 MovieClip
"rig11"Frame 70Symbol 1120 MovieClip
"rig10"Frame 70Symbol 1120 MovieClip
"techt1"Frame 70Symbol 911 MovieClip [flag copy]
"techt2"Frame 70Symbol 911 MovieClip [flag copy]
"techt3"Frame 70Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 70Symbol 1124 MovieClip
"servicedepot1"Frame 70Symbol 563 MovieClip [servicedepot]
"box"Frame 70Symbol 1128 MovieClip
"ai"Frame 70Symbol 1339 MovieClip
"comm"Frame 70Symbol 1130 MovieClip
"ai"Frame 71Symbol 1339 MovieClip
"ai"Frame 72Symbol 1339 MovieClip
"back"Frame 73Symbol 1168 MovieClip
"box5"Frame 73Symbol 643 MovieClip [box5]
"back"Frame 74Symbol 1168 MovieClip
"burton"Frame 74Symbol 1122 MovieClip
"art4"Frame 74Symbol 640 MovieClip [enemyartillery]
"art5"Frame 74Symbol 640 MovieClip [enemyartillery]
"art6"Frame 74Symbol 640 MovieClip [enemyartillery]
"enemyrefinery1"Frame 74Symbol 551 MovieClip [enemyrefinery]
"facility"Frame 74Symbol 1394 MovieClip
"oil5"Frame 74Symbol 1113 MovieClip
"oil6"Frame 74Symbol 1113 MovieClip
"oil7"Frame 74Symbol 1113 MovieClip
"rig11"Frame 74Symbol 1120 MovieClip
"rallypoint"Frame 74Symbol 1124 MovieClip
"pao1"Frame 74Symbol 911 MovieClip [flag copy]
"enemycomcentre1"Frame 74Symbol 594 MovieClip [enemycomcentre]
"enemywarfactory1"Frame 74Symbol 549 MovieClip [enemywarfactory]
"enemyweaponsilo1"Frame 74Symbol 466 MovieClip [enemyweaponsilo]
"enemytechcentre1"Frame 74Symbol 584 MovieClip [enemytechcentre]
"enemyservicedepot1"Frame 74Symbol 561 MovieClip [enemyservicedepot]
"art2"Frame 74Symbol 640 MovieClip [enemyartillery]
"art1"Frame 74Symbol 640 MovieClip [enemyartillery]
"laser1"Frame 74Symbol 470 MovieClip [enemylasertank]
"art3"Frame 74Symbol 640 MovieClip [enemyartillery]
"laser2"Frame 74Symbol 470 MovieClip [enemylasertank]
"laser3"Frame 74Symbol 470 MovieClip [enemylasertank]
"laser4"Frame 74Symbol 470 MovieClip [enemylasertank]
"laser5"Frame 74Symbol 470 MovieClip [enemylasertank]
"convoy"Frame 74Symbol 911 MovieClip [flag copy]
"rig11"Frame 74Symbol 1120 MovieClip
"weaponarea"Frame 74Symbol 911 MovieClip [flag copy]
"box"Frame 74Symbol 1128 MovieClip
"ai"Frame 74Symbol 1339 MovieClip
"ai"Frame 75Symbol 1339 MovieClip
"ai"Frame 76Symbol 1339 MovieClip
"mapbar"Frame 77Symbol 618 MovieClip [mapbar]
"shader2"Frame 77Symbol 1214 MovieClip
"back"Frame 78Symbol 1398 MovieClip
"box5"Frame 78Symbol 643 MovieClip [box5]
"burton"Frame 78Symbol 1122 MovieClip
"rig11"Frame 79Symbol 1120 MovieClip
"burton"Frame 79Symbol 1122 MovieClip
"back"Frame 79Symbol 1398 MovieClip
"h1"Frame 79Symbol 636 MovieClip [enemyheavy]
"rallypoint"Frame 79Symbol 1124 MovieClip
"oil7"Frame 79Symbol 1113 MovieClip
"rig11"Frame 79Symbol 1120 MovieClip
"oil6"Frame 79Symbol 1113 MovieClip
"rig10"Frame 79Symbol 1120 MovieClip
"enemyrefinery1"Frame 79Symbol 551 MovieClip [enemyrefinery]
"enemyservicedepot1"Frame 79Symbol 911 MovieClip [flag copy]
"enemywarfactory1"Frame 79Symbol 549 MovieClip [enemywarfactory]
"h2"Frame 79Symbol 636 MovieClip [enemyheavy]
"patrol1"Frame 79Symbol 639 MovieClip [enemylight]
"patrol2"Frame 79Symbol 639 MovieClip [enemylight]
"patrol3"Frame 79Symbol 639 MovieClip [enemylight]
"patrol4"Frame 79Symbol 638 MovieClip [enemyhumvee]
"patrol5"Frame 79Symbol 638 MovieClip [enemyhumvee]
"patrol6"Frame 79Symbol 638 MovieClip [enemyhumvee]
"patrol7"Frame 79Symbol 638 MovieClip [enemyhumvee]
"patrol8"Frame 79Symbol 638 MovieClip [enemyhumvee]
"patrol10"Frame 79Symbol 638 MovieClip [enemyhumvee]
"patrol9"Frame 79Symbol 639 MovieClip [enemylight]
"pat1"Frame 79Symbol 911 MovieClip [flag copy]
"pat2"Frame 79Symbol 911 MovieClip [flag copy]
"truckspawn"Frame 79Symbol 911 MovieClip [flag copy]
"box"Frame 79Symbol 1128 MovieClip
"ai"Frame 79Symbol 1339 MovieClip
"apc"Frame 79Symbol 597 MovieClip [apc]
"ai"Frame 80Symbol 1339 MovieClip
"ai"Frame 81Symbol 1339 MovieClip
"mapbar"Frame 82Symbol 618 MovieClip [mapbar]
"shader2"Frame 82Symbol 1214 MovieClip
"back"Frame 83Symbol 1416 MovieClip
"box5"Frame 83Symbol 643 MovieClip [box5]
"burton"Frame 83Symbol 1122 MovieClip
"burton"Frame 84Symbol 1122 MovieClip
"back"Frame 84Symbol 1416 MovieClip
"dropoff"Frame 84Symbol 911 MovieClip [flag copy]
"bridge"Frame 84Symbol 911 MovieClip [flag copy]
"bridge2"Frame 84Symbol 911 MovieClip [flag copy]
"repair2"Frame 84Symbol 911 MovieClip [flag copy]
"repair1"Frame 84Symbol 911 MovieClip [flag copy]
"point1"Frame 84Symbol 911 MovieClip [flag copy]
"point2"Frame 84Symbol 911 MovieClip [flag copy]
"point3"Frame 84Symbol 911 MovieClip [flag copy]
"point4"Frame 84Symbol 911 MovieClip [flag copy]
"point5"Frame 84Symbol 911 MovieClip [flag copy]
"point6"Frame 84Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 84Symbol 1124 MovieClip
"laser"Frame 84Symbol 462 MovieClip [lasertank]
"dozer2"Frame 84Symbol 633 MovieClip [dozer]
"dozer3"Frame 84Symbol 633 MovieClip [dozer]
"dozer1"Frame 84Symbol 633 MovieClip [dozer]
"trucker"Frame 84Symbol 635 MovieClip [humvee]
"box"Frame 84Symbol 1128 MovieClip
"ai"Frame 84Symbol 1339 MovieClip
"ai"Frame 85Symbol 1339 MovieClip
"ai"Frame 86Symbol 1339 MovieClip
"shader2"Frame 87Symbol 1214 MovieClip
"shader1"Frame 87Symbol 1214 MovieClip
"mapbar"Frame 87Symbol 618 MovieClip [mapbar]
"back"Frame 88Symbol 867 MovieClip
"box5"Frame 88Symbol 643 MovieClip [box5]
"burton"Frame 88Symbol 1122 MovieClip
"back"Frame 89Symbol 867 MovieClip
"oil2"Frame 89Symbol 1113 MovieClip
"oil3"Frame 89Symbol 1113 MovieClip
"oil1"Frame 89Symbol 1113 MovieClip
"oil11"Frame 89Symbol 1113 MovieClip
"burton"Frame 89Symbol 1122 MovieClip
"control3"Frame 89Symbol 1421 MovieClip
"control4"Frame 89Symbol 1421 MovieClip
"enemyrefinery1"Frame 89Symbol 551 MovieClip [enemyrefinery]
"enemyservicedepot1"Frame 89Symbol 561 MovieClip [enemyservicedepot]
"fortress"Frame 89Symbol 470 MovieClip [enemylasertank]
"enemytechcentre1"Frame 89Symbol 584 MovieClip [enemytechcentre]
"enemycomcentre1"Frame 89Symbol 594 MovieClip [enemycomcentre]
"enemyweaponsilo1"Frame 89Symbol 466 MovieClip [enemyweaponsilo]
"enemywarfactory1"Frame 89Symbol 549 MovieClip [enemywarfactory]
"enemywarfactory2"Frame 89Symbol 549 MovieClip [enemywarfactory]
"enemywarfactory3"Frame 89Symbol 549 MovieClip [enemywarfactory]
"enemywarfactory4"Frame 89Symbol 549 MovieClip [enemywarfactory]
"rig13"Frame 89Symbol 1120 MovieClip
"rig14"Frame 89Symbol 1120 MovieClip
"comcentre1"Frame 89Symbol 579 MovieClip [comcentre]
"rallypoint"Frame 89Symbol 1124 MovieClip
"control1"Frame 89Symbol 1421 MovieClip
"control2"Frame 89Symbol 1421 MovieClip
"rig11"Frame 89Symbol 1120 MovieClip
"rig12"Frame 89Symbol 1120 MovieClip
"box"Frame 89Symbol 1128 MovieClip
"ai"Frame 89Symbol 1339 MovieClip
"shield"Frame 89Symbol 1423 MovieClip
"shroudfortress"Frame 89Symbol 1130 MovieClip
"ai"Frame 90Symbol 1339 MovieClip
"ai"Frame 91Symbol 1339 MovieClip
"back"Frame 92Symbol 1426 MovieClip
"box5"Frame 92Symbol 643 MovieClip [box5]
"burton"Frame 93Symbol 1122 MovieClip
"back"Frame 93Symbol 1426 MovieClip
"t1"Frame 93Symbol 637 MovieClip [enemyrocket]
"t2"Frame 93Symbol 639 MovieClip [enemylight]
"t3"Frame 93Symbol 639 MovieClip [enemylight]
"m1"Frame 93Symbol 637 MovieClip [enemyrocket]
"p2"Frame 93Symbol 638 MovieClip [enemyhumvee]
"p1"Frame 93Symbol 638 MovieClip [enemyhumvee]
"p3"Frame 93Symbol 639 MovieClip [enemylight]
"i1"Frame 93Symbol 636 MovieClip [enemyheavy]
"i2"Frame 93Symbol 638 MovieClip [enemyhumvee]
"i3"Frame 93Symbol 637 MovieClip [enemyrocket]
"point4"Frame 93Symbol 911 MovieClip [flag copy]
"point3"Frame 93Symbol 911 MovieClip [flag copy]
"point2"Frame 93Symbol 911 MovieClip [flag copy]
"point1"Frame 93Symbol 911 MovieClip [flag copy]
"point5"Frame 93Symbol 911 MovieClip [flag copy]
"point6"Frame 93Symbol 911 MovieClip [flag copy]
"weaponsilo"Frame 93Symbol 466 MovieClip [enemyweaponsilo]
"erefinery"Frame 93Symbol 551 MovieClip [enemyrefinery]
"comcentre"Frame 93Symbol 594 MovieClip [enemycomcentre]
"apoc"Frame 93Symbol 1428 MovieClip
"apcc3"Frame 93Symbol 636 MovieClip [enemyheavy]
"apcc2"Frame 93Symbol 636 MovieClip [enemyheavy]
"flee"Frame 93Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 93Symbol 1124 MovieClip
"apec"Frame 93Symbol 911 MovieClip [flag copy]
"h2"Frame 93Symbol 638 MovieClip [enemyhumvee]
"h1"Frame 93Symbol 638 MovieClip [enemyhumvee]
"box"Frame 93Symbol 1128 MovieClip
"ai"Frame 93Symbol 1339 MovieClip
"ai"Frame 94Symbol 1339 MovieClip
"ai"Frame 95Symbol 1339 MovieClip
"back"Frame 100Symbol 1102 MovieClip
"box5"Frame 100Symbol 643 MovieClip [box5]
"oil1"Frame 101Symbol 1113 MovieClip
"oil3"Frame 101Symbol 1113 MovieClip
"oil6"Frame 101Symbol 1113 MovieClip
"rig6"Frame 101Symbol 1120 MovieClip
"waypoint4"Frame 101Symbol 911 MovieClip [flag copy]
"rig10"Frame 101Symbol 1120 MovieClip
"rig19"Frame 101Symbol 1120 MovieClip
"tank1"Frame 101Symbol 627 MovieClip [light]
"burton"Frame 101Symbol 1122 MovieClip
"tutorial"Frame 101Symbol 1475 MovieClip
"flag1"Frame 101Symbol 911 MovieClip [flag copy]
"box"Frame 101Symbol 1128 MovieClip
"flag2"Frame 101Symbol 911 MovieClip [flag copy]
"waypointn"Frame 101Symbol 911 MovieClip [flag copy]
"ai"Frame 102Symbol 1339 MovieClip
"back"Frame 137Symbol 1162 MovieClip
"box5"Frame 137Symbol 643 MovieClip [box5]
"oil3"Frame 138Symbol 1113 MovieClip
"rig10"Frame 138Symbol 1120 MovieClip
"enemyrefinery1"Frame 138Symbol 551 MovieClip [enemyrefinery]
"enemytechcentre1"Frame 138Symbol 584 MovieClip [enemytechcentre]
"oil2"Frame 138Symbol 1113 MovieClip
"rig10"Frame 138Symbol 1120 MovieClip
"waypoint102"Frame 138Symbol 911 MovieClip [flag copy]
"waypoint103"Frame 138Symbol 911 MovieClip [flag copy]
"waypoint104"Frame 138Symbol 911 MovieClip [flag copy]
"waypoint105"Frame 138Symbol 911 MovieClip [flag copy]
"rallypoint"Frame 138Symbol 1124 MovieClip
"flag12"Frame 138Symbol 911 MovieClip [flag copy]
"dozer1"Frame 138Symbol 633 MovieClip [dozer]
"ai"Frame 138Symbol 1339 MovieClip
"waypoint101"Frame 138Symbol 911 MovieClip [flag copy]
"patroit"Frame 138Symbol 592 MovieClip [enemymultiple]
"enemycomcentre1"Frame 138Symbol 594 MovieClip [enemycomcentre]
"enemywarfactory1"Frame 138Symbol 549 MovieClip [enemywarfactory]
"burton"Frame 138Symbol 1122 MovieClip
"tutorial"Frame 138Symbol 1504 MovieClip
"box"Frame 138Symbol 1128 MovieClip
"oil5"Frame 138Symbol 1113 MovieClip
"rig122"Frame 138Symbol 1120 MovieClip
"ai"Frame 139Symbol 1339 MovieClip
"silodoors"Symbol 121 MovieClip [weaponsilo] Frame 1Symbol 81 MovieClip
"selector"Symbol 121 MovieClip [weaponsilo] Frame 1Symbol 110 MovieClip
"auto"Symbol 121 MovieClip [weaponsilo] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 121 MovieClip [weaponsilo] Frame 1Symbol 115 MovieClip
"pad"Symbol 149 MovieClip Frame 2Symbol 143 MovieClip
"constructor"Symbol 157 MovieClip [enemyconstruction] Frame 1Symbol 149 MovieClip
"selector"Symbol 157 MovieClip [enemyconstruction] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 157 MovieClip [enemyconstruction] Frame 1Symbol 115 MovieClip
"turret"Symbol 173 MovieClip Frame 1Symbol 168 MovieClip
"constructor"Symbol 178 MovieClip [construction2] Frame 1Symbol 173 MovieClip
"selector"Symbol 178 MovieClip [construction2] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 178 MovieClip [construction2] Frame 1Symbol 115 MovieClip
"pad"Symbol 186 MovieClip Frame 2Symbol 143 MovieClip
"constructor"Symbol 189 MovieClip [construction] Frame 1Symbol 186 MovieClip
"selector"Symbol 189 MovieClip [construction] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 189 MovieClip [construction] Frame 1Symbol 115 MovieClip
"centre"Symbol 356 MovieClip Frame 3Symbol 334 MovieClip
"back"Symbol 356 MovieClip Frame 5Symbol 346 MovieClip
"back"Symbol 356 MovieClip Frame 6Symbol 350 MovieClip
"mapp"Symbol 444 MovieClip [bar] Frame 41Symbol 356 MovieClip
"lists2"Symbol 444 MovieClip [bar] Frame 41Symbol 409 MovieClip
"lists"Symbol 444 MovieClip [bar] Frame 41Symbol 443 MovieClip
"turret"Symbol 449 MovieClip Frame 1Symbol 168 MovieClip
"constructor"Symbol 451 MovieClip [enemyconstruction2] Frame 1Symbol 449 MovieClip
"selector"Symbol 451 MovieClip [enemyconstruction2] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 451 MovieClip [enemyconstruction2] Frame 1Symbol 115 MovieClip
"dummy"Symbol 462 MovieClip [lasertank] Frame 1Symbol 457 MovieClip
"selector"Symbol 462 MovieClip [lasertank] Frame 1Symbol 110 MovieClip
"turret"Symbol 462 MovieClip [lasertank] Frame 1Symbol 461 MovieClip
"lifebar"Symbol 462 MovieClip [lasertank] Frame 1Symbol 115 MovieClip
"silodoors"Symbol 466 MovieClip [enemyweaponsilo] Frame 1Symbol 81 MovieClip
"selector"Symbol 466 MovieClip [enemyweaponsilo] Frame 1Symbol 110 MovieClip
"auto"Symbol 466 MovieClip [enemyweaponsilo] Frame 1Symbol 464 MovieClip
"lifebar"Symbol 466 MovieClip [enemyweaponsilo] Frame 1Symbol 115 MovieClip
"dummy"Symbol 470 MovieClip [enemylasertank] Frame 1Symbol 469 MovieClip
"selector"Symbol 470 MovieClip [enemylasertank] Frame 1Symbol 110 MovieClip
"turret"Symbol 470 MovieClip [enemylasertank] Frame 1Symbol 461 MovieClip
"lifebar"Symbol 470 MovieClip [enemylasertank] Frame 1Symbol 115 MovieClip
"dummy"Symbol 476 MovieClip [enemyoiltruck] Frame 1Symbol 475 MovieClip
"selector"Symbol 476 MovieClip [enemyoiltruck] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 476 MovieClip [enemyoiltruck] Frame 1Symbol 115 MovieClip
"stripe"Symbol 478 MovieClip [humveeebase] Frame 1Symbol 454 MovieClip
"dummy"Symbol 485 MovieClip [humveeally] Frame 1Symbol 478 MovieClip [humveeebase]
"selector"Symbol 485 MovieClip [humveeally] Frame 1Symbol 110 MovieClip
"turret"Symbol 485 MovieClip [humveeally] Frame 1Symbol 484 MovieClip
"lifebar"Symbol 485 MovieClip [humveeally] Frame 1Symbol 115 MovieClip
"stripe"Symbol 500 MovieClip Frame 1Symbol 454 MovieClip
"dummy"Symbol 501 MovieClip [rocketally] Frame 1Symbol 487 MovieClip
"selector"Symbol 501 MovieClip [rocketally] Frame 1Symbol 110 MovieClip
"turret"Symbol 501 MovieClip [rocketally] Frame 1Symbol 500 MovieClip
"lifebar"Symbol 501 MovieClip [rocketally] Frame 1Symbol 115 MovieClip
"stripe"Symbol 507 MovieClip Frame 1Symbol 454 MovieClip
"stripe"Symbol 507 MovieClip Frame 2Symbol 454 MovieClip
"dummy"Symbol 517 MovieClip [artilleryally] Frame 1Symbol 507 MovieClip
"selector"Symbol 517 MovieClip [artilleryally] Frame 1Symbol 110 MovieClip
"turret"Symbol 517 MovieClip [artilleryally] Frame 1Symbol 516 MovieClip
"lifebar"Symbol 517 MovieClip [artilleryally] Frame 1Symbol 115 MovieClip
"stripe"Symbol 520 MovieClip Frame 1Symbol 454 MovieClip
"dummy"Symbol 524 MovieClip [heavyally] Frame 1Symbol 520 MovieClip
"selector"Symbol 524 MovieClip [heavyally] Frame 1Symbol 110 MovieClip
"turret"Symbol 524 MovieClip [heavyally] Frame 1Symbol 523 MovieClip
"lifebar"Symbol 524 MovieClip [heavyally] Frame 1Symbol 115 MovieClip
"dummy"Symbol 529 MovieClip [oiltruck] Frame 1Symbol 528 MovieClip
"selector"Symbol 529 MovieClip [oiltruck] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 529 MovieClip [oiltruck] Frame 1Symbol 115 MovieClip
"oilbar"Symbol 529 MovieClip [oiltruck] Frame 1Symbol 115 MovieClip
"stripe"Symbol 531 MovieClip Frame 1Symbol 454 MovieClip
"dummy"Symbol 536 MovieClip [lightally] Frame 1Symbol 531 MovieClip
"selector"Symbol 536 MovieClip [lightally] Frame 1Symbol 110 MovieClip
"turret"Symbol 536 MovieClip [lightally] Frame 1Symbol 535 MovieClip
"lifebar"Symbol 536 MovieClip [lightally] Frame 1Symbol 115 MovieClip
"selector"Symbol 542 MovieClip [mine] Frame 1Symbol 110 MovieClip
"turret"Symbol 546 MovieClip [laserbasedefense] Frame 1Symbol 545 MovieClip
"selector"Symbol 546 MovieClip [laserbasedefense] Frame 1Symbol 110 MovieClip
"auto"Symbol 546 MovieClip [laserbasedefense] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 546 MovieClip [laserbasedefense] Frame 1Symbol 115 MovieClip
"selector"Symbol 547 MovieClip [turrets] Frame 1Symbol 110 MovieClip
"auto"Symbol 547 MovieClip [turrets] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 547 MovieClip [turrets] Frame 1Symbol 115 MovieClip
"turret"Symbol 547 MovieClip [turrets] Frame 1Symbol 168 MovieClip
"lifebar"Symbol 549 MovieClip [enemywarfactory] Frame 1Symbol 115 MovieClip
"selector"Symbol 549 MovieClip [enemywarfactory] Frame 1Symbol 110 MovieClip
"auto"Symbol 549 MovieClip [enemywarfactory] Frame 1Symbol 464 MovieClip
"selector"Symbol 551 MovieClip [enemyrefinery] Frame 1Symbol 110 MovieClip
"auto"Symbol 551 MovieClip [enemyrefinery] Frame 1Symbol 464 MovieClip
"pad"Symbol 551 MovieClip [enemyrefinery] Frame 1Symbol 143 MovieClip
"lifebar"Symbol 551 MovieClip [enemyrefinery] Frame 1Symbol 115 MovieClip
"pad"Symbol 551 MovieClip [enemyrefinery] Frame 1Symbol 143 MovieClip
"auto2"Symbol 561 MovieClip [enemyservicedepot] Frame 1Symbol 560 MovieClip
"selector"Symbol 561 MovieClip [enemyservicedepot] Frame 1Symbol 110 MovieClip
"auto"Symbol 561 MovieClip [enemyservicedepot] Frame 1Symbol 464 MovieClip
"lifebar"Symbol 561 MovieClip [enemyservicedepot] Frame 1Symbol 115 MovieClip
"selector"Symbol 563 MovieClip [servicedepot] Frame 1Symbol 110 MovieClip
"auto"Symbol 563 MovieClip [servicedepot] Frame 1Symbol 112 MovieClip
"auto2"Symbol 563 MovieClip [servicedepot] Frame 1Symbol 560 MovieClip
"lifebar"Symbol 563 MovieClip [servicedepot] Frame 1Symbol 115 MovieClip
"selector"Symbol 565 MovieClip [techcentre] Frame 1Symbol 110 MovieClip
"auto"Symbol 565 MovieClip [techcentre] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 565 MovieClip [techcentre] Frame 1Symbol 115 MovieClip
"turret"Symbol 573 MovieClip [patriotmiss] Frame 1Symbol 572 MovieClip
"selector"Symbol 573 MovieClip [patriotmiss] Frame 1Symbol 110 MovieClip
"auto"Symbol 573 MovieClip [patriotmiss] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 573 MovieClip [patriotmiss] Frame 1Symbol 115 MovieClip
"auto"Symbol 575 MovieClip [warfactory] Frame 1Symbol 112 MovieClip
"selector"Symbol 575 MovieClip [warfactory] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 575 MovieClip [warfactory] Frame 1Symbol 115 MovieClip
"pad"Symbol 577 MovieClip [refinery] Frame 1Symbol 143 MovieClip
"selector"Symbol 577 MovieClip [refinery] Frame 1Symbol 110 MovieClip
"auto"Symbol 577 MovieClip [refinery] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 577 MovieClip [refinery] Frame 1Symbol 115 MovieClip
"selector"Symbol 579 MovieClip [comcentre] Frame 1Symbol 110 MovieClip
"auto"Symbol 579 MovieClip [comcentre] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 579 MovieClip [comcentre] Frame 1Symbol 115 MovieClip
"selector"Symbol 581 MovieClip [enemylaser] Frame 1Symbol 110 MovieClip
"auto"Symbol 581 MovieClip [enemylaser] Frame 1Symbol 464 MovieClip
"lifebar"Symbol 581 MovieClip [enemylaser] Frame 1Symbol 115 MovieClip
"turret"Symbol 581 MovieClip [enemylaser] Frame 1Symbol 545 MovieClip
"turret"Symbol 582 MovieClip [enemyturret] Frame 1Symbol 168 MovieClip
"auto"Symbol 582 MovieClip [enemyturret] Frame 1Symbol 464 MovieClip
"selector"Symbol 582 MovieClip [enemyturret] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 582 MovieClip [enemyturret] Frame 1Symbol 115 MovieClip
"selector"Symbol 584 MovieClip [enemytechcentre] Frame 1Symbol 110 MovieClip
"auto"Symbol 584 MovieClip [enemytechcentre] Frame 1Symbol 464 MovieClip
"lifebar"Symbol 584 MovieClip [enemytechcentre] Frame 1Symbol 115 MovieClip
"selector"Symbol 591 MovieClip [enemymine] Frame 1Symbol 110 MovieClip
"auto"Symbol 591 MovieClip [enemymine] Frame 1Symbol 112 MovieClip
"lifebar"Symbol 591 MovieClip [enemymine] Frame 1Symbol 115 MovieClip
"turret"Symbol 592 MovieClip [enemymultiple] Frame 1Symbol 572 MovieClip
"auto"Symbol 592 MovieClip [enemymultiple] Frame 1Symbol 464 MovieClip
"selector"Symbol 592 MovieClip [enemymultiple] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 592 MovieClip [enemymultiple] Frame 1Symbol 115 MovieClip
"selector"Symbol 594 MovieClip [enemycomcentre] Frame 1Symbol 110 MovieClip
"auto"Symbol 594 MovieClip [enemycomcentre] Frame 1Symbol 464 MovieClip
"lifebar"Symbol 594 MovieClip [enemycomcentre] Frame 1Symbol 115 MovieClip
"stripe"Symbol 596 MovieClip Frame 1Symbol 454 MovieClip
"dummy"Symbol 597 MovieClip [apc] Frame 1Symbol 596 MovieClip
"selector"Symbol 597 MovieClip [apc] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 597 MovieClip [apc] Frame 1Symbol 115 MovieClip
"kiss"Symbol 618 MovieClip [mapbar] Frame 1Symbol 600 MovieClip
"escape"Symbol 618 MovieClip [mapbar] Frame 1Symbol 616 MovieClip
"mouse"Symbol 624 MovieClip [mo] Frame 1Symbol 620 MovieClip
"dummy"Symbol 627 MovieClip [light] Frame 1Symbol 531 MovieClip
"selector"Symbol 627 MovieClip [light] Frame 1Symbol 110 MovieClip
"turret"Symbol 627 MovieClip [light] Frame 1Symbol 535 MovieClip
"lifebar"Symbol 627 MovieClip [light] Frame 1Symbol 115 MovieClip
"dummy"Symbol 628 MovieClip [heavy] Frame 1Symbol 520 MovieClip
"selector"Symbol 628 MovieClip [heavy] Frame 1Symbol 110 MovieClip
"turret"Symbol 628 MovieClip [heavy] Frame 1Symbol 523 MovieClip
"lifebar"Symbol 628 MovieClip [heavy] Frame 1Symbol 115 MovieClip
"dummy"Symbol 629 MovieClip [artillery] Frame 1Symbol 507 MovieClip
"selector"Symbol 629 MovieClip [artillery] Frame 1Symbol 110 MovieClip
"turret"Symbol 629 MovieClip [artillery] Frame 1Symbol 516 MovieClip
"lifebar"Symbol 629 MovieClip [artillery] Frame 1Symbol 115 MovieClip
"dummy"Symbol 633 MovieClip [dozer] Frame 1Symbol 632 MovieClip
"selector"Symbol 633 MovieClip [dozer] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 633 MovieClip [dozer] Frame 1Symbol 115 MovieClip
"dummy"Symbol 634 MovieClip [rocket] Frame 1Symbol 487 MovieClip
"selector"Symbol 634 MovieClip [rocket] Frame 1Symbol 110 MovieClip
"turret"Symbol 634 MovieClip [rocket] Frame 1Symbol 500 MovieClip
"lifebar"Symbol 634 MovieClip [rocket] Frame 1Symbol 115 MovieClip
"dummy"Symbol 635 MovieClip [humvee] Frame 1Symbol 478 MovieClip [humveeebase]
"selector"Symbol 635 MovieClip [humvee] Frame 1Symbol 110 MovieClip
"turret"Symbol 635 MovieClip [humvee] Frame 1Symbol 484 MovieClip
"lifebar"Symbol 635 MovieClip [humvee] Frame 1Symbol 115 MovieClip
"dummy"Symbol 636 MovieClip [enemyheavy] Frame 1Symbol 520 MovieClip
"selector"Symbol 636 MovieClip [enemyheavy] Frame 1Symbol 110 MovieClip
"turret"Symbol 636 MovieClip [enemyheavy] Frame 1Symbol 523 MovieClip
"lifebar"Symbol 636 MovieClip [enemyheavy] Frame 1Symbol 115 MovieClip
"dummy"Symbol 637 MovieClip [enemyrocket] Frame 1Symbol 487 MovieClip
"selector"Symbol 637 MovieClip [enemyrocket] Frame 1Symbol 110 MovieClip
"turret"Symbol 637 MovieClip [enemyrocket] Frame 1Symbol 500 MovieClip
"lifebar"Symbol 637 MovieClip [enemyrocket] Frame 1Symbol 115 MovieClip
"selector"Symbol 638 MovieClip [enemyhumvee] Frame 1Symbol 110 MovieClip
"dummy"Symbol 638 MovieClip [enemyhumvee] Frame 1Symbol 478 MovieClip [humveeebase]
"turret"Symbol 638 MovieClip [enemyhumvee] Frame 1Symbol 484 MovieClip
"lifebar"Symbol 638 MovieClip [enemyhumvee] Frame 1Symbol 115 MovieClip
"dummy"Symbol 639 MovieClip [enemylight] Frame 1Symbol 531 MovieClip
"selector"Symbol 639 MovieClip [enemylight] Frame 1Symbol 110 MovieClip
"turret"Symbol 639 MovieClip [enemylight] Frame 1Symbol 535 MovieClip
"lifebar"Symbol 639 MovieClip [enemylight] Frame 1Symbol 115 MovieClip
"dummy"Symbol 640 MovieClip [enemyartillery] Frame 1Symbol 507 MovieClip
"selector"Symbol 640 MovieClip [enemyartillery] Frame 1Symbol 110 MovieClip
"turret"Symbol 640 MovieClip [enemyartillery] Frame 1Symbol 516 MovieClip
"lifebar"Symbol 640 MovieClip [enemyartillery] Frame 1Symbol 115 MovieClip
"dummy"Symbol 641 MovieClip [enemydozer] Frame 1Symbol 632 MovieClip
"selector"Symbol 641 MovieClip [enemydozer] Frame 1Symbol 110 MovieClip
"lifebar"Symbol 641 MovieClip [enemydozer] Frame 1Symbol 115 MovieClip
"pp"Symbol 668 MovieClip Frame 2Symbol 648 MovieClip
"boxns"Symbol 722 MovieClip Frame 2Symbol 694 MovieClip
"stripe"Symbol 722 MovieClip Frame 21Symbol 454 MovieClip
"boxns"Symbol 745 MovieClip Frame 2Symbol 694 MovieClip
"stripe"Symbol 745 MovieClip Frame 21Symbol 454 MovieClip
"d1"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d2"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d15"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d16"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d19"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d20"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d7"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d8"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d11"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d12"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d13"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d14"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d17"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d18"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d5"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d6"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d9"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d10"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d3"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"d4"Symbol 746 MovieClip Frame 1Symbol 722 MovieClip
"picture"Symbol 746 MovieClip Frame 2Symbol 745 MovieClip
"s"Symbol 800 MovieClip Frame 12Symbol 648 MovieClip
"s"Symbol 815 MovieClip Frame 12Symbol 648 MovieClip
"light"Symbol 820 MovieClip Frame 1Symbol 800 MovieClip
"rocket"Symbol 820 MovieClip Frame 1Symbol 800 MovieClip
"artillery"Symbol 820 MovieClip Frame 1Symbol 800 MovieClip
"heavy"Symbol 820 MovieClip Frame 1Symbol 800 MovieClip
"dozer"Symbol 820 MovieClip Frame 1Symbol 805 MovieClip
"oiltruck"Symbol 820 MovieClip Frame 1Symbol 800 MovieClip
"warfactory"Symbol 820 MovieClip Frame 1Symbol 808 MovieClip
"techcentre"Symbol 820 MovieClip Frame 1Symbol 808 MovieClip
"turrets"Symbol 820 MovieClip Frame 1Symbol 810 MovieClip
"patriotmissile"Symbol 820 MovieClip Frame 1Symbol 810 MovieClip
"laser"Symbol 820 MovieClip Frame 1Symbol 810 MovieClip
"servicedepot"Symbol 820 MovieClip Frame 1Symbol 808 MovieClip
"mine"Symbol 820 MovieClip Frame 1Symbol 810 MovieClip
"lasertank"Symbol 820 MovieClip Frame 1Symbol 815 MovieClip
"weaponsilo"Symbol 820 MovieClip Frame 1Symbol 817 MovieClip
"humvee"Symbol 820 MovieClip Frame 1Symbol 800 MovieClip
"refinery"Symbol 820 MovieClip Frame 1Symbol 808 MovieClip
"comcentre"Symbol 820 MovieClip Frame 1Symbol 808 MovieClip
"centre"Symbol 847 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 847 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 847 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 847 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 847 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 852 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 852 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 852 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 852 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 852 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 856 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 856 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 856 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 856 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 856 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 859 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 859 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 859 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 859 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 859 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 864 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 864 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 864 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 864 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 864 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 867 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 867 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 867 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 867 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 867 MovieClip Frame 1Symbol 846 MovieClip
"back"Symbol 868 MovieClip Frame 3Symbol 847 MovieClip
"centre"Symbol 868 MovieClip Frame 4Symbol 334 MovieClip
"back"Symbol 868 MovieClip Frame 5Symbol 852 MovieClip
"back"Symbol 868 MovieClip Frame 7Symbol 856 MovieClip
"back"Symbol 868 MovieClip Frame 8Symbol 346 MovieClip
"back"Symbol 868 MovieClip Frame 9Symbol 859 MovieClip
"back"Symbol 868 MovieClip Frame 10Symbol 350 MovieClip
"back"Symbol 868 MovieClip Frame 11Symbol 864 MovieClip
"back"Symbol 868 MovieClip Frame 12Symbol 867 MovieClip
"nuketimer"Symbol 878 MovieClip [sidebar] Frame 1Symbol 668 MovieClip
"enemynuketimer"Symbol 878 MovieClip [sidebar] Frame 1Symbol 688 MovieClip
"shower"Symbol 878 MovieClip [sidebar] Frame 1Symbol 746 MovieClip
"s1"Symbol 878 MovieClip [sidebar] Frame 1Symbol 772 MovieClip
"s2"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s3"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s4"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s5"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s6"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s7"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s8"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s14"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s9"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s15"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s10"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s16"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s17"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s11"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s18"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s12"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"s13"Symbol 878 MovieClip [sidebar] Frame 1Symbol 774 MovieClip
"build"Symbol 878 MovieClip [sidebar] Frame 1Symbol 820 MovieClip
"mapp"Symbol 878 MovieClip [sidebar] Frame 1Symbol 868 MovieClip
"radarscreen"Symbol 878 MovieClip [sidebar] Frame 1Symbol 872 MovieClip
"escape"Symbol 878 MovieClip [sidebar] Frame 1Symbol 877 MovieClip
"b"Symbol 922 MovieClip [SimpleButtonDown] Frame 1Symbol 919 MovieClip [BrdrShdw]
"face"Symbol 922 MovieClip [SimpleButtonDown] Frame 1Symbol 921 MovieClip [BrdrFace]
"b"Symbol 927 MovieClip [SimpleButtonIn] Frame 1Symbol 924 MovieClip [BrdrBlk]
"it"Symbol 927 MovieClip [SimpleButtonIn] Frame 1Symbol 926 MovieClip [BrdrHilght]
"g"Symbol 927 MovieClip [SimpleButtonIn] Frame 1Symbol 919 MovieClip [BrdrShdw]
"face"Symbol 927 MovieClip [SimpleButtonIn] Frame 1Symbol 921 MovieClip [BrdrFace]
"ob"Symbol 928 MovieClip [SimpleButtonUp] Frame 1Symbol 924 MovieClip [BrdrBlk]
"ol"Symbol 928 MovieClip [SimpleButtonUp] Frame 1Symbol 921 MovieClip [BrdrFace]
"ib"Symbol 928 MovieClip [SimpleButtonUp] Frame 1Symbol 919 MovieClip [BrdrShdw]
"il"Symbol 928 MovieClip [SimpleButtonUp] Frame 1Symbol 926 MovieClip [BrdrHilght]
"face"Symbol 928 MovieClip [SimpleButtonUp] Frame 1Symbol 921 MovieClip [BrdrFace]
"boundingBox_mc"Symbol 936 MovieClip [FocusRect] Frame 1Symbol 917 MovieClip [BoundingBox]
"tabCapture"Symbol 937 MovieClip [FocusManager] Frame 1Symbol 934 Button
"boundingBox_mc"Symbol 940 MovieClip [SimpleButton] Frame 1Symbol 917 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 944 MovieClip [Button] Frame 1Symbol 917 MovieClip [BoundingBox]
"bar"Symbol 1014 MovieClip Frame 1Symbol 968 MovieClip
"kiss"Symbol 1075 MovieClip Frame 1Symbol 600 MovieClip
"barn"Symbol 1097 MovieClip Frame 1Symbol 1075 MovieClip
"centre"Symbol 1102 MovieClip Frame 1Symbol 1101 MovieClip
"lefts"Symbol 1102 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1102 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1102 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1102 MovieClip Frame 1Symbol 846 MovieClip
"oilspill"Symbol 1113 MovieClip Frame 1Symbol 1112 MovieClip
"centre"Symbol 1152 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1152 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1152 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1152 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1152 MovieClip Frame 1Symbol 846 MovieClip
"water"Symbol 1152 MovieClip Frame 1Symbol 1151 MovieClip
"centre"Symbol 1157 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1157 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1157 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1157 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1157 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 1162 MovieClip Frame 1Symbol 1161 MovieClip
"lefts"Symbol 1162 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1162 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1162 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1162 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 1168 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1168 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1168 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1168 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1168 MovieClip Frame 1Symbol 846 MovieClip
"water"Symbol 1168 MovieClip Frame 1Symbol 1167 MovieClip
"centre"Symbol 1170 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1170 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1170 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1170 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1170 MovieClip Frame 1Symbol 846 MovieClip
"kiss"Symbol 1188 MovieClip Frame 25Symbol 600 MovieClip
"signs"Symbol 1188 MovieClip Frame 25Symbol 1187 MovieClip
"lifebar"Symbol 1334 MovieClip Frame 1Symbol 115 MovieClip
"centre"Symbol 1365 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1365 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1365 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1365 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1365 MovieClip Frame 1Symbol 846 MovieClip
"centre"Symbol 1375 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1375 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1375 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1375 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1375 MovieClip Frame 1Symbol 846 MovieClip
"selector"Symbol 1380 MovieClip Frame 1Symbol 110 MovieClip
"auto"Symbol 1380 MovieClip Frame 1Symbol 112 MovieClip
"lifebar"Symbol 1380 MovieClip Frame 1Symbol 115 MovieClip
"selector"Symbol 1382 MovieClip Frame 1Symbol 110 MovieClip
"auto"Symbol 1382 MovieClip Frame 1Symbol 464 MovieClip
"lifebar"Symbol 1382 MovieClip Frame 1Symbol 115 MovieClip
"lifebar"Symbol 1384 MovieClip Frame 1Symbol 115 MovieClip
"lifebar"Symbol 1384 MovieClip Frame 1Symbol 115 MovieClip
"selector"Symbol 1384 MovieClip Frame 1Symbol 110 MovieClip
"auto"Symbol 1384 MovieClip Frame 1Symbol 464 MovieClip
"selector"Symbol 1386 MovieClip Frame 1Symbol 110 MovieClip
"auto"Symbol 1386 MovieClip Frame 1Symbol 464 MovieClip
"lifebar"Symbol 1386 MovieClip Frame 1Symbol 115 MovieClip
"selector"Symbol 1391 MovieClip Frame 1Symbol 110 MovieClip
"lifebar"Symbol 1391 MovieClip Frame 1Symbol 115 MovieClip
"selector"Symbol 1394 MovieClip Frame 1Symbol 110 MovieClip
"lifebar"Symbol 1394 MovieClip Frame 1Symbol 115 MovieClip
"centre"Symbol 1398 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1398 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1398 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1398 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1398 MovieClip Frame 1Symbol 846 MovieClip
"auto"Symbol 1415 MovieClip Frame 1Symbol 464 MovieClip
"centre"Symbol 1416 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1416 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1416 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1416 MovieClip Frame 1Symbol 846 MovieClip
"water"Symbol 1416 MovieClip Frame 1Symbol 1404 MovieClip
"tops"Symbol 1416 MovieClip Frame 1Symbol 846 MovieClip
"bridge"Symbol 1416 MovieClip Frame 1Symbol 1413 MovieClip
"repair1"Symbol 1416 MovieClip Frame 1Symbol 1415 MovieClip
"repair2"Symbol 1416 MovieClip Frame 1Symbol 1415 MovieClip
"selector"Symbol 1421 MovieClip Frame 1Symbol 110 MovieClip
"lifebar"Symbol 1421 MovieClip Frame 1Symbol 115 MovieClip
"centre"Symbol 1426 MovieClip Frame 1Symbol 334 MovieClip
"lefts"Symbol 1426 MovieClip Frame 1Symbol 846 MovieClip
"tops"Symbol 1426 MovieClip Frame 1Symbol 846 MovieClip
"bottoms"Symbol 1426 MovieClip Frame 1Symbol 846 MovieClip
"rights"Symbol 1426 MovieClip Frame 1Symbol 846 MovieClip
"dummy"Symbol 1428 MovieClip Frame 1Symbol 596 MovieClip
"selector"Symbol 1428 MovieClip Frame 1Symbol 110 MovieClip
"lifebar"Symbol 1428 MovieClip Frame 1Symbol 115 MovieClip
"kiss"Symbol 1433 MovieClip Frame 1Symbol 600 MovieClip
"signs"Symbol 1433 MovieClip Frame 1Symbol 1431 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$6I$sy23M14mfNNIlW0Ke/ykc.."
ExportAssets (56)Timeline Frame 1Symbol 1 as "d1"
ExportAssets (56)Timeline Frame 1Symbol 2 as "unitloss"
ExportAssets (56)Timeline Frame 1Symbol 3 as "d3"
ExportAssets (56)Timeline Frame 1Symbol 4 as "sold"
ExportAssets (56)Timeline Frame 1Symbol 5 as "d2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "o2"
ExportAssets (56)Timeline Frame 1Symbol 7 as "o4"
ExportAssets (56)Timeline Frame 1Symbol 8 as "o3"
ExportAssets (56)Timeline Frame 1Symbol 9 as "missi"
ExportAssets (56)Timeline Frame 1Symbol 10 as "mach"
ExportAssets (56)Timeline Frame 1Symbol 11 as "lights"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Las"
ExportAssets (56)Timeline Frame 1Symbol 13 as "la"
ExportAssets (56)Timeline Frame 1Symbol 14 as "fund"
ExportAssets (56)Timeline Frame 1Symbol 15 as "o1"
ExportAssets (56)Timeline Frame 1Symbol 16 as "deploying"
ExportAssets (56)Timeline Frame 1Symbol 17 as "cannon6"
ExportAssets (56)Timeline Frame 1Symbol 18 as "button2"
ExportAssets (56)Timeline Frame 1Symbol 19 as "building"
ExportAssets (56)Timeline Frame 1Symbol 20 as "breach"
ExportAssets (56)Timeline Frame 1Symbol 21 as "blip"
ExportAssets (56)Timeline Frame 1Symbol 22 as "ba"
ExportAssets (56)Timeline Frame 1Symbol 23 as "d4"
ExportAssets (56)Timeline Frame 1Symbol 24 as "ar"
ExportAssets (56)Timeline Frame 1Symbol 25 as "sel"
ExportAssets (56)Timeline Frame 1Symbol 26 as "launch"
ExportAssets (56)Timeline Frame 1Symbol 27 as "exp2"
ExportAssets (56)Timeline Frame 1Symbol 28 as "exp"
ExportAssets (56)Timeline Frame 1Symbol 29 as "exp3"
ExportAssets (56)Timeline Frame 1Symbol 30 as "crash"
ExportAssets (56)Timeline Frame 1Symbol 31 as "tie"
ExportAssets (56)Timeline Frame 1Symbol 32 as "click"
ExportAssets (56)Timeline Frame 1Symbol 39 as "mission5"
ExportAssets (56)Timeline Frame 1Symbol 41 as "mission6"
ExportAssets (56)Timeline Frame 1Symbol 44 as "mission8"
ExportAssets (56)Timeline Frame 1Symbol 46 as "mission7"
ExportAssets (56)Timeline Frame 1Symbol 50 as "mission14"
ExportAssets (56)Timeline Frame 1Symbol 52 as "mission13"
ExportAssets (56)Timeline Frame 1Symbol 55 as "mission11"
ExportAssets (56)Timeline Frame 1Symbol 57 as "mission10"
ExportAssets (56)Timeline Frame 1Symbol 60 as "mission9"
ExportAssets (56)Timeline Frame 1Symbol 62 as "mission4"
ExportAssets (56)Timeline Frame 1Symbol 64 as "mission3"
ExportAssets (56)Timeline Frame 1Symbol 72 as "mission2"
ExportAssets (56)Timeline Frame 1Symbol 74 as "mission0"
ExportAssets (56)Timeline Frame 1Symbol 121 as "weaponsilo"
ExportAssets (56)Timeline Frame 1Symbol 123 as "mission"
ExportAssets (56)Timeline Frame 1Symbol 128 as "rad"
ExportAssets (56)Timeline Frame 1Symbol 131 as "laser2"
ExportAssets (56)Timeline Frame 1Symbol 135 as "ionbeams"
ExportAssets (56)Timeline Frame 1Symbol 138 as "laser"
ExportAssets (56)Timeline Frame 1Symbol 157 as "enemyconstruction"
ExportAssets (56)Timeline Frame 1Symbol 178 as "construction2"
ExportAssets (56)Timeline Frame 1Symbol 189 as "construction"
ExportAssets (56)Timeline Frame 1Symbol 192 as "bigdot2"
ExportAssets (56)Timeline Frame 1Symbol 194 as "bigdot"
ExportAssets (56)Timeline Frame 1Symbol 197 as "dot2"
ExportAssets (56)Timeline Frame 1Symbol 208 as "nuke"
ExportAssets (56)Timeline Frame 1Symbol 213 as "targeter"
ExportAssets (56)Timeline Frame 1Symbol 218 as "nukemiss2"
ExportAssets (56)Timeline Frame 1Symbol 220 as "nukemiss"
ExportAssets (56)Timeline Frame 1Symbol 222 as "padded"
ExportAssets (56)Timeline Frame 1Symbol 444 as "bar"
ExportAssets (56)Timeline Frame 1Symbol 451 as "enemyconstruction2"
ExportAssets (56)Timeline Frame 1Symbol 462 as "lasertank"
ExportAssets (56)Timeline Frame 1Symbol 466 as "enemyweaponsilo"
ExportAssets (56)Timeline Frame 1Symbol 470 as "enemylasertank"
ExportAssets (56)Timeline Frame 1Symbol 476 as "enemyoiltruck"
ExportAssets (56)Timeline Frame 1Symbol 478 as "humveeebase"
ExportAssets (56)Timeline Frame 1Symbol 485 as "humveeally"
ExportAssets (56)Timeline Frame 1Symbol 501 as "rocketally"
ExportAssets (56)Timeline Frame 1Symbol 517 as "artilleryally"
ExportAssets (56)Timeline Frame 1Symbol 524 as "heavyally"
ExportAssets (56)Timeline Frame 1Symbol 529 as "oiltruck"
ExportAssets (56)Timeline Frame 1Symbol 536 as "lightally"
ExportAssets (56)Timeline Frame 1Symbol 542 as "mine"
ExportAssets (56)Timeline Frame 1Symbol 546 as "laserbasedefense"
ExportAssets (56)Timeline Frame 1Symbol 547 as "turrets"
ExportAssets (56)Timeline Frame 1Symbol 549 as "enemywarfactory"
ExportAssets (56)Timeline Frame 1Symbol 551 as "enemyrefinery"
ExportAssets (56)Timeline Frame 1Symbol 561 as "enemyservicedepot"
ExportAssets (56)Timeline Frame 1Symbol 563 as "servicedepot"
ExportAssets (56)Timeline Frame 1Symbol 565 as "techcentre"
ExportAssets (56)Timeline Frame 1Symbol 573 as "patriotmiss"
ExportAssets (56)Timeline Frame 1Symbol 575 as "warfactory"
ExportAssets (56)Timeline Frame 1Symbol 577 as "refinery"
ExportAssets (56)Timeline Frame 1Symbol 579 as "comcentre"
ExportAssets (56)Timeline Frame 1Symbol 581 as "enemylaser"
ExportAssets (56)Timeline Frame 1Symbol 582 as "enemyturret"
ExportAssets (56)Timeline Frame 1Symbol 584 as "enemytechcentre"
ExportAssets (56)Timeline Frame 1Symbol 591 as "enemymine"
ExportAssets (56)Timeline Frame 1Symbol 592 as "enemymultiple"
ExportAssets (56)Timeline Frame 1Symbol 594 as "enemycomcentre"
ExportAssets (56)Timeline Frame 1Symbol 597 as "apc"
ExportAssets (56)Timeline Frame 1Symbol 618 as "mapbar"
ExportAssets (56)Timeline Frame 1Symbol 624 as "mo"
ExportAssets (56)Timeline Frame 1Symbol 626 as "dot"
ExportAssets (56)Timeline Frame 1Symbol 627 as "light"
ExportAssets (56)Timeline Frame 1Symbol 628 as "heavy"
ExportAssets (56)Timeline Frame 1Symbol 629 as "artillery"
ExportAssets (56)Timeline Frame 1Symbol 633 as "dozer"
ExportAssets (56)Timeline Frame 1Symbol 634 as "rocket"
ExportAssets (56)Timeline Frame 1Symbol 635 as "humvee"
ExportAssets (56)Timeline Frame 1Symbol 636 as "enemyheavy"
ExportAssets (56)Timeline Frame 1Symbol 637 as "enemyrocket"
ExportAssets (56)Timeline Frame 1Symbol 638 as "enemyhumvee"
ExportAssets (56)Timeline Frame 1Symbol 639 as "enemylight"
ExportAssets (56)Timeline Frame 1Symbol 640 as "enemyartillery"
ExportAssets (56)Timeline Frame 1Symbol 641 as "enemydozer"
ExportAssets (56)Timeline Frame 1Symbol 643 as "box5"
ExportAssets (56)Timeline Frame 1Symbol 878 as "sidebar"
ExportAssets (56)Timeline Frame 1Symbol 881 as "patriot"
ExportAssets (56)Timeline Frame 1Symbol 885 as "shell2"
ExportAssets (56)Timeline Frame 1Symbol 886 as "emp"
ExportAssets (56)Timeline Frame 1Symbol 890 as "bomb2"
ExportAssets (56)Timeline Frame 1Symbol 892 as "bomb"
ExportAssets (56)Timeline Frame 1Symbol 893 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 897 as "missile"
ExportAssets (56)Timeline Frame 1Symbol 899 as "flag2"
ExportAssets (56)Timeline Frame 1Symbol 905 as "shell"
ExportAssets (56)Timeline Frame 1Symbol 908 as "flag"
ExportAssets (56)Timeline Frame 1Symbol 911 as "flag copy"
ExportAssets (56)Timeline Frame 1Symbol 917 as "BoundingBox"
ExportAssets (56)Timeline Frame 1Symbol 919 as "BrdrShdw"
ExportAssets (56)Timeline Frame 1Symbol 921 as "BrdrFace"
ExportAssets (56)Timeline Frame 1Symbol 922 as "SimpleButtonDown"
ExportAssets (56)Timeline Frame 1Symbol 924 as "BrdrBlk"
ExportAssets (56)Timeline Frame 1Symbol 926 as "BrdrHilght"
ExportAssets (56)Timeline Frame 1Symbol 927 as "SimpleButtonIn"
ExportAssets (56)Timeline Frame 1Symbol 928 as "SimpleButtonUp"
ExportAssets (56)Timeline Frame 1Symbol 929 as "Defaults"
ExportAssets (56)Timeline Frame 1Symbol 930 as "UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 931 as "UIObject"
ExportAssets (56)Timeline Frame 1Symbol 936 as "FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 937 as "FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 938 as "UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 939 as "UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 940 as "SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 941 as "Border"
ExportAssets (56)Timeline Frame 1Symbol 942 as "RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 943 as "ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 944 as "Button"
ExportAssets (56)Timeline Frame 1Symbol 912 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 913 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 914 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 915 as "__Packages.mx.controls.Button"
ExportAssets (56)Timeline Frame 1Symbol 945 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 946 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 947 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 948 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 949 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 950 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 951 as "__Packages.mx.skins.ColoredSkinElement"
ExportAssets (56)Timeline Frame 1Symbol 952 as "__Packages.mx.core.ext.UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 953 as "__Packages.mx.skins.halo.Defaults"
ExportAssets (56)Timeline Frame 1Symbol 954 as "__Packages.mx.managers.DepthManager"
ExportAssets (56)Timeline Frame 1Symbol 955 as "__Packages.mx.managers.SystemManager"
ExportAssets (56)Timeline Frame 1Symbol 956 as "__Packages.mx.managers.FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 957 as "__Packages.mx.skins.halo.FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 958 as "__Packages.mx.managers.OverlappedWindows"
ExportAssets (56)Timeline Frame 1Symbol 959 as "__Packages.mx.styles.CSSSetStyle"
ExportAssets (56)Timeline Frame 1Symbol 960 as "__Packages.mx.core.ext.UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 961 as "__Packages.mx.skins.Border"
ExportAssets (56)Timeline Frame 1Symbol 962 as "__Packages.mx.skins.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 963 as "__Packages.mx.skins.halo.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 964 as "__Packages.mx.skins.halo.ButtonSkin"
ExportAssets (56)Timeline Frame 2Symbol 1049 as "music1"

Labels

"skirmish0"Frame 8
"victory"Frame 10
"defeat"Frame 11
"skirmish1"Frame 12
"skirmish2"Frame 14
"bo"Frame 15
"skirmish3"Frame 16
"skirmish4"Frame 18
"skirmish5"Frame 20
"skirmish6"Frame 22
"end2"Frame 24
"miss1"Frame 26
"map0"Frame 27
"victory0"Frame 29
"miss2"Frame 30
"defeat0"Frame 31
"map1"Frame 32
"warfactory1"Frame 33
"victory1"Frame 34
"defeat1"Frame 35
"miss3"Frame 36
"map2"Frame 37
"victory2"Frame 39
"defeat2"Frame 40
"map1b"Frame 41
"victory1b"Frame 43
"defeat1b"Frame 44
"miss4"Frame 45
"map4"Frame 46
"victory4"Frame 48
"defeat4"Frame 49
"map4b"Frame 50
"victory4b"Frame 52
"defeat4b"Frame 53
"miss5"Frame 54
"map5"Frame 55
"victory5"Frame 57
"defeat5"Frame 58
"miss6"Frame 59
"map6"Frame 60
"victory6"Frame 62
"defeat6nn"Frame 63
"miss7"Frame 64
"map7a"Frame 65
"victory7a"Frame 67
"defeat7a"Frame 68
"map7b"Frame 69
"victory7b"Frame 71
"defeat7b"Frame 72
"map7"Frame 73
"victory7"Frame 75
"defeat7"Frame 76
"miss8"Frame 77
"map8"Frame 78
"victory8"Frame 80
"defeat8y"Frame 81
"miss9"Frame 82
"map9"Frame 83
"victory9"Frame 85
"defeat9"Frame 86
"miss10"Frame 87
"map10"Frame 88
"victory10"Frame 90
"defeat10"Frame 91
"map10a"Frame 92
"victory10a"Frame 94
"defeat10a"Frame 95
"win"Frame 96
"end6"Frame 98
"victoryd"Frame 102
"motor"Frame 135
"tut3"Frame 136
"victory2e"Frame 139
"defeat2e"Frame 140
"motor2"Frame 141
"meow"Frame 142
"explode"Symbol 121 MovieClip [weaponsilo] Frame 2
"enemycomcentre"Symbol 149 MovieClip Frame 1
"enemyrefinery"Symbol 149 MovieClip Frame 2
"enemywarfactory"Symbol 149 MovieClip Frame 3
"enemytechcentre"Symbol 149 MovieClip Frame 4
"enemyservicedepot"Symbol 149 MovieClip Frame 5
"enemyweaponsilo"Symbol 149 MovieClip Frame 6
"built"Symbol 157 MovieClip [enemyconstruction] Frame 2
"explode"Symbol 157 MovieClip [enemyconstruction] Frame 3
"normal"Symbol 168 MovieClip Frame 1
"turrets"Symbol 173 MovieClip Frame 1
"patriotmiss"Symbol 173 MovieClip Frame 2
"laserbasedefense"Symbol 173 MovieClip Frame 3
"mine"Symbol 173 MovieClip Frame 4
"built"Symbol 178 MovieClip [construction2] Frame 2
"explode"Symbol 178 MovieClip [construction2] Frame 3
"comcentre"Symbol 186 MovieClip Frame 1
"refinery"Symbol 186 MovieClip Frame 2
"warfactory"Symbol 186 MovieClip Frame 3
"techcentre"Symbol 186 MovieClip Frame 4
"servicedepot"Symbol 186 MovieClip Frame 5
"weaponsilo"Symbol 186 MovieClip Frame 6
"built"Symbol 189 MovieClip [construction] Frame 2
"explode"Symbol 189 MovieClip [construction] Frame 3
"map0"Symbol 356 MovieClip Frame 1
"map3"Symbol 356 MovieClip Frame 2
"map5"Symbol 356 MovieClip Frame 3
"map1"Symbol 356 MovieClip Frame 4
"map2"Symbol 356 MovieClip Frame 5
"map4"Symbol 356 MovieClip Frame 6
"map6"Symbol 356 MovieClip Frame 7
"reverse"Symbol 444 MovieClip [bar] Frame 12
"options"Symbol 444 MovieClip [bar] Frame 20
"skirmish"Symbol 444 MovieClip [bar] Frame 31
"turrets"Symbol 449 MovieClip Frame 1
"enemymultiple"Symbol 449 MovieClip Frame 2
"enemylaser"Symbol 449 MovieClip Frame 3
"enemymine"Symbol 449 MovieClip Frame 4
"built"Symbol 451 MovieClip [enemyconstruction2] Frame 2
"explode"Symbol 451 MovieClip [enemyconstruction2] Frame 3
"blue"Symbol 454 MovieClip Frame 1
"red"Symbol 454 MovieClip Frame 2
"explode"Symbol 457 MovieClip Frame 2
"normal"Symbol 461 MovieClip Frame 1
"explode"Symbol 466 MovieClip [enemyweaponsilo] Frame 2
"explode"Symbol 469 MovieClip Frame 2
"sucking"Symbol 475 MovieClip Frame 2
"refining"Symbol 475 MovieClip Frame 3
"explode"Symbol 475 MovieClip Frame 9
"explode"Symbol 478 MovieClip [humveeebase] Frame 2
"normal"Symbol 484 MovieClip Frame 1
"shoot"Symbol 484 MovieClip Frame 7
"explode"Symbol 487 MovieClip Frame 2
"normal"Symbol 500 MovieClip Frame 1
"rd"Symbol 500 MovieClip Frame 18
"deploying"Symbol 507 MovieClip Frame 2
"deployed"Symbol 507 MovieClip Frame 11
"explode"Symbol 507 MovieClip Frame 12
"normal"Symbol 516 MovieClip Frame 1
"ready"Symbol 516 MovieClip Frame 2
"explode"Symbol 520 MovieClip Frame 2
"normal"Symbol 523 MovieClip Frame 1
"sucking"Symbol 528 MovieClip Frame 2
"refining"Symbol 528 MovieClip Frame 3
"explode"Symbol 528 MovieClip Frame 9
"explode"Symbol 531 MovieClip Frame 2
"normal"Symbol 535 MovieClip Frame 1
"explode"Symbol 542 MovieClip [mine] Frame 2
"normal"Symbol 545 MovieClip Frame 1
"explode"Symbol 546 MovieClip [laserbasedefense] Frame 2
"explode"Symbol 547 MovieClip [turrets] Frame 2
"explode"Symbol 549 MovieClip [enemywarfactory] Frame 2
"explode"Symbol 551 MovieClip [enemyrefinery] Frame 2
"explode"Symbol 561 MovieClip [enemyservicedepot] Frame 2
"explode"Symbol 563 MovieClip [servicedepot] Frame 2
"explode"Symbol 565 MovieClip [techcentre] Frame 2
"normal"Symbol 572 MovieClip Frame 1
"rd"Symbol 572 MovieClip Frame 9
"explode"Symbol 573 MovieClip [patriotmiss] Frame 2
"explode"Symbol 575 MovieClip [warfactory] Frame 2
"explode"Symbol 577 MovieClip [refinery] Frame 2
"explode"Symbol 579 MovieClip [comcentre] Frame 2
"explode"Symbol 581 MovieClip [enemylaser] Frame 2
"explode"Symbol 582 MovieClip [enemyturret] Frame 2
"explode"Symbol 584 MovieClip [enemytechcentre] Frame 2
"explode"Symbol 591 MovieClip [enemymine] Frame 25
"explode"Symbol 592 MovieClip [enemymultiple] Frame 2
"explode"Symbol 594 MovieClip [enemycomcentre] Frame 2
"explode"Symbol 596 MovieClip Frame 2
"upgrade"Symbol 618 MovieClip [mapbar] Frame 1
"locator"Symbol 624 MovieClip [mo] Frame 2
"attacker"Symbol 624 MovieClip [mo] Frame 3
"explode"Symbol 632 MovieClip Frame 2
"nonuke"Symbol 668 MovieClip Frame 1
"nonuke"Symbol 688 MovieClip Frame 1
"none"Symbol 722 MovieClip Frame 1
"artillery"Symbol 722 MovieClip Frame 2
"light"Symbol 722 MovieClip Frame 3
"rocket"Symbol 722 MovieClip Frame 4
"humvee"Symbol 722 MovieClip Frame 5
"heavy"Symbol 722 MovieClip Frame 6
"war factory"Symbol 722 MovieClip Frame 7
"dozer"Symbol 722 MovieClip Frame 8
"comcentre"Symbol 722 MovieClip Frame 9
"oiltruck"Symbol 722 MovieClip Frame 10
"refinery"Symbol 722 MovieClip Frame 11
"construction"Symbol 722 MovieClip Frame 12
"turret1"Symbol 722 MovieClip Frame 13
"turret2"Symbol 722 MovieClip Frame 14
"turret3"Symbol 722 MovieClip Frame 15
"techcentre"Symbol 722 MovieClip Frame 16
"servicedepot"Symbol 722 MovieClip Frame 17
"mine"Symbol 722 MovieClip Frame 18
"lasertank"Symbol 722 MovieClip Frame 19
"weaponsilo"Symbol 722 MovieClip Frame 20
"apc"Symbol 722 MovieClip Frame 21
"derrick"Symbol 722 MovieClip Frame 22
"radar"Symbol 722 MovieClip Frame 23
"none"Symbol 745 MovieClip Frame 1
"artillery"Symbol 745 MovieClip Frame 2
"light"Symbol 745 MovieClip Frame 3
"rocket"Symbol 745 MovieClip Frame 4
"humvee"Symbol 745 MovieClip Frame 5
"heavy"Symbol 745 MovieClip Frame 6
"war factory"Symbol 745 MovieClip Frame 7
"dozer"Symbol 745 MovieClip Frame 8
"comcentre"Symbol 745 MovieClip Frame 9
"oiltruck"Symbol 745 MovieClip Frame 10
"refinery"Symbol 745 MovieClip Frame 11
"construction"Symbol 745 MovieClip Frame 12
"turret1"Symbol 745 MovieClip Frame 13
"turret2"Symbol 745 MovieClip Frame 14
"turret3"Symbol 745 MovieClip Frame 15
"techcentre"Symbol 745 MovieClip Frame 16
"servicedepot"Symbol 745 MovieClip Frame 17
"mine"Symbol 745 MovieClip Frame 18
"lasertank"Symbol 745 MovieClip Frame 19
"weaponsilo"Symbol 745 MovieClip Frame 20
"apc"Symbol 745 MovieClip Frame 21
"derrick"Symbol 745 MovieClip Frame 22
"radar"Symbol 745 MovieClip Frame 23
"group"Symbol 746 MovieClip Frame 1
"selected"Symbol 746 MovieClip Frame 2
"none"Symbol 772 MovieClip Frame 1
"selected"Symbol 772 MovieClip Frame 2
"none"Symbol 774 MovieClip Frame 1
"selected"Symbol 774 MovieClip Frame 2
"none"Symbol 800 MovieClip Frame 1
"selected"Symbol 800 MovieClip Frame 2
"building"Symbol 800 MovieClip Frame 3
"reserved"Symbol 800 MovieClip Frame 12
"none"Symbol 805 MovieClip Frame 1
"selected"Symbol 805 MovieClip Frame 2
"building"Symbol 805 MovieClip Frame 3
"none"Symbol 808 MovieClip Frame 1
"selected"Symbol 808 MovieClip Frame 2
"built"Symbol 808 MovieClip Frame 3
"none"Symbol 810 MovieClip Frame 1
"selected"Symbol 810 MovieClip Frame 2
"none"Symbol 815 MovieClip Frame 1
"selected"Symbol 815 MovieClip Frame 2
"building"Symbol 815 MovieClip Frame 3
"reserved"Symbol 815 MovieClip Frame 12
"already"Symbol 815 MovieClip Frame 13
"none"Symbol 817 MovieClip Frame 1
"selected"Symbol 817 MovieClip Frame 2
"built"Symbol 817 MovieClip Frame 3
"map1"Symbol 868 MovieClip Frame 1
"map2"Symbol 868 MovieClip Frame 2
"dark"Symbol 872 MovieClip Frame 1
"group"Symbol 872 MovieClip Frame 2
"upgrade"Symbol 878 MovieClip [sidebar] Frame 1
"loaded"Symbol 1014 MovieClip Frame 3
"LOAD"Symbol 1032 MovieClip Frame 2
"COMPLETE_STOP"Symbol 1032 MovieClip Frame 3
"music1"Symbol 1054 MovieClip Frame 2
"music2"Symbol 1054 MovieClip Frame 3
"music3"Symbol 1054 MovieClip Frame 4
"music4"Symbol 1054 MovieClip Frame 5
"music5"Symbol 1054 MovieClip Frame 6
"miss2"Symbol 1205 MovieClip Frame 16
"miss4"Symbol 1205 MovieClip Frame 50
"miss5"Symbol 1205 MovieClip Frame 71
"miss6"Symbol 1205 MovieClip Frame 96
"miss7"Symbol 1205 MovieClip Frame 121
"miss8"Symbol 1205 MovieClip Frame 153
"miss9"Symbol 1205 MovieClip Frame 187
"miss10"Symbol 1205 MovieClip Frame 217
"complete"Symbol 1214 MovieClip Frame 16
"cv"Symbol 1329 MovieClip Frame 11
"sir"Symbol 1329 MovieClip Frame 14
"hey"Symbol 1329 MovieClip Frame 18
"coming"Symbol 1329 MovieClip Frame 20
"mines"Symbol 1329 MovieClip Frame 22
"defend"Symbol 1329 MovieClip Frame 26
"inbound"Symbol 1329 MovieClip Frame 28
"refinery"Symbol 1329 MovieClip Frame 32
"help"Symbol 1329 MovieClip Frame 34
"no have"Symbol 1329 MovieClip Frame 38
"extract"Symbol 1329 MovieClip Frame 40
"incoming"Symbol 1329 MovieClip Frame 51
"come"Symbol 1329 MovieClip Frame 55
"one"Symbol 1329 MovieClip Frame 57
"two"Symbol 1329 MovieClip Frame 59
"three"Symbol 1329 MovieClip Frame 61
"convoy"Symbol 1329 MovieClip Frame 65
"laser"Symbol 1329 MovieClip Frame 67
"weaponsilo"Symbol 1329 MovieClip Frame 69
"halt"Symbol 1329 MovieClip Frame 73
"good"Symbol 1329 MovieClip Frame 75
"bugged"Symbol 1329 MovieClip Frame 77
"check"Symbol 1329 MovieClip Frame 79
"allah"Symbol 1329 MovieClip Frame 81
"bridge"Symbol 1329 MovieClip Frame 85
"ambush"Symbol 1329 MovieClip Frame 87
"quarter"Symbol 1329 MovieClip Frame 89
"half"Symbol 1329 MovieClip Frame 91
"threeq"Symbol 1329 MovieClip Frame 93
"whole"Symbol 1329 MovieClip Frame 95
"fortress"Symbol 1329 MovieClip Frame 99
"destroyfortress"Symbol 1329 MovieClip Frame 101
"decoy"Symbol 1329 MovieClip Frame 103
"win"Symbol 1329 MovieClip Frame 105
"arr"Symbol 1329 MovieClip Frame 109
"det"Symbol 1329 MovieClip Frame 111
"flee"Symbol 1329 MovieClip Frame 113
"fled"Symbol 1329 MovieClip Frame 115
"empty"Symbol 1329 MovieClip Frame 116
"explode"Symbol 1334 MovieClip Frame 2
"explode"Symbol 1380 MovieClip Frame 2
"explode"Symbol 1382 MovieClip Frame 2
"explode"Symbol 1384 MovieClip Frame 2
"explode"Symbol 1386 MovieClip Frame 2
"explode"Symbol 1391 MovieClip Frame 2
"explode"Symbol 1394 MovieClip Frame 2
"destroyed"Symbol 1413 MovieClip Frame 2
"q"Symbol 1413 MovieClip Frame 21
"h"Symbol 1413 MovieClip Frame 22
"3q"Symbol 1413 MovieClip Frame 23
"explode"Symbol 1421 MovieClip Frame 2

Dynamic Text Variables

_root.timertSymbol 70 EditableText"<p align="left"></p>"
_root.wavesSymbol 71 EditableText"<p align="left"></p>"
percentSymbol 155 EditableText"<p align="left"><font face="Arial" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">100</font></p>"
percentSymbol 175 EditableText"<p align="left"><font face="Arial" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"
percentSymbol 187 EditableText"<p align="left"><font face="Arial" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"
scSymbol 292 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>"
smartSymbol 299 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>"
qualSymbol 304 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>medium</b></font></p>"
qualSymbol 307 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>medium</b></font></p>"
musSymbol 309 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>On</b></font></p>"
muteSymbol 314 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>On</b></font></p>"
foghornSymbol 318 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>"
shroudSymbol 366 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="40" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>Off</b></font></p>"
_root.monetSymbol 374 EditableText"<p align="left"></p>"
mapnameSymbol 378 EditableText"<p align="center"><font face="MS Reference Sans Serif" size="25" color="#ffff00" letterSpacing="0.000000" kerning="1">Arena</font></p>"
_root.aipSymbol 383 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">Technology Commander</font></p>"
difficultySymbol 384 EditableText"<p align="left"><font face="MS Reference Sans Serif" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">Novice Enemy</font></p>"
infoSymbol 604 EditableText"<p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Copyright(c)</b></font></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Tank Wars</b></font></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>2007</b></font></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>best quality: medium</b></font></p><p align="justify"></p><p align="justify"><font face="Arial" size="16" color="#00ff00" letterSpacing="1.000000" kerning="1"><b>Dont build more than 50 units or lag.</b></font></p>"
textssSymbol 617 EditableText"<p align="justify"></p>"
queueSymbol 647 EditableText"1"
percentSymbol 649 EditableText"<p align="left"><font face="Arial" size="14" color="#0000ff" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>"
percentSymbol 671 EditableText"<p align="left"><font face="Arial" size="14" color="#990000" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>"
statsSymbol 724 EditableText"Rocket Launcher firepower: HP: speed: shellspeed: range: fire period:"
textsSymbol 760 EditableText"<p align="center"></p>"
_root.moneySymbol 775 EditableText"<p align="left"></p>"
textsSymbol 785 EditableText"<p align="center"></p>"
musicsSymbol 1042 EditableText"<p align="left"><font face="Arial" size="16" color="#0066ff" letterSpacing="0.000000" kerning="1">Several Tanks of fueled dest....</font></p>"
textssSymbol 1074 EditableText"Loading... "
_root.objarraysSymbol 1098 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1103 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1104 EditableText""
killSymbol 1136 EditableText"<p align="left"></p>"
lossSymbol 1137 EditableText"<p align="left"></p>"
builSymbol 1138 EditableText"<p align="left"></p>"
scoresSymbol 1139 EditableText"<p align="left"></p>"
killSymbol 1144 EditableText"<p align="left"></p>"
lossSymbol 1145 EditableText"<p align="left"></p>"
builSymbol 1146 EditableText"<p align="left"></p>"
scoresSymbol 1147 EditableText"<p align="left"></p>"
_root.objarraysSymbol 1172 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.textssSymbol 1177 EditableText""
textssSymbol 1182 EditableText""
secondsSymbol 1235 EditableText"<p align="left"><font face="Arial" size="15" color="#ffff00" letterSpacing="0.000000" kerning="1"><b>60</b></font></p>"
_root.objarraysSymbol 1330 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1332 EditableText""
gathersSymbol 1338 EditableText"<p align="left"></p>"
_root.objarraysSymbol 1346 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1347 EditableText""
_root.objarraysSymbol 1351 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1354 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1355 EditableText""
_root.objarraysSymbol 1359 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1360 EditableText""
_root.objarraysSymbol 1366 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1367 EditableText""
_root.objarraysSymbol 1371 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1376 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1378 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1389 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1392 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1399 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1417 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1419 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
_root.objarraysSymbol 1427 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
textssSymbol 1432 EditableText"<p align="justify"></p>"
_root.objarraysSymbol 1434 EditableText"<p align="left"><font face="Arial" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>dddd</b></font></p>"
enemymoneySymbol 1435 EditableText""




http://swfchan.com/6/28612/info.shtml
Created: 20/5 -2019 08:12:58 Last modified: 20/5 -2019 08:12:58 Server time: 20/04 -2024 07:12:27