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

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

Green Protector - a colorful and funny defence game.swf

This is the info page for
Flash #90944

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


Text
DEVELOPED BY

PUBLISHED BY

music

Press 'P' to resume

The Party Started

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

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

MUSIC from Newgrounds :

PRODUCER :

PUBLISHER :

Ye Olde Village

- Bad Atom

Two Faced Clown

- InfinityVas

SMW: Forest Of Illusion

- Lino

Bremen Mask MoS

- Eperiod

Statue Park Final

- Majorgeneral

One day . . .
In the Human ranch . . .

Ben . . . are you there?

Yea...
i am
listening

We`re Monster . . . right
dude?

yap..
Absolutly
dude . .

why
you
asking
that
dude?

well.... we suppose to be . .

a meat eater
right?

........ yes

Moo~~

Shuddup cow

Sorry

nevermind

. . . . . . . . . .

Cuckooo~~

eating meat
everyday

is Boring.......

Yeah it
does

meanwhile . . .
in the Monster lair

Monster`s Boss

Eating meat
everyday is . .

Making me
SICK

. . . . . . . .

I guess
I`ll take a
walk

and so . . .
the Monster boss
has gone to take
a stroll

and then the boss
sees something wonderfull
and quite delicious. . . .

oh. . . what is this
food? its look delicious!!

is. . is this a
vegetable? . . . oh. . . I want
eat this vegetable !

Thats right~!
I never seen such
marvelous food like this

I dont care about
meat anymore...
I`ll go vegetarian~!!!!!

and the monsters begin
to be a vegetarian. . .

and they come to the
garden to eat
the vegetables. . .

THey broke the garden fence
but there is something
who waiting them . . .

its seems the garden
belong to the freak professor
who love to mutate his plant

OK . . You re the Proffesor now
protect your plant
from this vegetarian monsters

<p align="justify"><font face="BIRDSHILLPARKfont" size="15" color="#ffcc00" letterSpacing="0.000000" kerning="1">Easy mode.</font></p><p align="justify"></p><p align="justify"><font face="BIRDSHILLPARKfont" size="15" color="#ffcc00" letterSpacing="0.000000" kerning="1">30 Waves, high money multiplier value, reduced enemy HP</font></p>

X

<p align="right"><font face="BIRDSHILLPARKfont" size="15" color="#ffff00" letterSpacing="1.000000" kerning="0">1</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="15" color="#ffff00" letterSpacing="1.000000" kerning="0">10</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="15" color="#ffff00" letterSpacing="1.000000" kerning="0">100</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="15" color="#ffff00" letterSpacing="1.000000" kerning="0">20</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="15" color="#ffff00" letterSpacing="1.000000" kerning="0"><b>BASIC PLANT, THROWING SEEDS!</b></font></p>

100

<p align="left"><font face="BIRDSHILLPARKfont" size="19" color="#ffcc00" letterSpacing="2.000000" kerning="1">SEED SHOOTER</font></p>

LEVEL :

POWER :

RANGE :

SPEED :

COST

$

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#442d13" letterSpacing="0.500000" kerning="1">1</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">$1000</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">20</font></p>

Welcome to the turorial!
Please press the 'next'
button to continue.

My name is
Prof. X !

No no no, not
Xavier, that's
another man!

I'm here to tell you
some important
lesson, about the
game of course!

Firstly, this game is
about defending our
garden.

This is our house.
Your job is to protect
it from the monsters!

This is your status! Here
you can see your money,
your scores, and your
remaining lives!

This panel shows the available
crops, guards, or traps that
you can planted!

'CROPS' plants is crucial,
since it will produce
money for you!

'GUARDS' plants will help
you to eliminate those
monsters!

Each plant have its own ability,
make sure you learn their ability
to make your defence stronger
against your enemies

'TRAPS' plants is useful to
obstruct your enemies closer
by to our house!

Each trap plant also has
its own traits! Learn how
to use it well!

Your crops and guards
plants can be used to
making maze against your
enemies, but not the traps
plants.

This is the enemy wave
bar. When its reach to the
right, then the monsters
wave will advancing!

You can send the next
enemy wave by click on the
rolling ball, if you dare!

The current wave number is
shown next to the wave
bar.

In this 'MENU' you can
pause and set the Option
game or back to main menu.

You can also access this
option menu by pressing
'P'.

On the left bottom, you will
see there is a clock timer.
This clock to indicate the
time that is currently active,
whether is day or night.

Beware, when night comes,
all monsters are become
stronger than usual!
But some of your plant also
become stronger.

In the game, you'll be given
2 free crops plant to help
you making your defences.

Make sure you build enough
of them to support your
cashflow!

Over time, it will produce
coin for money. To collect it,
simply move the mouse over
the coin.

This is your Guard plant. You
can create it by choose it in
the GUARDS panel, then place
it in the empty field!

If you click on it, you can see
the detail status of the guard,
like level, power, range, speed,
cost and its ability.

You can also upgrade or sell the
guard in this status panel.
Maximum level for the guards is
5.

CROPS plant cannot be upgraded.
Corn CROP give you a fixed
amount of money, while Lily
CROP give you more money when
night comes!

TRAPS plant is also cannot be
upgraded! The first TRAP is a
wooden wall. It used to block the
road to our house monster. It is
cheap, but has low durability!

The second TRAP is Stone wall.
It is has a high durability, and
also has a chance to stun the
enemy!

The third TRAP is Wire wall. It
has a moderate durability, but it
will reflect some of the damage
done by monsters to the monsters
itself!

The last TRAP is Mud Trap.
Greatly slow the monsters
movement who walk over it. It
can slow up to 10 monsters at a
time!

There are 8 kind of GUARDS
plants. The first one is 'Seed
Shooter', is your basic GUARD.
Its cheap and has no special
ability.

The Second is the Maneater err.. i
mean 'ALIEN EATER'! Can swallow
monster near it.  The more health
that monster have, the more time it
takes to swallow.

The third is 'POISON IVY'! Can
fire poisonous bullets into a
monster, deal some damage from
time to time for a while.

The next is 'RAMPAGE CHILI'!
Can be quickly fired several bullets
into a monster.

The next is 'ICY BEAN'! Can
shoot a slowing bullet to the
monsters.

The next is 'SMOG LEAF'! It can
spread some painful smog around
it, damaging all monsters in its
area.

The next is 'SHOCKER
MUSHROOM'! It have a chance to
stun the monster every time it
shoot a monster.

The next is 'SPREAD CACTUS'!
Shoot its thorn to multiple
targets. Has a wide area attack.

Now i will explain about our
enemies!

The first one is just some
bunch of alien monsters,
nothing special about it!

This Scarecrow monster has
a high speed, even though
his feet only made of straw.

The Beast is have a lot of
health and cannot be slowed!
Fortunately he has a slow
initiate speed!

The Gremlins has a resistant
against poison, and they
always come in a swarm!

The Pumpkin monsters has a
special ability to split
themselves into 2 little pumpkin
when it die!

The Horned Demon has the
most resistant status! it
cannot be poisoned, stunned, or
swallow! Fortunately it can be
slowed!

Giant Mantis could be the worst
nightmare! First, it targeted the
crops and destroy them before
destroying our home! Be careful
with them!

The Chameleon boss is.... you
know... a boss! Beside it has a
huge health, it also cannot be
swallow!

And one more thing, it has special
ability that can reflect bullets
that makes the GUARD stunned
for a while!

You can see the enemy health
remaining by pressing 'SPACE'! It
will toggle the enemy health bar!

Use shortcut "1" - "8" to build GUARDS plants!
Shortcut "Q", "W", "E", "R" to build TRAPS plants!
And shortcut "A", "S" to build CROPS plants!

Use shortcut "Z" to upgrade selected CROP plant,
and "X" to sell selected plant!

That's all i have to say! Fiuuhh..
i'm tired after this long talk, i
guess i'm going to take a
vacation after this! Now go get
them, Tiger!!

<p align="center"><font face="BIRDSHILLPARKfont" size="20" color="#ffff00" letterSpacing="1.000000" kerning="0">BASIC PLANT, THROWING SEEDS!</font></p>

<p align="center"><font face="Times New Roman" size="20" color="#333333" letterSpacing="0.000000" kerning="1"><b>gd</b></font></p>

memory

fps

enemy

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#442d13" letterSpacing="0.500000" kerning="1">9999</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">$500</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">7500</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">99</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="14" color="#ced0d0" letterSpacing="0.000000" kerning="1">999</font></p>

Blocking!

<p align="center"><font face="BIRDSHILLPARKfont" size="40" color="#ffcc00" letterSpacing="1.000000" kerning="1">999 combo</font></p>

Hey stupid plant

Just be a vegetarian and
stop eating us!

it was canibalism !
IDIOT!

Oh . . sorry . . .

oh Ben
you never
learn

oh ben
you never
learn..

the end

<p align="center"><font face="BIRDSHILLPARKfont" size="25" color="#ffcc00" letterSpacing="1.000000" kerning="1">Your Name Here</font></p>

<p align="center"><font face="BIRDSHILLPARKfont" size="25" color="#ffcc00" letterSpacing="1.000000" kerning="1">0</font></p>

<p align="left"><font face="BIRDSHILLPARKfont" size="20" color="#000000" letterSpacing="0.000000" kerning="1">nama</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="19" color="#000000" letterSpacing="0.000000" kerning="1">999999</font></p>

<p align="right"><font face="BIRDSHILLPARKfont" size="19" color="#000000" letterSpacing="0.000000" kerning="1">999999</font></p>

ActionScript [AS3]

