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