Section 1
//BaseButton (fl.controls.BaseButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.events.*; import flash.utils.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 2
//Button (fl.controls.Button) package fl.controls { import flash.display.*; import fl.core.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 3
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 4
//LabelButton (fl.controls.LabelButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 5
//Slider (fl.controls.Slider) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.ui.*; public class Slider extends UIComponent implements IFocusManagerComponent { protected var _direction:String; protected var _liveDragging:Boolean;// = false protected var _value:Number;// = 0 protected var _snapInterval:Number;// = 0 protected var _minimum:Number;// = 0 protected var _maximum:Number;// = 10 protected var track:BaseButton; protected var _tickInterval:Number;// = 0 protected var tickContainer:Sprite; protected var thumb:BaseButton; protected static const TICK_STYLES:Object = {upSkin:"tickSkin"}; protected static const TRACK_STYLES:Object = {upSkin:"sliderTrackSkin", overSkin:"sliderTrackSkin", downSkin:"sliderTrackSkin", disabledSkin:"sliderTrackDisabledSkin"}; protected static const THUMB_STYLES:Object = {upSkin:"thumbUpSkin", overSkin:"thumbOverSkin", downSkin:"thumbDownSkin", disabledSkin:"thumbDisabledSkin"}; protected static var defaultStyles:Object = {thumbUpSkin:"SliderThumb_upSkin", thumbOverSkin:"SliderThumb_overSkin", thumbDownSkin:"SliderThumb_downSkin", thumbDisabledSkin:"SliderThumb_disabledSkin", sliderTrackSkin:"SliderTrack_skin", sliderTrackDisabledSkin:"SliderTrack_disabledSkin", tickSkin:"SliderTick_skin", focusRectSkin:null, focusRectPadding:null}; public function Slider(){ _direction = SliderDirection.HORIZONTAL; _minimum = 0; _maximum = 10; _value = 0; _tickInterval = 0; _snapInterval = 0; _liveDragging = false; super(); setStyles(); } public function get minimum():Number{ return (_minimum); } public function set minimum(_arg1:Number):void{ _minimum = _arg1; this.value = Math.max(_arg1, this.value); invalidate(InvalidationType.DATA); } public function get maximum():Number{ return (_maximum); } protected function positionThumb():void{ thumb.x = ((((_direction)==SliderDirection.VERTICAL) ? ((maximum - minimum) - value) : (value - minimum) / (maximum - minimum)) * _width); } protected function clearTicks():void{ if (((!(tickContainer)) || (!(tickContainer.parent)))){ return; }; removeChild(tickContainer); } protected function onTrackClick(_arg1:MouseEvent):void{ calculateValue(track.mouseX, InteractionInputType.MOUSE, SliderEventClickTarget.TRACK); if (!liveDragging){ dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, SliderEventClickTarget.TRACK, InteractionInputType.MOUSE)); }; } public function set maximum(_arg1:Number):void{ _maximum = _arg1; this.value = Math.min(_arg1, this.value); invalidate(InvalidationType.DATA); } public function get liveDragging():Boolean{ return (_liveDragging); } protected function doDrag(_arg1:MouseEvent):void{ var _local2:Number; var _local3:Number; _local2 = (_width / snapInterval); _local3 = track.mouseX; calculateValue(_local3, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB); dispatchEvent(new SliderEvent(SliderEvent.THUMB_DRAG, value, SliderEventClickTarget.THUMB, InteractionInputType.MOUSE)); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:uint; var _local3:Number; var _local4:Boolean; if (!enabled){ return; }; _local2 = ((snapInterval)>0) ? snapInterval : 1; _local4 = (direction == SliderDirection.HORIZONTAL); if ((((((_arg1.keyCode == Keyboard.DOWN)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.LEFT)) && (_local4))))){ _local3 = (value - _local2); } else { if ((((((_arg1.keyCode == Keyboard.UP)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.RIGHT)) && (_local4))))){ _local3 = (value + _local2); } else { if ((((((_arg1.keyCode == Keyboard.PAGE_DOWN)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.HOME)) && (_local4))))){ _local3 = minimum; } else { if ((((((_arg1.keyCode == Keyboard.PAGE_UP)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.END)) && (_local4))))){ _local3 = maximum; }; }; }; }; if (!isNaN(_local3)){ _arg1.stopPropagation(); doSetValue(_local3, InteractionInputType.KEYBOARD, null, _arg1.keyCode); }; } override public function set enabled(_arg1:Boolean):void{ if (enabled == _arg1){ return; }; super.enabled = _arg1; track.enabled = (thumb.enabled = _arg1); } protected function thumbPressHandler(_arg1:MouseEvent):void{ stage.addEventListener(MouseEvent.MOUSE_MOVE, doDrag, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true); dispatchEvent(new SliderEvent(SliderEvent.THUMB_PRESS, value, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB)); } public function get snapInterval():Number{ return (_snapInterval); } protected function thumbReleaseHandler(_arg1:MouseEvent):void{ stage.removeEventListener(MouseEvent.MOUSE_MOVE, doDrag); stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler); dispatchEvent(new SliderEvent(SliderEvent.THUMB_RELEASE, value, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB)); dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, SliderEventClickTarget.THUMB, InteractionInputType.MOUSE)); } public function set liveDragging(_arg1:Boolean):void{ _liveDragging = _arg1; } public function set value(_arg1:Number):void{ doSetValue(_arg1); } public function set direction(_arg1:String):void{ var _local2:Boolean; _direction = _arg1; _local2 = (_direction == SliderDirection.VERTICAL); if (isLivePreview){ if (_local2){ setScaleY(-1); y = track.height; } else { setScaleY(1); y = 0; }; positionThumb(); return; }; if (((_local2) && (componentInspectorSetting))){ if ((rotation % 90) == 0){ setScaleY(-1); }; }; if (!componentInspectorSetting){ rotation = (_local2) ? 90 : 0; }; } public function set tickInterval(_arg1:Number):void{ _tickInterval = _arg1; invalidate(InvalidationType.SIZE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ setStyles(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ track.setSize(_width, track.height); track.drawNow(); thumb.drawNow(); }; if (tickInterval > 0){ drawTicks(); } else { clearTicks(); }; positionThumb(); super.draw(); } override protected function configUI():void{ super.configUI(); thumb = new BaseButton(); thumb.setSize(13, 13); thumb.autoRepeat = false; addChild(thumb); thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true); track = new BaseButton(); track.move(0, 0); track.setSize(80, 4); track.autoRepeat = false; track.useHandCursor = false; track.addEventListener(MouseEvent.CLICK, onTrackClick, false, 0, true); addChildAt(track, 0); } public function set snapInterval(_arg1:Number):void{ _snapInterval = _arg1; } public function get value():Number{ return (_value); } public function get direction():String{ return (_direction); } public function get tickInterval():Number{ return (_tickInterval); } override public function setSize(_arg1:Number, _arg2:Number):void{ if ((((_direction == SliderDirection.VERTICAL)) && (!(isLivePreview)))){ super.setSize(_arg2, _arg1); } else { super.setSize(_arg1, _arg2); }; invalidate(InvalidationType.SIZE); } protected function drawTicks():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:uint; var _local5:DisplayObject; clearTicks(); tickContainer = new Sprite(); _local1 = ((maximum)<1) ? (tickInterval / 100) : tickInterval; _local2 = ((maximum - minimum) / _local1); _local3 = (_width / _local2); _local4 = 0; while (_local4 <= _local2) { _local5 = getDisplayObjectInstance(getStyleValue("tickSkin")); _local5.x = (_local3 * _local4); _local5.y = ((track.y - _local5.height) - 2); tickContainer.addChild(_local5); _local4++; }; addChild(tickContainer); } protected function calculateValue(_arg1:Number, _arg2:String, _arg3:String, _arg4:int=undefined):void{ var _local5:Number; _local5 = ((_arg1 / _width) * (maximum - minimum)); if (_direction == SliderDirection.VERTICAL){ _local5 = (maximum - _local5); } else { _local5 = (minimum + _local5); }; doSetValue(_local5, _arg2, _arg3, _arg4); } protected function getPrecision(_arg1:Number):Number{ var _local2:String; _local2 = _arg1.toString(); if (_local2.indexOf(".") == -1){ return (0); }; return (_local2.split(".").pop().length); } protected function doSetValue(_arg1:Number, _arg2:String=null, _arg3:String=null, _arg4:int=undefined):void{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; _local5 = _value; if (((!((_snapInterval == 0))) && (!((_snapInterval == 1))))){ _local6 = Math.pow(10, getPrecision(snapInterval)); _local7 = (_snapInterval * _local6); _local8 = Math.round((_arg1 * _local6)); _local9 = (Math.round((_local8 / _local7)) * _local7); _arg1 = (_local9 / _local6); _value = Math.max(minimum, Math.min(maximum, _arg1)); } else { _value = Math.max(minimum, Math.min(maximum, Math.round(_arg1))); }; if (((!((_local5 == _value))) && (((((liveDragging) && (!((_arg3 == null))))) || ((_arg2 == InteractionInputType.KEYBOARD)))))){ dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, _arg3, _arg2, _arg4)); }; positionThumb(); } protected function setStyles():void{ copyStylesToChild(thumb, THUMB_STYLES); copyStylesToChild(track, TRACK_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 6
//SliderDirection (fl.controls.SliderDirection) package fl.controls { public class SliderDirection { public static var HORIZONTAL:String = "horizontal"; public static var VERTICAL:String = "vertical"; } }//package fl.controls
Section 7
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 8
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 9
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.utils.*; import flash.text.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 10
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 11
//InteractionInputType (fl.events.InteractionInputType) package fl.events { public class InteractionInputType { public static const MOUSE:String = "mouse"; public static const KEYBOARD:String = "keyboard"; } }//package fl.events
Section 12
//SliderEvent (fl.events.SliderEvent) package fl.events { import flash.events.*; public class SliderEvent extends Event { protected var _triggerEvent:String; protected var _keyCode:Number; protected var _value:Number; protected var _clickTarget:String; public static const CHANGE:String = "change"; public static const THUMB_PRESS:String = "thumbPress"; public static const THUMB_DRAG:String = "thumbDrag"; public static const THUMB_RELEASE:String = "thumbRelease"; public function SliderEvent(_arg1:String, _arg2:Number, _arg3:String, _arg4:String, _arg5:int=0){ _value = _arg2; _keyCode = _arg5; _triggerEvent = _arg4; _clickTarget = _arg3; super(_arg1); } public function get clickTarget():String{ return (_clickTarget); } override public function clone():Event{ return (new SliderEvent(type, _value, _clickTarget, _triggerEvent, _keyCode)); } override public function toString():String{ return (formatToString("SliderEvent", "type", "value", "bubbles", "cancelable", "keyCode", "triggerEvent", "clickTarget")); } public function get triggerEvent():String{ return (_triggerEvent); } public function get value():Number{ return (_value); } public function get keyCode():Number{ return (_keyCode); } } }//package fl.events
Section 13
//SliderEventClickTarget (fl.events.SliderEventClickTarget) package fl.events { public class SliderEventClickTarget { public static const TRACK:String = "track"; public static const THUMB:String = "thumb"; } }//package fl.events
Section 14
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.controls.*; import flash.display.*; import fl.core.*; import flash.events.*; import flash.utils.*; import flash.text.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 15
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 16
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 17
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 18
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.utils.*; import flash.text.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 19
//anim_jam_338 (greenprotector_fla.anim_jam_338) package greenprotector_fla { import flash.display.*; public dynamic class anim_jam_338 extends MovieClip { public function anim_jam_338(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 20
//anim_naga_24 (greenprotector_fla.anim_naga_24) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class anim_naga_24 extends MovieClip { public var snd; public function anim_naga_24(){ addFrameScript(24, frame25, 105, frame106, 124, frame125); } function frame106(){ snd = new wos(); snd.play(0, 1); } function frame25(){ snd = new wos(); snd.play(0, 1); } function frame125(){ stop(); } } }//package greenprotector_fla
Section 21
//animblocking_371 (greenprotector_fla.animblocking_371) package greenprotector_fla { import flash.display.*; public dynamic class animblocking_371 extends MovieClip { public function animblocking_371(){ addFrameScript(14, frame15); } function frame15(){ this.visible = false; this.x = 800; this.y = 700; stop(); } } }//package greenprotector_fla
Section 22
//animcombobox_373 (greenprotector_fla.animcombobox_373) package greenprotector_fla { import flash.display.*; public dynamic class animcombobox_373 extends MovieClip { public var combomc:MovieClip; public function animcombobox_373(){ addFrameScript(35, frame36); } function frame36(){ this.visible = false; this.x = 800; this.y = 700; stop(); } } }//package greenprotector_fla
Section 23
//animpaneloption_267 (greenprotector_fla.animpaneloption_267) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import fl.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class animpaneloption_267 extends MovieClip { public var paneopt:MovieClip; public var xroot; public function animpaneloption_267(){ addFrameScript(0, frame1, 9, frame10); } public function qlowclick(_arg1:MouseEvent){ stage.quality = "LOW"; paneopt.qhighmark.visible = false; paneopt.qmedmark.visible = false; paneopt.qlowmark.visible = true; } function frame10(){ stop(); xroot = this.root; paneopt.btn_backtomainmenu.visible = false; paneopt.btn_close.addEventListener(MouseEvent.CLICK, closeclick); paneopt.btn_qhigh.addEventListener(MouseEvent.CLICK, qhighclick); paneopt.btn_qmed.addEventListener(MouseEvent.CLICK, qmedclick); paneopt.btn_qlow.addEventListener(MouseEvent.CLICK, qlowclick); paneopt.btn_particle.addEventListener(MouseEvent.CLICK, particleclick); paneopt.BGM.minimum = 0; paneopt.BGM.maximum = 1; paneopt.BGM.snapInterval = 0.05; paneopt.BGM.value = xroot.musicVolume.volume; paneopt.BGM.liveDragging = true; paneopt.BGM.addEventListener(SliderEvent.CHANGE, BGMChange); paneopt.SFX.minimum = 0; paneopt.SFX.maximum = 1; paneopt.SFX.snapInterval = 0.05; paneopt.SFX.value = xroot.sfxVolume.volume; paneopt.SFX.liveDragging = true; paneopt.SFX.addEventListener(SliderEvent.CHANGE, SFXChange); paneopt.qhighmark.visible = false; paneopt.qmedmark.visible = false; paneopt.qlowmark.visible = false; if (stage.quality == "LOW"){ paneopt.qlowmark.visible = true; } else { if (stage.quality == "MEDIUM"){ paneopt.qmedmark.visible = true; } else { if (stage.quality == "HIGH"){ paneopt.qhighmark.visible = true; }; }; }; if (xroot.usingParticle){ paneopt.particlemark.visible = true; } else { paneopt.particlemark.visible = false; }; } function frame1(){ stop(); } public function SFXChange(_arg1:SliderEvent):void{ xroot.sfxVolume.volume = paneopt.SFX.value; xroot.sfxChannel.soundTransform = xroot.sfxVolume; } public function BGMChange(_arg1:SliderEvent):void{ xroot.musicVolume.volume = paneopt.BGM.value; xroot.musicChannel.soundTransform = xroot.musicVolume; } public function closeclick(_arg1:MouseEvent){ play(); } public function qmedclick(_arg1:MouseEvent){ stage.quality = "MEDIUM"; paneopt.qhighmark.visible = false; paneopt.qmedmark.visible = true; paneopt.qlowmark.visible = false; } public function particleclick(_arg1:MouseEvent){ xroot.usingParticle = !(xroot.usingParticle); if (xroot.usingParticle){ paneopt.particlemark.visible = true; } else { paneopt.particlemark.visible = false; }; } public function qhighclick(_arg1:MouseEvent){ stage.quality = "HIGH"; paneopt.qhighmark.visible = true; paneopt.qmedmark.visible = false; paneopt.qlowmark.visible = false; } } }//package greenprotector_fla
Section 24
//barisscore_399 (greenprotector_fla.barisscore_399) package greenprotector_fla { import flash.display.*; import flash.text.*; public dynamic class barisscore_399 extends MovieClip { public var nametxt:TextField; public var notxt:TextField; public var scoretxt:TextField; } }//package greenprotector_fla
Section 25
//build1medal_244 (greenprotector_fla.build1medal_244) package greenprotector_fla { import flash.display.*; public dynamic class build1medal_244 extends MovieClip { public function build1medal_244(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 26
//build2medal_245 (greenprotector_fla.build2medal_245) package greenprotector_fla { import flash.display.*; public dynamic class build2medal_245 extends MovieClip { public function build2medal_245(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 27
//build3medal_246 (greenprotector_fla.build3medal_246) package greenprotector_fla { import flash.display.*; public dynamic class build3medal_246 extends MovieClip { public function build3medal_246(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 28
//cliploader_10 (greenprotector_fla.cliploader_10) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class cliploader_10 extends MovieClip { public var snd; public function cliploader_10(){ addFrameScript(23, frame24, 54, frame55, 85, frame86, 116, frame117, 147, frame148, 178, frame179, 209, frame210, 240, frame241, 272, frame273, 303, frame304, 309, frame310); } function frame273(){ snd = new bite(); snd.play(0, 1); } function frame310(){ stop(); } function frame86(){ snd = new bite(); snd.play(0, 1); } function frame210(){ snd = new bite(); snd.play(0, 1); } function frame24(){ snd = new bite(); snd.play(0, 1); } function frame179(){ snd = new bite(); snd.play(0, 1); } function frame117(){ snd = new bite(); snd.play(0, 1); } function frame241(){ snd = new bite(); snd.play(0, 1); } function frame55(){ snd = new bite(); snd.play(0, 1); } function frame148(){ snd = new bite(); snd.play(0, 1); } function frame304(){ snd = new bite(); snd.play(0, 1); } } }//package greenprotector_fla
Section 29
//clockmc_331 (greenprotector_fla.clockmc_331) package greenprotector_fla { import flash.display.*; public dynamic class clockmc_331 extends MovieClip { public var clocksimbol:MovieClip; public var clocktick:MovieClip; } }//package greenprotector_fla
Section 30
//clocksimbol_335 (greenprotector_fla.clocksimbol_335) package greenprotector_fla { import flash.display.*; public dynamic class clocksimbol_335 extends MovieClip { public function clocksimbol_335(){ addFrameScript(0, frame1, 24, frame25); } function frame1(){ stop(); } function frame25(){ stop(); } } }//package greenprotector_fla
Section 31
//combobox_374 (greenprotector_fla.combobox_374) package greenprotector_fla { import flash.display.*; import flash.text.*; public dynamic class combobox_374 extends MovieClip { public var combotext:TextField; } }//package greenprotector_fla
Section 32
//difficulties_279 (greenprotector_fla.difficulties_279) package greenprotector_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; public dynamic class difficulties_279 extends MovieClip { public var btn_easy:SimpleButton; public var infotxt:TextField; public var btn_normal:SimpleButton; public var btn_chal1:SimpleButton; public var btn_chal2:SimpleButton; public var btn_chal4:SimpleButton; public var btn_chal3:SimpleButton; public var btn_chal5:SimpleButton; public var btn_challenge:SimpleButton; public var gfbtn1:SimpleButton; public var btn_tutorial:SimpleButton; public var btn_hard:SimpleButton; public var btn_back:SimpleButton; public function difficulties_279(){ addFrameScript(0, frame1, 21, frame22); } function frame1(){ stop(); gfbtn1.addEventListener(MouseEvent.CLICK, clickGF1, false, 0, true); } function frame22(){ stop(); } public function clickGF1(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } } }//package greenprotector_fla
Section 33
//fpschecker_369 (greenprotector_fla.fpschecker_369) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class fpschecker_369 extends MovieClip { public var fpsku; public var wkt; public var cek; public var detik; public var fpsstd; public var detiklama; public var fpstxt:TextField; public function fpschecker_369(){ addFrameScript(0, frame1); } public function cekfps(_arg1:Event){ detiklama = detik; wkt = new Date(); detik = wkt.getSeconds(); if (detiklama == detik){ cek++; } else { fpsku = Math.round(((cek / fpsstd) * 100)); fpstxt.text = String(fpsku); cek = 1; }; } function frame1(){ wkt = new Date(); detik = wkt.getSeconds(); fpsstd = 25; fpsku = 100; cek = fpsstd; detiklama = 0; this.addEventListener(Event.ENTER_FRAME, cekfps); } } }//package greenprotector_fla
Section 34
//gameover_mc_375 (greenprotector_fla.gameover_mc_375) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class gameover_mc_375 extends MovieClip { public var btn_mainmenu:SimpleButton; public var btn_other:SimpleButton; public function gameover_mc_375(){ addFrameScript(49, frame50); } public function backToMainmenu(_arg1:MouseEvent){ var _local2:*; _local2 = this.root; _local2.gotoFrame("mainmenu"); } public function clickGF1(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } function frame50(){ stop(); btn_mainmenu.addEventListener(MouseEvent.CLICK, backToMainmenu, false, 0, true); btn_other.addEventListener(MouseEvent.CLICK, clickGF1, false, 0, true); } } }//package greenprotector_fla
Section 35
//games_free_prealoader2_23 (greenprotector_fla.games_free_prealoader2_23) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class games_free_prealoader2_23 extends MovieClip { public var linked:SimpleButton; public var xroot; public function games_free_prealoader2_23(){ addFrameScript(0, frame1, 124, frame125); } function frame1(){ linked.addEventListener(MouseEvent.CLICK, clickGF, false, 0, true); } public function clickGF(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } function frame125(){ stop(); xroot = this.root; xroot.gotoFrame("splash2"); } } }//package greenprotector_fla
Section 36
//gamesfre_pre_b_sprite43_308 (greenprotector_fla.gamesfre_pre_b_sprite43_308) package greenprotector_fla { import flash.display.*; public dynamic class gamesfre_pre_b_sprite43_308 extends MovieClip { public function gamesfre_pre_b_sprite43_308(){ addFrameScript(20, frame21); } function frame21(){ stop(); } } }//package greenprotector_fla
Section 37
//goodending_380 (greenprotector_fla.goodending_380) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class goodending_380 extends MovieClip { public var loader:URLLoader; public var animwaiting:MovieClip; public var panelsubmit:MovieClip; public var requestku:URLRequest; public var xroot; public var panelhighscore:MovieClip; public function goodending_380(){ addFrameScript(529, frame530, 541, frame542, 550, frame551); } function frame551(){ stop(); } public function cleartxt(_arg1:MouseEvent){ _arg1.target.text = ""; _arg1.target.removeEventListener(MouseEvent.CLICK, cleartxt); } public function httpStatusHandler(_arg1:HTTPStatusEvent):void{ } public function progressHandler(_arg1:ProgressEvent):void{ } public function ioErrorHandler(_arg1:IOErrorEvent):void{ } public function submitScore(_arg1:MouseEvent){ var variables:URLVariables; var e = _arg1; variables = new URLVariables(); variables.kode_game = "GP"; variables.name = panelsubmit.nametxt.text; variables.flash = 1; variables.score = xroot.score; requestku = new URLRequest(); requestku.url = "http://www.smallfarmstudio.com/latihan/new_score2.php"; requestku.method = URLRequestMethod.POST; requestku.data = variables; try { URLRequestMethodExample(); animwaiting.visible = true; } catch(e:Error) { }; } public function securityErrorHandler(_arg1:SecurityErrorEvent):void{ } public function openHandler(_arg1:Event):void{ } public function closeScore(_arg1:MouseEvent){ xroot.gotoFrame("mainmenu"); } function frame530(){ stop(); animwaiting.visible = false; requestku = new URLRequest(); loader = new URLLoader(); xroot = this.root; panelsubmit.scoretxt.text = xroot.score; panelsubmit.nametxt.addEventListener(MouseEvent.CLICK, cleartxt, false, 0, true); panelsubmit.btn_submit.addEventListener(MouseEvent.CLICK, submitScore, false, 0, true); panelsubmit.btn_close.addEventListener(MouseEvent.CLICK, closeScore, false, 0, true); } public function completeHandler(_arg1:Event):void{ var _local2:URLLoader; _local2 = URLLoader(_arg1.target); animwaiting.visible = false; play(); } function frame542(){ showWorldScore(); panelhighscore.btn_close.addEventListener(MouseEvent.CLICK, closeScore, false, 0, true); } public function URLRequestMethodExample(){ var _local1:String; loader = new URLLoader(); _local1 = URLLoaderDataFormat.VARIABLES; loader.dataFormat = _local1; configureListeners(loader); loader.load(requestku); } public function configureListeners(_arg1:IEventDispatcher):void{ _arg1.addEventListener(Event.COMPLETE, completeHandler); _arg1.addEventListener(Event.OPEN, openHandler); _arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler); _arg1.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); _arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler); _arg1.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); } public function showWorldScore(){ var _local1:*; var _local2:*; var _local3:Number; _local1 = 1; while (_local1 <= 10) { _local2 = panelhighscore.getChildByName(("baris" + _local1)); if (loader.data[("name" + _local1)] != null){ _local2.visible = true; _local3 = (int(loader.data.awal) + _local1); _local2.notxt.text = _local3; _local2.nametxt.text = loader.data[("name" + _local1)]; _local2.scoretxt.text = loader.data[("score" + _local1)]; if (loader.data.rank == _local3){ _local2.notxt.textColor = 0xFFFFFF; _local2.nametxt.textColor = 0xFFFFFF; _local2.scoretxt.textColor = 0xFFFFFF; } else { _local2.notxt.textColor = 0; _local2.nametxt.textColor = 0; _local2.scoretxt.textColor = 0; }; } else { _local2.visible = false; }; _local1++; }; } } }//package greenprotector_fla
Section 38
//kill1medal_247 (greenprotector_fla.kill1medal_247) package greenprotector_fla { import flash.display.*; public dynamic class kill1medal_247 extends MovieClip { public function kill1medal_247(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 39
//kill2medal_248 (greenprotector_fla.kill2medal_248) package greenprotector_fla { import flash.display.*; public dynamic class kill2medal_248 extends MovieClip { public function kill2medal_248(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 40
//kill3medal_249 (greenprotector_fla.kill3medal_249) package greenprotector_fla { import flash.display.*; public dynamic class kill3medal_249 extends MovieClip { public function kill3medal_249(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 41
//kinclong_8 (greenprotector_fla.kinclong_8) package greenprotector_fla { import flash.display.*; public dynamic class kinclong_8 extends MovieClip { public function kinclong_8(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package greenprotector_fla
Section 42
//mainmenuku_259 (greenprotector_fla.mainmenuku_259) package greenprotector_fla { import flash.display.*; public dynamic class mainmenuku_259 extends MovieClip { public var btn_credit:SimpleButton; public var btn_play:SimpleButton; public var btn_more:SimpleButton; public var btn_achievement:SimpleButton; public var btn_option:SimpleButton; } }//package greenprotector_fla
Section 43
//MainTimeline (greenprotector_fla.MainTimeline) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public const __CHALLENGE1 = 4; public const __CHALLENGE3 = 6; public const __CHALLENGE4 = 7; public const __CHALLENGE5 = 8; public const __CHALLENGE2 = 5; public const __NORMAL = 2; public const __HARD = 3; public const __EASY = 1; public var endEnemyWave:Boolean; public var efek2:MovieClip; public var clock:MovieClip; public var myMap:MovieClip; public var tgtX; public var tgtY; public var livetext:TextField; public var medal1:MovieClip; public var medal2:MovieClip; public var medal4:MovieClip; public var medal5:MovieClip; public var medal6:MovieClip; public var medal7:MovieClip; public var medal8:MovieClip; public var medal9:MovieClip; public var medal3:MovieClip; public var comboCount; public var btn_startwave:SimpleButton; public var jumenemy; public var hasTowerOnHand:Boolean; public var isiMap; public var databuilding:Array; public var myBuilding:MovieClip; public var memtext:TextField; public var speedRotate:Number; public var achievementNoteText; public var efekwave:MovieClip; public var hasStarted:Boolean; public var transisimc:MovieClip; public var curComboTimer; public var jumKillMonster; public var factorCornPrize; public var sfxChannel; public var showEnemyHealth:Boolean; public var money; public var multEnHp; public var btn_back:SimpleButton; public var live; public var paths:Array; public var initialWay; public var panel_tower:MovieClip; public var jumCallWave; public var btn_mainmenu:SimpleButton; public var achievementTitleText; public var curwave; public var idxX; public var clockTicking:Boolean; public var myLevel; public var jumCornPlant; public var loader_mc:MovieClip; public var idxY; public var animblocking:MovieClip; public var btn1:SimpleButton; public var btn3:SimpleButton; public var btn4:SimpleButton; public var btn6:SimpleButton; public var btn7:SimpleButton; public var btn8:SimpleButton; public var btn2:SimpleButton; public var btn9:SimpleButton; public var btn_menu:SimpleButton; public var speedRoll:Number; public var multMoney; public var btn5:SimpleButton; public var btn10:SimpleButton; public var btn11:SimpleButton; public var btn12:SimpleButton; public var btn14:SimpleButton; public var btn_skip:SimpleButton; public var btn13:SimpleButton; public var dspeedRoll:Number; public var musicVolume; public var mm; public var datatower:Array; public var tgtframe; public var MusicPack; public var isSpawning:Boolean; public var factorLilyPrize; public var moneytext:TextField; public var ps; public var latar; public var animcombo:MovieClip; public var enemies:MovieClip; public var sfbtn1:SimpleButton; public var mytarget; public var judul_achievement:TextField; public var jumLilyPlant; public var ss; public var note_achievement:TextField; public var so:SharedObject; public var halfDay; public var wavebar:MovieClip; public var jumwave; public var mainmenu:MovieClip; public var score; public var animpanel:MovieClip; public var choosediff:MovieClip; public var trans:MovieClip; public var splash1:MovieClip; public var splash2:MovieClip; public var leveltext:TextField; public var gfbtn1:SimpleButton; public var ceker:MovieClip; public var scoretext:TextField; public var maxComboTimer; public var myCollision:MovieClip; public var isPause:Boolean; public var medal; public var wave; public var musicChannel; public var enwave; public var usingParticle:Boolean; public var curSelection; public var runner:Array; public var multScore; public var grid:Sprite; public var medal10:MovieClip; public var medal11:MovieClip; public var medal12:MovieClip; public var medal13:MovieClip; public var medal14:MovieClip; public var medal15:MovieClip; public var medal17:MovieClip; public var medal18:MovieClip; public var medal19:MovieClip; public var medal16:MovieClip; public var jumenemies:TextField; public var towerOnHand:Object; public var medal20:MovieClip; public var customContextMenu:ContextMenu; public var jumBuildTower; public var wavetext:TextField; public var SoundPack; public var bullets:MovieClip; public var difficulty:int; public var items:MovieClip; public var panel_bantuan:MovieClip; public var doCombo; public var idxNeedPath:int; public var clockTimer; public var gameovermc:MovieClip; public var movop:MovieClip; public var sfxVolume; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 9, frame10, 18, frame19, 27, frame28, 35, frame36, 42, frame43, 47, frame48, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 60, frame61, 61, frame62, 69, frame70, 76, frame77); } public function showPanelBantuan(_arg1:String){ panel_bantuan.x = 435; panel_bantuan.y = 325; panel_bantuan.info_text.text = _arg1; panel_bantuan.visible = true; } public function isTower(_arg1:MovieClip):Boolean{ return ((((((((((((((((_arg1 is Tower1)) || ((_arg1 is Tower2)))) || ((_arg1 is Tower3)))) || ((_arg1 is Tower4)))) || ((_arg1 is Tower5)))) || ((_arg1 is Tower6)))) || ((_arg1 is Tower7)))) || ((_arg1 is Tower8)))); } public function overTower2(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[2]); } public function overTower1(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[1]); } public function overTower3(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[3]); } public function overTower6(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[6]); } public function overTower8(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[8]); } public function overTower7(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[7]); } function frame19(){ stop(); stage.quality = "HIGH"; btn_back.addEventListener(MouseEvent.CLICK, backToMenu, false, 0, true); cekMedal(); } public function overTower4(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[4]); } public function overTower5(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(datatower[5]); } public function Muzic(_arg1){ var _local2:*; var _local3:*; _local2 = _arg1; if (isNaN(_arg1)){ _local2 = -1; _local3 = 0; while (_local3 < MusicPack.length) { if (_arg1 == MusicPack[_local3].idname){ _local2 = _local3; break; }; _local3++; }; }; if (_local2 >= 0){ musicChannel.stop(); musicChannel = MusicPack[_local2].play(0, 9999, musicVolume); } else { musicChannel.stop(); }; } public function overtutorial(_arg1:MouseEvent){ choosediff.infotxt.text = "Tutorial mode, for beginner only!"; } function frame3(){ stop(); } public function cekMedal(){ var _local1:*; _local1 = 0; while (_local1 < medal.length) { if (medal[_local1] == 1){ this[("medal" + (_local1 + 1))].gotoAndStop(1); } else { this[("medal" + (_local1 + 1))].gotoAndStop(2); }; this[("medal" + (_local1 + 1))].addEventListener(MouseEvent.ROLL_OVER, showMedalNotes, false, 0, true); this[("medal" + (_local1 + 1))].addEventListener(MouseEvent.ROLL_OUT, hideMedalNotes, false, 0, true); _local1++; }; } function frame1(){ stop(); stage.scaleMode = StageScaleMode.NO_SCALE; customContextMenu = new ContextMenu(); customContextMenu.hideBuiltInItems(); contextMenu = customContextMenu; stage.showDefaultContextMenu = false; this.loaderInfo.addEventListener(Event.OPEN, loadinit); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loading); this.loaderInfo.addEventListener(Event.COMPLETE, completes); MochiBot.track(this, "46cbb86f"); } public function clickGF(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } function frame28(){ stop(); stage.quality = "HIGH"; btn_back.addEventListener(MouseEvent.CLICK, backToMenu, false, 0, true); sfbtn1.addEventListener(MouseEvent.CLICK, clickSF, false, 0, true); gfbtn1.addEventListener(MouseEvent.CLICK, clickGF, false, 0, true); } public function searchPathAll():Boolean{ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = new MapFinder(initialWay, mytarget, myLevel); _local1 = _local2.findPath(); if (_local1.length > 0){ _local3 = 0; while (_local3 < enemies.numChildren) { _local4 = enemies.getChildAt(_local3); _local5 = _local4.getIndexPos(); if (!_local1[_local5.y][_local5.x]){ return (false); }; _local3++; }; paths = _local1; return (true); }; return (false); } function frame4(){ stage.quality = "MEDIUM"; so = SharedObject.getLocal("greenprotector"); if (so.data.medal){ medal = so.data.medal.concat(); jumKillMonster = so.data.jumKillMonster; } else { medal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); jumKillMonster = 0; }; MusicPack = new Array(); SoundPack = new Array(); musicChannel = new SoundChannel(); musicVolume = new SoundTransform(); sfxChannel = new SoundChannel(); sfxVolume = new SoundTransform(); usingParticle = true; gotoAndStop("mainmenu"); mm = new gameMusic(); mm.idname = "gameMusic"; MusicPack.push(mm); mm = new winMusic(); mm.idname = "winMusic"; MusicPack.push(mm); mm = new mainMenuMusic(); mm.idname = "mainMenuMusic"; MusicPack.push(mm); mm = new gameOverMusic(); mm.idname = "gameOverMusic"; MusicPack.push(mm); ss = new nextWavesfx(); ss.idname = "nextWavesfx"; SoundPack.push(ss); ss = new monster1(); ss.idname = "monster1"; SoundPack.push(ss); ss = new monster2(); ss.idname = "monster2"; SoundPack.push(ss); ss = new monster3(); ss.idname = "monster3"; SoundPack.push(ss); ss = new monster4(); ss.idname = "monster4"; SoundPack.push(ss); ss = new monster5(); ss.idname = "monster5"; SoundPack.push(ss); ss = new monster6(); ss.idname = "monster6"; SoundPack.push(ss); ss = new monster7(); ss.idname = "monster7"; SoundPack.push(ss); ss = new monster8(); ss.idname = "monster8"; SoundPack.push(ss); ss = new fire1(); ss.idname = "fire1"; SoundPack.push(ss); ss = new fire2(); ss.idname = "fire2"; SoundPack.push(ss); ss = new fire3(); ss.idname = "fire3"; SoundPack.push(ss); ss = new fire4(); ss.idname = "fire4"; SoundPack.push(ss); ss = new swallow(); ss.idname = "swallow"; SoundPack.push(ss); ss = new refbullet(); ss.idname = "refbullet"; SoundPack.push(ss); ss = new getcoin(); ss.idname = "getcoin"; SoundPack.push(ss); ss = new awanlewat(); ss.idname = "awanlewat"; SoundPack.push(ss); ss = new errorSound(); ss.idname = "errorSound"; SoundPack.push(ss); achievementTitleText = ["Found the Treasure", "Take a Break", "Home Sweet Home", "Powerplant", "Plantastic", "Plant King", "Scarecrow Hunter", "Pumpkin Smasher", "Gardener", "Yardman", "Botanists", "Need a Badge", "The Party Started", "Rampage", "Pea Lover", "Bankrupt Borrowers", "Last Stand", "Nice Victory", "Epic Victory", "The Protector"]; achievementNoteText = ["Open credit menu", "Pause the game", "Visit the developer site", "Win Easy Level", "Win Normal Level", "Win Hard Level", "Win 1st Challenge", "Win 2nd Challenge", "Build 10 Tower", "Build 50 Tower", "Build 100 Tower", "Kill 100 Monster", "Kill 500 Monster", "Kill 1000 Monster", "Win 3rd Challenge", "Win 4th Challenge", "Win 5th Challenge", "Win without losing a live in Easy Level", "Win without losing a live in Normal Level", "Win without losing a live in Hard Level"]; jumCornPlant = 0; factorCornPrize = 5; jumLilyPlant = 0; factorLilyPrize = 5; datatower = ["", "SEED SHOOTER \n Basic tower, no special ability \n Cost : 100 \n Shortcut \"1\"", "ALIEN EATER \n Can swallow an enemy \n Cost : 200 \n Shortcut \"2\"", "POISON IVY \n Poison attack on the enemy \n Cost : 150 \n Shortcut \"3\"", "RAMPAGE CHILI \n Rapid attack on an enemy \n Cost : 200 \n Shortcut \"4\"", "ICE PLANT \n Slow effect on the enemy \n Cost : 200 \n Shortcut \"5\"", "SMOG LEAF \n Area attack on surrounding \n Cost : 225 \n Shortcut \"6\"", "SHOCKER MUSHROOM \n Can shock an enemy \n Cost : 275 \n Shortcut \"7\"", "SPREAD CACTUS \n Can damage multiple enemy \n Cost : 350 \n Shortcut \"8\""]; databuilding = ["", "WOOD WALL\n Basic wall, no special ability \n Cost : 100 \n Shortcut : \"Q\"", "STONE WALL\n Has a small chance to stun enemy \n Cost : 175 \n Shortcut : \"W\"", "WIRE WALL\n Can reflect a small amount of damage on the enemy which attacked it \n Cost : 200 \n Shortcut : \"E\"", "MUD TRAP\n Can slows enemy that walk over the trap \n Cost : 100 \n Shortcut : \"R\"", "CORN CROPS\n Generate a fix amount of money \n Cost : 50 \n Shortcut : \"A\"", "LILY CROPS\n Generate a small amount of money in Day, but gives more money on Night\n Cost : 50 \n Shortcut : \"S\""]; } function frame2(){ stop(); } public function refreshMap(){ var _local1:*; var _local2:*; _local1 = (enemies.numChildren - 1); while (_local1 >= 0) { _local2 = enemies.getChildAt(_local1); _local2.setMap(myLevel); _local2.setPaths(paths); _local1--; }; } function frame36(){ stop(); stage.quality = "MEDIUM"; btn_skip.addEventListener(MouseEvent.CLICK, skipping); } public function nextWave(){ var _local1:*; _local1 = new MovieClip(); efek2.addChild(_local1); _local1.addEventListener(Event.ENTER_FRAME, createMonster, false, 0, true); _local1.ctr = 25; _local1.twave = curwave; Zound(("monster" + enwave[curwave].tipe)); curwave++; if (curwave >= enwave.length){ isSpawning = false; }; } public function initPanelTower(){ panel_tower.btn_close.addEventListener(MouseEvent.CLICK, closePanel, false, 0, true); panel_tower.btn_upgrade.addEventListener(MouseEvent.CLICK, upgradeTower, false, 0, true); panel_tower.btn_sell.addEventListener(MouseEvent.CLICK, sellTower, false, 0, true); } function frame43(){ stop(); choosediff.btn_tutorial.addEventListener(MouseEvent.CLICK, kliktutorial, false, 0, true); choosediff.btn_tutorial.addEventListener(MouseEvent.MOUSE_OVER, overtutorial, false, 0, true); choosediff.btn_easy.addEventListener(MouseEvent.CLICK, klikeasy, false, 0, true); choosediff.btn_easy.addEventListener(MouseEvent.MOUSE_OVER, overeasy, false, 0, true); choosediff.btn_normal.addEventListener(MouseEvent.CLICK, kliknormal, false, 0, true); choosediff.btn_normal.addEventListener(MouseEvent.MOUSE_OVER, overnormal, false, 0, true); choosediff.btn_hard.addEventListener(MouseEvent.CLICK, klikhard, false, 0, true); choosediff.btn_hard.addEventListener(MouseEvent.MOUSE_OVER, overhard, false, 0, true); choosediff.btn_challenge.addEventListener(MouseEvent.CLICK, klikchallenge, false, 0, true); choosediff.btn_challenge.addEventListener(MouseEvent.MOUSE_OVER, overchallenge, false, 0, true); choosediff.btn_chal1.addEventListener(MouseEvent.CLICK, klikchal1, false, 0, true); choosediff.btn_chal1.addEventListener(MouseEvent.MOUSE_OVER, overchal1, false, 0, true); choosediff.btn_chal2.addEventListener(MouseEvent.CLICK, klikchal2, false, 0, true); choosediff.btn_chal2.addEventListener(MouseEvent.MOUSE_OVER, overchal2, false, 0, true); choosediff.btn_chal3.addEventListener(MouseEvent.CLICK, klikchal3, false, 0, true); choosediff.btn_chal3.addEventListener(MouseEvent.MOUSE_OVER, overchal3, false, 0, true); choosediff.btn_chal4.addEventListener(MouseEvent.CLICK, klikchal4, false, 0, true); choosediff.btn_chal4.addEventListener(MouseEvent.MOUSE_OVER, overchal4, false, 0, true); choosediff.btn_chal5.addEventListener(MouseEvent.CLICK, klikchal5, false, 0, true); choosediff.btn_chal5.addEventListener(MouseEvent.MOUSE_OVER, overchal5, false, 0, true); choosediff.btn_back.addEventListener(MouseEvent.CLICK, klikchallenge, false, 0, true); choosediff.btn_back.addEventListener(MouseEvent.MOUSE_OVER, overchallenge, false, 0, true); Muzic("gameMusic"); } function frame10(){ stop(); mainmenu.btn_play.addEventListener(MouseEvent.CLICK, playclick); mainmenu.btn_option.addEventListener(MouseEvent.CLICK, optionclick); mainmenu.btn_more.addEventListener(MouseEvent.CLICK, moreclick); mainmenu.btn_credit.addEventListener(MouseEvent.CLICK, creditclick); mainmenu.btn_achievement.addEventListener(MouseEvent.CLICK, medalclick); gfbtn1.addEventListener(MouseEvent.CLICK, clickGF1, false, 0, true); Muzic("mainMenuMusic"); } public function clickGF1(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } public function klikeasy(_arg1:MouseEvent){ difficulty = __EASY; gotoAndStop("gameeasy"); } function frame55(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGame2(); } function frame58(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGameChallenge2(); } function frame59(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGameChallenge3(); } function frame48(){ stop(); btn_skip.addEventListener(MouseEvent.CLICK, skipping2); } function frame56(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGame3(); } function frame57(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGameChallenge1(); } function frame54(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGame1(); } public function showMedalNotes(_arg1:MouseEvent){ var _local2:Number; _local2 = int(_arg1.target.name.substr(5, 2)); judul_achievement.text = achievementTitleText[(_local2 - 1)]; note_achievement.text = achievementNoteText[(_local2 - 1)]; } function frame61(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 14, -1, 1, -1, 14, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGameChallenge5(); } function frame62(){ stop(); Muzic(-1); mm = new gameOverMusic(); musicChannel.stop(); musicChannel = mm.play(0, 1, musicVolume); } public function medalclick(_arg1:MouseEvent){ gotoFrame("medalpage"); } public function hideMedalNotes(_arg1:MouseEvent){ judul_achievement.text = ""; note_achievement.text = ""; } public function delayDestroy(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; if (!isPause){ _arg1.currentTarget.gotoAndStop(int(((_arg1.currentTarget.ctr / _arg1.currentTarget.maxctr) * 100))); if (++_arg1.currentTarget.ctr > _arg1.currentTarget.maxctr){ _local2 = Math.floor((_arg1.currentTarget.tgt.x / MyData.nodeSize())); _local3 = Math.floor((_arg1.currentTarget.tgt.y / MyData.nodeSize())); myLevel[_local3][_local2] = 0; isiMap[_local3][_local2] = null; searchPathAll(); refreshMap(); _arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, delayDestroy); _local4 = _arg1.currentTarget.parent; _local4.removeChild(_arg1.currentTarget); }; }; } public function kliknormal(_arg1:MouseEvent){ difficulty = __NORMAL; gotoAndStop("gamenormal"); } function frame60(){ stop(); myLevel = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; initBasicGame(); initGameChallenge4(); } function frame70(){ stop(); Muzic("winMusic"); btn_mainmenu.addEventListener(MouseEvent.CLICK, backMain, false, 0, true); } function frame77(){ stop(); gotoAndStop(tgtframe); } public function drawArrow(_arg1, _arg2:Point, _arg3:Point):void{ var _local4:*; var _local5:*; var _local6:*; var _local7:*; _arg1.graphics.lineStyle(1, 0xFF0000); _arg1.graphics.moveTo(_arg2.x, _arg2.y); _arg1.graphics.lineTo(_arg3.x, _arg3.y); _local4 = Math.sqrt((Math.pow((_arg3.x - _arg2.x), 2) + Math.pow((_arg3.y - _arg2.y), 2))); _local5 = new Point(((3 * (_arg2.x - _arg3.x)) / _local4), ((3 * (_arg2.y - _arg3.y)) / _local4)); _local6 = (_arg2.x + ((_arg3.x - _arg2.x) / 1.5)); _local7 = (_arg2.y + ((_arg3.y - _arg2.y) / 1.5)); _arg1.graphics.moveTo(_local6, _local7); _arg1.graphics.lineTo(((_local6 + (_local5.x * 0.866)) - (_local5.y / 2)), ((_local7 + (_local5.x / 2)) + (_local5.y * 0.866))); _arg1.graphics.moveTo(_local6, _local7); _arg1.graphics.lineTo(((_local6 + (_local5.x * 0.866)) + (_local5.y / 2)), ((_local7 - (_local5.x / 2)) + (_local5.y * 0.866))); } public function waveRolling(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; if (!isPause){ _local2 = _arg1.currentTarget; _local3 = _local2.container.getChildAt(0); speedRoll = (speedRoll + dspeedRoll); if (dspeedRoll == 3){ score = (score + int((curwave * multScore))); }; _local4 = int(speedRoll); _local3.x = (_local3.x + _local4); _local3.rotation = (_local3.rotation + speedRotate); if (_local3.x > 200){ nextWave(); dspeedRoll = 0.05; speedRotate = 3; _local5 = new ledakanRoll(); efekwave.addChild(_local5); _local6 = _local2.localToGlobal(new Point(_local3.x, _local3.y)); _local5.x = _local6.x; _local5.y = _local6.y; Zound("nextWavesfx"); _local2.container.removeChild(_local3); if (_local2.container.numChildren <= 0){ wavebar.removeEventListener(Event.ENTER_FRAME, waveRolling); wavebar.removeEventListener(MouseEvent.CLICK, clickNextWave); }; }; if (_local2.container.numChildren > 1){ _local7 = (_local2.container.numChildren - 1); while (_local7 >= 1) { _local8 = _local2.container.getChildAt(_local7); if (_local8.x >= 160){ }; _local8.x = (_local8.x + _local4); _local8.rotation = (_local8.rotation + speedRotate); _local7--; }; }; speedRoll = (speedRoll - _local4); }; } public function pauseClick(_arg1:MouseEvent){ var _local2:*; var _local3:*; isPause = !(isPause); if (isPause){ _local2 = new pausePanel(); _local2.name = "pauseku"; _local2.x = 320; _local2.y = 240; addChild(_local2); if (medal[1] == 0){ medal[1] = 1; saveMedal(2); }; } else { _local3 = getChildByName("pauseku"); removeChild(_local3); }; } public function loading(_arg1:ProgressEvent){ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:*; _local2 = _arg1.bytesLoaded; _local3 = _arg1.bytesTotal; _local4 = (_local2 / _local3); _local5 = int((_local4 * 310)); loader_mc.animate.gotoAndStop(_local5); } public function cekWinningMedal(){ if (difficulty == __EASY){ if (medal[3] == 0){ medal[3] = 1; saveMedal(4); }; if (live == 20){ if (medal[17] == 0){ medal[17] = 1; saveMedal(18); }; }; } else { if (difficulty == __NORMAL){ if (medal[4] == 0){ medal[4] = 1; saveMedal(5); }; if (live == 20){ if (medal[18] == 0){ medal[18] = 1; saveMedal(19); }; }; } else { if (difficulty == __HARD){ if (medal[5] == 0){ medal[5] = 1; saveMedal(6); }; if (live == 10){ if (medal[19] == 0){ medal[19] = 1; saveMedal(20); }; }; } else { if (difficulty == __CHALLENGE1){ if (medal[6] == 0){ medal[6] = 1; saveMedal(7); }; } else { if (difficulty == __CHALLENGE2){ if (medal[7] == 0){ medal[7] = 1; saveMedal(8); }; } else { if (difficulty == __CHALLENGE3){ if (medal[14] == 0){ medal[14] = 1; saveMedal(15); }; } else { if (difficulty == __CHALLENGE4){ if (medal[15] == 0){ medal[15] = 1; saveMedal(16); }; } else { if (difficulty == __CHALLENGE5){ if (medal[16] == 0){ medal[16] = 1; saveMedal(17); }; }; }; }; }; }; }; }; }; } public function showComboHit(){ if (comboCount >= 5){ animcombo.visible = true; animcombo.combomc.combotext.text = (comboCount + " combo hit!"); animcombo.x = 115; animcombo.y = 30; animcombo.play(); score = (score + (comboCount * 100)); }; } public function buildTower(_arg1:MouseEvent){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; if (!isPause){ _local2 = _arg1.currentTarget; _local3 = _local2.parent; if (_local2.body.hitTestObject(_local3.myMap)){ _local4 = Math.floor((mouseX / MyData.nodeSize())); _local5 = Math.floor((mouseY / MyData.nodeSize())); _local6 = []; if (areaClear(_local4, _local5)){ if (myLevel[_local5][_local4] == 0){ if ((_local2 is Tower1)){ myLevel[_local5][_local4] = 2; } else { if ((_local2 is Tower2)){ myLevel[_local5][_local4] = 3; } else { if ((_local2 is Tower3)){ myLevel[_local5][_local4] = 4; } else { if ((_local2 is Tower4)){ myLevel[_local5][_local4] = 5; } else { if ((_local2 is Tower5)){ myLevel[_local5][_local4] = 6; } else { if ((_local2 is Tower6)){ myLevel[_local5][_local4] = 7; } else { if ((_local2 is Tower7)){ myLevel[_local5][_local4] = 8; } else { if ((_local2 is Tower8)){ myLevel[_local5][_local4] = 9; } else { if ((_local2 is Wall1)){ myLevel[_local5][_local4] = 10; } else { if ((_local2 is Wall2)){ myLevel[_local5][_local4] = 11; } else { if ((_local2 is Wall3)){ myLevel[_local5][_local4] = 12; } else { if ((_local2 is Trap1)){ myLevel[_local5][_local4] = 13; } else { if ((_local2 is Building1)){ myLevel[_local5][_local4] = 14; } else { if ((_local2 is Building2)){ myLevel[_local5][_local4] = 15; }; }; }; }; }; }; }; }; }; }; }; }; }; }; if (searchPathAll()){ stopDrag(); _local3.myBuilding.addChild(_local2); _local2.x = (_local4 * MyData.nodeSize()); _local2.y = (_local5 * MyData.nodeSize()); _local2.removeEventListener(MouseEvent.MOUSE_DOWN, buildTower); if (isTower(_local2)){ _local2.body.addEventListener(MouseEvent.CLICK, showStatusTower, false, 0, true); _local2.area.addEventListener(MouseEvent.CLICK, klikAction, false, 0, true); } else { if (((isWall(_local2)) || (isBuilding(_local2)))){ _local2.body.addEventListener(MouseEvent.CLICK, showStatusWall, false, 0, true); }; }; isiMap[_local5][_local4] = _local2; refreshMap(); hasTowerOnHand = false; towerOnHand = null; money = (money - int(_local2.getCost(_local2.getLevel()))); if ((_local2 is Building1)){ money = (money - (jumCornPlant * factorCornPrize)); jumCornPlant++; } else { if ((_local2 is Building2)){ money = (money - (jumLilyPlant * factorLilyPrize)); jumLilyPlant++; }; }; jumBuildTower++; cekMedalTower(); _local7 = new barAnim(); _local7.stop(); _local7.x = _local2.x; _local7.y = _local2.y; _local7.maxctr = _local2.getTimeBuild(_local2.getLevel()); _local7.ctr = 0; _local7.tgt = _local2; _local7.addEventListener(Event.ENTER_FRAME, delayBuild, false, 0, true); efek2.addChild(_local7); grid.visible = false; } else { Zound("errorSound"); animblocking.visible = true; animblocking.x = 210; animblocking.y = 190; animblocking.gotoAndPlay(1); myLevel[_local5][_local4] = 0; }; }; } else { Zound("errorSound"); animblocking.visible = true; animblocking.x = 210; animblocking.y = 190; animblocking.gotoAndPlay(1); }; } else { _local2.removeEventListener(MouseEvent.MOUSE_DOWN, buildTower); _local3.removeChild(_local2); hasTowerOnHand = false; towerOnHand = null; grid.visible = false; }; }; } public function showStatus(_arg1:Event){ var format:TextFormat; var pnl:*; var e = _arg1; try { if (curSelection != null){ format = new TextFormat(); format.letterSpacing = 1; pnl = e.currentTarget; pnl.info_text.defaultTextFormat = format; pnl.info_text.autoSize = TextFieldAutoSize.CENTER; pnl.type_text.text = curSelection.getType(); pnl.lvl_text.text = curSelection.getLevel(); pnl.cost_text.text = curSelection.getCost((curSelection.getLevel() + 1)); pnl.power_text.text = curSelection.getPower(); pnl.range_text.text = curSelection.getRange(); pnl.speed_text.text = curSelection.getSpeed(); pnl.info_text.text = curSelection.getInfo(); } else { pnl.removeEventListener(Event.ENTER_FRAME, showStatus); }; } catch(err:Error) { trace("error showing status"); e.target.removeEventListener(Event.ENTER_FRAME, showStatus); }; } public function cancelAction(){ var _local1:*; if (curSelection != null){ if (isTower(curSelection)){ curSelection.area.visible = false; }; _local1 = panel_tower; _local1.x = 700; _local1.y = 270; _local1.removeEventListener(Event.ENTER_FRAME, showStatus); curSelection = null; }; } public function Zound(_arg1){ var _local2:*; var _local3:*; _local2 = _arg1; if (isNaN(_arg1)){ _local2 = -1; _local3 = 0; while (_local3 < SoundPack.length) { if (_arg1 == SoundPack[_local3].idname){ _local2 = _local3; break; }; _local3++; }; }; if (_local2 >= 0){ sfxChannel = SoundPack[_local2].play(0, 1, sfxVolume); }; } public function cekMedalKillMonster(){ if ((((jumKillMonster >= 100)) && ((medal[11] == 0)))){ medal[11] = 1; saveMedal(12); } else { if ((((jumKillMonster >= 500)) && ((medal[12] == 0)))){ medal[12] = 1; saveMedal(13); } else { if ((((jumKillMonster >= 1000)) && ((medal[13] == 0)))){ medal[13] = 1; saveMedal(14); }; }; }; } public function klikchallenge(_arg1:MouseEvent){ choosediff.play(); } public function removeStartPosition(){ var _local1:*; var _local2:*; _local1 = (efek2.numChildren - 1); while (_local1 >= 0) { _local2 = efek2.getChildAt(_local1); if (_local2.name.substr(0, 5) == "arrow"){ efek2.removeChild(_local2); }; _local1--; }; } public function klikhard(_arg1:MouseEvent){ difficulty = __HARD; gotoAndStop("gamehard"); } public function areaClear(_arg1, _arg2):Boolean{ var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local3 = true; _local4 = 0; while (_local4 < enemies.numChildren) { _local5 = enemies.getChildAt(_local4); _local6 = _local5.getIndexPos(); if ((((_local6.x == _arg1)) && ((_local6.y == _arg2)))){ _local3 = false; break; }; _local4++; }; return (_local3); } public function gotoFrame(_arg1:String){ tgtframe = _arg1; trans.play(); } public function upKey(_arg1:KeyboardEvent){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = _arg1.keyCode; if (_local2 == 49){ createBuilding(1); } else { if (_local2 == 50){ if (difficulty != __CHALLENGE3){ createBuilding(2); }; } else { if (_local2 == 51){ if (difficulty != __CHALLENGE3){ createBuilding(3); }; } else { if (_local2 == 52){ if (difficulty != __CHALLENGE3){ createBuilding(4); }; } else { if (_local2 == 53){ if (difficulty != __CHALLENGE3){ createBuilding(5); }; } else { if (_local2 == 54){ if (difficulty != __CHALLENGE3){ createBuilding(6); }; } else { if (_local2 == 55){ if (difficulty != __CHALLENGE3){ createBuilding(7); }; } else { if (_local2 == 56){ if (difficulty != __CHALLENGE3){ createBuilding(8); }; } else { if (_local2 == 81){ createBuilding(9); } else { if (_local2 == 87){ createBuilding(10); } else { if (_local2 == 69){ createBuilding(11); } else { if (_local2 == 82){ createBuilding(12); } else { if (_local2 == 65){ if (difficulty != __CHALLENGE4){ createBuilding(13); }; } else { if (_local2 == 83){ if (difficulty != __CHALLENGE4){ createBuilding(14); }; } else { if (_local2 == 80){ isPause = !(isPause); if (isPause){ _local3 = new pausePanel(); _local3.name = "pauseku"; _local3.x = 320; _local3.y = 240; addChild(_local3); if (medal[1] == 0){ medal[1] = 1; saveMedal(2); }; } else { _local4 = getChildByName("pauseku"); removeChild(_local4); }; } else { if (_local2 == 90){ upgradeTower(new MouseEvent(MouseEvent.CLICK)); } else { if (_local2 == 88){ if (((!((curSelection == null))) && (!(curSelection.upgrading)))){ _local5 = new barAnim(); _local5.stop(); _local5.x = curSelection.x; _local5.y = curSelection.y; _local5.maxctr = curSelection.getTimeBuild(curSelection.getLevel()); _local5.ctr = 0; _local5.tgt = curSelection; _local5.addEventListener(Event.ENTER_FRAME, delayDestroy, false, 0, true); efek2.addChild(_local5); money = (money + int((int(curSelection.getCost(curSelection.getLevel())) / 2))); curSelection.deActivateBuilding(); curSelection = null; panel_tower.x = 700; panel_tower.y = 270; panel_tower.removeEventListener(Event.ENTER_FRAME, showStatus); }; } else { if (_local2 == Keyboard.SPACE){ showEnemyHealth = !(showEnemyHealth); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } public function changeDay(){ var _local1:*; var _local2:*; isPause = true; _local1 = new transisi(); transisimc.addChild(_local1); _local2 = myBuilding.getChildByName("myHome"); _local2.play(); if (latar == 1){ _local1.gotoAndPlay("siang"); clock.clocksimbol.play(); } else { _local1.gotoAndPlay("malam"); clock.clocksimbol.play(); }; _local1 = new transisiawan(); efek2.addChild(_local1); _local1.gotoAndPlay(2); Zound("awanlewat"); } public function clickSF(_arg1:MouseEvent):void{ var _local2:URLRequest; if (medal[2] == 0){ medal[2] = 1; saveMedal(3); }; _local2 = new URLRequest("http://www.smallfarmstudio.com"); navigateToURL(_local2, "_blank"); } public function isBuilding(_arg1:MovieClip):Boolean{ return ((((_arg1 is Building1)) || ((_arg1 is Building2)))); } public function overchallenge(_arg1:MouseEvent){ choosediff.infotxt.text = "More Challenges"; } public function initBasicGame(){ jumCornPlant = 0; jumLilyPlant = 0; } public function isWall(_arg1:MovieClip):Boolean{ return ((((((((_arg1 is Wall1)) || ((_arg1 is Wall2)))) || ((_arg1 is Wall3)))) || ((_arg1 is Trap1)))); } public function initMap(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:MovieClip; grid = new Sprite(); grid.x = 0; grid.y = 0; grid.mouseEnabled = false; efek2.addChild(grid); _local1 = new MapBG(); _local1.name = "mapbg"; myMap.addChild(_local1); myMap.addEventListener(MouseEvent.MOUSE_DOWN, klikAction, false, 0, true); _local1.gotoAndStop(latar); isiMap = new Array(myLevel.length); _local3 = 0; while (_local3 < myLevel[0].length) { isiMap[_local3] = new Array(myLevel[0].length); _local3++; }; _local2 = 1; _local3 = 0; while (_local3 < myLevel.length) { _local4 = 0; while (_local4 < myLevel[_local3].length) { _local5 = new walkTile(); _local5.x = (_local4 * MyData.nodeSize()); _local5.y = (_local3 * MyData.nodeSize()); if ((((myLevel[_local3][_local4] == 2)) || ((myLevel[_local3][_local4] == -1)))){ _local5.alpha = 0.7; } else { _local5.alpha = 0.2; }; _local5.cacheAsBitmap = true; grid.addChild(_local5); if (myLevel[_local3][_local4] == 1){ _local5 = new House(); _local5.x = ((_local4 * MyData.nodeSize()) + (MyData.nodeSize() / 2)); _local5.y = ((_local3 * MyData.nodeSize()) + (MyData.nodeSize() / 2)); _local5.name = "myHome"; myBuilding.addChild(_local5); _local5.gotoAndStop("siang"); } else { if (myLevel[_local3][_local4] == 14){ _local5 = new Building1(); _local5.x = (_local4 * MyData.nodeSize()); _local5.y = (_local3 * MyData.nodeSize()); var _temp1 = _local2; _local2 = (_local2 + 1); _local5.name = ("corn" + _temp1); myBuilding.addChild(_local5); _local5.body.addEventListener(MouseEvent.CLICK, showStatusWall, false, 0, true); isiMap[_local3][_local4] = _local5; }; }; _local4++; }; _local3++; }; grid.visible = false; } public function creditclick(_arg1:MouseEvent){ if (medal[0] == 0){ medal[0] = 1; saveMedal(1); }; gotoFrame("creditpage"); } public function overTrap1(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(databuilding[1]); } public function overTrap2(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(databuilding[2]); } public function overTrap4(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(databuilding[4]); } public function clickNextWave(_arg1:MouseEvent){ if (isSpawning){ dspeedRoll = 3; speedRotate = 15; }; } public function backToMenu(_arg1:MouseEvent){ gotoFrame("mainmenu"); } public function overTrap3(_arg1:MouseEvent){ cancelAction(); showPanelBantuan(databuilding[3]); } public function optionclick(_arg1:MouseEvent){ animpanel.play(); } public function klikAction(_arg1:MouseEvent){ cancelAction(); } public function completes(_arg1:Event){ gotoFrame("splash1"); } public function upgradeTower(_arg1:MouseEvent){ var _local2:*; if (((!((curSelection == null))) && (isTower(curSelection)))){ if ((((curSelection.getLevel() < 5)) && (!(curSelection.upgrading)))){ if (money >= curSelection.getCost((curSelection.getLevel() + 1))){ curSelection.levelUp(); money = (money - int(curSelection.getCost(curSelection.getLevel()))); _local2 = new barAnim(); _local2.stop(); _local2.x = curSelection.x; _local2.y = curSelection.y; _local2.maxctr = curSelection.getTimeBuild(curSelection.getLevel()); _local2.ctr = 0; _local2.tgt = curSelection; _local2.addEventListener(Event.ENTER_FRAME, delayBuild, false, 0, true); efek2.addChild(_local2); } else { Zound("errorSound"); showInsufficientFund(); }; } else { Zound("errorSound"); if (curSelection.getLevel() >= 5){ showLevelMaxNotice(); }; }; }; } public function klikchal1(_arg1:MouseEvent){ difficulty = __CHALLENGE1; gotoAndStop("gamechallenge1"); } public function klikchal2(_arg1:MouseEvent){ difficulty = __CHALLENGE2; gotoAndStop("gamechallenge2"); } public function klikchal3(_arg1:MouseEvent){ difficulty = __CHALLENGE3; gotoAndStop("gamechallenge3"); } public function backToMainmenu(_arg1:MouseEvent){ endGame(); gotoFrame("mainmenu"); } public function showInsufficientFund(){ animcombo.visible = true; animcombo.combomc.combotext.text = "Insufficient fund!"; animcombo.x = 115; animcombo.y = 30; animcombo.play(); } public function startWave(_arg1:MouseEvent){ var _local2:*; var _local3:*; var _local4:*; removeStartPosition(); wavebar.addEventListener(Event.ENTER_FRAME, waveRolling, false, 0, true); wavebar.addEventListener(MouseEvent.CLICK, clickNextWave, false, 0, true); _local2 = (myBuilding.numChildren - 1); while (_local2 >= 0) { _local4 = myBuilding.getChildAt(_local2); if (_local4.name == "myHome"){ } else { _local4.activateBuilding(); }; _local2--; }; hasStarted = true; _local3 = _arg1.target.parent; _local3.removeChild(_arg1.target); } public function overchal1(_arg1:MouseEvent){ choosediff.infotxt.text = "Fast Enemy.\n\n40 Waves of deadly Fast enemy!"; } public function overchal3(_arg1:MouseEvent){ choosediff.infotxt.text = "Mission Impossible.\n\n40 Waves of enemy, but you can only use the 1st GUARD to protect you!"; } public function overchal4(_arg1:MouseEvent){ choosediff.infotxt.text = "Limited Money.\n\nGiven a limited number of money, but you cannot build CROPS plant!"; } public function showLevelMaxNotice(){ animcombo.visible = true; animcombo.combomc.combotext.text = "Level Maxed!"; animcombo.x = 115; animcombo.y = 30; animcombo.play(); } public function overchal2(_arg1:MouseEvent){ choosediff.infotxt.text = "Spawn Enemy.\n\n40 Waves of deadly Spawning enemy!"; } public function overchal5(_arg1:MouseEvent){ choosediff.infotxt.text = "Sudden Death.\n\nYou only have 1 live! Be very careful!"; } public function kliktutorial(_arg1:MouseEvent){ gotoAndStop("tutorial"); } public function klikchal4(_arg1:MouseEvent){ difficulty = __CHALLENGE4; gotoAndStop("gamechallenge4"); } public function klikchal5(_arg1:MouseEvent){ difficulty = __CHALLENGE5; gotoAndStop("gamechallenge5"); } public function overnormal(_arg1:MouseEvent){ choosediff.infotxt.text = "Normal mode.\n\n40 Waves, normal money multiplier value, moderate enemy HP"; } public function delayBuild(_arg1:Event){ var _local2:*; if (!isPause){ _arg1.currentTarget.gotoAndStop(int(((_arg1.currentTarget.ctr / _arg1.currentTarget.maxctr) * 100))); if (++_arg1.currentTarget.ctr > _arg1.currentTarget.maxctr){ _arg1.currentTarget.tgt.alpha = 1; if (hasStarted){ _arg1.currentTarget.tgt.activateBuilding(); } else { _arg1.currentTarget.tgt.upgrading = false; }; _arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, delayBuild); _local2 = _arg1.currentTarget.parent; _local2.removeChild(_arg1.currentTarget); }; }; } public function outPanelBantuan(_arg1:MouseEvent){ panel_bantuan.x = 800; panel_bantuan.y = 800; panel_bantuan.visible = false; } public function cekCombo(){ doCombo = true; comboCount++; curComboTimer = maxComboTimer; } public function overeasy(_arg1:MouseEvent){ choosediff.infotxt.text = "Easy mode.\n\n30 Waves, high money multiplier value, reduced enemy HP"; } public function sellTower(_arg1:MouseEvent){ var _local2:*; if (((!((curSelection == null))) && (!(curSelection.upgrading)))){ _local2 = new barAnim(); _local2.stop(); _local2.x = curSelection.x; _local2.y = curSelection.y; _local2.maxctr = curSelection.getTimeBuild(curSelection.getLevel()); _local2.ctr = 0; _local2.tgt = curSelection; _local2.addEventListener(Event.ENTER_FRAME, delayDestroy, false, 0, true); efek2.addChild(_local2); money = (money + int((int(curSelection.getCost(curSelection.getLevel())) / 2))); curSelection.deActivateBuilding(); curSelection = null; closePanel(_arg1); trace("selling"); }; } public function skipping2(_arg1:MouseEvent){ gotoFrame("cdiff"); } public function initGameChallenge1(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1; multEnHp = 1; multScore = 1; jumBuildTower = 0; jumCallWave = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 1500; latar = 1; live = 20; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}]; enwave = [{jum:10, tipe:2, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:21, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:23, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:30, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:36, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:46, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:57, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:71, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:90, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:111, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:139, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:174, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:218, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:272, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:341, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:426, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:532, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:666, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:832, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:936, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1053, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1316, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1645, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:2057, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:2572, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:3215, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:4019, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:5023, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:6280, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:7850, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:8832, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:9813, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:11060, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:12805, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:14106, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:15752, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:17344, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:19088, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:20990, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22500, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function initGameChallenge2(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1; multEnHp = 1; multScore = 1; jumBuildTower = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 1500; latar = 1; live = 20; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:31, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:39, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:48, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:61, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:76, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:95, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:119, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:143, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:171, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:205, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:247, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:296, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:355, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:427, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:0x0200, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:589, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:677, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:779, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:896, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:1030, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:1185, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:1363, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:1567, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:1724, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:1897, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:2086, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:2295, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:2525, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:2777, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:3055, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:3361, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:3529, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:3705, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:3890, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:4085, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:4289, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:4504, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:4729, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:6, tipe:5, hp:4965, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function initGameChallenge3(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1; multEnHp = 1; multScore = 1; jumBuildTower = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 1500; latar = 1; live = 20; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:49, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:18, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:54, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:61, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:390, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:45, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:68, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:153, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:77, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:114, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:156, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:234, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:1290, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:180, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:270, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:607, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:304, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:456, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:684, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:1026, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:7700, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:720, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1080, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:2430, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:1215, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:1825, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:2730, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:4100, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:30750, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:3240, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:4860, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:10935, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:4095, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:6150, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:9225, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:13770, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:3, tipe:8, hp:77000, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.enabled = false; btn3.enabled = false; btn4.enabled = false; btn5.enabled = false; btn6.enabled = false; btn7.enabled = false; btn8.enabled = false; btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function initGameChallenge5(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1; multEnHp = 1; multScore = 1; jumBuildTower = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 1500; latar = 1; live = 1; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:49, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:18, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:54, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:61, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:390, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:45, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:68, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:153, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:77, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:114, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:156, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:234, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:1290, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:180, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:270, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:607, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:304, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:456, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:684, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:1026, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:7700, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:720, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1080, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:2430, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:1215, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:1825, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:2730, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:4100, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:30750, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:3240, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:4860, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:10935, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:4095, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:6150, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:9225, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:13770, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:3, tipe:8, hp:77000, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function closePanel(_arg1:MouseEvent){ var _local2:*; _local2 = _arg1.currentTarget.parent; _local2.x = 700; _local2.y = 270; _local2.removeEventListener(Event.ENTER_FRAME, showStatus); } public function loadinit(_arg1:Event){ trace("::::Started::::"); } public function initGameChallenge4(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1; multEnHp = 1; multScore = 1; jumBuildTower = 0; jumCallWave = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 150000; latar = 1; live = 20; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:49, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:18, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:54, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:61, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:390, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:45, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:68, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:153, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:77, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:114, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:156, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:234, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:1290, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:180, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:270, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:607, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:304, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:456, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:684, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:1026, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:7700, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:720, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1080, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:2430, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:1215, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:1825, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:2730, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:4100, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:30750, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:3240, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:4860, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:10935, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:4095, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:6150, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:9225, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:13770, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:3, tipe:8, hp:77000, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.enabled = false; btn14.enabled = false; btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function playclick(_arg1:MouseEvent){ gotoFrame("movieop"); Muzic(-1); } public function showStatusTower(_arg1:MouseEvent){ if (((!((curSelection == null))) && (!((curSelection == _arg1.currentTarget.parent))))){ cancelAction(); }; panel_tower.x = 450; panel_tower.y = 325; panel_tower.btn_upgrade.visible = true; panel_tower.addEventListener(Event.ENTER_FRAME, showStatus, false, 0, true); curSelection = _arg1.currentTarget.parent; curSelection.area.visible = true; curSelection.area.alpha = 0.3; } public function pressKey(_arg1:KeyboardEvent){ var keyPressed:*; var runner:*; var r:*; var e = _arg1; keyPressed = e.keyCode; if (keyPressed == Keyboard.RIGHT){ runner = new Zombie1(); enemies.addChild(runner); r = MyData.randRange(0, (initialWay.length - 1)); runner.initPosition(initialWay[r].x, initialWay[r].y); runner.initTarget(mytarget.x, mytarget.y); runner.setObstacle(myBuilding); runner.setMap(myLevel); runner.setPaths(paths); runner.setInitData(10, 0, 10); runner.activateUnit(); } else { if (keyPressed == Keyboard.LEFT){ try { new LocalConnection().connect("foo"); new LocalConnection().connect("foo"); } catch(e) { }; } else { if (keyPressed == Keyboard.ESCAPE){ cancelAction(); }; }; }; } public function overCrop1(_arg1:MouseEvent){ databuilding[5] = (("CORN CROPS\n Generate a fix amount of money \n Cost : " + (50 + (jumCornPlant * factorCornPrize))) + " \n Shortcut : \"A\""); cancelAction(); showPanelBantuan(databuilding[5]); } public function overCrop2(_arg1:MouseEvent){ databuilding[6] = (("LILY CROPS\n Generate a small amount of money in Day, but gives more money on Night\n Cost : " + (50 + (jumLilyPlant * factorLilyPrize))) + " \n Shortcut : \"S\""); cancelAction(); showPanelBantuan(databuilding[6]); } public function createMonster(_arg1:Event){ var runner:*; var r:*; var tscore:*; var par:*; var e = _arg1; try { if (!isPause){ if (e.currentTarget.ctr-- <= 0){ if ((enwave[e.currentTarget.twave].jum-- > 0)){ switch (enwave[e.currentTarget.twave].tipe){ case 1: runner = new Zombie1(); break; case 2: runner = new Zombie2(); break; case 3: runner = new Zombie3(); break; case 4: runner = new Zombie4(); break; case 5: runner = new Zombie5(); break; case 6: runner = new Zombie6(); break; case 7: runner = new Zombie7(); break; case 8: runner = new ZombieBoss(); break; }; enemies.addChild(runner); r = MyData.randRange(0, (initialWay.length - 1)); runner.initPosition(initialWay[r].x, initialWay[r].y); runner.initTarget(mytarget.x, mytarget.y); runner.setObstacle(myBuilding); runner.setMap(myLevel); runner.setPaths(paths); tscore = (((curwave * enwave[e.currentTarget.twave].tipe) * 10) * multScore); runner.setScore(tscore); if (latar == 1){ runner.setInitData(int((enwave[e.currentTarget.twave].hp * multEnHp)), enwave[e.currentTarget.twave].mp, enwave[e.currentTarget.twave].power, enwave[e.currentTarget.twave].speed, enwave[e.currentTarget.twave].effect); } else { runner.setInitData(int((enwave[e.currentTarget.twave].hp + ((enwave[e.currentTarget.twave].hp / 2) * multEnHp))), enwave[e.currentTarget.twave].mp, enwave[e.currentTarget.twave].power, enwave[e.currentTarget.twave].speed, enwave[e.currentTarget.twave].effect); }; runner.waveke = e.currentTarget.twave; runner.activateUnit(); e.currentTarget.ctr = 25; jumenemy++; } else { if (!isSpawning){ endEnemyWave = true; }; e.currentTarget.removeEventListener(Event.ENTER_FRAME, createMonster); par = e.currentTarget.parent; par.removeChild(e.currentTarget); }; }; }; } catch(err:Error) { trace("error creating monster"); e.target.removeEventListener(Event.ENTER_FRAME, createMonster); }; } public function backMain(_arg1:MouseEvent){ gotoFrame("mainmenu"); } public function initGame1(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1.25; multEnHp = 0.6; multScore = 0.8; jumBuildTower = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 2000; latar = 1; live = 20; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:49, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:18, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:54, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:61, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:390, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:45, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:68, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:153, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:77, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:114, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:156, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:234, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:1160, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:180, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:270, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:607, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:304, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:456, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:684, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:1026, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:6900, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:720, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1080, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:2190, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:1215, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:1650, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:3, tipe:8, hp:12000, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function moreclick(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } public function initGame2(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 1; multEnHp = 1; multScore = 1; jumBuildTower = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 2000; latar = 1; live = 20; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:49, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:18, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:54, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:61, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:390, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:45, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:68, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:153, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:77, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:114, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:156, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:234, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:1290, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:180, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:270, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:607, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:304, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:456, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:684, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:1026, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:6900, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:720, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1080, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:2430, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:1215, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:1825, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:2730, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:4100, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:15735, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:3240, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:4860, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:9800, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:4095, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:6150, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:8300, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:12300, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:3, tipe:8, hp:38500, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function initGame3(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; multMoney = 0.75; multEnHp = 1.25; multScore = 1.5; jumBuildTower = 0; jumCallWave = 0; doCombo = false; comboCount = 0; maxComboTimer = (3 * 25); curComboTimer = 0; curSelection = null; hasTowerOnHand = false; towerOnHand = null; money = 2000; latar = 1; live = 10; score = 0; isPause = false; hasStarted = false; showEnemyHealth = false; initialWay = [new Point(10, 0), new Point(10, 20)]; mytarget = new Point(10, 10); showStartPosition(initialWay); initPanelTower(); initMap(); enwave = [{jum:15, tipe:1, hp:15, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:22, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:49, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:18, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:25, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:54, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:73, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:390, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:45, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:68, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:153, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:77, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:114, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:156, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:280, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:1290, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:180, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:270, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:607, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:304, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:456, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:684, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:1231, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:6900, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:720, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:1080, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:2430, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:1215, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:1825, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:2730, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:4560, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:15735, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:3240, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:4860, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:9300, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:4095, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:6150, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:6600, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:7020, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:29000, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:15, tipe:1, hp:4120, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:10, tipe:2, hp:5650, mp:10, power:10, speed:null, effect:parseInt("01111", 2)}, {jum:5, tipe:3, hp:12600, mp:10, power:10, speed:null, effect:parseInt("01011", 2)}, {jum:25, tipe:4, hp:7700, mp:10, power:10, speed:null, effect:parseInt("00111", 2)}, {jum:6, tipe:5, hp:8800, mp:10, power:10, speed:null, effect:parseInt("11111", 2)}, {jum:10, tipe:6, hp:9900, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:5, tipe:7, hp:10800, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:1, tipe:8, hp:35000, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}, {jum:10, tipe:6, hp:8900, mp:10, power:10, speed:null, effect:parseInt("00100", 2)}, {jum:3, tipe:8, hp:42500, mp:10, power:10, speed:null, effect:parseInt("01110", 2)}]; _local1 = 160; _local2 = 15; _local3 = 0; while (_local3 < enwave.length) { _local4 = new WaveRoll(); wavebar.container.addChild(_local4); _local4.x = _local1; _local4.y = _local2; _local4.gotoAndStop(enwave[_local3].tipe); _local1 = (_local1 - 40); _local3++; }; curwave = 0; jumwave = enwave.length; jumenemy = 0; dspeedRoll = 0.05; speedRoll = 0; speedRotate = 3; isSpawning = true; endEnemyWave = false; clockTimer = 0; halfDay = (180 * 25); clockTicking = true; clock.clocktick.stop(); clock.clocksimbol.stop(); searchPathAll(); this.addEventListener(Event.ENTER_FRAME, mainLoop, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, pressKey, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, upKey, false, 0, true); btn1.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn2.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn3.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn4.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn5.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn6.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn7.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn8.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn9.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn10.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn11.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn12.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn13.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn14.addEventListener(MouseEvent.CLICK, mouseClick, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OVER, overTower1, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OVER, overTower2, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OVER, overTower3, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OVER, overTower4, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OVER, overTower5, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OVER, overTower6, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OVER, overTower7, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OVER, overTower8, false, 0, true); btn1.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn2.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn3.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn4.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn5.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn6.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn7.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn8.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OVER, overTrap1, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OVER, overTrap2, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OVER, overTrap3, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OVER, overTrap4, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OVER, overCrop1, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OVER, overCrop2, false, 0, true); btn9.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn10.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn11.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn12.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn13.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn14.addEventListener(MouseEvent.MOUSE_OUT, outPanelBantuan, false, 0, true); btn_menu.addEventListener(MouseEvent.CLICK, pauseClick, false, 0, true); btn_startwave.addEventListener(MouseEvent.CLICK, startWave, false, 0, true); } public function searchNewMap(){ if (searchPathAll()){ refreshMap(); }; } public function endGame(){ var i:*; var par:*; so.data.medal = medal.concat(); so.data.jumKillMonster = jumKillMonster; so.flush(); this.removeEventListener(Event.ENTER_FRAME, mainLoop); wavebar.removeEventListener(Event.ENTER_FRAME, waveRolling); stage.removeEventListener(KeyboardEvent.KEY_DOWN, pressKey); stage.removeEventListener(KeyboardEvent.KEY_UP, upKey); if (towerOnHand){ towerOnHand.removeEventListener(MouseEvent.MOUSE_DOWN, buildTower); par = towerOnHand.parent; par.removeChild(towerOnHand); towerOnHand = null; }; i = (efek2.numChildren - 1); while (i >= 0) { efek2.removeChildAt(i); i = (i - 1); }; i = (myBuilding.numChildren - 1); while (i >= 0) { myBuilding.removeChildAt(i); i = (i - 1); }; i = (enemies.numChildren - 1); while (i >= 0) { enemies.removeChildAt(i); i = (i - 1); }; try { new LocalConnection().connect("foo"); new LocalConnection().connect("foo"); } catch(e) { }; } public function skipping(_arg1:MouseEvent){ var _local2:*; movop.gotoAndStop(movop.totalFrames); _local2 = movop.parent; _local2.removeChild(movop); gotoFrame("cdiff"); } public function saveMedal(_arg1:int){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; so.data.medal = medal.concat(); so.data.jumKillMonster = jumKillMonster; if (_arg1 > 0){ _local2 = 0; trace(this.numChildren); _local3 = 0; while (_local3 < this.numChildren) { _local5 = this.getChildAt(_local3); if (_local5.name == "gotmedal"){ _local2++; }; _local3++; }; _local4 = new animMedallion(); addChild(_local4); _local4.name = "gotmedal"; _local4.x = 740; _local4.y = (70 + (_local2 * 160)); _local4.mymedal.medal.gotoAndStop(1); _local4.mymedal.gotoAndStop(_arg1); _local4.mymedal.judul_achievement.text = achievementTitleText[(_arg1 - 1)]; }; } public function cekMedalTower(){ if ((((jumBuildTower >= 10)) && ((medal[8] == 0)))){ medal[8] = 1; saveMedal(9); } else { if ((((jumBuildTower >= 50)) && ((medal[9] == 0)))){ medal[9] = 1; saveMedal(10); } else { if ((((jumBuildTower >= 100)) && ((medal[10] == 0)))){ medal[10] = 1; saveMedal(11); }; }; }; } public function showStatusWall(_arg1:MouseEvent){ if (((!((curSelection == null))) && (!((curSelection == _arg1.currentTarget.parent))))){ cancelAction(); }; panel_tower.x = 450; panel_tower.y = 325; panel_tower.btn_upgrade.visible = false; panel_tower.addEventListener(Event.ENTER_FRAME, showStatus, false, 0, true); curSelection = _arg1.currentTarget.parent; } public function showStartPosition(_arg1:Array){ var _local2:*; var _local3:*; _local2 = 0; while (_local2 < _arg1.length) { _local3 = new arrow(); _local3.name = ("arrow" + _local2); _local3.scaleX = 0.5; _local3.scaleY = 0.5; _local3.x = ((_arg1[_local2].x * MyData.nodeSize()) + (MyData.nodeSize() / 2)); _local3.y = (_arg1[_local2].y * MyData.nodeSize()); if (_arg1[_local2].y == 20){ _local3.rotation = 180; }; efek2.addChild(_local3); _local2++; }; } public function overhard(_arg1:MouseEvent){ choosediff.infotxt.text = "Hard mode.\n\n50 Waves, low money multiplier value, increased enemy HP"; } public function movePFX(_arg1:Event){ var _local2:*; _local2 = _arg1.target.parent; if (_arg1.target.live-- < 0){ _arg1.target.removeEventListener(Event.ENTER_FRAME, movePFX); _local2.removeChild(_arg1.target); } else { _arg1.target.x = (_arg1.target.x + _arg1.target.dx); _arg1.target.y = (_arg1.target.y + _arg1.target.dy); }; } public function breakCombo(){ curComboTimer = 0; showComboHit(); comboCount = 0; doCombo = false; } public function createBuilding(_arg1:int){ var _local2:*; var _local3:*; var _local4:*; if (towerOnHand){ towerOnHand.removeEventListener(MouseEvent.MOUSE_DOWN, buildTower); _local4 = towerOnHand.parent; _local4.removeChild(towerOnHand); towerOnHand = null; }; _local3 = false; switch (_arg1){ case 1: if (money >= Tower1._COST[0]){ _local2 = new Tower1(); _local3 = true; }; break; case 2: if (money >= Tower2._COST[0]){ _local2 = new Tower2(); _local3 = true; }; break; case 3: if (money >= Tower3._COST[0]){ _local2 = new Tower3(); _local3 = true; }; break; case 4: if (money >= Tower4._COST[0]){ _local2 = new Tower4(); _local3 = true; }; break; case 5: if (money >= Tower5._COST[0]){ _local2 = new Tower5(); _local3 = true; }; break; case 6: if (money >= Tower6._COST[0]){ _local2 = new Tower6(); _local3 = true; }; break; case 7: if (money >= Tower7._COST[0]){ _local2 = new Tower7(); _local3 = true; }; break; case 8: if (money >= Tower8._COST[0]){ _local2 = new Tower8(); _local3 = true; }; break; case 9: if (money >= Wall1._COST[0]){ _local2 = new Wall1(); _local3 = true; }; break; case 10: if (money >= Wall2._COST[0]){ _local2 = new Wall2(); _local3 = true; }; break; case 11: if (money >= Wall3._COST[0]){ _local2 = new Wall3(); _local3 = true; }; break; case 12: if (money >= Trap1._COST[0]){ _local2 = new Trap1(); _local3 = true; }; break; case 13: if (money >= (Building1._COST[0] + (jumCornPlant * factorCornPrize))){ _local2 = new Building1(); _local3 = true; }; break; case 14: if (money >= (Building2._COST[0] + (jumLilyPlant * factorLilyPrize))){ _local2 = new Building2(); _local3 = true; }; break; }; if (_local3){ _local2.x = (mouseX - 10); _local2.y = (mouseY - 10); _local2.alpha = 0.5; this.addChild(_local2); _local2.startDrag(); _local2.addEventListener(MouseEvent.MOUSE_DOWN, buildTower, false, 0, true); towerOnHand = _local2; hasTowerOnHand = true; grid.visible = true; } else { Zound("errorSound"); showInsufficientFund(); }; } public function mouseClick(_arg1:MouseEvent){ if (!isPause){ createBuilding(int(_arg1.currentTarget.name.substr(3, 2))); }; } public function changeDay2(){ var _local1:*; if (latar == 1){ latar = 2; } else { latar = 1; }; _local1 = myMap.getChildByName("mapbg"); _local1.gotoAndStop(latar); isPause = false; } public function createParticleFX(_arg1){ var _local2:*; var _local3:*; var _local4:*; if (usingParticle){ _local2 = MyData.randRange(5, 10); _local3 = 1; while (_local3 <= _local2) { _local4 = new Percik(); _local4.x = _arg1.x; _local4.y = _arg1.y; _local4.dx = MyData.randRange(-2, 2); _local4.dy = MyData.randRange(-2, 2); _local4.live = 15; _local4.alpha = (Math.random() + 0.5); _local4.cacheAsBitmap = true; _local4.addEventListener(Event.ENTER_FRAME, movePFX, false, 0, true); efek2.addChild(_local4); _local3++; }; }; } public function mainLoop(_arg1:Event){ var _local2:*; if (!isPause){ jumenemies.text = String(enemies.numChildren); memtext.text = String(System.totalMemory); moneytext.text = String(money); livetext.text = String(live); scoretext.text = String(score); wavetext.text = String(curwave); if (clockTicking){ clockTimer++; if (clockTimer >= halfDay){ clockTimer = 0; changeDay(); }; _local2 = int(((clockTimer / halfDay) * 10)); clock.clocktick.gotoAndStop(_local2); }; if (doCombo){ if (--curComboTimer <= 0){ showComboHit(); comboCount = 0; doCombo = false; }; }; if (this.live <= 0){ endGame(); gotoFrame("gameover"); }; if (((endEnemyWave) && ((jumenemy <= 0)))){ breakCombo(); endGame(); cekWinningMedal(); gotoFrame("winning"); }; }; } } }//package greenprotector_fla
Section 44
//maneater_162 (greenprotector_fla.maneater_162) package greenprotector_fla { import flash.display.*; public dynamic class maneater_162 extends MovieClip { public function maneater_162(){ addFrameScript(1, frame2); } function frame2(){ stop(); } } }//package greenprotector_fla
Section 45
//mc_tutorial_310 (greenprotector_fla.mc_tutorial_310) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_tutorial_310 extends MovieClip { public var btn_next:SimpleButton; public var clock:MovieClip; public var panel_tower:MovieClip; public var livetext:TextField; public var btn3:SimpleButton; public var btn7:SimpleButton; public var btn2:SimpleButton; public var btn4:SimpleButton; public var btn8:SimpleButton; public var btn6:SimpleButton; public var btn1:SimpleButton; public var btn5:SimpleButton; public var btn9:SimpleButton; public var btn10:SimpleButton; public var btn11:SimpleButton; public var btn14:SimpleButton; public var btn12:SimpleButton; public var wavetext:TextField; public var wavebar:MovieClip; public var btn_menu:SimpleButton; public var body:MovieClip; public var scoretext:TextField; public var btn13:SimpleButton; public var moneytext:TextField; public function mc_tutorial_310(){ addFrameScript(0, frame1, 14, frame15, 67, frame68); } public function lanjut(_arg1:MouseEvent){ nextFrame(); } function frame1(){ btn_next.addEventListener(MouseEvent.CLICK, lanjut, false, 0, true); } function frame15(){ stop(); } public function letsGo(_arg1:MouseEvent){ var _local2:*; _local2 = this.root; _local2.gotoFrame("cdiff"); } function frame68(){ btn_next.removeEventListener(MouseEvent.CLICK, lanjut); btn_next.addEventListener(MouseEvent.CLICK, letsGo, false, 0, true); } } }//package greenprotector_fla
Section 46
//medalionall_233 (greenprotector_fla.medalionall_233) package greenprotector_fla { import flash.display.*; import flash.text.*; public dynamic class medalionall_233 extends MovieClip { public var medal:MovieClip; public var judul_achievement:TextField; } }//package greenprotector_fla
Section 47
//musicloader_203 (greenprotector_fla.musicloader_203) package greenprotector_fla { import flash.display.*; public dynamic class musicloader_203 extends MovieClip { public function musicloader_203(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 48
//opencreditmedal_234 (greenprotector_fla.opencreditmedal_234) package greenprotector_fla { import flash.display.*; public dynamic class opencreditmedal_234 extends MovieClip { public function opencreditmedal_234(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 49
//openingclip_275 (greenprotector_fla.openingclip_275) package greenprotector_fla { import flash.display.*; import flash.events.*; public dynamic class openingclip_275 extends MovieClip { public var btn_replay:SimpleButton; public function openingclip_275(){ addFrameScript(2476, frame2477); } function frame2477(){ stop(); btn_replay.addEventListener(MouseEvent.CLICK, replaying); } public function replaying(_arg1:MouseEvent){ play(); } } }//package greenprotector_fla
Section 50
//panelhscore_396 (greenprotector_fla.panelhscore_396) package greenprotector_fla { import flash.display.*; public dynamic class panelhscore_396 extends MovieClip { public var baris4:MovieClip; public var baris1:MovieClip; public var baris3:MovieClip; public var baris5:MovieClip; public var baris9:MovieClip; public var baris7:MovieClip; public var baris8:MovieClip; public var baris10:MovieClip; public var btn_close:SimpleButton; public var baris6:MovieClip; public var baris2:MovieClip; } }//package greenprotector_fla
Section 51
//paneloption_211 (greenprotector_fla.paneloption_211) package greenprotector_fla { import fl.controls.*; import flash.display.*; public dynamic class paneloption_211 extends MovieClip { public var qmedmark:MovieClip; public var btn_particle:MovieClip; public var particlemark:MovieClip; public var btn_close:SimpleButton; public var btn_qlow:MovieClip; public var btn_backtomainmenu:SimpleButton; public var SFX:Slider; public var qlowmark:MovieClip; public var BGM:Slider; public var btn_qmed:MovieClip; public var qhighmark:MovieClip; public var btn_qhigh:MovieClip; } }//package greenprotector_fla
Section 52
//panelstatus2_368 (greenprotector_fla.panelstatus2_368) package greenprotector_fla { import flash.display.*; import flash.text.*; public dynamic class panelstatus2_368 extends MovieClip { public var info_text:TextField; } }//package greenprotector_fla
Section 53
//panelstatustower_341 (greenprotector_fla.panelstatustower_341) package greenprotector_fla { import flash.display.*; import flash.text.*; public dynamic class panelstatustower_341 extends MovieClip { public var type_text:TextField; public var info_text:TextField; public var speed_text:TextField; public var power_text:TextField; public var lvl_text:TextField; public var btn_upgrade:SimpleButton; public var cost_text:TextField; public var btn_close:SimpleButton; public var btn_sell:SimpleButton; public var range_text:TextField; } }//package greenprotector_fla
Section 54
//panelsubmit_381 (greenprotector_fla.panelsubmit_381) package greenprotector_fla { import flash.display.*; import flash.text.*; public dynamic class panelsubmit_381 extends MovieClip { public var nametxt:TextField; public var btn_submit:SimpleButton; public var btn_close:SimpleButton; public var scoretxt:TextField; } }//package greenprotector_fla
Section 55
//pausemedal_237 (greenprotector_fla.pausemedal_237) package greenprotector_fla { import flash.display.*; public dynamic class pausemedal_237 extends MovieClip { public function pausemedal_237(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 56
//perfecteasymedal_253 (greenprotector_fla.perfecteasymedal_253) package greenprotector_fla { import flash.display.*; public dynamic class perfecteasymedal_253 extends MovieClip { public function perfecteasymedal_253(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 57
//perfecthardmedal_255 (greenprotector_fla.perfecthardmedal_255) package greenprotector_fla { import flash.display.*; public dynamic class perfecthardmedal_255 extends MovieClip { public function perfecthardmedal_255(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 58
//perfectnormalmedal_254 (greenprotector_fla.perfectnormalmedal_254) package greenprotector_fla { import flash.display.*; public dynamic class perfectnormalmedal_254 extends MovieClip { public function perfectnormalmedal_254(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 59
//preloader_1 (greenprotector_fla.preloader_1) package greenprotector_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class preloader_1 extends MovieClip { public var sfbtn1:SimpleButton; public var gfbtn1:SimpleButton; public var animate:MovieClip; public function preloader_1(){ addFrameScript(0, frame1); } function frame1(){ sfbtn1.addEventListener(MouseEvent.CLICK, clickSF); gfbtn1.addEventListener(MouseEvent.CLICK, clickGF); } public function clickGF(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamesfree.com"); navigateToURL(_local2, "_blank"); } public function clickSF(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.smallfarmstudio.com"); navigateToURL(_local2, "_blank"); } } }//package greenprotector_fla
Section 60
//prof_nuang_38 (greenprotector_fla.prof_nuang_38) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class prof_nuang_38 extends MovieClip { public var snd; public var xroot; public function prof_nuang_38(){ addFrameScript(26, frame27, 45, frame46, 86, frame87); } function frame87(){ stop(); xroot = this.root; xroot.gotoFrame("loader"); } function frame27(){ snd = new act(); snd.play(0, 1); } function frame46(){ snd = new act(); snd.play(0, 1); } } }//package greenprotector_fla
Section 61
//splashgreenprotector_37 (greenprotector_fla.splashgreenprotector_37) package greenprotector_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class splashgreenprotector_37 extends MovieClip { public var linked:SimpleButton; public function splashgreenprotector_37(){ addFrameScript(0, frame1); } function frame1(){ linked.addEventListener(MouseEvent.CLICK, clickGF, false, 0, true); } public function clickGF(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://www.smallfarmstudio.com"); navigateToURL(_local2, "_blank"); } } }//package greenprotector_fla
Section 62
//TITLEGREENPROTECTOR_260 (greenprotector_fla.TITLEGREENPROTECTOR_260) package greenprotector_fla { import flash.display.*; public dynamic class TITLEGREENPROTECTOR_260 extends MovieClip { public function TITLEGREENPROTECTOR_260(){ addFrameScript(298, frame299); } function frame299(){ stop(); } } }//package greenprotector_fla
Section 63
//transisi_22 (greenprotector_fla.transisi_22) package greenprotector_fla { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class transisi_22 extends MovieClip { public var xroot; public function transisi_22(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ xroot = this.root; xroot.gotoAndStop(xroot.tgtframe); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 64
//wavemeledak_202 (greenprotector_fla.wavemeledak_202) package greenprotector_fla { import flash.display.*; public dynamic class wavemeledak_202 extends MovieClip { public function wavemeledak_202(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package greenprotector_fla
Section 65
//waving_365 (greenprotector_fla.waving_365) package greenprotector_fla { import flash.display.*; public dynamic class waving_365 extends MovieClip { public var container:MovieClip; } }//package greenprotector_fla
Section 66
//waving_tutor_313 (greenprotector_fla.waving_tutor_313) package greenprotector_fla { import flash.display.*; public dynamic class waving_tutor_313 extends MovieClip { public var roll1:WaveRoll; public var roll3:WaveRoll; public var roll2:WaveRoll; public var container:MovieClip; public function waving_tutor_313(){ addFrameScript(0, frame1); } function frame1(){ stop(); roll1.gotoAndStop(1); roll2.gotoAndStop(2); roll3.gotoAndStop(3); } } }//package greenprotector_fla
Section 67
//winchallenge1medal_242 (greenprotector_fla.winchallenge1medal_242) package greenprotector_fla { import flash.display.*; public dynamic class winchallenge1medal_242 extends MovieClip { public function winchallenge1medal_242(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 68
//winchallenge2medal_243 (greenprotector_fla.winchallenge2medal_243) package greenprotector_fla { import flash.display.*; public dynamic class winchallenge2medal_243 extends MovieClip { public function winchallenge2medal_243(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 69
//winchallenge3medal_250 (greenprotector_fla.winchallenge3medal_250) package greenprotector_fla { import flash.display.*; public dynamic class winchallenge3medal_250 extends MovieClip { public function winchallenge3medal_250(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 70
//winchallenge4medal_251 (greenprotector_fla.winchallenge4medal_251) package greenprotector_fla { import flash.display.*; public dynamic class winchallenge4medal_251 extends MovieClip { public function winchallenge4medal_251(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 71
//winchallenge5medal_252 (greenprotector_fla.winchallenge5medal_252) package greenprotector_fla { import flash.display.*; public dynamic class winchallenge5medal_252 extends MovieClip { public function winchallenge5medal_252(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 72
//wineasymedal_239 (greenprotector_fla.wineasymedal_239) package greenprotector_fla { import flash.display.*; public dynamic class wineasymedal_239 extends MovieClip { public function wineasymedal_239(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 73
//winhardmedal_241 (greenprotector_fla.winhardmedal_241) package greenprotector_fla { import flash.display.*; public dynamic class winhardmedal_241 extends MovieClip { public function winhardmedal_241(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 74
//winnormalmedal_240 (greenprotector_fla.winnormalmedal_240) package greenprotector_fla { import flash.display.*; public dynamic class winnormalmedal_240 extends MovieClip { public function winnormalmedal_240(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 75
//visitmedal_238 (greenprotector_fla.visitmedal_238) package greenprotector_fla { import flash.display.*; public dynamic class visitmedal_238 extends MovieClip { public function visitmedal_238(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package greenprotector_fla
Section 76
//act (act) package { import flash.media.*; public dynamic class act extends Sound { } }//package
Section 77
//animMedallion (animMedallion) package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class animMedallion extends MovieClip { public var par; public var mymedal:MovieClip; public function animMedallion(){ addFrameScript(99, frame100); } function frame100(){ stop(); par = this.parent; par.removeChild(this); } } }//package
Section 78
//arrow (arrow) package { import flash.display.*; public dynamic class arrow extends MovieClip { } }//package
Section 79
//AsapMerah (AsapMerah) package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class AsapMerah extends MovieClip { public var par; public function AsapMerah(){ addFrameScript(6, frame7); } function frame7(){ stop(); par = this.parent; par.removeChild(this); } } }//package
Section 80
//awanlewat (awanlewat) package { import flash.media.*; public dynamic class awanlewat extends Sound { } }//package
Section 81
//barAnim (barAnim) package { import flash.display.*; public dynamic class barAnim extends MovieClip { public var anim:MovieClip; } }//package
Section 82
//bite (bite) package { import flash.media.*; public dynamic class bite extends Sound { } }//package
Section 83
//Building1 (Building1) package { import flash.display.*; import flash.events.*; public class Building1 extends MovieClip { const _TIMEBUILD; const _VALUE; const _HPLVL; const _MPLVL; var hp; var maxmp:int; var lvl:int; var curState; var xroot; var maxhp:int; var tspawn:Number; public var body:MovieClip; var mp; public var upgrading:Boolean; var mytype:String; var valuemoney; public static const _COST = [50, 100, 150]; public function Building1(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps()))]; _HPLVL = [100, 120, 150]; _MPLVL = [0, 0, 0]; _VALUE = [50, 50, 50]; super(); lvl = 1; mytype = "CORN"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); tspawn = (20 * MyData.getFps()); valuemoney = _VALUE[(lvl - 1)]; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return ("MONEY MAKER"); } function runrun(_arg1:Event){ var troot:*; var mc:*; var idx:*; var idy:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "proses"){ if (tspawn-- < 0){ troot = this.root; mc = new ItemMoney(1, int((valuemoney * troot.multMoney))); troot.items.addChild(mc); mc.x = (this.x + 10); mc.y = (this.y + 10); tspawn = ((20 * MyData.getFps()) + MyData.randRange(-25, 100)); }; if (hp <= 0){ curState = "destroy"; }; } else { if (curState == "destroy"){ xroot = this.root; idx = int((this.x / MyData.nodeSize())); idy = int((this.y / MyData.nodeSize())); xroot.isiMap[idy][idx] = null; xroot.myLevel[idy][idx] = 0; xroot.searchNewMap(); deActivateBuilding(); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ } public function getCost(_arg1):String{ if (_arg1 > 1){ return ("-"); }; return (_COST[(_arg1 - 1)]); } public function deActivateBuilding(){ var _local1:*; xroot = this.root; xroot.jumCornPlant--; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getPower():String{ return ("-"); } public function setMP(_arg1:int){ mp = _arg1; } public function getRange():String{ return ("-"); } public function getMP():int{ return (mp); } public function getType():String{ return (mytype); } public function getSpeed():String{ return ("-"); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "proses"; } public function getHP():int{ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } } }//package
Section 84
//Building2 (Building2) package { import flash.display.*; import flash.events.*; public class Building2 extends MovieClip { const _TIMEBUILD; const _VALUE; const _HPLVL; const _MPLVL; var hp; var maxmp:int; var lvl:int; var curState; var xroot; var ctrlvl:Number; var maxhp:int; var tspawn:Number; public var body:MovieClip; var mp; public var upgrading:Boolean; var mytype:String; var valuemoney; public static const _COST = [50, 100, 150]; public function Building2(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps()))]; _HPLVL = [100, 120, 150]; _MPLVL = [0, 0, 0]; _VALUE = [20, 100, 100]; super(); lvl = 1; mytype = "LILY"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); tspawn = (20 * MyData.getFps()); valuemoney = _VALUE[(lvl - 1)]; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return ("MONEY MAKER"); } function runrun(_arg1:Event){ var troot:*; var mc:*; var idx:*; var idy:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "proses"){ if (tspawn-- < 0){ troot = this.root; if (troot.latar == 1){ valuemoney = _VALUE[0]; } else { valuemoney = _VALUE[1]; }; mc = new ItemMoney(2, int((valuemoney * troot.multMoney))); troot.items.addChild(mc); mc.x = (this.x + 10); mc.y = (this.y + 10); tspawn = ((20 * MyData.getFps()) + MyData.randRange(-25, 100)); }; if (hp <= 0){ curState = "destroy"; }; } else { if (curState == "destroy"){ xroot = this.root; idx = int((this.x / MyData.nodeSize())); idy = int((this.y / MyData.nodeSize())); xroot.isiMap[idy][idx] = null; xroot.myLevel[idy][idx] = 0; xroot.searchNewMap(); deActivateBuilding(); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ } public function getCost(_arg1):String{ if (_arg1 > 1){ return ("-"); }; return (_COST[(_arg1 - 1)]); } public function deActivateBuilding(){ var _local1:*; xroot = this.root; xroot.jumLilyPlant--; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getPower():String{ return ("-"); } public function setMP(_arg1:int){ mp = _arg1; } public function getRange():String{ return ("-"); } public function getMP():int{ return (mp); } public function getType():String{ return (mytype); } public function getSpeed():String{ return ("-"); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "proses"; } public function getHP():int{ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } } }//package
Section 85
//Bullet (Bullet) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Bullet extends MovieClip { var live; var speedBullet; var curState; var power; var xroot; var img:MovieClip; var mysource; var curTarget; public function Bullet(_arg1:int, _arg2:Object, _arg3:Number){ img = new Bullets(); img.gotoAndStop(_arg1); this.addChild(img); speedBullet = 5; curTarget = _arg2; live = 50; power = _arg3; mysource = null; this.addEventListener(Event.ENTER_FRAME, moveBullet, false, 0, true); } public function setSource(_arg1:MovieClip){ mysource = _arg1; } public function getSource(){ return (mysource); } function moveBullet(_arg1:Event){ var bul:*; var par:*; var pt1:*; var pt2:*; var dx:*; var dy:*; var angle:*; var sudut:*; var x_speed:*; var y_speed:*; var r:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ bul = e.currentTarget; par = bul.parent; bul.live--; pt1 = par.localToGlobal(new Point(this.x, this.y)); pt2 = new Point(bul.curTarget.x, bul.curTarget.y); dx = (pt2.x - pt1.x); dy = (pt2.y - pt1.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); x_speed = (speedBullet * Math.cos(angle)); y_speed = (speedBullet * Math.sin(angle)); img.rotation = (sudut + 90); bul.x = (bul.x + x_speed); bul.y = (bul.y + y_speed); if (((bul.hitTestObject(bul.curTarget.pbody)) && ((bul.curTarget.getHP() > 0)))){ if (!bul.curTarget.kebal){ if ((bul.curTarget is ZombieBoss)){ r = Math.random(); if (r < 0.2){ bul.curTarget.reflectBullet(mysource); }; }; bul.curTarget.setHP((bul.curTarget.getHP() - power)); par.doEffect(); bul.removeEventListener(Event.ENTER_FRAME, moveBullet); par.removeChild(bul); }; } else { if ((((bul.live <= 0)) || ((bul.curTarget.getHP() <= 0)))){ bul.removeEventListener(Event.ENTER_FRAME, moveBullet); par.removeChild(bul); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, moveBullet); }; } } }//package
Section 86
//BulletRflct (BulletRflct) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class BulletRflct extends MovieClip { var live; var speedBullet; var curState; var power; var xroot; var img:MovieClip; var mysource; var curTarget; public function BulletRflct(_arg1:int, _arg2:Object, _arg3:Number){ img = new Bullets(); img.gotoAndStop(_arg1); this.addChild(img); speedBullet = 3; curTarget = _arg2; live = 50; power = _arg3; mysource = null; this.addEventListener(Event.ENTER_FRAME, moveBullet, false, 0, true); } public function setSource(_arg1:MovieClip){ mysource = _arg1; } public function getSource(){ return (mysource); } function moveBullet(_arg1:Event){ var bul:*; var par:*; var pt1:*; var pt2:*; var dx:*; var dy:*; var angle:*; var sudut:*; var x_speed:*; var y_speed:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ bul = e.currentTarget; par = bul.parent; bul.live--; pt1 = new Point(this.x, this.y); pt2 = bul.curTarget.localToGlobal(new Point(bul.curTarget.body.x, bul.curTarget.body.y)); dx = (pt2.x - pt1.x); dy = (pt2.y - pt1.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); x_speed = (speedBullet * Math.cos(angle)); y_speed = (speedBullet * Math.sin(angle)); img.rotation = (sudut + 90); bul.x = (bul.x + x_speed); bul.y = (bul.y + y_speed); if (bul.hitTestObject(bul.curTarget.body)){ bul.curTarget.stunning(power); bul.removeEventListener(Event.ENTER_FRAME, moveBullet); par.removeChild(bul); } else { if (bul.live <= 0){ bul.removeEventListener(Event.ENTER_FRAME, moveBullet); par.removeChild(bul); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, moveBullet); }; } } }//package
Section 87
//Bullets (Bullets) package { import flash.display.*; public dynamic class Bullets extends MovieClip { } }//package
Section 88
//errorSound (errorSound) package { import flash.media.*; public dynamic class errorSound extends Sound { } }//package
Section 89
//fire1 (fire1) package { import flash.media.*; public dynamic class fire1 extends Sound { } }//package
Section 90
//fire2 (fire2) package { import flash.media.*; public dynamic class fire2 extends Sound { } }//package
Section 91
//fire3 (fire3) package { import flash.media.*; public dynamic class fire3 extends Sound { } }//package
Section 92
//fire4 (fire4) package { import flash.media.*; public dynamic class fire4 extends Sound { } }//package
Section 93
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 94
//gameMusic (gameMusic) package { import flash.media.*; public dynamic class gameMusic extends Sound { } }//package
Section 95
//gameOverMusic (gameOverMusic) package { import flash.media.*; public dynamic class gameOverMusic extends Sound { } }//package
Section 96
//getcoin (getcoin) package { import flash.media.*; public dynamic class getcoin extends Sound { } }//package
Section 97
//House (House) package { import flash.display.*; public dynamic class House extends MovieClip { public function House(){ addFrameScript(0, frame1, 145, frame146); } function frame1(){ stop(); } function frame146(){ stop(); } } }//package
Section 98
//ItemMoney (ItemMoney) package { import flash.display.*; import flash.events.*; public class ItemMoney extends MovieClip { var live; var speedBullet; var ctr; var power; var curState; var xroot; var dx; var dy; var ctrlive; var pval; var ctrget; var animget; var img:MovieClip; var curTarget; public function ItemMoney(_arg1:int, _arg2:Number){ img = new Money1(); img.gotoAndStop(_arg1); this.addChild(img); live = 200; pval = _arg2; dx = MyData.randRange(-2, 2); dy = MyData.randRange(-8, -2); _arg2 = 100; ctr = 10; ctrlive = 200; ctrget = 0; animget = false; this.addEventListener(MouseEvent.MOUSE_OVER, collect, false, 0, true); this.addEventListener(Event.ENTER_FRAME, moveMoney, false, 0, true); } function collect(_arg1:MouseEvent){ var _local2:*; _local2 = _arg1.currentTarget.root; _local2.money = (_local2.money + _arg1.currentTarget.pval); xroot.Zound("getcoin"); ctrget = 15; animget = true; this.removeEventListener(MouseEvent.MOUSE_OVER, collect); } function moveMoney(_arg1:Event){ var e = _arg1; try { xroot = e.currentTarget.root; if (!xroot.isPause){ if (e.currentTarget.ctr-- > 0){ e.currentTarget.x = (e.currentTarget.x + e.currentTarget.dx); e.currentTarget.y = (e.currentTarget.y + e.currentTarget.dy); e.currentTarget.dy = (e.currentTarget.dy + MyData.getGravity()); }; if (e.currentTarget.ctrlive-- < 0){ removeThis(); }; if (animget){ if (e.currentTarget.ctrget-- > 0){ e.currentTarget.y = (e.currentTarget.y - 1); e.currentTarget.alpha = (e.currentTarget.alpha - 0.06); } else { removeThis(); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, moveMoney); removeEventListener(MouseEvent.MOUSE_OVER, collect); }; } function removeThis(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, moveMoney); this.removeEventListener(MouseEvent.MOUSE_OVER, collect); _local1.removeChild(this); } } }//package
Section 99
//ledakanRoll (ledakanRoll) package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class ledakanRoll extends MovieClip { public var par; public function ledakanRoll(){ addFrameScript(14, frame15); } function frame15(){ stop(); par = this.parent; par.removeChild(this); } } }//package
Section 100
//mainMenuMusic (mainMenuMusic) package { import flash.media.*; public dynamic class mainMenuMusic extends Sound { } }//package
Section 101
//MapBG (MapBG) package { import flash.display.*; public dynamic class MapBG extends MovieClip { } }//package
Section 102
//MapFinder (MapFinder) package { import flash.geom.*; public class MapFinder { var COLS; var exits:Array; var ROWS; var map:Array; var ENDX; var ENDY; var initWay:Array; public function MapFinder(_arg1:Array, _arg2:Point, _arg3){ initWay = _arg1; exits = new Array(initWay.length); ROWS = _arg3.length; COLS = _arg3[0].length; ENDX = _arg2.x; ENDY = _arg2.y; map = _arg3; } private function cekExits(_arg1:Point){ var _local2:*; for (_local2 in initWay) { if ((((_arg1.x == initWay[_local2].x)) && ((_arg1.y == initWay[_local2].y)))){ exits[_local2] = true; }; }; } public function findPath():Array{ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:int; var _local6:Point; var _local7:Array; var _local8:*; var _local9:*; _local1 = [1, -1, 0, 0]; _local2 = [0, 0, 1, -1]; _local3 = new Array(((COLS - 1) * (ROWS - 1))); _local5 = 0; _local4 = _local5; _local7 = new Array(ROWS); _local8 = 0; while (_local8 < ROWS) { _local7[_local8] = new Array(COLS); _local8++; }; _local6 = new Point(ENDX, ENDY); do { _local8 = 0; while (_local8 < 4) { if (((((((((_local6.y + _local2[_local8]) >= 0)) && (((_local6.y + _local2[_local8]) < ROWS)))) && (((_local6.x + _local1[_local8]) >= 0)))) && (((_local6.x + _local1[_local8]) < COLS)))){ if (((!(_local7[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])])) && ((((map[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])] <= 0)) || ((((((((map[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])] == 10)) || ((map[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])] == 11)))) || ((map[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])] == 12)))) || ((map[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])] == 13)))))))){ var _temp1 = _local5; _local5 = (_local5 + 1); var _local10 = _temp1; _local3[_local10] = new Point((_local6.x + _local1[_local8]), (_local6.y + _local2[_local8])); _local7[(_local6.y + _local2[_local8])][(_local6.x + _local1[_local8])] = relax(new Point((_local6.x + _local1[_local8]), (_local6.y + _local2[_local8])), _local6, _local7[_local6.y][_local6.x]); }; }; _local8++; }; cekExits(_local6); var _temp2 = _local4; _local4 = (_local4 + 1); _local6 = _local3[_temp2]; } while (_local5 >= _local4); _local9 = false; _local8 = 0; while (_local8 < exits.length) { if (!exits[_local8]){ _local9 = true; }; _local8++; }; if (_local9){ return (new Array()); }; return (_local7); } private function relax(_arg1:Point, _arg2:Point, _arg3:Point):Point{ var _local4:*; var _local5:*; var _local6:*; var _local7:*; if ((((_arg2.x == ENDX)) && ((_arg2.y == ENDY)))){ return (_arg2); }; _local4 = (_arg3.x - _arg1.x); _local5 = (_arg3.y - _arg1.y); if ((((_local4 == 0)) || ((_local5 == 0)))){ return (_arg2); }; _local4 = (_local4 / Math.abs(_local4)); _local5 = (_local5 / Math.abs(_local5)); _local6 = (_arg1.x + (_local4 * Math.abs((_arg2.y - _arg1.y)))); _local7 = (_arg1.y + (_local5 * Math.abs((_arg2.x - _arg1.x)))); if ((((map[_local7][_local6] <= 0)) || ((((((((map[_local7][_local6] == 10)) || ((map[_local7][_local6] == 11)))) || ((map[_local7][_local6] == 12)))) || ((map[_local7][_local6] == 13)))))){ return (new Point((_arg1.x + _local4), (_arg1.y + _local5))); }; return (_arg2); } } }//package
Section 103
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 104
//Money1 (Money1) package { import flash.display.*; public dynamic class Money1 extends MovieClip { } }//package
Section 105
//monster1 (monster1) package { import flash.media.*; public dynamic class monster1 extends Sound { } }//package
Section 106
//monster2 (monster2) package { import flash.media.*; public dynamic class monster2 extends Sound { } }//package
Section 107
//monster3 (monster3) package { import flash.media.*; public dynamic class monster3 extends Sound { } }//package
Section 108
//monster4 (monster4) package { import flash.media.*; public dynamic class monster4 extends Sound { } }//package
Section 109
//monster5 (monster5) package { import flash.media.*; public dynamic class monster5 extends Sound { } }//package
Section 110
//monster6 (monster6) package { import flash.media.*; public dynamic class monster6 extends Sound { } }//package
Section 111
//monster7 (monster7) package { import flash.media.*; public dynamic class monster7 extends Sound { } }//package
Section 112
//monster8 (monster8) package { import flash.media.*; public dynamic class monster8 extends Sound { } }//package
Section 113
//MyData (MyData) package { public class MyData { static const nodes:Number = 20; static const mfps:Number = 25; static const gravity:Number = 1; public static function randRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number; _local3 = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1); return (_local3); } public static function nodeSize():Number{ return (nodes); } public static function getFps():Number{ return (mfps); } public static function getGravity():Number{ return (gravity); } } }//package
Section 114
//nextWavesfx (nextWavesfx) package { import flash.media.*; public dynamic class nextWavesfx extends Sound { } }//package
Section 115
//pausePanel (pausePanel) package { import flash.display.*; import flash.geom.*; import flash.events.*; import fl.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class pausePanel extends MovieClip { public var paneopt:MovieClip; public var xroot; public function pausePanel(){ addFrameScript(0, frame1); } public function qlowclick(_arg1:MouseEvent){ stage.quality = "LOW"; paneopt.qhighmark.visible = false; paneopt.qmedmark.visible = false; paneopt.qlowmark.visible = true; } function frame1(){ stop(); xroot = this.root; paneopt.btn_backtomainmenu.addEventListener(MouseEvent.CLICK, clickBackToMenu); paneopt.btn_close.addEventListener(MouseEvent.CLICK, closeclick); paneopt.btn_qhigh.addEventListener(MouseEvent.CLICK, qhighclick); paneopt.btn_qmed.addEventListener(MouseEvent.CLICK, qmedclick); paneopt.btn_qlow.addEventListener(MouseEvent.CLICK, qlowclick); paneopt.btn_particle.addEventListener(MouseEvent.CLICK, particleclick); paneopt.BGM.minimum = 0; paneopt.BGM.maximum = 1; paneopt.BGM.snapInterval = 0.05; paneopt.BGM.value = xroot.musicVolume.volume; paneopt.BGM.liveDragging = true; paneopt.BGM.addEventListener(SliderEvent.CHANGE, BGMChange); paneopt.SFX.minimum = 0; paneopt.SFX.maximum = 1; paneopt.SFX.snapInterval = 0.05; paneopt.SFX.value = xroot.sfxVolume.volume; paneopt.SFX.liveDragging = true; paneopt.SFX.addEventListener(SliderEvent.CHANGE, SFXChange); paneopt.qhighmark.visible = false; paneopt.qmedmark.visible = false; paneopt.qlowmark.visible = false; if (stage.quality == "LOW"){ paneopt.qlowmark.visible = true; } else { if (stage.quality == "MEDIUM"){ paneopt.qmedmark.visible = true; } else { if (stage.quality == "HIGH"){ paneopt.qhighmark.visible = true; }; }; }; if (xroot.usingParticle){ paneopt.particlemark.visible = true; } else { paneopt.particlemark.visible = false; }; } public function SFXChange(_arg1:SliderEvent):void{ xroot.sfxVolume.volume = paneopt.SFX.value; xroot.sfxChannel.soundTransform = xroot.sfxVolume; } public function BGMChange(_arg1:SliderEvent):void{ xroot.musicVolume.volume = paneopt.BGM.value; xroot.musicChannel.soundTransform = xroot.musicVolume; } public function closeclick(_arg1:MouseEvent){ xroot.pauseClick(_arg1); } public function qmedclick(_arg1:MouseEvent){ stage.quality = "MEDIUM"; paneopt.qhighmark.visible = false; paneopt.qmedmark.visible = true; paneopt.qlowmark.visible = false; } public function particleclick(_arg1:MouseEvent){ xroot.usingParticle = !(xroot.usingParticle); if (xroot.usingParticle){ paneopt.particlemark.visible = true; } else { paneopt.particlemark.visible = false; }; } public function qhighclick(_arg1:MouseEvent){ stage.quality = "HIGH"; paneopt.qhighmark.visible = true; paneopt.qmedmark.visible = false; paneopt.qlowmark.visible = false; } public function clickBackToMenu(_arg1:MouseEvent){ xroot.pauseClick(_arg1); xroot.backToMainmenu(_arg1); } } }//package
Section 116
//Percik (Percik) package { import flash.display.*; public dynamic class Percik extends MovieClip { } }//package
Section 117
//refbullet (refbullet) package { import flash.media.*; public dynamic class refbullet extends Sound { } }//package
Section 118
//SliderThumb_disabledSkin (SliderThumb_disabledSkin) package { import flash.display.*; public dynamic class SliderThumb_disabledSkin extends MovieClip { } }//package
Section 119
//SliderThumb_downSkin (SliderThumb_downSkin) package { import flash.display.*; public dynamic class SliderThumb_downSkin extends MovieClip { } }//package
Section 120
//SliderThumb_overSkin (SliderThumb_overSkin) package { import flash.display.*; public dynamic class SliderThumb_overSkin extends MovieClip { } }//package
Section 121
//SliderThumb_upSkin (SliderThumb_upSkin) package { import flash.display.*; public dynamic class SliderThumb_upSkin extends MovieClip { } }//package
Section 122
//SliderTick_skin (SliderTick_skin) package { import flash.display.*; public dynamic class SliderTick_skin extends MovieClip { } }//package
Section 123
//SliderTrack_disabledSkin (SliderTrack_disabledSkin) package { import flash.display.*; public dynamic class SliderTrack_disabledSkin extends MovieClip { } }//package
Section 124
//SliderTrack_skin (SliderTrack_skin) package { import flash.display.*; public dynamic class SliderTrack_skin extends MovieClip { } }//package
Section 125
//swallow (swallow) package { import flash.media.*; public dynamic class swallow extends Sound { } }//package
Section 126
//Tower1 (Tower1) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Tower1 extends MovieClip { const _RANGE; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _SPEEDSHOOT; const _POWER; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power:Number; var speedshoot:int; var xroot; var curState; var maxhp:int; var ctrStun:int; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var info:String; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static const _COST = [100, 225, 375, 550, 800]; public function Tower1(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [35, 30, 25, 20, 15]; _POWER = [10, 20, 30, 40, 65]; _RANGE = [100, 110, 120, 130, 175]; super(); lvl = 1; mytype = "SEED SHOOTER"; info = "BASIC PLANT, THROWING SEEDS!"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); speedBullet = 6; curTarget = null; upgrading = true; ctrStun = 0; } public function doEffect(){ } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); upgrading = true; } function stunning(_arg1:Number){ ctrStun = _arg1; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function runrun(_arg1:Event){ var i:*; var enemy:*; var bullet:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ if (curTarget == null){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ curTarget = enemy; curState = "firing"; break; }; i = (i + 1); }; }; } else { if (curState == "firing"){ if (cekHitTest(curTarget)){ if (curTarget.getCondition()){ rotateBody(); bullet = new Bullet(1, curTarget, power); bullet.x = 10; bullet.y = 10; bullet.setSource(this); this.addChild(bullet); xroot.Zound("fire1"); curState = "reload"; } else { curTarget = null; curState = "targeting"; }; } else { curTarget = null; curState = "targeting"; }; } else { if (curState == "reload"){ rotateBody(); if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "firing"; }; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function getPower():String{ return (String(power)); } function rotateBody(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = this.localToGlobal(new Point(this.body.x, this.body.y)); _local2 = (curTarget.x - _local1.x); _local3 = (curTarget.y - _local1.y); _local4 = Math.atan2(_local3, _local2); _local5 = ((_local4 * 180) / Math.PI); this.body.rotation = (_local5 + 90); } public function getRange():String{ return (String(int((area.width / 2)))); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.root; this.enemies = _local1.enemies; } } }//package
Section 127
//Tower2 (Tower2) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Tower2 extends MovieClip { const _RANGE; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _POWER; var hp; var maxmp:int; var lvl:int; var enemies; var curState; var chewDamage; var chewedHP; var xroot; var maxhp:int; var ctrStun:int; public var body:MovieClip; public var area:MovieClip; var info:String; var chewing:Boolean; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static var _COST = [200, 450, 700, 950, 1300]; public function Tower2(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _POWER = [0.4, 0.8, 1.5, 2.5, 5]; _RANGE = [50, 55, 60, 65, 70]; super(); lvl = 1; mytype = "ALIEN EATER"; info = "SWALLOW AND DIGEST 1 ENEMY, DEALS DAMAGE PER SECOND BASE ON POWER"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); chewDamage = _POWER[(lvl - 1)]; chewing = false; chewedHP = 0; curTarget = null; upgrading = true; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } function runrun(_arg1:Event){ var i:*; var enemy:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ if (curTarget == null){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ curTarget = enemy; curState = "firing"; break; }; i = (i + 1); }; }; } else { if (curState == "firing"){ if (cekHitTest(curTarget)){ if (((((curTarget.getCondition()) && (curTarget.isChewable()))) && (!(chewing)))){ rotateBody(); chewing = true; chewedHP = curTarget.getHP(); curTarget.setHP(0); this.area.alpha = 1; body.play(); xroot.Zound("swallow"); curState = "chewing"; } else { curTarget = null; curState = "targeting"; }; } else { curTarget = null; curState = "targeting"; }; } else { if (curState == "chewing"){ this.area.alpha = 0; chewedHP = (chewedHP - chewDamage); if (chewedHP <= 0){ chewedHP = 0; chewing = false; curTarget = null; curState = "targeting"; }; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); chewDamage = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); upgrading = true; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function stunning(_arg1:Number){ ctrStun = _arg1; } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function getPower():String{ return (String(chewDamage)); } function rotateBody(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = this.localToGlobal(new Point(this.body.x, this.body.y)); _local2 = (curTarget.x - _local1.x); _local3 = (curTarget.y - _local1.y); _local4 = Math.atan2(_local3, _local2); _local5 = ((_local4 * 180) / Math.PI); this.body.rotation = (_local5 + 90); } public function getRange():String{ return (String(int((area.width / 2)))); } public function getType():String{ return (mytype); } public function getSpeed():String{ return ("-"); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 128
//Tower3 (Tower3) package { import flash.display.*; import flash.events.*; public class Tower3 extends MovieClip { const _RANGE; const _POISONPOWER; const _TIMEBUILD; const _HPLVL; const _MPLVL; const _SPEEDSHOOT; const _POWER; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power; var speedshoot:int; var damagePoison; var xroot; var curState; var maxhp:int; var ctrStun:int; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var mp; var info:String; var durationPoison; public var upgrading:Boolean; var mytype:String; var curTarget; public static var _COST = [150, 350, 550, 900, 1350]; public function Tower3(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [25, 25, 25, 20, 17]; _POWER = [8, 14, 20, 25, 40]; _RANGE = [70, 80, 90, 100, 110]; _POISONPOWER = [1, 3, 9, 27, 71]; super(); lvl = 1; mytype = "POISON IVY"; info = "POISON ATTACK, DEALS DAMAGE PER SECOND"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); speedBullet = 5; curTarget = null; damagePoison = _POISONPOWER[(lvl - 1)]; durationPoison = (3 * 25); upgrading = true; } public function doEffect(){ curTarget.setPoison(durationPoison, damagePoison); } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); damagePoison = _POISONPOWER[(lvl - 1)]; upgrading = true; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function runrun(_arg1:Event){ var i:*; var enemy:*; var bullet:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ if (curTarget == null){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ curTarget = enemy; curState = "firing"; break; }; i = (i + 1); }; }; } else { if (curState == "firing"){ if (cekHitTest(curTarget)){ if (curTarget.getCondition()){ bullet = new Bullet(6, curTarget, power); bullet.x = 10; bullet.y = 10; bullet.setSource(this); xroot.Zound("fire1"); this.addChild(bullet); curState = "reload"; } else { curTarget = null; curState = "targeting"; }; } else { curTarget = null; curState = "targeting"; }; } else { if (curState == "reload"){ if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "firing"; }; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function stunning(_arg1:Number){ ctrStun = _arg1; } public function getPower():String{ return (String(power)); } public function getRange():String{ return (String(int((area.width / 2)))); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getLevel():int{ return (lvl); } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 129
//Tower4 (Tower4) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Tower4 extends MovieClip { const _RANGE; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _SPEEDSHOOT; const _POWER; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power; var speedshoot:int; var xroot; var curState; var maxhp:int; var ctrStun:int; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var info:String; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static var _COST = [200, 450, 700, 1000, 1400]; public function Tower4(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [7, 6, 5, 4, 2]; _POWER = [7, 15, 25, 36, 50]; _RANGE = [120, 130, 140, 150, 160]; super(); lvl = 1; mytype = "RAMPAGE CHILI"; info = "RAPID FIRE PLANT"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); speedBullet = 6; power = 0.5; curTarget = null; upgrading = true; } public function doEffect(){ } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); upgrading = true; } function stunning(_arg1:Number){ ctrStun = _arg1; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function runrun(_arg1:Event){ var i:*; var enemy:*; var bullet:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ if (curTarget == null){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ curTarget = enemy; curState = "firing"; break; }; i = (i + 1); }; }; } else { if (curState == "firing"){ if (cekHitTest(curTarget)){ if (curTarget.getCondition()){ rotateBody(); bullet = new Bullet(4, curTarget, power); bullet.x = 10; bullet.y = 10; bullet.setSource(this); this.addChild(bullet); xroot.Zound("fire2"); curState = "reload"; } else { curTarget = null; curState = "targeting"; }; } else { curTarget = null; curState = "targeting"; }; } else { if (curState == "reload"){ rotateBody(); if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "firing"; }; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function getPower():String{ return (String(power)); } function rotateBody(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = this.localToGlobal(new Point(this.body.x, this.body.y)); _local2 = (curTarget.x - _local1.x); _local3 = (curTarget.y - _local1.y); _local4 = Math.atan2(_local3, _local2); _local5 = ((_local4 * 180) / Math.PI); this.body.rotation = (_local5 - 90); } public function getRange():String{ return (String(int((area.width / 2)))); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 130
//Tower5 (Tower5) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Tower5 extends MovieClip { const _RANGE; const _POWER; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _SLOWEFFECT; const _SPEEDSHOOT; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power; var speedshoot:int; var xroot; var curState; var maxhp:int; var ctrStun:int; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var durationSlow; var mp; var info:String; public var upgrading:Boolean; var percentSlow; var mytype:String; var curTarget; public static var _COST = [200, 400, 650, 950, 1300]; public function Tower5(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [50, 45, 40, 35, 30]; _POWER = [10, 20, 35, 50, 80]; _RANGE = [70, 90, 110, 130, 150]; _SLOWEFFECT = [15, 30, 45, 60, 75]; super(); lvl = 1; mytype = "ICY BEAN"; info = "ICE PLANT, SLOWING ENEMY MOVEMENT"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); speedBullet = 5; curTarget = null; percentSlow = _SLOWEFFECT[(lvl - 1)]; durationSlow = (3 * MyData.getFps()); upgrading = true; } public function doEffect(){ curTarget.setSlow(durationSlow, percentSlow); } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); percentSlow = _SLOWEFFECT[(lvl - 1)]; upgrading = true; } function stunning(_arg1:Number){ ctrStun = _arg1; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function runrun(_arg1:Event){ var i:*; var enemy:*; var bullet:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ if (curTarget == null){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ curTarget = enemy; curState = "firing"; break; }; i = (i + 1); }; }; } else { if (curState == "firing"){ if (cekHitTest(curTarget)){ if (curTarget.getCondition()){ rotateBody(); bullet = new Bullet(2, curTarget, power); bullet.x = 10; bullet.y = 10; bullet.setSource(this); this.addChild(bullet); xroot.Zound("fire3"); curState = "reload"; } else { curTarget = null; curState = "targeting"; }; } else { curTarget = null; curState = "targeting"; }; } else { if (curState == "reload"){ rotateBody(); if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "firing"; }; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function getPower():String{ return (String(power)); } function rotateBody(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = this.localToGlobal(new Point(this.body.x, this.body.y)); _local2 = (curTarget.x - _local1.x); _local3 = (curTarget.y - _local1.y); _local4 = Math.atan2(_local3, _local2); _local5 = ((_local4 * 180) / Math.PI); this.body.rotation = (_local5 + 90); } public function getRange():String{ return (String(int((area.width / 2)))); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 131
//Tower6 (Tower6) package { import flash.display.*; import flash.events.*; public class Tower6 extends MovieClip { const _RANGE; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _SPEEDSHOOT; const _POWER; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power; var speedshoot:int; var xroot; var curState; var maxhp:int; var ctrStun:int; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var info:String; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static var _COST = [225, 475, 725, 975, 1450]; public function Tower6(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [40, 37, 35, 32, 30]; _POWER = [15, 25, 35, 45, 70]; _RANGE = [80, 90, 100, 110, 120]; super(); lvl = 1; mytype = "SMOG LEAF"; info = "AREA ATTACK, DAMAGING ITS SURROUNDING"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); curTarget = null; } public function doEffect(){ } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); upgrading = true; } function stunning(_arg1:Number){ ctrStun = _arg1; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function runrun(_arg1:Event){ var nembak:*; var i:*; var enemy:*; var asep:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ nembak = false; i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ nembak = true; enemy.setHP((enemy.getHP() - power)); curState = "reload"; }; i = (i + 1); }; if (nembak){ asep = new AsapMerah(); this.addChild(asep); xroot.Zound("fire4"); asep.x = 10; asep.y = 10; }; } else { if (curState == "reload"){ if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "targeting"; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function getPower():String{ return (String(power)); } public function getRange():String{ return (String(int((area.width / 2)))); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ upgrading = false; this.area.alpha = 1; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 132
//Tower7 (Tower7) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Tower7 extends MovieClip { const _RANGE; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _STUNEFFECT; const _SPEEDSHOOT; const _POWER; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power; var speedshoot:int; var xroot; var durationStun; var curState; var maxhp:int; var ctrStun:int; var percentStun; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var info:String; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static var _COST = [275, 600, 875, 1150, 1600]; public function Tower7(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [35, 35, 30, 30, 25]; _POWER = [20, 40, 60, 80, 100]; _RANGE = [110, 120, 130, 140, 150]; _STUNEFFECT = [5, 10, 15, 20, 25]; super(); lvl = 1; mytype = "SHOCKER MUSHROOM"; info = "HAS CHANCE TO SHOCK ENEMY, MAKE THEM IMMOBILIZE FOR WES SEDONG"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); speedBullet = 5; curTarget = null; percentStun = _STUNEFFECT[(lvl - 1)]; durationStun = (2 * 25); } public function doEffect(){ if (Math.random() < (percentStun / 100)){ curTarget.setStun(durationStun); }; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); percentStun = _STUNEFFECT[(lvl - 1)]; upgrading = true; } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function runrun(_arg1:Event){ var i:*; var enemy:*; var bullet:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ if (curTarget == null){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ curTarget = enemy; curState = "firing"; break; }; i = (i + 1); }; }; } else { if (curState == "firing"){ if (cekHitTest(curTarget)){ if (curTarget.getCondition()){ rotateBody(); bullet = new Bullet(3, curTarget, power); bullet.x = 10; bullet.y = 10; bullet.setSource(this); this.addChild(bullet); xroot.Zound("fire4"); curState = "reload"; } else { curTarget = null; curState = "targeting"; }; } else { curTarget = null; curState = "targeting"; }; } else { if (curState == "reload"){ rotateBody(); if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "firing"; }; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function stunning(_arg1:Number){ ctrStun = _arg1; } public function getPower():String{ return (String(power)); } function rotateBody(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = this.localToGlobal(new Point(this.body.x, this.body.y)); _local2 = (curTarget.x - _local1.x); _local3 = (curTarget.y - _local1.y); _local4 = Math.atan2(_local3, _local2); _local5 = ((_local4 * 180) / Math.PI); this.body.rotation = _local5; } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getRange():String{ return (String(int((area.width / 2)))); } public function getLevel():int{ return (lvl); } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 133
//Tower8 (Tower8) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Tower8 extends MovieClip { const _RANGE; const _TIMEBUILD; const _MPLVL; const _HPLVL; const _MAXBULLET; const _SPEEDSHOOT; const _POWER; var hp; var maxmp:int; var speedBullet; var enemies; var lvl:int; var power; var speedshoot:int; var xroot; var curState; var maxhp:int; var numBullet; var ctrStun:int; public var body:MovieClip; var ctrshoot:int; public var area:MovieClip; var info:String; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static var _COST = [350, 700, 1100, 1500, 2000]; public function Tower8(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps())), int((6 * MyData.getFps())), int((9 * MyData.getFps()))]; _HPLVL = [100, 120, 150, 180, 250]; _MPLVL = [0, 0, 0, 0, 0]; _SPEEDSHOOT = [90, 80, 70, 60, 50]; _POWER = [10, 18, 26, 34, 60]; _RANGE = [200, 220, 240, 260, 300]; _MAXBULLET = [2, 3, 4, 4, 5]; super(); lvl = 1; mytype = "SPREAD CACTUS"; info = (("ATTACK UP TO " + _MAXBULLET[(lvl - 1)]) + " ENEMIES NEARBY PLANT"); hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); speedBullet = 6; numBullet = _MAXBULLET[(lvl - 1)]; curTarget = null; } public function doEffect(){ } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return (info); } public function levelUp(){ this.removeEventListener(Event.ENTER_FRAME, runrun); curTarget = null; lvl++; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); speedshoot = (ctrshoot = _SPEEDSHOOT[(lvl - 1)]); power = _POWER[(lvl - 1)]; area.width = (area.height = _RANGE[(lvl - 1)]); numBullet = _MAXBULLET[(lvl - 1)]; upgrading = true; } function stunning(_arg1:Number){ ctrStun = _arg1; } function runrun(_arg1:Event){ var numBulletOut:*; var i:*; var enemy:*; var bullet:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (ctrStun > 0){ ctrStun--; } else { if (curState == "targeting"){ numBulletOut = numBullet; i = 0; while (i < enemies.numChildren) { if (numBulletOut > 0){ enemy = enemies.getChildAt(i); if (cekHitTest(enemy)){ bullet = new Bullet(5, enemy, power); bullet.x = 10; bullet.y = 10; bullet.setSource(this); this.addChild(bullet); curState = "reload"; numBulletOut = (numBulletOut - 1); }; } else { xroot.Zound("fire2"); break; }; i = (i + 1); }; } else { if (curState == "reload"){ if (--ctrshoot <= 0){ ctrshoot = speedshoot; curState = "targeting"; }; }; }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } function cekHitTest(_arg1:MovieClip):Boolean{ if (((((((this.area.hitTestPoint((_arg1.x - 5), (_arg1.y - 5), true)) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x - 5), (_arg1.y + 5), true)))) || (this.area.hitTestPoint((_arg1.x + 5), (_arg1.y - 5), true)))){ return (true); }; return (false); } public function getCost(_arg1):String{ if (_arg1 > 5){ return ("-"); }; return (_COST[(_arg1 - 1)]); } function rotateBody(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = this.localToGlobal(new Point(this.body.x, this.body.y)); _local2 = (curTarget.x - _local1.x); _local3 = (curTarget.y - _local1.y); _local4 = Math.atan2(_local3, _local2); _local5 = ((_local4 * 180) / Math.PI); this.body.rotation = (_local5 + 90); } public function getRange():String{ return (String(int((area.width / 2)))); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getType():String{ return (mytype); } public function getSpeed():String{ return (String(speedshoot)); } public function getPower():String{ return (String(power)); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ upgrading = false; this.area.visible = false; this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "targeting"; getEnemies(); } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 134
//transisi (transisi) package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class transisi extends MovieClip { public var xroot; public var par; public function transisi(){ addFrameScript(0, frame1, 148, frame149, 298, frame299); } function frame299(){ stop(); xroot = this.root; xroot.changeDay2(); par = this.parent; par.removeChild(this); } function frame1(){ stop(); } function frame149(){ stop(); xroot = this.root; xroot.changeDay2(); par = this.parent; par.removeChild(this); } } }//package
Section 135
//transisiawan (transisiawan) package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.net.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class transisiawan extends MovieClip { public var par; public function transisiawan(){ addFrameScript(0, frame1, 148, frame149); } function frame1(){ stop(); } function frame149(){ stop(); par = this.parent; par.removeChild(this); } } }//package
Section 136
//Trap1 (Trap1) package { import flash.display.*; import flash.events.*; public class Trap1 extends MovieClip { const _TIMEBUILD; const _MPLVL; const _HPLVL; var hp; var maxmp:int; var lvl:int; var enemies; var curState; var arrHasSlowed:Array; var maxhp:int; public var body:MovieClip; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static const _COST = [100, 175, 250]; public function Trap1(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps()))]; _HPLVL = [100, 120, 150]; _MPLVL = [0, 0, 0]; super(); lvl = 1; mytype = "MUD TRAP"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); curTarget = null; arrHasSlowed = []; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return ("MUD TRAP, SLOWS ENEMIES"); } function runrun(_arg1:Event){ var i:*; var enemy:*; var xroot:*; var idx:*; var idy:*; var e = _arg1; try { if (curState == "defending"){ i = 0; while (i < enemies.numChildren) { enemy = enemies.getChildAt(i); if (hasSlowed(enemy)){ } else { if (this.hitTestObject(enemy)){ hp = (hp - 10); arrHasSlowed.push(enemy); enemy.setSlow((7 * MyData.getFps()), 80); }; }; i = (i + 1); }; if (hp <= 0){ curState = "destroy"; }; } else { if (curState == "destroy"){ xroot = this.root; idx = int((this.x / MyData.nodeSize())); idy = int((this.y / MyData.nodeSize())); xroot.isiMap[idy][idx] = null; xroot.myLevel[idy][idx] = 0; deActivateBuilding(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ } public function getCost(_arg1):String{ if (_arg1 > 1){ return ("-"); }; return (_COST[(_arg1 - 1)]); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getPower():String{ return ("-"); } public function getSpeed():String{ return ("-"); } function hasSlowed(_arg1:Object){ var _local2:*; _local2 = 0; while (_local2 < arrHasSlowed.length) { if (_arg1 == arrHasSlowed[_local2]){ return (true); }; _local2++; }; return (false); } public function setMP(_arg1:int){ mp = _arg1; } public function getRange():String{ return ("-"); } public function getMP():int{ return (mp); } public function getType():String{ return (mytype); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "defending"; getEnemies(); } public function getHP():int{ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } function getEnemies(){ var _local1:*; _local1 = this.parent.parent; this.enemies = _local1.enemies; } } }//package
Section 137
//walkTile (walkTile) package { import flash.display.*; public dynamic class walkTile extends MovieClip { } }//package
Section 138
//Wall1 (Wall1) package { import flash.display.*; import flash.events.*; public class Wall1 extends MovieClip { const _TIMEBUILD; const _MPLVL; const _HPLVL; var hp; var maxmp:int; var lvl:int; var enemies; var curState; var xroot; var maxhp:int; public var body:MovieClip; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static const _COST = [100, 175, 250]; public function Wall1(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps()))]; _HPLVL = [100, 120, 150]; _MPLVL = [0, 0, 0]; super(); lvl = 1; mytype = "WOOD WALL"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); curTarget = null; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return ("BASIC WALL"); } function runrun(_arg1:Event){ var idx:*; var idy:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "defending"){ if (hp <= 0){ curState = "destroy"; }; } else { if (curState == "destroy"){ xroot = this.root; idx = int((this.x / MyData.nodeSize())); idy = int((this.y / MyData.nodeSize())); xroot.isiMap[idy][idx] = null; xroot.myLevel[idy][idx] = 0; deActivateBuilding(); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ } public function getCost(_arg1):String{ if (_arg1 > 1){ return ("-"); }; return (_COST[(_arg1 - 1)]); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getPower():String{ return ("-"); } public function getSpeed():String{ return ("-"); } public function setMP(_arg1:int){ mp = _arg1; } public function getRange():String{ return ("-"); } public function getMP():int{ return (mp); } public function getType():String{ return (mytype); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "defending"; } public function getHP():int{ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } } }//package
Section 139
//Wall2 (Wall2) package { import flash.display.*; import flash.events.*; public class Wall2 extends MovieClip { const _TIMEBUILD; const _MPLVL; const _HPLVL; var hp; var maxmp:int; var lvl:int; var enemies; var curState; var xroot; var maxhp:int; public var body:MovieClip; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static const _COST = [175, 200, 250]; public function Wall2(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps()))]; _HPLVL = [200, 300, 400]; _MPLVL = [0, 0, 0]; super(); lvl = 1; mytype = "STONE WALL"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); curTarget = null; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return ("STONE WALL, CAN STUN AN ENEMY"); } function runrun(_arg1:Event){ var idx:*; var idy:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "defending"){ if (hp <= 0){ curState = "destroy"; }; } else { if (curState == "destroy"){ xroot = this.root; idx = int((this.x / MyData.nodeSize())); idy = int((this.y / MyData.nodeSize())); xroot.isiMap[idy][idx] = null; xroot.myLevel[idy][idx] = 0; deActivateBuilding(); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ } public function getCost(_arg1):String{ if (_arg1 > 1){ return ("-"); }; return (_COST[(_arg1 - 1)]); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getPower():String{ return ("-"); } public function getSpeed():String{ return ("-"); } public function setMP(_arg1:int){ mp = _arg1; } public function getRange():String{ return ("-"); } public function getMP():int{ return (mp); } public function getType():String{ return (mytype); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "defending"; } public function getHP():int{ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } } }//package
Section 140
//Wall3 (Wall3) package { import flash.display.*; import flash.events.*; public class Wall3 extends MovieClip { const _TIMEBUILD; const _MPLVL; const _HPLVL; var hp; var maxmp:int; var lvl:int; var enemies; var curState; var xroot; var maxhp:int; public var body:MovieClip; var mp; public var upgrading:Boolean; var mytype:String; var curTarget; public static const _COST = [200, 300, 400]; public function Wall3(){ _TIMEBUILD = [int((1 * MyData.getFps())), int((2.5 * MyData.getFps())), int((4 * MyData.getFps()))]; _HPLVL = [160, 200, 300]; _MPLVL = [0, 0, 0]; super(); lvl = 1; mytype = "WIRE WALL"; hp = (maxhp = _HPLVL[(lvl - 1)]); mp = (maxmp = _MPLVL[(lvl - 1)]); curTarget = null; } public function getTimeBuild(_arg1):String{ return (_TIMEBUILD[(_arg1 - 1)]); } public function getInfo():String{ return ("WIRE WALL, REFLECT DAMAGE"); } function runrun(_arg1:Event){ var idx:*; var idy:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "defending"){ if (hp <= 0){ curState = "destroy"; }; } else { if (curState == "destroy"){ xroot = this.root; idx = int((this.x / MyData.nodeSize())); idy = int((this.y / MyData.nodeSize())); xroot.isiMap[idy][idx] = null; xroot.myLevel[idy][idx] = 0; deActivateBuilding(); }; }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); }; } public function levelUp(){ } public function getCost(_arg1):String{ if (_arg1 > 1){ return ("-"); }; return (_COST[(_arg1 - 1)]); } public function deActivateBuilding(){ var _local1:*; _local1 = this.parent; this.removeEventListener(Event.ENTER_FRAME, runrun); _local1.removeChild(this); } public function getPower():String{ return ("-"); } public function getSpeed():String{ return ("-"); } public function setMP(_arg1:int){ mp = _arg1; } public function getRange():String{ return ("-"); } public function getMP():int{ return (mp); } public function getType():String{ return (mytype); } public function getLevel():int{ return (lvl); } public function activateBuilding(){ this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); curState = "defending"; } public function getHP():int{ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } } }//package
Section 141
//WaveRoll (WaveRoll) package { import flash.display.*; public dynamic class WaveRoll extends MovieClip { } }//package
Section 142
//winMusic (winMusic) package { import flash.media.*; public dynamic class winMusic extends Sound { } }//package
Section 143
//wos (wos) package { import flash.media.*; public dynamic class wos extends Sound { } }//package
Section 144
//Zombie1 (Zombie1) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie1 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; public function Zombie1(){ this.rotation = 0; gotoAndStop("walk"); x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 100); mp = (Maxmp = 0); power = 10; speed = 1; condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 20)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } } }//package
Section 145
//Zombie2 (Zombie2) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie2 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; public function Zombie2(){ this.rotation = 0; gotoAndStop("walk"); speed = 1.5; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 3; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 15)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ trace("reflect"); hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } } }//package
Section 146
//Zombie3 (Zombie3) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie3 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; public function Zombie3(){ this.rotation = 0; gotoAndStop("walk"); speed = 0.5; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 15; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 30)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ trace("reflect"); hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } } }//package
Section 147
//Zombie4 (Zombie4) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie4 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; public function Zombie4(){ this.rotation = 0; gotoAndStop("walk"); speed = 1; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 10; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 25)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ trace("reflect"); hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } } }//package
Section 148
//Zombie5 (Zombie5) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie5 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; var ty:Number; var tx; var runner:Array; var ctrspawn:int; public function Zombie5(){ this.rotation = 0; gotoAndStop("walk"); speed = 0.8; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 8; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var i:*; var tx:*; var ty:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "spawned"){ ctrspawn--; if (ctrspawn == 25){ visible = true; } else { if (ctrspawn <= 0){ kebal = false; curState = "move"; condition = 1; } else { if (ctrspawn < 25){ scaleX = (scaleY = (scaleY + 0.02)); rotation = (rotation + 25); }; }; }; } else { if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 25)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ trace("reflect"); hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ if (isSpawnable()){ runner = new Array(2); i = 0; while (i < 2) { runner[i] = new Zombie5(); xroot.enemies.addChild(runner[i]); xroot.jumenemy++; do { tx = (e.currentTarget.x + MyData.randRange(-10, 10)); ty = (e.currentTarget.y + MyData.randRange(-10, 10)); } while (myMap[int((ty / MyData.nodeSize()))][int((tx / MyData.nodeSize()))] != 0); runner[i].x = tx; runner[i].y = ty; runner[i].scaleX = (runner[i].scaleY = 0.1); runner[i].initTarget(finLocIdx.x, finLocIdx.y); runner[i].setCollision(collision); runner[i].setObstacle(obstacle); runner[i].setMap(myMap); runner[i].setPaths(paths); runner[i].setState("spawned"); runner[i].setCtrSpawn(50); runner[i].setScore(int((myscore / 4))); runner[i].setInitData(int((Maxhp / 2)), int((Maxmp / 2)), int((power / 2)), speed, parseInt("01111", 2)); runner[i].activateUnit(); i = (i + 1); }; }; deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } public function setCtrSpawn(_arg1:int){ ctrspawn = _arg1; visible = false; kebal = true; condition = 0; } public function setState(_arg1:String){ curState = _arg1; } } }//package
Section 149
//Zombie6 (Zombie6) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie6 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; public function Zombie6(){ this.rotation = 0; gotoAndStop("walk"); speed = 1; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 10; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 25)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ trace("reflect"); hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } } }//package
Section 150
//Zombie7 (Zombie7) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombie7 extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; var tmppath; public function Zombie7(){ this.rotation = 0; gotoAndStop("walk"); speed = 1; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 5; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "think"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var pt:*; var i:*; var j:*; var tpath:*; var camino:*; var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "think"){ pt = new Point(99, 99); i = 0; while (i < myMap.length) { j = 0; while (j < myMap[0].length) { if ((((myMap[i][j] == 14)) || ((myMap[i][j] == 15)))){ if ((Math.abs((i - curLocIdx.y)) + Math.abs((j - curLocIdx.x))) < (Math.abs((pt.x - curLocIdx.x)) + Math.abs((pt.y - curLocIdx.y)))){ pt.x = j; pt.y = i; }; }; j = (j + 1); }; i = (i + 1); }; if ((((pt.x == 99)) && ((pt.y == 99)))){ paths = tmppath; } else { camino = new MapFinder([new Point(curLocIdx.x, curLocIdx.y)], pt, myMap); tpath = camino.findPath(); if (tpath.length > 0){ paths = tpath; } else { paths = tmppath; }; }; curState = "move"; } else { if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if (newactif){ curState = "think"; }; if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))) || ((myMap[tfore_y][tfore_x] == 14)))) || ((myMap[tfore_y][tfore_x] == 15)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((((anim.currentFrame == 10)) || ((anim.currentFrame == 20)))) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "think"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live--; deActivateUnit(); }; }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } override public function setPaths(_arg1:Array){ tmppath = _arg1; if (newactif){ paths = _arg1; }; newactif = true; } } }//package
Section 151
//ZombieBoss (ZombieBoss) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class ZombieBoss extends Zombies { public var pbody:MovieClip; public var anim:MovieClip; public var barHealth:MovieClip; public function ZombieBoss(){ this.rotation = 0; gotoAndStop("walk"); speed = 1; x_speed = (y_speed = 0); min_speed = -2; max_speed = 4; forecast = 15; turning_step = 20; turnDegreeSize = 22; turning_tilt = 3; speed_step = 1; turn = 0; power = 10; finLocIdx = new Point(0, 0); curLocIdx = new Point(0, 0); nextLocIdx = new Point(0, 0); curState = "move"; curTargetTwr = null; hp = (Maxhp = 1000); mp = (Maxmp = 0); condition = 1; newactif = true; } override public function runrun(_arg1:Event){ var tpoint:*; var forecast_x:*; var forecast_y:*; var tfore_x:*; var tfore_y:*; var dx:*; var dy:*; var angle:*; var sudut:*; var par:*; var e = _arg1; try { xroot = this.root; if (!xroot.isPause){ if (curState == "move"){ tpoint = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((((tpoint.x == nextLocIdx.x)) && ((tpoint.y == nextLocIdx.y)))) || (newactif))){ newactif = false; locatePosition(); dx = (((nextLocIdx.x * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.x); dy = (((nextLocIdx.y * MyData.nodeSize()) + (MyData.nodeSize() / 2)) - e.target.y); angle = Math.atan2(dy, dx); sudut = ((angle * 180) / Math.PI); this.rotation = sudut; this.barHealth.rotation = -(sudut); }; x_speed = (speed * Math.cos(((this.rotation * Math.PI) / 180))); y_speed = (speed * Math.sin(((this.rotation * Math.PI) / 180))); forecast_x = (this.x + (5 * x_speed)); forecast_y = (this.y + (5 * y_speed)); tfore_x = Math.floor((forecast_x / MyData.nodeSize())); tfore_y = Math.floor((forecast_y / MyData.nodeSize())); if ((((((myMap[tfore_y][tfore_x] == 10)) || ((myMap[tfore_y][tfore_x] == 11)))) || ((myMap[tfore_y][tfore_x] == 12)))){ curState = "attack"; gotoAndStop("attack"); xroot = this.root; curTargetTwr = xroot.isiMap[tfore_y][tfore_x]; }; if (slowed){ x_speed = (x_speed - (x_speed * (persenSlow / 100))); y_speed = (y_speed - (y_speed * (persenSlow / 100))); if (--ctrSlow <= 0){ slowed = false; }; }; if (stuned){ x_speed = 0; y_speed = 0; if (--ctrStun <= 0){ gotoAndStop("walk"); stuned = false; }; }; e.target.x = (e.target.x + x_speed); e.target.y = (e.target.y + y_speed); if (cekFinish()){ curState = "finish"; }; } else { if (curState == "attack"){ if ((((anim.currentFrame == 20)) && (!(stuned)))){ if (curTargetTwr.getHP() > 0){ curTargetTwr.setHP((curTargetTwr.getHP() - power)); if ((curTargetTwr is Wall3)){ hp = (hp - int(((power * 25) / 100))); }; if ((curTargetTwr is Wall2)){ if (Math.random() < 0.025){ setStun((2 * 25)); }; }; } else { gotoAndStop("walk"); curState = "move"; }; } else { if (stuned){ if (--ctrStun <= 0){ gotoAndStop("attack"); stuned = false; }; }; }; } else { if (curState == "finish"){ xroot = this.root; xroot.live = (xroot.live - 3); deActivateUnit(); }; }; }; if (poisoned){ hp = (hp - dmgPoison); if (--ctrPoison <= 0){ poisoned = false; }; }; if (xroot.showEnemyHealth){ this.barHealth.scaleX = (hp / Maxhp); this.barHealth.visible = true; } else { this.barHealth.visible = false; }; if (hp <= 0){ deActivateUnit(); }; }; } catch(err:Error) { removeEventListener(Event.ENTER_FRAME, runrun); condition = 0; xroot.jumenemy--; par = this.parent; par.removeChild(this); }; } public function reflectBullet(_arg1:MovieClip){ var _local2:*; _local2 = new BulletRflct(3, _arg1, 150); _local2.x = this.x; _local2.y = this.y; _local2.setSource(this); xroot = this.root; xroot.efek2.addChild(_local2); xroot.Zound("refbullet"); } } }//package
Section 152
//Zombies (Zombies) package { import flash.display.*; import flash.geom.*; import flash.events.*; public class Zombies extends MovieClip { var myMap; public var waveke; var min_speed; var forecast; var nextLocIdx:Point; var curState; var speed; var myscore:Number; var slowed:Boolean; var poisonable:Boolean; public var kebal:Boolean;// = false var turning_tilt; var ctrStun:Number; var turn; var turning_step; var obstacle; var ctrPoison:Number; var curTargetTwr; var persenSlow:Number; var stuned:Boolean; var slowable:Boolean; var paths; var y_speed; var power:Number; var hp; var stunable:Boolean; var condition; var collision; var finLocIdx:Point; var Maxhp:int; var spawnable:Boolean; var xroot; var turnDegreeSize; var newactif; var dmgPoison:Number; var poisoned:Boolean; var mp; var max_speed; var chewable:Boolean; var curLocIdx:Point; var x_speed; var ctrSlow:Number; var img:MovieClip; var speed_step; var Maxmp:int; public function Zombies(){ kebal = false; super(); } public function getObstacle(){ return (obstacle); } function setPoison(_arg1, _arg2){ poisoned = true; ctrPoison = _arg1; dmgPoison = _arg2; } public function isSlowable(){ return (slowable); } public function runrun(_arg1:Event){ } public function getMap(){ return (myMap); } function deActivateUnit(){ var _local1:*; xroot = this.root; xroot.score = (xroot.score + myscore); xroot.jumenemy--; xroot.jumKillMonster++; xroot.cekMedalKillMonster(); if (curState != "finish"){ xroot.cekCombo(); xroot.createParticleFX(this); } else { xroot.breakCombo(); }; this.removeEventListener(Event.ENTER_FRAME, runrun); this.condition = 0; _local1 = this.parent; _local1.removeChild(this); } function cekFinish():Boolean{ var _local1:*; _local1 = new Point(int((this.x / MyData.nodeSize())), int((this.y / MyData.nodeSize()))); if ((((_local1.x == finLocIdx.x)) && ((_local1.y == finLocIdx.y)))){ return (true); }; return (false); } function setStun(_arg1){ gotoAndStop("stun"); stuned = true; ctrStun = _arg1; } public function getMaxMP(){ return (Maxmp); } public function initPosition(_arg1:Number, _arg2:Number){ this.x = ((_arg1 * MyData.nodeSize()) + (MyData.nodeSize() / 2)); this.y = ((_arg2 * MyData.nodeSize()) + (MyData.nodeSize() / 2)); } public function getCondition(){ return (condition); } public function isStunable(){ return (stunable); } public function getCollision(){ return (collision); } public function getSpeed(){ return (speed); } function locatePosition(){ var _local1:*; var _local2:*; var _local3:*; curLocIdx.x = int((this.x / MyData.nodeSize())); curLocIdx.y = int((this.y / MyData.nodeSize())); if (paths[curLocIdx.y][curLocIdx.x] == undefined){ trace("path macet!"); _local1 = this.x; _local2 = this.y; _local3 = 0; do { _local3++; _local1 = (_local1 - x_speed); _local2 = (_local2 - y_speed); curLocIdx.x = int((_local1 / MyData.nodeSize())); curLocIdx.y = int((_local2 / MyData.nodeSize())); trace(("speede piro toh : " + x_speed)); } while ((((paths[curLocIdx.y][curLocIdx.x] == undefined)) && ((_local3 < 25)))); nextLocIdx = paths[curLocIdx.y][curLocIdx.x]; } else { nextLocIdx = paths[curLocIdx.y][curLocIdx.x]; }; } public function initTarget(_arg1:Number, _arg2:Number){ finLocIdx.x = _arg1; finLocIdx.y = _arg2; } public function getHP(){ return (hp); } public function setHP(_arg1:int){ hp = _arg1; } public function setCollision(_arg1:MovieClip){ collision = _arg1; } public function activateUnit(){ locatePosition(); this.addEventListener(Event.ENTER_FRAME, runrun, false, 0, true); } public function setObstacle(_arg1:MovieClip){ obstacle = _arg1; } public function isPoisonable(){ return (poisonable); } public function isChewable(){ return (chewable); } public function setScore(_arg1:Number){ myscore = _arg1; } public function isSpawnable(){ return (spawnable); } public function setInitData(_arg1=null, _arg2=null, _arg3=null, _arg4=null, _arg5=null){ if (_arg1 != null){ hp = (Maxhp = _arg1); }; if (_arg2 != null){ mp = (Maxmp = _arg2); }; if (_arg3 != null){ power = _arg3; }; if (_arg4 != null){ speed = _arg4; }; if (_arg5 != null){ if ((_arg5 & 1)){ chewable = true; }; _arg5 = (_arg5 >> 1); if ((_arg5 & 1)){ stunable = true; }; _arg5 = (_arg5 >> 1); if ((_arg5 & 1)){ slowable = true; }; _arg5 = (_arg5 >> 1); if ((_arg5 & 1)){ poisonable = true; }; _arg5 = (_arg5 >> 1); if ((_arg5 & 1)){ spawnable = true; }; _arg5 = (_arg5 >> 1); }; } function setSlow(_arg1, _arg2){ slowed = true; ctrSlow = _arg1; persenSlow = _arg2; } public function setMap(_arg1:Array){ myMap = _arg1; } public function getIndexPos(){ return (curLocIdx); } public function setPaths(_arg1:Array){ newactif = true; paths = _arg1; } public function getMaxHP(){ return (Maxhp); } } }//package

Library Items

Symbol 1 Sound {wos}
Symbol 2 Sound {bite}
Symbol 3 Sound {act}
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {walkTile}Uses:4
Symbol 6 GraphicUsed by:67
Symbol 7 GraphicUsed by:58 67 138 613 630
Symbol 8 GraphicUsed by:9 28 63 114 952 957
Symbol 9 MovieClipUses:8Used by:28 63 185 227 266 304 342 382 454 499 609 710 711 795 952 957
Symbol 10 GraphicUsed by:28
Symbol 11 GraphicUsed by:21 28
Symbol 12 GraphicUsed by:13 28
Symbol 13 MovieClipUses:12Used by:21
Symbol 14 GraphicUsed by:21 28
Symbol 15 GraphicUsed by:16 28
Symbol 16 MovieClipUses:15Used by:21
Symbol 17 GraphicUsed by:21 28
Symbol 18 GraphicUsed by:19 28
Symbol 19 MovieClipUses:18Used by:21
Symbol 20 GraphicUsed by:21 28
Symbol 21 MovieClipUses:11 13 14 16 17 19 20Used by:28
Symbol 22 GraphicUsed by:26
Symbol 23 GraphicUsed by:26
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26
Symbol 26 MovieClip {greenprotector_fla.kinclong_8}Uses:22 23 25Used by:28
Symbol 27 GraphicUsed by:28
Symbol 28 ButtonUses:9 10 21 26 27 8 11 12 14 15 17 18 20Used by:67  Timeline
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:67
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:33
Symbol 33 MovieClipUses:32Used by:58
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:36 58
Symbol 36 MovieClipUses:35Used by:58
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:58
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClipUses:41Used by:58
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClipUses:44Used by:58
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 MovieClipUses:47Used by:58
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:51
Symbol 51 MovieClipUses:50Used by:58
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54
Symbol 54 MovieClipUses:53Used by:58
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClip {greenprotector_fla.cliploader_10}Uses:33 36 35 39 42 45 48 51 54 57 7Used by:67
Symbol 59 GraphicUsed by:63 137
Symbol 60 GraphicUsed by:61 63 135
Symbol 61 MovieClipUses:60Used by:63
Symbol 62 SoundUsed by:63
Symbol 63 ButtonUses:9 59 61 8 60 62Used by:67  Timeline
Symbol 64 FontUsed by:65 66 632
Symbol 65 TextUses:64Used by:67
Symbol 66 TextUses:64Used by:67
Symbol 67 MovieClip {greenprotector_fla.preloader_1}Uses:6 7 28 30 58 63 65 66Used by:Timeline
Symbol 68 ShapeTweeningUsed by:74
Symbol 69 GraphicUsed by:74
Symbol 70 ShapeTweeningUsed by:74
Symbol 71 GraphicUsed by:74
Symbol 72 ShapeTweeningUsed by:74
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClip {greenprotector_fla.transisi_22}Uses:68 69 70 71 72 73Used by:Timeline
Symbol 75 GraphicUsed by:121 138
Symbol 76 GraphicUsed by:121
Symbol 77 GraphicUsed by:113
Symbol 78 GraphicUsed by:113
Symbol 79 GraphicUsed by:113
Symbol 80 GraphicUsed by:113
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:113
Symbol 83 GraphicUsed by:113
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:86
Symbol 86 MovieClipUses:85Used by:113
Symbol 87 GraphicUsed by:113
Symbol 88 GraphicUsed by:112 113
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:113
Symbol 91 GraphicUsed by:113
Symbol 92 GraphicUsed by:113
Symbol 93 GraphicUsed by:113
Symbol 94 GraphicUsed by:113
Symbol 95 GraphicUsed by:113
Symbol 96 GraphicUsed by:108
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:108
Symbol 99 GraphicUsed by:108
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:102
Symbol 102 MovieClipUses:101Used by:108
Symbol 103 GraphicUsed by:108
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:108
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:96 98 99 102 103 106 107Used by:113
Symbol 109 GraphicUsed by:112
Symbol 110 GraphicUsed by:112
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:88 109 110 111Used by:113
Symbol 113 MovieClip {greenprotector_fla.anim_naga_24}Uses:77 78 79 80 82 83 86 87 88 90 91 92 93 94 95 108 112Used by:121
Symbol 114 ButtonUses:8Used by:121 138
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:117
Symbol 117 MovieClipUses:116Used by:121
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClip {greenprotector_fla.games_free_prealoader2_23}Uses:75 76 113 114 117 119 120Used by:Timeline
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:124
Symbol 124 MovieClipUses:123Used by:137
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClipUses:126Used by:137
Symbol 128 GraphicUsed by:137
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:131
Symbol 131 MovieClipUses:130Used by:137
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClipUses:133Used by:137
Symbol 135 MovieClipUses:60Used by:137
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClip {greenprotector_fla.prof_nuang_38}Uses:124 127 128 131 134 135 136 59Used by:138
Symbol 138 MovieClip {greenprotector_fla.splashgreenprotector_37}Uses:75 7 137 114Used by:Timeline
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:143 656 1217
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:143 657
Symbol 143 MovieClip {MapBG}Uses:140 142Used by:Timeline
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:146 616
Symbol 146 MovieClipUses:145Used by:162 184
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:149 616
Symbol 149 MovieClipUses:148Used by:162 184
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:152 616
Symbol 152 MovieClipUses:151Used by:162 184
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:155 616
Symbol 155 MovieClipUses:154Used by:162 184
Symbol 156 BitmapUsed by:157
Symbol 157 GraphicUses:156Used by:158 616
Symbol 158 MovieClipUses:157Used by:162 184
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:161 184 616
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClipUses:146 149 152 155 158 161Used by:185 1217
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:163Used by:185 227 266 304 342 382 454 499
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:167
Symbol 167 MovieClipUses:166Used by:183
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:170
Symbol 170 MovieClipUses:169Used by:183
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:173
Symbol 173 MovieClipUses:172Used by:183
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:174Used by:176
Symbol 176 MovieClipUses:175Used by:183
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:179
Symbol 179 MovieClipUses:178Used by:183
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:182
Symbol 182 MovieClipUses:181Used by:183
Symbol 183 MovieClipUses:167 170 173 176 179 182Used by:185
Symbol 184 MovieClipUses:146 149 152 155 158 160Used by:185
Symbol 185 MovieClip {Zombie1}Uses:9 162 164 183 184Used by:Timeline
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:188 192 616
Symbol 188 MovieClipUses:187Used by:206 226
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:191 193 616
Symbol 191 MovieClipUses:190Used by:206 226
Symbol 192 MovieClipUses:187Used by:206 226
Symbol 193 MovieClipUses:190Used by:206 226
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:196 616
Symbol 196 MovieClipUses:195Used by:206 226
Symbol 197 BitmapUsed by:198
Symbol 198 GraphicUses:197Used by:199 616
Symbol 199 MovieClipUses:198Used by:206 226
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:202 616
Symbol 202 MovieClipUses:201Used by:206 226
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205 226 616
Symbol 205 MovieClipUses:204Used by:206
Symbol 206 MovieClipUses:188 191 192 193 196 199 202 205Used by:227 1217
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:209 213
Symbol 209 MovieClipUses:208Used by:225
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:212 214
Symbol 212 MovieClipUses:211Used by:225
Symbol 213 MovieClipUses:208Used by:225
Symbol 214 MovieClipUses:211Used by:225
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:217
Symbol 217 MovieClipUses:216Used by:225
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:225
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:225
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:224
Symbol 224 MovieClipUses:223Used by:225
Symbol 225 MovieClipUses:209 212 213 214 217 219 221 224Used by:227
Symbol 226 MovieClipUses:188 191 192 193 196 199 202 204Used by:227
Symbol 227 MovieClip {Zombie2}Uses:9 206 164 225 226Used by:Timeline
Symbol 228 BitmapUsed by:229
Symbol 229 GraphicUses:228Used by:230 616
Symbol 230 MovieClipUses:229Used by:246 265
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:233 616
Symbol 233 MovieClipUses:232Used by:246 265
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:236 616
Symbol 236 MovieClipUses:235Used by:246 265
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:239 616
Symbol 239 MovieClipUses:238Used by:246 265
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:242 616
Symbol 242 MovieClipUses:241Used by:246 265
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:245 265 616
Symbol 245 MovieClipUses:244Used by:246
Symbol 246 MovieClipUses:230 233 236 239 242 245Used by:266 1217
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:249
Symbol 249 MovieClipUses:248Used by:264
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:252
Symbol 252 MovieClipUses:251Used by:264
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:255
Symbol 255 MovieClipUses:254Used by:264
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:258
Symbol 258 MovieClipUses:257Used by:264
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:264
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:263
Symbol 263 MovieClipUses:262Used by:264
Symbol 264 MovieClipUses:249 252 255 258 260 263Used by:266
Symbol 265 MovieClipUses:230 233 236 239 242 244Used by:266
Symbol 266 MovieClip {Zombie3}Uses:246 9 164 264 265Used by:Timeline
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:269 616
Symbol 269 MovieClipUses:268Used by:283 303
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:272 616
Symbol 272 MovieClipUses:271Used by:283 303
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:283 301 616
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:283 302 616
Symbol 277 BitmapUsed by:278
Symbol 278 GraphicUses:277Used by:279 616
Symbol 279 MovieClipUses:278Used by:283 303
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282 303 616
Symbol 282 MovieClipUses:281Used by:283
Symbol 283 MovieClipUses:269 272 274 276 279 282Used by:304 1217
Symbol 284 BitmapUsed by:285
Symbol 285 GraphicUses:284Used by:286
Symbol 286 MovieClipUses:285Used by:300
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:289
Symbol 289 MovieClipUses:288Used by:300
Symbol 290 BitmapUsed by:291
Symbol 291 GraphicUses:290Used by:300
Symbol 292 BitmapUsed by:293
Symbol 293 GraphicUses:292Used by:300
Symbol 294 BitmapUsed by:295
Symbol 295 GraphicUses:294Used by:296
Symbol 296 MovieClipUses:295Used by:300
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:299
Symbol 299 MovieClipUses:298Used by:300
Symbol 300 MovieClipUses:286 289 291 293 296 299Used by:304
Symbol 301 MovieClipUses:274Used by:303
Symbol 302 MovieClipUses:276Used by:303
Symbol 303 MovieClipUses:269 272 301 302 279 281Used by:304
Symbol 304 MovieClip {Zombie4}Uses:9 283 164 300 303Used by:Timeline
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:307 616
Symbol 307 MovieClipUses:306Used by:321 341
Symbol 308 BitmapUsed by:309
Symbol 309 GraphicUses:308Used by:310 616
Symbol 310 MovieClipUses:309Used by:321 341
Symbol 311 BitmapUsed by:312
Symbol 312 GraphicUses:311Used by:321 339 616
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:313Used by:321 340 616
Symbol 315 BitmapUsed by:316
Symbol 316 GraphicUses:315Used by:317 341 616
Symbol 317 MovieClipUses:316Used by:321
Symbol 318 BitmapUsed by:319
Symbol 319 GraphicUses:318Used by:320 616
Symbol 320 MovieClipUses:319Used by:321 341
Symbol 321 MovieClipUses:307 310 312 314 317 320Used by:342 1217
Symbol 322 BitmapUsed by:323
Symbol 323 GraphicUses:322Used by:324
Symbol 324 MovieClipUses:323Used by:338
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:327
Symbol 327 MovieClipUses:326Used by:338
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:338
Symbol 330 BitmapUsed by:331
Symbol 331 GraphicUses:330Used by:338
Symbol 332 BitmapUsed by:333
Symbol 333 GraphicUses:332Used by:334
Symbol 334 MovieClipUses:333Used by:338
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:337
Symbol 337 MovieClipUses:336Used by:338
Symbol 338 MovieClipUses:324 327 329 331 334 337Used by:342
Symbol 339 MovieClipUses:312Used by:341
Symbol 340 MovieClipUses:314Used by:341
Symbol 341 MovieClipUses:307 310 339 340 316 320Used by:342
Symbol 342 MovieClip {Zombie5}Uses:9 321 164 338 341Used by:Timeline
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:345 616
Symbol 345 MovieClipUses:344Used by:361 381
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:348 616
Symbol 348 MovieClipUses:347Used by:361 381
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:351 616
Symbol 351 MovieClipUses:350Used by:361 381
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:354 616
Symbol 354 MovieClipUses:353Used by:361 381
Symbol 355 BitmapUsed by:356
Symbol 356 GraphicUses:355Used by:357 616
Symbol 357 MovieClipUses:356Used by:361 381
Symbol 358 BitmapUsed by:359
Symbol 359 GraphicUses:358Used by:360 381 616
Symbol 360 MovieClipUses:359Used by:361
Symbol 361 MovieClipUses:345 348 351 354 357 360Used by:382 1217
Symbol 362 BitmapUsed by:363
Symbol 363 GraphicUses:362Used by:364
Symbol 364 MovieClipUses:363Used by:380
Symbol 365 BitmapUsed by:366
Symbol 366 GraphicUses:365Used by:367
Symbol 367 MovieClipUses:366Used by:380
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:370
Symbol 370 MovieClipUses:369Used by:380
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:373
Symbol 373 MovieClipUses:372Used by:380
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374Used by:376
Symbol 376 MovieClipUses:375Used by:380
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:379
Symbol 379 MovieClipUses:378Used by:380
Symbol 380 MovieClipUses:364 367 370 373 376 379Used by:382
Symbol 381 MovieClipUses:345 348 351 354 357 359Used by:382
Symbol 382 MovieClip {Zombie6}Uses:9 361 164 380 381Used by:Timeline
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:385 616
Symbol 385 MovieClipUses:384Used by:409
Symbol 386 BitmapUsed by:387
Symbol 387 GraphicUses:386Used by:388 616
Symbol 388 MovieClipUses:387Used by:409 453
Symbol 389 BitmapUsed by:397 614
Symbol 390 BitmapUsed by:397 614
Symbol 391 BitmapUsed by:397 614
Symbol 392 BitmapUsed by:397 614
Symbol 393 BitmapUsed by:397 614
Symbol 394 BitmapUsed by:397 614
Symbol 395 BitmapUsed by:397 614
Symbol 396 BitmapUsed by:397 614
Symbol 397 GraphicUses:389 390 391 392 393 394 395 396Used by:409 453
Symbol 398 BitmapUsed by:407
Symbol 399 BitmapUsed by:407
Symbol 400 BitmapUsed by:407
Symbol 401 BitmapUsed by:407
Symbol 402 BitmapUsed by:407
Symbol 403 BitmapUsed by:407
Symbol 404 BitmapUsed by:407
Symbol 405 BitmapUsed by:407
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:398 399 400 401 402 403 404 405 406Used by:408
Symbol 408 MovieClipUses:407Used by:409 453 616
Symbol 409 MovieClipUses:385 388 397 408Used by:454 1217
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:452
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:452
Symbol 414 BitmapUsed by:422
Symbol 415 BitmapUsed by:422
Symbol 416 BitmapUsed by:422
Symbol 417 BitmapUsed by:422
Symbol 418 BitmapUsed by:422
Symbol 419 BitmapUsed by:422
Symbol 420 BitmapUsed by:422
Symbol 421 BitmapUsed by:422
Symbol 422 GraphicUses:414 415 416 417 418 419 420 421Used by:452
Symbol 423 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 424 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 425 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 426 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 427 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 428 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 429 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 430 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 431 BitmapUsed by:432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Symbol 432 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 433 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 434 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 435 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 436 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 437 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 438 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 439 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 440 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 441 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 442 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 443 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 444 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 445 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 446 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 447 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 448 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 449 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 450 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 451 GraphicUses:423 424 425 426 427 428 429 430 431Used by:452
Symbol 452 MovieClipUses:411 413 422 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451Used by:454
Symbol 453 MovieClipUses:388 397 408Used by:454
Symbol 454 MovieClip {Zombie7}Uses:9 409 164 452 453Used by:Timeline
Symbol 455 BitmapUsed by:456
Symbol 456 GraphicUses:455Used by:457 616
Symbol 457 MovieClipUses:456Used by:471 498
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:458Used by:460 616
Symbol 460 MovieClipUses:459Used by:471 498
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:463 616
Symbol 463 MovieClipUses:462Used by:471 498
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:466 616
Symbol 466 MovieClipUses:465Used by:471 498
Symbol 467 BitmapUsed by:470 497 615
Symbol 468 BitmapUsed by:470 496 615
Symbol 469 BitmapUsed by:470 495 615
Symbol 470 GraphicUses:467 468 469Used by:471
Symbol 471 MovieClipUses:457 460 463 466 470Used by:499 1217
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:474
Symbol 474 MovieClipUses:473Used by:494
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:477
Symbol 477 MovieClipUses:476Used by:494
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:480
Symbol 480 MovieClipUses:479Used by:494
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:483
Symbol 483 MovieClipUses:482Used by:494
Symbol 484 BitmapUsed by:485 491
Symbol 485 GraphicUses:484Used by:494
Symbol 486 BitmapUsed by:489 490 492 493
Symbol 487 BitmapUsed by:489 490 492 493
Symbol 488 BitmapUsed by:489 490 492 493
Symbol 489 GraphicUses:486 487 488Used by:494
Symbol 490 GraphicUses:486 487 488Used by:494
Symbol 491 GraphicUses:484Used by:494
Symbol 492 GraphicUses:486 487 488Used by:494
Symbol 493 GraphicUses:486 487 488Used by:494
Symbol 494 MovieClipUses:474 477 480 483 485 489 490 491 492 493Used by:499
Symbol 495 GraphicUses:469Used by:498
Symbol 496 GraphicUses:468Used by:498
Symbol 497 GraphicUses:467Used by:498
Symbol 498 MovieClipUses:457 460 463 466 495 496 497Used by:499
Symbol 499 MovieClip {ZombieBoss}Uses:471 9 164 494 498Used by:Timeline
Symbol 500 GraphicUsed by:501
Symbol 501 MovieClipUses:500Used by:505 519 523 527 531 535 539 543
Symbol 502 BitmapUsed by:503
Symbol 503 GraphicUses:502Used by:504 1048
Symbol 504 MovieClipUses:503Used by:505 1048 1217
Symbol 505 MovieClip {Tower1}Uses:501 504Used by:Timeline
Symbol 506 BitmapUsed by:510 511 512 516 517
Symbol 507 BitmapUsed by:510 511 512 514 515 516 517
Symbol 508 BitmapUsed by:510 511 512 514 515 516 517
Symbol 509 BitmapUsed by:510 511 512 514 515 516 517
Symbol 510 GraphicUses:506 507 508 509Used by:518 1050
Symbol 511 GraphicUses:506 507 508 509Used by:518
Symbol 512 GraphicUses:506 507 508 509Used by:518
Symbol 513 BitmapUsed by:514 515
Symbol 514 GraphicUses:513 507 508 509Used by:518
Symbol 515 GraphicUses:513 507 508 509Used by:518
Symbol 516 GraphicUses:506 507 508 509Used by:518
Symbol 517 GraphicUses:506 507 508 509Used by:518
Symbol 518 MovieClip {greenprotector_fla.maneater_162}Uses:510 511 512 514 515 516 517Used by:519 1050 1217
Symbol 519 MovieClip {Tower2}Uses:501 518Used by:Timeline
Symbol 520 BitmapUsed by:521
Symbol 521 GraphicUses:520Used by:522 1052
Symbol 522 MovieClipUses:521Used by:523 1052 1217
Symbol 523 MovieClip {Tower3}Uses:501 522Used by:Timeline
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:526 1054
Symbol 526 MovieClipUses:525Used by:527 1054 1217
Symbol 527 MovieClip {Tower4}Uses:501 526Used by:Timeline
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:530 1049
Symbol 530 MovieClipUses:529Used by:531 1049 1217
Symbol 531 MovieClip {Tower5}Uses:501 530Used by:Timeline
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:534 1051
Symbol 534 MovieClipUses:533Used by:535 1051 1217
Symbol 535 MovieClip {Tower6}Uses:501 534Used by:Timeline
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:538 1053
Symbol 538 MovieClipUses:537Used by:539 1053 1217
Symbol 539 MovieClip {Tower7}Uses:501 538Used by:Timeline
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:542 1055
Symbol 542 MovieClipUses:541Used by:543 1055 1217
Symbol 543 MovieClip {Tower8}Uses:501 542Used by:Timeline
Symbol 544 BitmapUsed by:545 1056 1188
Symbol 545 GraphicUses:544Used by:546 1057
Symbol 546 MovieClipUses:545Used by:547
Symbol 547 MovieClip {Building1}Uses:546Used by:1217  Timeline
Symbol 548 BitmapUsed by:549 1058 1188
Symbol 549 GraphicUses:548Used by:550 1059
Symbol 550 MovieClipUses:549Used by:551
Symbol 551 MovieClip {Building2}Uses:550Used by:Timeline
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:565
Symbol 554 ShapeTweeningUsed by:564
Symbol 555 ShapeTweeningUsed by:564
Symbol 556 ShapeTweeningUsed by:564
Symbol 557 ShapeTweeningUsed by:564
Symbol 558 ShapeTweeningUsed by:564
Symbol 559 GraphicUsed by:564
Symbol 560 ShapeTweeningUsed by:564
Symbol 561 ShapeTweeningUsed by:564
Symbol 562 ShapeTweeningUsed by:564
Symbol 563 GraphicUsed by:564
Symbol 564 MovieClipUses:554 555 556 557 558 559 560 561 562 563Used by:565
Symbol 565 MovieClipUses:553 564Used by:573 1217
Symbol 566 BitmapUsed by:567
Symbol 567 GraphicUses:566Used by:572
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:572
Symbol 570 GraphicUsed by:571
Symbol 571 MovieClipUses:570Used by:572
Symbol 572 MovieClipUses:567 569 571Used by:573
Symbol 573 MovieClip {House}Uses:565 572Used by:Timeline
Symbol 574 BitmapUsed by:575 1066 1190
Symbol 575 GraphicUses:574Used by:576 1067
Symbol 576 MovieClipUses:575Used by:577
Symbol 577 MovieClip {Trap1}Uses:576Used by:Timeline
Symbol 578 BitmapUsed by:579 1060 1190
Symbol 579 GraphicUses:578Used by:580 1061
Symbol 580 MovieClipUses:579Used by:581
Symbol 581 MovieClip {Wall1}Uses:580Used by:Timeline
Symbol 582 BitmapUsed by:583 1062 1190
Symbol 583 GraphicUses:582Used by:584 1063
Symbol 584 MovieClipUses:583Used by:585
Symbol 585 MovieClip {Wall2}Uses:584Used by:Timeline
Symbol 586 BitmapUsed by:587 1064 1190
Symbol 587 GraphicUses:586Used by:588 1065
Symbol 588 MovieClipUses:587Used by:589
Symbol 589 MovieClip {Wall3}Uses:588Used by:Timeline
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:602
Symbol 592 BitmapUsed by:593
Symbol 593 GraphicUses:592Used by:602
Symbol 594 BitmapUsed by:595
Symbol 595 GraphicUses:594Used by:602
Symbol 596 BitmapUsed by:597
Symbol 597 GraphicUses:596Used by:602
Symbol 598 BitmapUsed by:599
Symbol 599 GraphicUses:598Used by:602
Symbol 600 BitmapUsed by:601
Symbol 601 GraphicUses:600Used by:602
Symbol 602 MovieClip {Bullets}Uses:591 593 595 597 599 601Used by:Timeline
Symbol 603 BitmapUsed by:604
Symbol 604 GraphicUses:603Used by:605
Symbol 605 MovieClipUses:604Used by:609 1217
Symbol 606 BitmapUsed by:607
Symbol 607 GraphicUses:606Used by:608
Symbol 608 MovieClipUses:607Used by:609
Symbol 609 MovieClip {Money1}Uses:9 605 608Used by:Timeline
Symbol 610 GraphicUsed by:613
Symbol 611 GraphicUsed by:612
Symbol 612 MovieClipUses:611Used by:613
Symbol 613 MovieClipUses:610 612 7Used by:616
Symbol 614 GraphicUses:389 390 391 392 393 394 395 396Used by:616
Symbol 615 GraphicUses:467 468 469Used by:616
Symbol 616 MovieClip {WaveRoll}Uses:613 145 148 151 154 157 160 187 190 195 198 201 204 229 232 235 238 241 244 268 271 274 276 278 281 306 309 312 314 316 319 344 347 350 353 356 359 384 387 614 408 456 459 462 465 615Used by:1041  Timeline
Symbol 617 BitmapUsed by:618
Symbol 618 GraphicUses:617Used by:629
Symbol 619 BitmapUsed by:620
Symbol 620 GraphicUses:619Used by:629
Symbol 621 BitmapUsed by:622
Symbol 622 GraphicUses:621Used by:629
Symbol 623 BitmapUsed by:624
Symbol 624 GraphicUses:623Used by:629
Symbol 625 BitmapUsed by:626
Symbol 626 GraphicUses:625Used by:629
Symbol 627 BitmapUsed by:628
Symbol 628 GraphicUses:627Used by:629
Symbol 629 MovieClip {AsapMerah}Uses:618 620 622 624 626 628Used by:Timeline
Symbol 630 MovieClip {greenprotector_fla.wavemeledak_202}Uses:7Used by:631
Symbol 631 MovieClip {ledakanRoll}Uses:630Used by:Timeline
Symbol 632 TextUses:64Used by:655
Symbol 633 Sound {gameMusic}Used by:655
Symbol 634 Sound {nextWavesfx}Used by:655
Symbol 635 Sound {winMusic}Used by:655
Symbol 636 Sound {monster1}Used by:655
Symbol 637 Sound {mainMenuMusic}Used by:655
Symbol 638 Sound {monster2}Used by:655
Symbol 639 Sound {gameOverMusic}Used by:655
Symbol 640 Sound {monster3}Used by:655
Symbol 641 Sound {monster4}Used by:655
Symbol 642 Sound {monster5}Used by:655
Symbol 643 Sound {monster6}Used by:655
Symbol 644 Sound {monster7}Used by:655
Symbol 645 Sound {monster8}Used by:655
Symbol 646 Sound {fire1}Used by:655
Symbol 647 Sound {fire2}Used by:655
Symbol 648 Sound {fire3}Used by:655
Symbol 649 Sound {fire4}Used by:655
Symbol 650 Sound {refbullet}Used by:655
Symbol 651 Sound {getcoin}Used by:655
Symbol 652 Sound {awanlewat}Used by:655
Symbol 653 Sound {errorSound}Used by:655
Symbol 654 Sound {swallow}Used by:655
Symbol 655 MovieClip {greenprotector_fla.musicloader_203}Uses:632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654Used by:Timeline
Symbol 656 MovieClipUses:140Used by:657
Symbol 657 MovieClip {transisi}Uses:656 142Used by:Timeline
Symbol 658 BitmapUsed by:659
Symbol 659 GraphicUses:658Used by:660
Symbol 660 MovieClipUses:659Used by:661
Symbol 661 MovieClipUses:660Used by:662
Symbol 662 MovieClip {transisiawan}Uses:661Used by:Timeline
Symbol 663 FontUsed by:664 714 852 867 868 869 870 871 872 873 874 875 876 877 878 879 1004 1091 1092 1093 1094 1095 1096 1105 1106 1107 1108 1109 1110 1111 1120 1130 1131 1132 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1189 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1228 1239 1243 1244 1245 1246 1252 1323 1324 1345 1346 1347
Symbol 664 TextUses:663Used by:711
Symbol 665 BitmapUsed by:666
Symbol 666 GraphicUses:665Used by:667
Symbol 667 MovieClipUses:666Used by:711
Symbol 668 BitmapUsed by:669
Symbol 669 GraphicUses:668Used by:670
Symbol 670 MovieClipUses:669Used by:710
Symbol 671 BitmapUsed by:672
Symbol 672 GraphicUses:671Used by:673
Symbol 673 MovieClipUses:672Used by:710
Symbol 674 BitmapUsed by:675
Symbol 675 GraphicUses:674Used by:676 680
Symbol 676 MovieClipUses:675Used by:680
Symbol 677 BitmapUsed by:678
Symbol 678 GraphicUses:677Used by:679 680
Symbol 679 MovieClipUses:678Used by:680
Symbol 680 ButtonUses:676 679 675 678Used by:710
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:683 687
Symbol 683 MovieClipUses:682Used by:687
Symbol 684 BitmapUsed by:685
Symbol 685 GraphicUses:684Used by:686 687
Symbol 686 MovieClipUses:685Used by:687
Symbol 687 ButtonUses:683 686 682 685Used by:710
Symbol 688 BitmapUsed by:689
Symbol 689 GraphicUses:688Used by:690
Symbol 690 MovieClipUses:689Used by:710
Symbol 691 GraphicUsed by:692
Symbol 692 MovieClipUses:691Used by:709
Symbol 693 MovieClip {fl.core.ComponentShim}Used by:709
Symbol 694 BitmapUsed by:695
Symbol 695 GraphicUses:694Used by:696
Symbol 696 MovieClipUses:695Used by:697 698 699 700
Symbol 697 MovieClip {SliderThumb_upSkin}Uses:696Used by:709
Symbol 698 MovieClip {SliderThumb_overSkin}Uses:696Used by:709
Symbol 699 MovieClip {SliderThumb_downSkin}Uses:696Used by:709
Symbol 700 MovieClip {SliderThumb_disabledSkin}Uses:696Used by:709
Symbol 701 GraphicUsed by:702
Symbol 702 MovieClip {SliderTrack_skin}Uses:701Used by:709
Symbol 703 GraphicUsed by:704
Symbol 704 MovieClip {SliderTick_skin}Uses:703Used by:709
Symbol 705 GraphicUsed by:706
Symbol 706 MovieClip {SliderTrack_disabledSkin}Uses:705Used by:709
Symbol 707 GraphicUsed by:708
Symbol 708 MovieClip {focusRectSkin}Uses:707Used by:709
Symbol 709 MovieClip {fl.controls.Slider}Uses:692 693 697 698 699 700 702 704 706 708Used by:710  Timeline
Symbol 710 MovieClip {greenprotector_fla.paneloption_211}Uses:670 673 680 687 690 709 9Used by:711 842
Symbol 711 MovieClip {pausePanel}Uses:9 664 667 710Used by:Timeline
Symbol 712 BitmapUsed by:713 1247 1251
Symbol 713 GraphicUses:712Used by:781
Symbol 714 EditableTextUses:663Used by:781
Symbol 715 BitmapUsed by:716
Symbol 716 GraphicUses:715Used by:717
Symbol 717 MovieClipUses:716Used by:723 726 729 732 735 738 741 744 747 750 753 756 759 762 765 768 771 774 777 780
Symbol 718 BitmapUsed by:719
Symbol 719 GraphicUses:718Used by:723
Symbol 720 BitmapUsed by:721
Symbol 721 GraphicUses:720Used by:722
Symbol 722 MovieClipUses:721Used by:723 726 729 732 735 738 741 744 747 750 753 756 759 762 765 768 771 774 777 780
Symbol 723 MovieClip {greenprotector_fla.opencreditmedal_234}Uses:717 719 722Used by:781  Timeline
Symbol 724 BitmapUsed by:725
Symbol 725 GraphicUses:724Used by:726
Symbol 726 MovieClip {greenprotector_fla.pausemedal_237}Uses:717 725 722Used by:781  Timeline
Symbol 727 BitmapUsed by:728
Symbol 728 GraphicUses:727Used by:729
Symbol 729 MovieClip {greenprotector_fla.visitmedal_238}Uses:717 728 722Used by:781  Timeline
Symbol 730 BitmapUsed by:731
Symbol 731 GraphicUses:730Used by:732
Symbol 732 MovieClip {greenprotector_fla.wineasymedal_239}Uses:717 731 722Used by:781  Timeline
Symbol 733 BitmapUsed by:734
Symbol 734 GraphicUses:733Used by:735
Symbol 735 MovieClip {greenprotector_fla.winnormalmedal_240}Uses:717 734 722Used by:781  Timeline
Symbol 736 BitmapUsed by:737
Symbol 737 GraphicUses:736Used by:738
Symbol 738 MovieClip {greenprotector_fla.winhardmedal_241}Uses:717 737 722Used by:781  Timeline
Symbol 739 BitmapUsed by:740
Symbol 740 GraphicUses:739Used by:741
Symbol 741 MovieClip {greenprotector_fla.winchallenge1medal_242}Uses:717 740 722Used by:781  Timeline
Symbol 742 BitmapUsed by:743
Symbol 743 GraphicUses:742Used by:744
Symbol 744 MovieClip {greenprotector_fla.winchallenge2medal_243}Uses:717 743 722Used by:781  Timeline
Symbol 745 BitmapUsed by:746
Symbol 746 GraphicUses:745Used by:747
Symbol 747 MovieClip {greenprotector_fla.build1medal_244}Uses:717 746 722Used by:781  Timeline
Symbol 748 BitmapUsed by:749
Symbol 749 GraphicUses:748Used by:750
Symbol 750 MovieClip {greenprotector_fla.build2medal_245}Uses:717 749 722Used by:781  Timeline
Symbol 751 BitmapUsed by:752
Symbol 752 GraphicUses:751Used by:753
Symbol 753 MovieClip {greenprotector_fla.build3medal_246}Uses:717 752 722Used by:781  Timeline
Symbol 754 BitmapUsed by:755
Symbol 755 GraphicUses:754Used by:756
Symbol 756 MovieClip {greenprotector_fla.kill1medal_247}Uses:717 755 722Used by:781  Timeline
Symbol 757 BitmapUsed by:758
Symbol 758 GraphicUses:757Used by:759
Symbol 759 MovieClip {greenprotector_fla.kill2medal_248}Uses:717 758 722Used by:781  Timeline
Symbol 760 BitmapUsed by:761
Symbol 761 GraphicUses:760Used by:762
Symbol 762 MovieClip {greenprotector_fla.kill3medal_249}Uses:717 761 722Used by:781  Timeline
Symbol 763 BitmapUsed by:764
Symbol 764 GraphicUses:763Used by:765
Symbol 765 MovieClip {greenprotector_fla.winchallenge3medal_250}Uses:717 764 722Used by:781  Timeline
Symbol 766 BitmapUsed by:767
Symbol 767 GraphicUses:766Used by:768
Symbol 768 MovieClip {greenprotector_fla.winchallenge4medal_251}Uses:717 767 722Used by:781  Timeline
Symbol 769 BitmapUsed by:770
Symbol 770 GraphicUses:769Used by:771
Symbol 771 MovieClip {greenprotector_fla.winchallenge5medal_252}Uses:717 770 722Used by:781  Timeline
Symbol 772 BitmapUsed by:773
Symbol 773 GraphicUses:772Used by:774
Symbol 774 MovieClip {greenprotector_fla.perfecteasymedal_253}Uses:717 773 722Used by:781  Timeline
Symbol 775 BitmapUsed by:776
Symbol 776 GraphicUses:775Used by:777
Symbol 777 MovieClip {greenprotector_fla.perfectnormalmedal_254}Uses:717 776 722Used by:781  Timeline
Symbol 778 BitmapUsed by:779
Symbol 779 GraphicUses:778Used by:780
Symbol 780 MovieClip {greenprotector_fla.perfecthardmedal_255}Uses:717 779 722Used by:781  Timeline
Symbol 781 MovieClip {greenprotector_fla.medalionall_233}Uses:713 714 723 726 729 732 735 738 741 744 747 750 753 756 759 762 765 768 771 774 777 780Used by:782
Symbol 782 MovieClip {animMedallion}Uses:781Used by:Timeline
Symbol 783 GraphicUsed by:784
Symbol 784 MovieClipUses:783Used by:785
Symbol 785 MovieClip {barAnim}Uses:784Used by:Timeline
Symbol 786 GraphicUsed by:787
Symbol 787 MovieClip {Percik}Uses:786Used by:Timeline
Symbol 788 BitmapUsed by:789
Symbol 789 GraphicUses:788Used by:841
Symbol 790 BitmapUsed by:791
Symbol 791 GraphicUses:790Used by:795
Symbol 792 BitmapUsed by:793
Symbol 793 GraphicUses:792Used by:794
Symbol 794 MovieClipUses:793Used by:795
Symbol 795 MovieClip {greenprotector_fla.TITLEGREENPROTECTOR_260}Uses:9 791 794Used by:841
Symbol 796 BitmapUsed by:797
Symbol 797 GraphicUses:796Used by:804
Symbol 798 BitmapUsed by:799
Symbol 799 GraphicUses:798Used by:804
Symbol 800 BitmapUsed by:801
Symbol 801 GraphicUses:800Used by:804
Symbol 802 BitmapUsed by:803
Symbol 803 GraphicUses:802Used by:804
Symbol 804 ButtonUses:797 799 801 803Used by:841
Symbol 805 BitmapUsed by:806
Symbol 806 GraphicUses:805Used by:813
Symbol 807 BitmapUsed by:808
Symbol 808 GraphicUses:807Used by:813
Symbol 809 BitmapUsed by:810
Symbol 810 GraphicUses:809Used by:813
Symbol 811 BitmapUsed by:812
Symbol 812 GraphicUses:811Used by:813
Symbol 813 ButtonUses:806 808 810 812Used by:841
Symbol 814 BitmapUsed by:815
Symbol 815 GraphicUses:814Used by:822
Symbol 816 BitmapUsed by:817
Symbol 817 GraphicUses:816Used by:822
Symbol 818 BitmapUsed by:819
Symbol 819 GraphicUses:818Used by:822
Symbol 820 BitmapUsed by:821
Symbol 821 GraphicUses:820Used by:822
Symbol 822 ButtonUses:815 817 819 821Used by:841
Symbol 823 BitmapUsed by:824
Symbol 824 GraphicUses:823Used by:831
Symbol 825 BitmapUsed by:826
Symbol 826 GraphicUses:825Used by:831
Symbol 827 BitmapUsed by:828
Symbol 828 GraphicUses:827Used by:831
Symbol 829 BitmapUsed by:830
Symbol 830 GraphicUses:829Used by:831
Symbol 831 ButtonUses:824 826 828 830Used by:841
Symbol 832 BitmapUsed by:833
Symbol 833 GraphicUses:832Used by:840
Symbol 834 BitmapUsed by:835
Symbol 835 GraphicUses:834Used by:840
Symbol 836 BitmapUsed by:837
Symbol 837 GraphicUses:836Used by:840
Symbol 838 BitmapUsed by:839
Symbol 839 GraphicUses:838Used by:840
Symbol 840 ButtonUses:833 835 837 839Used by:841
Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259}Uses:789 795 804 813 822 831 840Used by:Timeline
Symbol 842 MovieClip {greenprotector_fla.animpaneloption_267}Uses:710Used by:Timeline
Symbol 843 BitmapUsed by:844
Symbol 844 GraphicUses:843Used by:Timeline
Symbol 845 BitmapUsed by:846
Symbol 846 GraphicUses:845Used by:847
Symbol 847 MovieClipUses:846Used by:Timeline
Symbol 848 BitmapUsed by:849
Symbol 849 GraphicUses:848Used by:Timeline
Symbol 850 FontUsed by:851 1004 1091 1092 1093 1094 1095 1105 1120 1130 1131 1132 1228 1239 1243 1244 1245 1246 1248 1252 1323 1324 1345 1346 1347
Symbol 851 EditableTextUses:850Used by:Timeline
Symbol 852 EditableTextUses:663Used by:Timeline
Symbol 853 BitmapUsed by:854
Symbol 854 GraphicUses:853Used by:855 864 1090 1100 1104 1116 1157 1221 1227 1355
Symbol 855 MovieClipUses:854Used by:859 863
Symbol 856 BitmapUsed by:857
Symbol 857 GraphicUses:856Used by:858 864 1090 1100 1104 1116 1157 1221 1227 1355
Symbol 858 MovieClipUses:857Used by:859 863
Symbol 859 MovieClipUses:855 858Used by:864 1116 1157 1227 1355
Symbol 860 BitmapUsed by:861
Symbol 861 GraphicUses:860Used by:862 864
Symbol 862 MovieClipUses:861Used by:864
Symbol 863 MovieClipUses:855 858Used by:864 1090 1100 1104 1116 1157 1221 1227 1355
Symbol 864 ButtonUses:859 862 863 854 857 861Used by:1032  Timeline
Symbol 865 BitmapUsed by:866
Symbol 866 GraphicUses:865Used by:Timeline
Symbol 867 TextUses:663Used by:Timeline
Symbol 868 TextUses:663Used by:Timeline
Symbol 869 TextUses:663Used by:Timeline
Symbol 870 TextUses:663Used by:Timeline
Symbol 871 TextUses:663Used by:Timeline
Symbol 872 TextUses:663Used by:Timeline
Symbol 873 TextUses:663Used by:Timeline
Symbol 874 TextUses:663Used by:Timeline
Symbol 875 TextUses:663Used by:Timeline
Symbol 876 TextUses:663Used by:Timeline
Symbol 877 TextUses:663Used by:Timeline
Symbol 878 TextUses:663Used by:Timeline
Symbol 879 TextUses:663Used by:Timeline
Symbol 880 FontUsed by:881 886 888 889 890 891 892 894 896 898 899 901 902 903 905 906 907 908 909 913 915 917 919 921 922 923 929 931 934 937 938 939 943 946 947 1274 1277 1285 1288 1291 1293 1295
Symbol 881 TextUses:880Used by:953
Symbol 882 BitmapUsed by:883
Symbol 883 GraphicUses:882Used by:953
Symbol 884 GraphicUsed by:953
Symbol 885 GraphicUsed by:953
Symbol 886 TextUses:880Used by:953
Symbol 887 GraphicUsed by:953
Symbol 888 TextUses:880Used by:953
Symbol 889 TextUses:880Used by:953
Symbol 890 TextUses:880Used by:953
Symbol 891 TextUses:880Used by:953
Symbol 892 TextUses:880Used by:953
Symbol 893 GraphicUsed by:953
Symbol 894 TextUses:880Used by:953
Symbol 895 GraphicUsed by:953
Symbol 896 TextUses:880Used by:953
Symbol 897 GraphicUsed by:953
Symbol 898 TextUses:880Used by:953
Symbol 899 TextUses:880Used by:953
Symbol 900 GraphicUsed by:953
Symbol 901 TextUses:880Used by:953
Symbol 902 TextUses:880Used by:953
Symbol 903 TextUses:880Used by:953
Symbol 904 GraphicUsed by:953
Symbol 905 TextUses:880Used by:953
Symbol 906 TextUses:880Used by:953
Symbol 907 TextUses:880Used by:953
Symbol 908 TextUses:880Used by:953
Symbol 909 TextUses:880Used by:953
Symbol 910 BitmapUsed by:911
Symbol 911 GraphicUses:910Used by:953
Symbol 912 GraphicUsed by:953
Symbol 913 TextUses:880Used by:953
Symbol 914 GraphicUsed by:953
Symbol 915 TextUses:880Used by:953
Symbol 916 GraphicUsed by:953
Symbol 917 TextUses:880Used by:953
Symbol 918 GraphicUsed by:953
Symbol 919 TextUses:880Used by:953
Symbol 920 GraphicUsed by:953
Symbol 921 TextUses:880Used by:953
Symbol 922 TextUses:880Used by:953
Symbol 923 TextUses:880Used by:953
Symbol 924 BitmapUsed by:925
Symbol 925 GraphicUses:924Used by:953
Symbol 926 GraphicUsed by:927
Symbol 927 MovieClipUses:926Used by:953
Symbol 928 GraphicUsed by:953
Symbol 929 TextUses:880Used by:953
Symbol 930 GraphicUsed by:953
Symbol 931 TextUses:880Used by:953
Symbol 932 GraphicUsed by:953
Symbol 933 GraphicUsed by:953
Symbol 934 TextUses:880Used by:953
Symbol 935 GraphicUsed by:953
Symbol 936 GraphicUsed by:953
Symbol 937 TextUses:880Used by:953
Symbol 938 TextUses:880Used by:953
Symbol 939 TextUses:880Used by:953
Symbol 940 BitmapUsed by:941
Symbol 941 GraphicUses:940Used by:953
Symbol 942 GraphicUsed by:953
Symbol 943 TextUses:880Used by:953
Symbol 944 BitmapUsed by:945
Symbol 945 GraphicUses:944Used by:953
Symbol 946 TextUses:880Used by:953
Symbol 947 TextUses:880Used by:953
Symbol 948 GraphicUsed by:953
Symbol 949 GraphicUsed by:952
Symbol 950 GraphicUsed by:952
Symbol 951 GraphicUsed by:952
Symbol 952 ButtonUses:9 949 950 951 8Used by:953
Symbol 953 MovieClip {greenprotector_fla.openingclip_275}Uses:881 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 911 912 913 914 915 916 917 918 919 920 921 922 923 925 927 928 929 930 931 932 933 934 935 936 937 938 939 941 942 943 945 946 947 948 952 SS1Used by:Timeline
Symbol 954 GraphicUsed by:957
Symbol 955 GraphicUsed by:957
Symbol 956 GraphicUsed by:957
Symbol 957 ButtonUses:9 954 955 956 8Used by:Timeline
Symbol 958 BitmapUsed by:959
Symbol 959 GraphicUses:958Used by:1032
Symbol 960 BitmapUsed by:961
Symbol 961 GraphicUses:960Used by:962
Symbol 962 MovieClipUses:961Used by:1032
Symbol 963 BitmapUsed by:964
Symbol 964 GraphicUses:963Used by:965 969 973 977 981 985 987
Symbol 965 MovieClipUses:964Used by:969 973 977 981 985 986
Symbol 966 BitmapUsed by:967
Symbol 967 GraphicUses:966Used by:968 969
Symbol 968 MovieClipUses:967Used by:969
Symbol 969 ButtonUses:965 968 964 967Used by:1032
Symbol 970 BitmapUsed by:971
Symbol 971 GraphicUses:970Used by:972 973
Symbol 972 MovieClipUses:971Used by:973
Symbol 973 ButtonUses:965 972 964 971Used by:1032
Symbol 974 BitmapUsed by:975
Symbol 975 GraphicUses:974Used by:976 977
Symbol 976 MovieClipUses:975Used by:977
Symbol 977 ButtonUses:965 976 964 975Used by:1032
Symbol 978 BitmapUsed by:979
Symbol 979 GraphicUses:978Used by:980 981
Symbol 980 MovieClipUses:979Used by:981
Symbol 981 ButtonUses:965 980 964 979Used by:1032
Symbol 982 BitmapUsed by:983
Symbol 983 GraphicUses:982Used by:984 985
Symbol 984 MovieClipUses:983Used by:985
Symbol 985 ButtonUses:965 984 964 983Used by:1032
Symbol 986 MovieClipUses:965Used by:987
Symbol 987 ButtonUses:986 964Used by:1032
Symbol 988 BitmapUsed by:989
Symbol 989 GraphicUses:988Used by:990 991
Symbol 990 MovieClipUses:989Used by:991
Symbol 991 ButtonUses:990 989Used by:1032
Symbol 992 BitmapUsed by:993
Symbol 993 GraphicUses:992Used by:994 995
Symbol 994 MovieClipUses:993Used by:995
Symbol 995 ButtonUses:994 993Used by:1032
Symbol 996 BitmapUsed by:997
Symbol 997 GraphicUses:996Used by:998 999
Symbol 998 MovieClipUses:997Used by:999
Symbol 999 ButtonUses:998 997Used by:1032
Symbol 1000 BitmapUsed by:1001
Symbol 1001 GraphicUses:1000Used by:1002 1003
Symbol 1002 MovieClipUses:1001Used by:1003
Symbol 1003 ButtonUses:1002 1001Used by:1032
Symbol 1004 EditableTextUses:663 850Used by:1032
Symbol 1005 GraphicUsed by:1017
Symbol 1006 GraphicUsed by:1007
Symbol 1007 MovieClipUses:1006Used by:1017 1024 1029
Symbol 1008 GraphicUsed by:1017
Symbol 1009 GraphicUsed by:1010
Symbol 1010 MovieClipUses:1009Used by:1017 1024 1029
Symbol 1011 GraphicUsed by:1017
Symbol 1012 GraphicUsed by:1013
Symbol 1013 MovieClipUses:1012Used by:1017 1024 1029
Symbol 1014 GraphicUsed by:1017
Symbol 1015 GraphicUsed by:1016
Symbol 1016 MovieClipUses:1015Used by:1017 1024
Symbol 1017 MovieClipUses:1005 1007 1008 1010 1011 1013 1014 1016Used by:1031
Symbol 1018 GraphicUsed by:1024
Symbol 1019 GraphicUsed by:1024
Symbol 1020 GraphicUsed by:1024
Symbol 1021 GraphicUsed by:1024
Symbol 1022 GraphicUsed by:1024
Symbol 1023 GraphicUsed by:1024
Symbol 1024 MovieClip {greenprotector_fla.gamesfre_pre_b_sprite43_308}Uses:1018 1019 1020 1007 1021 1010 1022 1013 1023 1016Used by:1031
Symbol 1025 GraphicUsed by:1029
Symbol 1026 GraphicUsed by:1029
Symbol 1027 GraphicUsed by:1029
Symbol 1028 GraphicUsed by:1029
Symbol 1029 MovieClipUses:1025 1007 1026 1010 1027 1013 1028Used by:1031
Symbol 1030 GraphicUsed by:1031
Symbol 1031 ButtonUses:1017 1024 1029 1030Used by:1032
Symbol 1032 MovieClip {greenprotector_fla.difficulties_279}Uses:959 962 864 969 973 977 981 985 987 991 995 999 1003 1004 1031Used by:Timeline
Symbol 1033 BitmapUsed by:1034
Symbol 1034 GraphicUses:1033Used by:1035
Symbol 1035 MovieClipUses:1034Used by:1217  Timeline
Symbol 1036 BitmapUsed by:1037
Symbol 1037 GraphicUses:1036Used by:1038
Symbol 1038 MovieClipUses:1037Used by:1217  Timeline
Symbol 1039 GraphicUsed by:1041
Symbol 1040 MovieClipUsed by:1041 1223  Timeline
Symbol 1041 MovieClip {greenprotector_fla.waving_tutor_313}Uses:1039 1040 616Used by:1217
Symbol 1042 BitmapUsed by:1043
Symbol 1043 GraphicUses:1042Used by:1044 1048 1049 1050 1051 1052 1053 1054 1055 1057 1059 1061 1063 1065 1067
Symbol 1044 MovieClipUses:1043Used by:1047 1048 1049 1050 1051 1052 1053 1054 1055 1057 1059 1061 1063 1065 1067
Symbol 1045 BitmapUsed by:1046 1056 1058 1060 1062 1064 1066
Symbol 1046 GraphicUses:1045Used by:1047 1048 1049 1050 1051 1052 1053 1054 1055
Symbol 1047 MovieClipUses:1044 1046Used by:1048 1049 1050 1051 1052 1053 1054 1055 1057 1059 1061 1063 1065 1067
Symbol 1048 ButtonUses:1047 504 1044 1046 1043 503Used by:1217  Timeline
Symbol 1049 ButtonUses:1047 530 1044 1046 1043 529Used by:1217  Timeline
Symbol 1050 ButtonUses:1047 518 1044 1046 1043 510Used by:1217  Timeline
Symbol 1051 ButtonUses:1047 534 1044 1046 1043 533Used by:1217  Timeline
Symbol 1052 ButtonUses:1047 522 1044 1046 1043 521Used by:1217  Timeline
Symbol 1053 ButtonUses:1047 538 1044 1046 1043 537Used by:1217  Timeline
Symbol 1054 ButtonUses:1047 526 1044 1046 1043 525Used by:1217  Timeline
Symbol 1055 ButtonUses:1047 542 1044 1046 1043 541Used by:1217  Timeline
Symbol 1056 GraphicUses:544 1045Used by:1057
Symbol 1057 ButtonUses:1047 545 1044 1056 1043Used by:1217  Timeline
Symbol 1058 GraphicUses:548 1045Used by:1059
Symbol 1059 ButtonUses:1047 549 1044 1058 1043Used by:1217  Timeline
Symbol 1060 GraphicUses:578 1045Used by:1061
Symbol 1061 ButtonUses:1047 579 1044 1060 1043Used by:1217  Timeline
Symbol 1062 GraphicUses:582 1045Used by:1063
Symbol 1063 ButtonUses:1047 583 1044 1062 1043Used by:1217  Timeline
Symbol 1064 GraphicUses:586 1045Used by:1065
Symbol 1065 ButtonUses:1047 587 1044 1064 1043Used by:1217  Timeline
Symbol 1066 GraphicUses:574 1045Used by:1067
Symbol 1067 ButtonUses:1047 575 1044 1066 1043Used by:1217  Timeline
Symbol 1068 BitmapUsed by:1069
Symbol 1069 GraphicUses:1068Used by:1070
Symbol 1070 MovieClipUses:1069Used by:1071
Symbol 1071 MovieClipUses:1070Used by:1087
Symbol 1072 MovieClipUsed by:1087
Symbol 1073 BitmapUsed by:1074
Symbol 1074 GraphicUses:1073Used by:1075
Symbol 1075 MovieClipUses:1074Used by:1079
Symbol 1076 BitmapUsed by:1077
Symbol 1077 GraphicUses:1076Used by:1078
Symbol 1078 MovieClipUses:1077Used by:1079
Symbol 1079 MovieClip {greenprotector_fla.clocksimbol_335}Uses:1075 1078Used by:1087
Symbol 1080 BitmapUsed by:1081
Symbol 1081 GraphicUses:1080Used by:1082
Symbol 1082 MovieClipUses:1081Used by:1086
Symbol 1083 BitmapUsed by:1084
Symbol 1084 GraphicUses:1083Used by:1085
Symbol 1085 MovieClipUses:1084Used by:1086
Symbol 1086 MovieClip {greenprotector_fla.anim_jam_338}Uses:1082 1085Used by:1087
Symbol 1087 MovieClip {greenprotector_fla.clockmc_331}Uses:1071 1072 1079 1086Used by:1217  Timeline
Symbol 1088 FontUsed by:1089
Symbol 1089 TextUses:1088Used by:1090
Symbol 1090 ButtonUses:863 1089 854 857Used by:1112
Symbol 1091 EditableTextUses:663 850Used by:1112
Symbol 1092 EditableTextUses:663 850Used by:1112
Symbol 1093 EditableTextUses:663 850Used by:1112
Symbol 1094 EditableTextUses:663 850Used by:1112
Symbol 1095 EditableTextUses:663 850Used by:1112
Symbol 1096 EditableTextUses:663Used by:1112
Symbol 1097 BitmapUsed by:1098
Symbol 1098 GraphicUses:1097Used by:1099 1100
Symbol 1099 MovieClipUses:1098Used by:1100
Symbol 1100 ButtonUses:863 1099 854 857 1098Used by:1112
Symbol 1101 BitmapUsed by:1102
Symbol 1102 GraphicUses:1101Used by:1103 1104
Symbol 1103 MovieClipUses:1102Used by:1104
Symbol 1104 ButtonUses:863 1103 854 857 1102Used by:1112
Symbol 1105 EditableTextUses:663 850Used by:1112
Symbol 1106 TextUses:663Used by:1112
Symbol 1107 TextUses:663Used by:1112
Symbol 1108 TextUses:663Used by:1112
Symbol 1109 TextUses:663Used by:1112
Symbol 1110 TextUses:663Used by:1112
Symbol 1111 TextUses:663Used by:1112
Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341}Uses:1090 1091 1092 1093 1094 1095 1096 1100 1104 1105 1106 1107 1108 1109 1110 1111Used by:1217  Timeline
Symbol 1113 BitmapUsed by:1114
Symbol 1114 GraphicUses:1113Used by:1115 1116
Symbol 1115 MovieClipUses:1114Used by:1116
Symbol 1116 ButtonUses:859 1115 863 854 857 1114Used by:1217  Timeline
Symbol 1117 BitmapUsed by:1118
Symbol 1118 GraphicUses:1117Used by:1119
Symbol 1119 MovieClipUses:1118Used by:1217  Timeline
Symbol 1120 EditableTextUses:663 850Used by:1217
Symbol 1121 BitmapUsed by:1122
Symbol 1122 GraphicUses:1121Used by:1123
Symbol 1123 MovieClipUses:1122Used by:1217  Timeline
Symbol 1124 BitmapUsed by:1125
Symbol 1125 GraphicUses:1124Used by:1126
Symbol 1126 MovieClipUses:1125Used by:1217 1353  Timeline
Symbol 1127 BitmapUsed by:1128
Symbol 1128 GraphicUses:1127Used by:1129
Symbol 1129 MovieClipUses:1128Used by:1217  Timeline
Symbol 1130 EditableTextUses:663 850Used by:1217
Symbol 1131 EditableTextUses:663 850Used by:1217
Symbol 1132 EditableTextUses:663 850Used by:1217
Symbol 1133 GraphicUsed by:1134
Symbol 1134 MovieClip {arrow}Uses:1133Used by:1217
Symbol 1135 BitmapUsed by:1136
Symbol 1136 GraphicUses:1135Used by:1153
Symbol 1137 GraphicUsed by:1153
Symbol 1138 GraphicUsed by:1153
Symbol 1139 GraphicUsed by:1153
Symbol 1140 BitmapUsed by:1141
Symbol 1141 GraphicUses:1140Used by:1142
Symbol 1142 MovieClipUses:1141Used by:1152
Symbol 1143 BitmapUsed by:1144
Symbol 1144 GraphicUses:1143Used by:1145
Symbol 1145 MovieClipUses:1144Used by:1152
Symbol 1146 BitmapUsed by:1147
Symbol 1147 GraphicUses:1146Used by:1148
Symbol 1148 MovieClipUses:1147Used by:1152
Symbol 1149 BitmapUsed by:1150
Symbol 1150 GraphicUses:1149Used by:1151
Symbol 1151 MovieClipUses:1150Used by:1152
Symbol 1152 MovieClipUses:1142 1145 1148 1151Used by:1153
Symbol 1153 MovieClipUses:1136 1137 1138 1139 1152Used by:1217
Symbol 1154 BitmapUsed by:1155
Symbol 1155 GraphicUses:1154Used by:1156 1157
Symbol 1156 MovieClipUses:1155Used by:1157
Symbol 1157 ButtonUses:859 1156 863 854 857 1155Used by:1217
Symbol 1158 GraphicUsed by:1159
Symbol 1159 MovieClipUses:1158Used by:1217
Symbol 1160 GraphicUsed by:1217
Symbol 1161 TextUses:663Used by:1217
Symbol 1162 TextUses:663Used by:1217
Symbol 1163 TextUses:663Used by:1217
Symbol 1164 TextUses:663Used by:1217
Symbol 1165 TextUses:663Used by:1217
Symbol 1166 TextUses:663Used by:1217
Symbol 1167 TextUses:663Used by:1217
Symbol 1168 TextUses:663Used by:1217
Symbol 1169 TextUses:663Used by:1217
Symbol 1170 TextUses:663Used by:1217
Symbol 1171 TextUses:663Used by:1217
Symbol 1172 TextUses:663Used by:1217
Symbol 1173 TextUses:663Used by:1217
Symbol 1174 TextUses:663Used by:1217
Symbol 1175 TextUses:663Used by:1217
Symbol 1176 TextUses:663Used by:1217
Symbol 1177 TextUses:663Used by:1217
Symbol 1178 TextUses:663Used by:1217
Symbol 1179 TextUses:663Used by:1217
Symbol 1180 TextUses:663Used by:1217
Symbol 1181 TextUses:663Used by:1217
Symbol 1182 TextUses:663Used by:1217
Symbol 1183 TextUses:663Used by:1217
Symbol 1184 TextUses:663Used by:1217
Symbol 1185 TextUses:663Used by:1217
Symbol 1186 TextUses:663Used by:1217
Symbol 1187 TextUses:663Used by:1217
Symbol 1188 GraphicUses:548 544Used by:1217
Symbol 1189 TextUses:663Used by:1217
Symbol 1190 GraphicUses:574 586 582 578Used by:1217
Symbol 1191 TextUses:663Used by:1217
Symbol 1192 TextUses:663Used by:1217
Symbol 1193 TextUses:663Used by:1217
Symbol 1194 TextUses:663Used by:1217
Symbol 1195 TextUses:663Used by:1217
Symbol 1196 TextUses:663Used by:1217
Symbol 1197 TextUses:663Used by:1217
Symbol 1198 TextUses:663Used by:1217
Symbol 1199 TextUses:663Used by:1217
Symbol 1200 TextUses:663Used by:1217
Symbol 1201 TextUses:663Used by:1217
Symbol 1202 TextUses:663Used by:1217
Symbol 1203 TextUses:663Used by:1217
Symbol 1204 TextUses:663Used by:1217
Symbol 1205 TextUses:663Used by:1217
Symbol 1206 TextUses:663Used by:1217
Symbol 1207 TextUses:663Used by:1217
Symbol 1208 TextUses:663Used by:1217
Symbol 1209 TextUses:663Used by:1217
Symbol 1210 TextUses:663Used by:1217
Symbol 1211 TextUses:663Used by:1217
Symbol 1212 TextUses:663Used by:1217
Symbol 1213 TextUses:663Used by:1217
Symbol 1214 TextUses:663Used by:1217
Symbol 1215 TextUses:663Used by:1217
Symbol 1216 TextUses:663Used by:1217
Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310}Uses:1035 1038 140 1041 1048 1049 1050 1051 1052 1053 1054 1055 1057 1059 1061 1063 1065 1067 1087 1112 1116 1119 1120 1123 1126 1129 1130 1131 1132 1134 1153 1157 1159 1160 1161 1162 1163 1164 1165 565 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 547 1182 1183 605 1184 504 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 518 522 534 530 526 538 542 1195 1196 1197 1198 1199 1200 1201 1202 162 206 246 283 321 361 409 471 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216Used by:Timeline
Symbol 1218 BitmapUsed by:1219
Symbol 1219 GraphicUses:1218Used by:1220 1221
Symbol 1220 MovieClipUses:1219Used by:1221
Symbol 1221 ButtonUses:863 1220 854 857 1219Used by:Timeline
Symbol 1222 GraphicUsed by:1223
Symbol 1223 MovieClip {greenprotector_fla.waving_365}Uses:1222 1040Used by:Timeline
Symbol 1224 BitmapUsed by:1225
Symbol 1225 GraphicUses:1224Used by:1226 1227
Symbol 1226 MovieClipUses:1225Used by:1227
Symbol 1227 ButtonUses:859 1226 863 854 857 1225Used by:Timeline
Symbol 1228 EditableTextUses:663 850Used by:1229
Symbol 1229 MovieClip {greenprotector_fla.panelstatus2_368}Uses:1228Used by:Timeline
Symbol 1230 FontUsed by:1231 1235 1236 1237 1238
Symbol 1231 EditableTextUses:1230Used by:Timeline
Symbol 1232 FontUsed by:1233
Symbol 1233 EditableTextUses:1232Used by:1234
Symbol 1234 MovieClip {greenprotector_fla.fpschecker_369}Uses:1233Used by:Timeline
Symbol 1235 EditableTextUses:1230Used by:Timeline
Symbol 1236 TextUses:1230Used by:Timeline
Symbol 1237 TextUses:1230Used by:Timeline
Symbol 1238 TextUses:1230Used by:Timeline
Symbol 1239 EditableTextUses:663 850Used by:Timeline
Symbol 1240 BitmapUsed by:1241
Symbol 1241 GraphicUses:1240Used by:1242
Symbol 1242 MovieClipUses:1241Used by:Timeline
Symbol 1243 EditableTextUses:663 850Used by:Timeline
Symbol 1244 EditableTextUses:663 850Used by:Timeline
Symbol 1245 EditableTextUses:663 850Used by:Timeline
Symbol 1246 EditableTextUses:663 850Used by:Timeline
Symbol 1247 GraphicUses:712Used by:1249
Symbol 1248 TextUses:850Used by:1249
Symbol 1249 MovieClipUses:1247 1248Used by:1250
Symbol 1250 MovieClip {greenprotector_fla.animblocking_371}Uses:1249Used by:Timeline
Symbol 1251 GraphicUses:712Used by:1253
Symbol 1252 EditableTextUses:663 850Used by:1253
Symbol 1253 MovieClip {greenprotector_fla.combobox_374}Uses:1251 1252Used by:1254
Symbol 1254 MovieClip {greenprotector_fla.animcombobox_373}Uses:1253Used by:Timeline
Symbol 1255 BitmapUsed by:1256
Symbol 1256 GraphicUses:1255Used by:1268
Symbol 1257 BitmapUsed by:1258
Symbol 1258 GraphicUses:1257Used by:1259
Symbol 1259 MovieClipUses:1258Used by:1268
Symbol 1260 BitmapUsed by:1261
Symbol 1261 GraphicUses:1260Used by:1262
Symbol 1262 ButtonUses:1261Used by:1268
Symbol 1263 BitmapUsed by:1264 1265
Symbol 1264 GraphicUses:1263Used by:1266
Symbol 1265 GraphicUses:1263Used by:1266
Symbol 1266 ButtonUses:1264 1265Used by:1267
Symbol 1267 ButtonUses:1266Used by:1268
Symbol 1268 MovieClip {greenprotector_fla.gameover_mc_375}Uses:1256 1259 1262 1267Used by:Timeline
Symbol 1269 BitmapUsed by:1270
Symbol 1270 GraphicUses:1269Used by:1354
Symbol 1271 SoundUsed by:1354
Symbol 1272 SoundUsed by:1354
Symbol 1273 GraphicUsed by:1354
Symbol 1274 TextUses:880Used by:1354
Symbol 1275 GraphicUsed by:1354
Symbol 1276 GraphicUsed by:1354
Symbol 1277 TextUses:880Used by:1354
Symbol 1278 GraphicUsed by:1354
Symbol 1279 GraphicUsed by:1354
Symbol 1280 GraphicUsed by:1354
Symbol 1281 GraphicUsed by:1354
Symbol 1282 GraphicUsed by:1354
Symbol 1283 GraphicUsed by:1354
Symbol 1284 GraphicUsed by:1354
Symbol 1285 TextUses:880Used by:1354
Symbol 1286 GraphicUsed by:1354
Symbol 1287 GraphicUsed by:1354
Symbol 1288 TextUses:880Used by:1354
Symbol 1289 GraphicUsed by:1354
Symbol 1290 GraphicUsed by:1354
Symbol 1291 TextUses:880Used by:1354
Symbol 1292 GraphicUsed by:1354
Symbol 1293 TextUses:880Used by:1354
Symbol 1294 GraphicUsed by:1354
Symbol 1295 TextUses:880Used by:1354
Symbol 1296 BitmapUsed by:1297
Symbol 1297 GraphicUses:1296Used by:1325 1336 1353
Symbol 1298 BitmapUsed by:1299
Symbol 1299 GraphicUses:1298Used by:1300
Symbol 1300 MovieClipUses:1299Used by:1325
Symbol 1301 BitmapUsed by:1302
Symbol 1302 GraphicUses:1301Used by:1303
Symbol 1303 MovieClipUses:1302Used by:1325
Symbol 1304 BitmapUsed by:1305
Symbol 1305 GraphicUses:1304Used by:1306
Symbol 1306 MovieClipUses:1305Used by:1325
Symbol 1307 BitmapUsed by:1308
Symbol 1308 GraphicUses:1307Used by:1309
Symbol 1309 MovieClipUses:1308Used by:1325
Symbol 1310 BitmapUsed by:1311
Symbol 1311 GraphicUses:1310Used by:1312
Symbol 1312 MovieClipUses:1311Used by:1325
Symbol 1313 BitmapUsed by:1314
Symbol 1314 GraphicUses:1313Used by:1315 1319 1322 1352
Symbol 1315 MovieClipUses:1314Used by:1319 1322 1352
Symbol 1316 BitmapUsed by:1317
Symbol 1317 GraphicUses:1316Used by:1318 1319
Symbol 1318 MovieClipUses:1317Used by:1319
Symbol 1319 ButtonUses:1315 1318 1314 1317Used by:1325
Symbol 1320 BitmapUsed by:1321
Symbol 1321 GraphicUses:1320Used by:1322
Symbol 1322 ButtonUses:1315 1321 1314Used by:1325
Symbol 1323 EditableTextUses:663 850Used by:1325
Symbol 1324 EditableTextUses:663 850Used by:1325
Symbol 1325 MovieClip {greenprotector_fla.panelsubmit_381}Uses:1297 1300 1303 1306 1309 1312 1319 1322 1323 1324Used by:1354
Symbol 1326 BitmapUsed by:1327
Symbol 1327 GraphicUses:1326Used by:1328
Symbol 1328 MovieClipUses:1327Used by:1336
Symbol 1329 BitmapUsed by:1330
Symbol 1330 GraphicUses:1329Used by:1331
Symbol 1331 MovieClipUses:1330Used by:1335
Symbol 1332 BitmapUsed by:1333
Symbol 1333 GraphicUses:1332Used by:1334
Symbol 1334 MovieClipUses:1333Used by:1335
Symbol 1335 MovieClipUses:1331 1334Used by:1336
Symbol 1336 MovieClipUses:1297 1328 1335Used by:1354
Symbol 1337 BitmapUsed by:1338
Symbol 1338 GraphicUses:1337Used by:1353
Symbol 1339 BitmapUsed by:1340
Symbol 1340 GraphicUses:1339Used by:1341
Symbol 1341 MovieClipUses:1340Used by:1353
Symbol 1342 BitmapUsed by:1343
Symbol 1343 GraphicUses:1342Used by:1344
Symbol 1344 MovieClipUses:1343Used by:1353
Symbol 1345 EditableTextUses:663 850Used by:1348
Symbol 1346 EditableTextUses:663 850Used by:1348
Symbol 1347 EditableTextUses:663 850Used by:1348
Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}Uses:1345 1346 1347Used by:1353
Symbol 1349 BitmapUsed by:1350
Symbol 1350 GraphicUses:1349Used by:1351 1352 1355
Symbol 1351 MovieClipUses:1350Used by:1352 1355
Symbol 1352 ButtonUses:1315 1351 1314 1350Used by:1353
Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396}Uses:1297 1338 1341 1344 1126 1348 1352Used by:1354
Symbol 1354 MovieClip {greenprotector_fla.goodending_380}Uses: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 1325 1336 1353Used by:Timeline
Symbol 1355 ButtonUses:859 1351 863 854 857 1350Used by:Timeline
Streaming Sound 1Used by:Symbol 953 MovieClip {greenprotector_fla.openingclip_275}

Instance Names

"loader_mc"Frame 1Symbol 67 MovieClip {greenprotector_fla.preloader_1}
"trans"Frame 1Symbol 74 MovieClip {greenprotector_fla.transisi_22}
"splash1"Frame 2Symbol 121 MovieClip {greenprotector_fla.games_free_prealoader2_23}
"splash2"Frame 3Symbol 138 MovieClip {greenprotector_fla.splashgreenprotector_37}
"mainmenu"Frame 10Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259}
"animpanel"Frame 10Symbol 842 MovieClip {greenprotector_fla.animpaneloption_267}
"gfbtn1"Frame 10Symbol 28 Button
"medal1"Frame 19Symbol 723 MovieClip {greenprotector_fla.opencreditmedal_234}
"medal2"Frame 19Symbol 726 MovieClip {greenprotector_fla.pausemedal_237}
"medal3"Frame 19Symbol 729 MovieClip {greenprotector_fla.visitmedal_238}
"medal4"Frame 19Symbol 732 MovieClip {greenprotector_fla.wineasymedal_239}
"medal5"Frame 19Symbol 735 MovieClip {greenprotector_fla.winnormalmedal_240}
"medal6"Frame 19Symbol 738 MovieClip {greenprotector_fla.winhardmedal_241}
"medal7"Frame 19Symbol 741 MovieClip {greenprotector_fla.winchallenge1medal_242}
"medal8"Frame 19Symbol 744 MovieClip {greenprotector_fla.winchallenge2medal_243}
"medal9"Frame 19Symbol 747 MovieClip {greenprotector_fla.build1medal_244}
"medal10"Frame 19Symbol 750 MovieClip {greenprotector_fla.build2medal_245}
"medal11"Frame 19Symbol 753 MovieClip {greenprotector_fla.build3medal_246}
"medal12"Frame 19Symbol 756 MovieClip {greenprotector_fla.kill1medal_247}
"medal13"Frame 19Symbol 759 MovieClip {greenprotector_fla.kill2medal_248}
"medal14"Frame 19Symbol 762 MovieClip {greenprotector_fla.kill3medal_249}
"medal15"Frame 19Symbol 765 MovieClip {greenprotector_fla.winchallenge3medal_250}
"medal16"Frame 19Symbol 768 MovieClip {greenprotector_fla.winchallenge4medal_251}
"medal17"Frame 19Symbol 771 MovieClip {greenprotector_fla.winchallenge5medal_252}
"medal18"Frame 19Symbol 774 MovieClip {greenprotector_fla.perfecteasymedal_253}
"medal19"Frame 19Symbol 777 MovieClip {greenprotector_fla.perfectnormalmedal_254}
"medal20"Frame 19Symbol 780 MovieClip {greenprotector_fla.perfecthardmedal_255}
"judul_achievement"Frame 19Symbol 851 EditableText
"note_achievement"Frame 19Symbol 852 EditableText
"btn_back"Frame 19Symbol 864 Button
"gfbtn1"Frame 28Symbol 28 Button
"sfbtn1"Frame 28Symbol 63 Button
"movop"Frame 36Symbol 953 MovieClip {greenprotector_fla.openingclip_275}
"btn_skip"Frame 36Symbol 957 Button
"choosediff"Frame 43Symbol 1032 MovieClip {greenprotector_fla.difficulties_279}
"btn_skip"Frame 48Symbol 1221 Button
"myMap"Frame 54Symbol 1040 MovieClip
"transisimc"Frame 54Symbol 1040 MovieClip
"myCollision"Frame 54Symbol 1040 MovieClip
"myBuilding"Frame 54Symbol 1040 MovieClip
"bullets"Frame 54Symbol 1040 MovieClip
"enemies"Frame 54Symbol 1040 MovieClip
"items"Frame 54Symbol 1040 MovieClip
"efek2"Frame 54Symbol 1040 MovieClip
"wavebar"Frame 54Symbol 1223 MovieClip {greenprotector_fla.waving_365}
"efekwave"Frame 54Symbol 1040 MovieClip
"btn1"Frame 54Symbol 1048 Button
"btn5"Frame 54Symbol 1049 Button
"btn2"Frame 54Symbol 1050 Button
"btn6"Frame 54Symbol 1051 Button
"btn3"Frame 54Symbol 1052 Button
"btn7"Frame 54Symbol 1053 Button
"btn4"Frame 54Symbol 1054 Button
"btn8"Frame 54Symbol 1055 Button
"btn13"Frame 54Symbol 1057 Button
"btn14"Frame 54Symbol 1059 Button
"btn9"Frame 54Symbol 1061 Button
"btn10"Frame 54Symbol 1063 Button
"btn11"Frame 54Symbol 1065 Button
"btn12"Frame 54Symbol 1067 Button
"clock"Frame 54Symbol 1087 MovieClip {greenprotector_fla.clockmc_331}
"panel_tower"Frame 54Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341}
"btn_menu"Frame 54Symbol 1116 Button
"btn_startwave"Frame 54Symbol 1227 Button
"panel_bantuan"Frame 54Symbol 1229 MovieClip {greenprotector_fla.panelstatus2_368}
"jumenemies"Frame 54Symbol 1231 EditableText
"ceker"Frame 54Symbol 1234 MovieClip {greenprotector_fla.fpschecker_369}
"memtext"Frame 54Symbol 1235 EditableText
"wavetext"Frame 54Symbol 1239 EditableText
"moneytext"Frame 54Symbol 1243 EditableText
"scoretext"Frame 54Symbol 1244 EditableText
"livetext"Frame 54Symbol 1245 EditableText
"leveltext"Frame 54Symbol 1246 EditableText
"animblocking"Frame 54Symbol 1250 MovieClip {greenprotector_fla.animblocking_371}
"animcombo"Frame 54Symbol 1254 MovieClip {greenprotector_fla.animcombobox_373}
"gameovermc"Frame 62Symbol 1268 MovieClip {greenprotector_fla.gameover_mc_375}
"btn_mainmenu"Frame 70Symbol 1355 Button
"gfbtn1"Symbol 67 MovieClip {greenprotector_fla.preloader_1} Frame 1Symbol 28 Button
"animate"Symbol 67 MovieClip {greenprotector_fla.preloader_1} Frame 1Symbol 58 MovieClip {greenprotector_fla.cliploader_10}
"sfbtn1"Symbol 67 MovieClip {greenprotector_fla.preloader_1} Frame 1Symbol 63 Button
"linked"Symbol 121 MovieClip {greenprotector_fla.games_free_prealoader2_23} Frame 1Symbol 114 Button
"linked"Symbol 138 MovieClip {greenprotector_fla.splashgreenprotector_37} Frame 1Symbol 114 Button
"pbody"Symbol 185 MovieClip {Zombie1} Frame 1Symbol 9 MovieClip
"anim"Symbol 185 MovieClip {Zombie1} Frame 1Symbol 162 MovieClip
"barHealth"Symbol 185 MovieClip {Zombie1} Frame 1Symbol 164 MovieClip
"anim"Symbol 185 MovieClip {Zombie1} Frame 2Symbol 183 MovieClip
"anim"Symbol 185 MovieClip {Zombie1} Frame 3Symbol 184 MovieClip
"pbody"Symbol 227 MovieClip {Zombie2} Frame 1Symbol 9 MovieClip
"anim"Symbol 227 MovieClip {Zombie2} Frame 1Symbol 206 MovieClip
"barHealth"Symbol 227 MovieClip {Zombie2} Frame 1Symbol 164 MovieClip
"anim"Symbol 227 MovieClip {Zombie2} Frame 2Symbol 225 MovieClip
"anim"Symbol 227 MovieClip {Zombie2} Frame 3Symbol 226 MovieClip
"anim"Symbol 266 MovieClip {Zombie3} Frame 1Symbol 246 MovieClip
"pbody"Symbol 266 MovieClip {Zombie3} Frame 1Symbol 9 MovieClip
"barHealth"Symbol 266 MovieClip {Zombie3} Frame 1Symbol 164 MovieClip
"anim"Symbol 266 MovieClip {Zombie3} Frame 2Symbol 264 MovieClip
"anim"Symbol 266 MovieClip {Zombie3} Frame 3Symbol 265 MovieClip
"pbody"Symbol 304 MovieClip {Zombie4} Frame 1Symbol 9 MovieClip
"anim"Symbol 304 MovieClip {Zombie4} Frame 1Symbol 283 MovieClip
"barHealth"Symbol 304 MovieClip {Zombie4} Frame 1Symbol 164 MovieClip
"anim"Symbol 304 MovieClip {Zombie4} Frame 2Symbol 300 MovieClip
"anim"Symbol 304 MovieClip {Zombie4} Frame 3Symbol 303 MovieClip
"pbody"Symbol 342 MovieClip {Zombie5} Frame 1Symbol 9 MovieClip
"anim"Symbol 342 MovieClip {Zombie5} Frame 1Symbol 321 MovieClip
"barHealth"Symbol 342 MovieClip {Zombie5} Frame 1Symbol 164 MovieClip
"anim"Symbol 342 MovieClip {Zombie5} Frame 2Symbol 338 MovieClip
"pbody"Symbol 382 MovieClip {Zombie6} Frame 1Symbol 9 MovieClip
"anim"Symbol 382 MovieClip {Zombie6} Frame 1Symbol 361 MovieClip
"barHealth"Symbol 382 MovieClip {Zombie6} Frame 1Symbol 164 MovieClip
"anim"Symbol 382 MovieClip {Zombie6} Frame 2Symbol 380 MovieClip
"anim"Symbol 382 MovieClip {Zombie6} Frame 3Symbol 381 MovieClip
"pbody"Symbol 454 MovieClip {Zombie7} Frame 1Symbol 9 MovieClip
"anim"Symbol 454 MovieClip {Zombie7} Frame 1Symbol 409 MovieClip
"barHealth"Symbol 454 MovieClip {Zombie7} Frame 1Symbol 164 MovieClip
"anim"Symbol 454 MovieClip {Zombie7} Frame 2Symbol 452 MovieClip
"anim"Symbol 454 MovieClip {Zombie7} Frame 3Symbol 453 MovieClip
"anim"Symbol 499 MovieClip {ZombieBoss} Frame 1Symbol 471 MovieClip
"pbody"Symbol 499 MovieClip {ZombieBoss} Frame 1Symbol 9 MovieClip
"barHealth"Symbol 499 MovieClip {ZombieBoss} Frame 1Symbol 164 MovieClip
"anim"Symbol 499 MovieClip {ZombieBoss} Frame 2Symbol 494 MovieClip
"anim"Symbol 499 MovieClip {ZombieBoss} Frame 3Symbol 498 MovieClip
"area"Symbol 505 MovieClip {Tower1} Frame 1Symbol 501 MovieClip
"body"Symbol 505 MovieClip {Tower1} Frame 1Symbol 504 MovieClip
"area"Symbol 519 MovieClip {Tower2} Frame 1Symbol 501 MovieClip
"body"Symbol 519 MovieClip {Tower2} Frame 1Symbol 518 MovieClip {greenprotector_fla.maneater_162}
"area"Symbol 523 MovieClip {Tower3} Frame 1Symbol 501 MovieClip
"body"Symbol 523 MovieClip {Tower3} Frame 1Symbol 522 MovieClip
"area"Symbol 527 MovieClip {Tower4} Frame 1Symbol 501 MovieClip
"body"Symbol 527 MovieClip {Tower4} Frame 1Symbol 526 MovieClip
"area"Symbol 531 MovieClip {Tower5} Frame 1Symbol 501 MovieClip
"body"Symbol 531 MovieClip {Tower5} Frame 1Symbol 530 MovieClip
"area"Symbol 535 MovieClip {Tower6} Frame 1Symbol 501 MovieClip
"body"Symbol 535 MovieClip {Tower6} Frame 1Symbol 534 MovieClip
"area"Symbol 539 MovieClip {Tower7} Frame 1Symbol 501 MovieClip
"body"Symbol 539 MovieClip {Tower7} Frame 1Symbol 538 MovieClip
"area"Symbol 543 MovieClip {Tower8} Frame 1Symbol 501 MovieClip
"body"Symbol 543 MovieClip {Tower8} Frame 1Symbol 542 MovieClip
"body"Symbol 547 MovieClip {Building1} Frame 1Symbol 546 MovieClip
"body"Symbol 551 MovieClip {Building2} Frame 1Symbol 550 MovieClip
"body"Symbol 577 MovieClip {Trap1} Frame 1Symbol 576 MovieClip
"body"Symbol 581 MovieClip {Wall1} Frame 1Symbol 580 MovieClip
"body"Symbol 585 MovieClip {Wall2} Frame 1Symbol 584 MovieClip
"body"Symbol 589 MovieClip {Wall3} Frame 1Symbol 588 MovieClip
"qhighmark"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 673 MovieClip
"particlemark"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 673 MovieClip
"btn_backtomainmenu"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 680 Button
"btn_close"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 687 Button
"qmedmark"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 673 MovieClip
"qlowmark"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 673 MovieClip
"BGM"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 709 MovieClip {fl.controls.Slider}
"SFX"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 709 MovieClip {fl.controls.Slider}
"btn_qhigh"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 9 MovieClip
"btn_qmed"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 9 MovieClip
"btn_qlow"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 9 MovieClip
"btn_particle"Symbol 710 MovieClip {greenprotector_fla.paneloption_211} Frame 1Symbol 9 MovieClip
"paneopt"Symbol 711 MovieClip {pausePanel} Frame 1Symbol 710 MovieClip {greenprotector_fla.paneloption_211}
"judul_achievement"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 1Symbol 714 EditableText
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 1Symbol 723 MovieClip {greenprotector_fla.opencreditmedal_234}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 2Symbol 726 MovieClip {greenprotector_fla.pausemedal_237}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 3Symbol 729 MovieClip {greenprotector_fla.visitmedal_238}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 4Symbol 732 MovieClip {greenprotector_fla.wineasymedal_239}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 5Symbol 735 MovieClip {greenprotector_fla.winnormalmedal_240}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 6Symbol 738 MovieClip {greenprotector_fla.winhardmedal_241}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 7Symbol 741 MovieClip {greenprotector_fla.winchallenge1medal_242}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 8Symbol 744 MovieClip {greenprotector_fla.winchallenge2medal_243}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 9Symbol 747 MovieClip {greenprotector_fla.build1medal_244}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 10Symbol 750 MovieClip {greenprotector_fla.build2medal_245}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 11Symbol 753 MovieClip {greenprotector_fla.build3medal_246}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 12Symbol 756 MovieClip {greenprotector_fla.kill1medal_247}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 13Symbol 759 MovieClip {greenprotector_fla.kill2medal_248}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 14Symbol 762 MovieClip {greenprotector_fla.kill3medal_249}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 15Symbol 765 MovieClip {greenprotector_fla.winchallenge3medal_250}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 16Symbol 768 MovieClip {greenprotector_fla.winchallenge4medal_251}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 17Symbol 771 MovieClip {greenprotector_fla.winchallenge5medal_252}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 18Symbol 774 MovieClip {greenprotector_fla.perfecteasymedal_253}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 19Symbol 777 MovieClip {greenprotector_fla.perfectnormalmedal_254}
"medal"Symbol 781 MovieClip {greenprotector_fla.medalionall_233} Frame 20Symbol 780 MovieClip {greenprotector_fla.perfecthardmedal_255}
"mymedal"Symbol 782 MovieClip {animMedallion} Frame 1Symbol 781 MovieClip {greenprotector_fla.medalionall_233}
"anim"Symbol 785 MovieClip {barAnim} Frame 1Symbol 784 MovieClip
"btn_credit"Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259} Frame 1Symbol 804 Button
"btn_option"Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259} Frame 1Symbol 813 Button
"btn_more"Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259} Frame 1Symbol 822 Button
"btn_play"Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259} Frame 1Symbol 831 Button
"btn_achievement"Symbol 841 MovieClip {greenprotector_fla.mainmenuku_259} Frame 1Symbol 840 Button
"paneopt"Symbol 842 MovieClip {greenprotector_fla.animpaneloption_267} Frame 1Symbol 710 MovieClip {greenprotector_fla.paneloption_211}
"btn_replay"Symbol 953 MovieClip {greenprotector_fla.openingclip_275} Frame 2477Symbol 952 Button
"btn_back"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 864 Button
"btn_chal5"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 969 Button
"btn_chal4"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 973 Button
"btn_chal3"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 977 Button
"btn_chal2"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 981 Button
"btn_chal1"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 985 Button
"btn_challenge"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 987 Button
"btn_hard"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 991 Button
"btn_normal"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 995 Button
"btn_easy"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 999 Button
"btn_tutorial"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 1003 Button
"infotxt"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 1004 EditableText
"gfbtn1"Symbol 1032 MovieClip {greenprotector_fla.difficulties_279} Frame 1Symbol 1031 Button
"container"Symbol 1041 MovieClip {greenprotector_fla.waving_tutor_313} Frame 1Symbol 1040 MovieClip
"roll1"Symbol 1041 MovieClip {greenprotector_fla.waving_tutor_313} Frame 1Symbol 616 MovieClip {WaveRoll}
"roll2"Symbol 1041 MovieClip {greenprotector_fla.waving_tutor_313} Frame 1Symbol 616 MovieClip {WaveRoll}
"roll3"Symbol 1041 MovieClip {greenprotector_fla.waving_tutor_313} Frame 1Symbol 616 MovieClip {WaveRoll}
"clocksimbol"Symbol 1087 MovieClip {greenprotector_fla.clockmc_331} Frame 1Symbol 1079 MovieClip {greenprotector_fla.clocksimbol_335}
"clocktick"Symbol 1087 MovieClip {greenprotector_fla.clockmc_331} Frame 1Symbol 1086 MovieClip {greenprotector_fla.anim_jam_338}
"btn_close"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1090 Button
"lvl_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1091 EditableText
"power_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1092 EditableText
"range_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1093 EditableText
"speed_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1094 EditableText
"info_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1095 EditableText
"cost_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1096 EditableText
"btn_upgrade"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1100 Button
"btn_sell"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1104 Button
"type_text"Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341} Frame 1Symbol 1105 EditableText
"wavebar"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1041 MovieClip {greenprotector_fla.waving_tutor_313}
"btn1"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1048 Button
"btn5"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1049 Button
"btn2"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1050 Button
"btn6"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1051 Button
"btn3"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1052 Button
"btn7"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1053 Button
"btn4"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1054 Button
"btn8"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1055 Button
"btn13"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1057 Button
"btn14"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1059 Button
"btn9"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1061 Button
"btn10"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1063 Button
"btn11"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1065 Button
"btn12"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1067 Button
"clock"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1087 MovieClip {greenprotector_fla.clockmc_331}
"panel_tower"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1112 MovieClip {greenprotector_fla.panelstatustower_341}
"btn_menu"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1116 Button
"wavetext"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1120 EditableText
"moneytext"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1130 EditableText
"scoretext"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1131 EditableText
"livetext"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1132 EditableText
"btn_next"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 1Symbol 1157 Button
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 39Symbol 504 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 504 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 518 MovieClip {greenprotector_fla.maneater_162}
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 522 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 534 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 530 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 526 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 538 MovieClip
"body"Symbol 1217 MovieClip {greenprotector_fla.mc_tutorial_310} Frame 47Symbol 542 MovieClip
"container"Symbol 1223 MovieClip {greenprotector_fla.waving_365} Frame 1Symbol 1040 MovieClip
"info_text"Symbol 1229 MovieClip {greenprotector_fla.panelstatus2_368} Frame 1Symbol 1228 EditableText
"fpstxt"Symbol 1234 MovieClip {greenprotector_fla.fpschecker_369} Frame 1Symbol 1233 EditableText
"combotext"Symbol 1253 MovieClip {greenprotector_fla.combobox_374} Frame 1Symbol 1252 EditableText
"combomc"Symbol 1254 MovieClip {greenprotector_fla.animcombobox_373} Frame 1Symbol 1253 MovieClip {greenprotector_fla.combobox_374}
"btn_other"Symbol 1268 MovieClip {greenprotector_fla.gameover_mc_375} Frame 30Symbol 1262 Button
"btn_mainmenu"Symbol 1268 MovieClip {greenprotector_fla.gameover_mc_375} Frame 37Symbol 1267 Button
"btn_submit"Symbol 1325 MovieClip {greenprotector_fla.panelsubmit_381} Frame 1Symbol 1319 Button
"btn_close"Symbol 1325 MovieClip {greenprotector_fla.panelsubmit_381} Frame 1Symbol 1322 Button
"nametxt"Symbol 1325 MovieClip {greenprotector_fla.panelsubmit_381} Frame 1Symbol 1323 EditableText
"scoretxt"Symbol 1325 MovieClip {greenprotector_fla.panelsubmit_381} Frame 1Symbol 1324 EditableText
"nametxt"Symbol 1348 MovieClip {greenprotector_fla.barisscore_399} Frame 1Symbol 1345 EditableText
"scoretxt"Symbol 1348 MovieClip {greenprotector_fla.barisscore_399} Frame 1Symbol 1346 EditableText
"notxt"Symbol 1348 MovieClip {greenprotector_fla.barisscore_399} Frame 1Symbol 1347 EditableText
"baris1"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris2"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris3"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris4"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris5"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris6"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris7"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris8"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris9"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"baris10"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1348 MovieClip {greenprotector_fla.barisscore_399}
"btn_close"Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396} Frame 1Symbol 1352 Button
"panelsubmit"Symbol 1354 MovieClip {greenprotector_fla.goodending_380} Frame 520Symbol 1325 MovieClip {greenprotector_fla.panelsubmit_381}
"animwaiting"Symbol 1354 MovieClip {greenprotector_fla.goodending_380} Frame 530Symbol 1336 MovieClip
"panelhighscore"Symbol 1354 MovieClip {greenprotector_fla.goodending_380} Frame 542Symbol 1353 MovieClip {greenprotector_fla.panelhscore_396}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Protect (24)Timeline Frame 131 bytes "..$1$fm$EA8hMwOT1NvpiMou.RLMi0."

Labels

"preloader"Frame 1
"splash1"Frame 2
"splash2"Frame 3
"loader"Frame 4
"mainmenu"Frame 10
"medalpage"Frame 19
"creditpage"Frame 28
"movieop"Frame 36
"cdiff"Frame 43
"tutorial"Frame 48
"gameeasy"Frame 54
"gamenormal"Frame 55
"gamehard"Frame 56
"gamechallenge1"Frame 57
"gamechallenge2"Frame 58
"gamechallenge3"Frame 59
"gamechallenge4"Frame 60
"gamechallenge5"Frame 61
"gameover"Frame 62
"winning"Frame 70
"temp"Frame 77
"walk"Symbol 185 MovieClip {Zombie1} Frame 1
"attack"Symbol 185 MovieClip {Zombie1} Frame 2
"stun"Symbol 185 MovieClip {Zombie1} Frame 3
"walk"Symbol 227 MovieClip {Zombie2} Frame 1
"attack"Symbol 227 MovieClip {Zombie2} Frame 2
"stun"Symbol 227 MovieClip {Zombie2} Frame 3
"walk"Symbol 266 MovieClip {Zombie3} Frame 1
"attack"Symbol 266 MovieClip {Zombie3} Frame 2
"stun"Symbol 266 MovieClip {Zombie3} Frame 3
"walk"Symbol 304 MovieClip {Zombie4} Frame 1
"attack"Symbol 304 MovieClip {Zombie4} Frame 2
"stun"Symbol 304 MovieClip {Zombie4} Frame 3
"walk"Symbol 342 MovieClip {Zombie5} Frame 1
"attack"Symbol 342 MovieClip {Zombie5} Frame 2
"stun"Symbol 342 MovieClip {Zombie5} Frame 3
"walk"Symbol 382 MovieClip {Zombie6} Frame 1
"attack"Symbol 382 MovieClip {Zombie6} Frame 2
"stun"Symbol 382 MovieClip {Zombie6} Frame 3
"walk"Symbol 454 MovieClip {Zombie7} Frame 1
"attack"Symbol 454 MovieClip {Zombie7} Frame 2
"stun"Symbol 454 MovieClip {Zombie7} Frame 3
"walk"Symbol 499 MovieClip {ZombieBoss} Frame 1
"attack"Symbol 499 MovieClip {ZombieBoss} Frame 2
"stun"Symbol 499 MovieClip {ZombieBoss} Frame 3
"siang"Symbol 573 MovieClip {House} Frame 1
"malam"Symbol 573 MovieClip {House} Frame 146
"gameMusic"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 2
"nextWavesfx"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 2
"winMusic"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 3
"monster1"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 3
"mainMenuMusic"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 4
"monster2"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 4
"gameOverMusic"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 5
"monster3"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 5
"monster4"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 6
"monster5"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 7
"monster6"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 8
"monster7"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 9
"monster8"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 10
"fire1"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 11
"fire2"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 12
"fire3"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 13
"fire4"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 14
"refbullet"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 15
"getcoin"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 16
"awanlewat"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 17
"errorSound"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 18
"swallow"Symbol 655 MovieClip {greenprotector_fla.musicloader_203} Frame 22
"siang"Symbol 657 MovieClip {transisi} Frame 2
"malam"Symbol 657 MovieClip {transisi} Frame 151




http://swfchan.com/19/90944/info.shtml
Created: 28/3 -2019 04:19:03 Last modified: 28/3 -2019 04:19:03 Server time: 14/11 -2024 18:16:12