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

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

Pixelshock Tower Defense.swf

This is the info page for
Flash #47672

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


Text
Copyright © 2006-2008 Pixelshocks

Endgame Summary

12345678

12345678

12345678

~ Submit Result ~

~ Score Summary ~

Game Points

Points accumulated in the game

Total

Points from additional areas

Ending Points

Name

Final Score

12345678

Submit

Sending Data...

Top 100

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

Copyright © 2008 Pixelshocks

pixelshocks'

Tower Defence

Defend against 50 waves of creeps by building towers to prevent
their passage! You have 7 different towers to choose from and
each have their strengths and weaknesses. Choose Wisely!
You will start with 20 lives with top-ups at the item shop.  Most
of the creeps will bear special abilities so beware!!
Click to continue when you are ready.

Arrow Tower
Range: 120

$30

12 Melee Dmg

Basic tower.
Hits land & air
units.
Hotkey: 1

Fire Tower

$170

Range: 100

80 Fire Dmg

Standard tower
with fire-based
damage.
Hits land units
only.
Hotkey: 3

Sniper Tower

$290

200 Melee Dmg

Slow firing rate
but deals more
damage.
Hits land units
only.
Hotkey: 4

Rapid Tower

$95

30 Melee Dmg

Fastest firing
rate but has
lesser damage.
Hits land & air
units.
Hotkey: 2

Sky Tower

$90

55 Melee Dmg

Anti-air tower.
Hits air units
only.
Hotkey: 5

Ice Tower

$70

7 Ice Dmg

Deals ice
damage and
slows down its
target.
Hits land & air
units.
Hotkey: 6

~ Bank Info ~

Balance:

On Hand:

*Players are awarded 5%
interest at the end of each
wave.

Deposit

Withdraw

0

$

Sniper Tower 5

Damage:

Range:

~ Current Level ~

Sniper Tower 5

~ Next Level ~

$100

Upgrade

Sell

Speed:

Sniper Tower 5

Damage:

Range:

~ Max Level ~

123

123

Speed:

123

~ Item Shop ~

Next Wave

Pause

~Current Wave~

~Next Wave~

999999

123

0

0000000

Score:

Slow

$400

Area effect spell that
slows a group of
creeps by 30%. Last
for 8 seconds.

Amplify
Damage

$2500

Causes all creeps to
receive more damage.
Last for 7 seconds.

Boost
Tower

Temporary increase
the damage of all
towers for 9 seconds.

+1 Life
Point

$500

Adds 1 life point.

Greater
Rewards

$100

Global effect. For 6
seconds, all creeps
give 20% more gold.

Ultimate
Tower

$5000

Strongest, baddest,
uber-est tower in the
game. Immune to all
resistance.

Game Paused

Press <p> or click anywhere on screen to unpause

ActionScript [AS3]

Section 1
//BaseScrollPane (fl.containers.BaseScrollPane) package fl.containers { import fl.core.*; import fl.controls.*; import flash.display.*; import flash.events.*; import fl.events.*; import flash.geom.*; public class BaseScrollPane extends UIComponent { protected var defaultLineScrollSize:Number;// = 4 protected var _maxHorizontalScrollPosition:Number;// = 0 protected var vScrollBar:Boolean; protected var disabledOverlay:Shape; protected var hScrollBar:Boolean; protected var availableWidth:Number; protected var _verticalPageScrollSize:Number;// = 0 protected var vOffset:Number;// = 0 protected var _verticalScrollBar:ScrollBar; protected var useFixedHorizontalScrolling:Boolean;// = false protected var contentWidth:Number;// = 0 protected var contentHeight:Number;// = 0 protected var _horizontalPageScrollSize:Number;// = 0 protected var background:DisplayObject; protected var _useBitmpScrolling:Boolean;// = false protected var contentPadding:Number;// = 0 protected var availableHeight:Number; protected var _horizontalScrollBar:ScrollBar; protected var contentScrollRect:Rectangle; protected var _horizontalScrollPolicy:String; protected var _verticalScrollPolicy:String; protected static const SCROLL_BAR_STYLES:Object = {upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {repeatDelay:500, repeatInterval:35, skin:"ScrollPane_upSkin", contentPadding:0, disabledAlpha:0.5}; public function BaseScrollPane(){ contentWidth = 0; contentHeight = 0; contentPadding = 0; vOffset = 0; _maxHorizontalScrollPosition = 0; _horizontalPageScrollSize = 0; _verticalPageScrollSize = 0; defaultLineScrollSize = 4; useFixedHorizontalScrolling = false; _useBitmpScrolling = false; super(); } protected function handleWheel(_arg1:MouseEvent):void{ if (((((!(enabled)) || (!(_verticalScrollBar.visible)))) || ((contentHeight <= availableHeight)))){ return; }; _verticalScrollBar.scrollPosition = (_verticalScrollBar.scrollPosition - (_arg1.delta * verticalLineScrollSize)); setVerticalScrollPosition(_verticalScrollBar.scrollPosition); dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _arg1.delta, horizontalScrollPosition)); } public function get verticalScrollPosition():Number{ return (_verticalScrollBar.scrollPosition); } protected function drawDisabledOverlay():void{ if (enabled){ if (contains(disabledOverlay)){ removeChild(disabledOverlay); }; } else { disabledOverlay.x = (disabledOverlay.y = contentPadding); disabledOverlay.width = availableWidth; disabledOverlay.height = availableHeight; disabledOverlay.alpha = (getStyleValue("disabledAlpha") as Number); addChild(disabledOverlay); }; } public function set verticalScrollPosition(_arg1:Number):void{ drawNow(); _verticalScrollBar.scrollPosition = _arg1; setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); } protected function setContentSize(_arg1:Number, _arg2:Number):void{ if ((((((contentWidth == _arg1)) || (useFixedHorizontalScrolling))) && ((contentHeight == _arg2)))){ return; }; contentWidth = _arg1; contentHeight = _arg2; invalidate(InvalidationType.SIZE); } public function get horizontalScrollPosition():Number{ return (_horizontalScrollBar.scrollPosition); } public function get horizontalScrollBar():ScrollBar{ return (_horizontalScrollBar); } override public function set enabled(_arg1:Boolean):void{ if (enabled == _arg1){ return; }; _verticalScrollBar.enabled = _arg1; _horizontalScrollBar.enabled = _arg1; super.enabled = _arg1; } public function get verticalLineScrollSize():Number{ return (_verticalScrollBar.lineScrollSize); } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } protected function calculateAvailableSize():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = ScrollBar.WIDTH; _local2 = (contentPadding = Number(getStyleValue("contentPadding"))); _local3 = ((height - (2 * _local2)) - vOffset); vScrollBar = (((_verticalScrollPolicy == ScrollPolicy.ON)) || ((((_verticalScrollPolicy == ScrollPolicy.AUTO)) && ((contentHeight > _local3))))); _local4 = ((width - (vScrollBar) ? _local1 : 0) - (2 * _local2)); _local5 = (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - _local4); hScrollBar = (((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_local5 > 0))))); if (hScrollBar){ _local3 = (_local3 - _local1); }; if (((((((hScrollBar) && (!(vScrollBar)))) && ((_verticalScrollPolicy == ScrollPolicy.AUTO)))) && ((contentHeight > _local3)))){ vScrollBar = true; _local4 = (_local4 - _local1); }; availableHeight = (_local3 + vOffset); availableWidth = _local4; } public function get maxVerticalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentHeight - availableHeight))); } public function set horizontalScrollPosition(_arg1:Number):void{ drawNow(); _horizontalScrollBar.scrollPosition = _arg1; setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); } public function get horizontalLineScrollSize():Number{ return (_horizontalScrollBar.lineScrollSize); } public function set verticalPageScrollSize(_arg1:Number):void{ _verticalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function get useBitmapScrolling():Boolean{ return (_useBitmpScrolling); } protected function handleScroll(_arg1:ScrollEvent):void{ if (_arg1.target == _verticalScrollBar){ setVerticalScrollPosition(_arg1.position); } else { setHorizontalScrollPosition(_arg1.position); }; } public function set verticalLineScrollSize(_arg1:Number):void{ _verticalScrollBar.lineScrollSize = _arg1; } public function get verticalScrollBar():ScrollBar{ return (_verticalScrollBar); } protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function set horizontalPageScrollSize(_arg1:Number):void{ _horizontalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STATE)){ drawLayout(); }; updateChildren(); super.draw(); } public function set horizontalScrollPolicy(_arg1:String):void{ _horizontalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } override protected function configUI():void{ var _local1:Graphics; super.configUI(); contentScrollRect = new Rectangle(0, 0, 85, 85); _verticalScrollBar = new ScrollBar(); _verticalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _verticalScrollBar.visible = false; _verticalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_verticalScrollBar); copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); _horizontalScrollBar = new ScrollBar(); _horizontalScrollBar.direction = ScrollBarDirection.HORIZONTAL; _horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _horizontalScrollBar.visible = false; _horizontalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_horizontalScrollBar); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); disabledOverlay = new Shape(); _local1 = disabledOverlay.graphics; _local1.beginFill(0xFFFFFF); _local1.drawRect(0, 0, width, height); _local1.endFill(); addEventListener(MouseEvent.MOUSE_WHEEL, handleWheel, false, 0, true); } protected function calculateContentWidth():void{ } public function get verticalPageScrollSize():Number{ if (isNaN(availableHeight)){ drawNow(); }; return (((((_verticalPageScrollSize == 0)) && (!(isNaN(availableHeight))))) ? availableHeight : _verticalPageScrollSize); } protected function drawLayout():void{ calculateAvailableSize(); calculateContentWidth(); background.width = width; background.height = height; if (vScrollBar){ _verticalScrollBar.visible = true; _verticalScrollBar.x = ((width - ScrollBar.WIDTH) - contentPadding); _verticalScrollBar.y = contentPadding; _verticalScrollBar.height = availableHeight; } else { _verticalScrollBar.visible = false; }; _verticalScrollBar.setScrollProperties(availableHeight, 0, (contentHeight - availableHeight), verticalPageScrollSize); setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); if (hScrollBar){ _horizontalScrollBar.visible = true; _horizontalScrollBar.x = contentPadding; _horizontalScrollBar.y = ((height - ScrollBar.WIDTH) - contentPadding); _horizontalScrollBar.width = availableWidth; } else { _horizontalScrollBar.visible = false; }; _horizontalScrollBar.setScrollProperties(availableWidth, 0, (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - availableWidth), horizontalPageScrollSize); setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); drawDisabledOverlay(); } protected function drawBackground():void{ var _local1:DisplayObject; _local1 = background; background = getDisplayObjectInstance(getStyleValue("skin")); background.width = width; background.height = height; addChildAt(background, 0); if (((!((_local1 == null))) && (!((_local1 == background))))){ removeChild(_local1); }; } public function set horizontalLineScrollSize(_arg1:Number):void{ _horizontalScrollBar.lineScrollSize = _arg1; } public function get horizontalPageScrollSize():Number{ if (isNaN(availableWidth)){ drawNow(); }; return (((((_horizontalPageScrollSize == 0)) && (!(isNaN(availableWidth))))) ? availableWidth : _horizontalPageScrollSize); } public function get maxHorizontalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentWidth - availableWidth))); } protected function setStyles():void{ copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); } protected function updateChildren():void{ _verticalScrollBar.enabled = (_horizontalScrollBar.enabled = enabled); _verticalScrollBar.drawNow(); _horizontalScrollBar.drawNow(); } public function set verticalScrollPolicy(_arg1:String):void{ _verticalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } public function set useBitmapScrolling(_arg1:Boolean):void{ _useBitmpScrolling = _arg1; invalidate(InvalidationType.STATE); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, ScrollBar.getStyleDefinition())); } } }//package fl.containers
Section 2
//DataGridCellEditor (fl.controls.dataGridClasses.DataGridCellEditor) package fl.controls.dataGridClasses { import fl.controls.listClasses.*; import fl.controls.*; public class DataGridCellEditor extends TextInput implements ICellRenderer { protected var _data:Object; protected var _listData:ListData; private static var defaultStyles:Object = {textPadding:1, textFormat:null, upSkin:"DataGridCellEditor_skin"}; public function DataGridCellEditor():void{ } public function get selected():Boolean{ return (false); } public function set listData(_arg1:ListData):void{ _listData = _arg1; text = _listData.label; } public function setMouseState(_arg1:String):void{ } public function set selected(_arg1:Boolean):void{ } public function set data(_arg1:Object):void{ _data = _arg1; } public function get listData():ListData{ return (_listData); } public function get data():Object{ return (_data); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls.dataGridClasses
Section 3
//DataGridColumn (fl.controls.dataGridClasses.DataGridColumn) package fl.controls.dataGridClasses { import fl.core.*; import fl.controls.*; public class DataGridColumn { private var _headerText:String; public var editorDataField:String;// = "text" private var forceImport:DataGridCellEditor; private var _headerRenderer:Object; public var sortOptions:uint;// = 0 private var _cellRenderer:Object; private var _columnName:String; public var resizable:Boolean;// = true private var _sortCompareFunction:Function; private var _visible:Boolean;// = true public var sortDescending:Boolean;// = false public var owner:DataGrid; private var _imeMode:String; private var _width:Number;// = 100 public var editable:Boolean;// = true public var itemEditor:Object;// = "fl.controls.dataGridClasses.DataGridCellEditor" public var explicitWidth:Number; private var _minWidth:Number;// = 20 private var _labelFunction:Function; public var sortable:Boolean;// = true public var colNum:Number; public var dataField:String; public function DataGridColumn(_arg1:String=null){ _minWidth = 20; _width = 100; _visible = true; sortable = true; resizable = true; editable = true; itemEditor = "fl.controls.dataGridClasses.DataGridCellEditor"; editorDataField = "text"; sortDescending = false; sortOptions = 0; super(); if (_arg1){ dataField = _arg1; headerText = _arg1; }; } public function set headerRenderer(_arg1:Object):void{ _headerRenderer = _arg1; if (owner){ owner.invalidate(InvalidationType.DATA); }; } public function get imeMode():String{ return (_imeMode); } public function setWidth(_arg1:Number):void{ _width = _arg1; } public function set width(_arg1:Number):void{ var _local2:Boolean; explicitWidth = _arg1; if (owner != null){ _local2 = resizable; resizable = false; owner.resizeColumn(colNum, _arg1); resizable = _local2; } else { _width = _arg1; }; } public function set cellRenderer(_arg1:Object):void{ _cellRenderer = _arg1; if (owner){ owner.invalidate(InvalidationType.DATA); }; } public function get minWidth():Number{ return (_minWidth); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } public function toString():String{ return ("[object DataGridColumn]"); } public function get visible():Boolean{ return (_visible); } public function itemToLabel(_arg1:Object):String{ var data = _arg1; if (!data){ return (" "); }; if (labelFunction != null){ return (labelFunction(data)); }; if (owner.labelFunction != null){ return (owner.labelFunction(data, this)); }; if ((((typeof(data) == "object")) || ((typeof(data) == "xml")))){ try { data = data[dataField]; } catch(e:Error) { data = null; }; }; if ((data is String)){ return (String(data)); }; try { return (data.toString()); } catch(e:Error) { }; return (" "); } public function set minWidth(_arg1:Number):void{ _minWidth = _arg1; if (_width < _arg1){ _width = _arg1; }; if (owner){ owner.invalidate(InvalidationType.SIZE); }; } public function set headerText(_arg1:String):void{ _headerText = _arg1; if (owner){ owner.invalidate(InvalidationType.DATA); }; } public function set sortCompareFunction(_arg1:Function):void{ _sortCompareFunction = _arg1; } public function get width():Number{ return (_width); } public function get cellRenderer():Object{ return (_cellRenderer); } public function set labelFunction(_arg1:Function):void{ if (_labelFunction == _arg1){ return; }; _labelFunction = _arg1; if (owner){ owner.invalidate(InvalidationType.DATA); }; } public function get headerText():String{ return (((_headerText)!=null) ? _headerText : dataField); } public function get sortCompareFunction():Function{ return (_sortCompareFunction); } public function get headerRenderer():Object{ return (_headerRenderer); } public function get labelFunction():Function{ return (_labelFunction); } public function set visible(_arg1:Boolean):void{ if (_visible != _arg1){ _visible = _arg1; if (owner){ owner.invalidate(InvalidationType.SIZE); }; }; } } }//package fl.controls.dataGridClasses
Section 4
//HeaderRenderer (fl.controls.dataGridClasses.HeaderRenderer) package fl.controls.dataGridClasses { import fl.controls.*; public class HeaderRenderer extends LabelButton { public var _column:uint; private static var defaultStyles:Object = {upSkin:"HeaderRenderer_upSkin", downSkin:"HeaderRenderer_downSkin", overSkin:"HeaderRenderer_overSkin", disabledSkin:"HeaderRenderer_disabledSkin", selectedDisabledSkin:"HeaderRenderer_selectedDisabledSkin", selectedUpSkin:"HeaderRenderer_selectedUpSkin", selectedDownSkin:"HeaderRenderer_selectedDownSkin", selectedOverSkin:"HeaderRenderer_selectedOverSkin", textFormat:null, disabledTextFormat:null, textPadding:5}; public function HeaderRenderer():void{ focusEnabled = false; } public function set column(_arg1:uint):void{ _column = _arg1; } public function get column():uint{ return (_column); } override protected function drawLayout():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = Number(getStyleValue("textPadding")); textField.height = (textField.textHeight + 4); textField.visible = (label.length > 0); _local2 = (textField.textWidth + 4); _local3 = (textField.textHeight + 4); _local4 = ((icon)==null) ? 0 : (icon.width + 4); _local5 = Math.max(0, Math.min(_local2, ((width - (2 * _local1)) - _local4))); if (icon != null){ icon.x = (((width - _local1) - icon.width) - 2); icon.y = Math.round(((height - icon.height) / 2)); }; textField.width = _local5; textField.x = _local1; textField.y = Math.round(((height - textField.height) / 2)); background.width = width; background.height = height; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls.dataGridClasses
Section 5
//CellRenderer (fl.controls.listClasses.CellRenderer) package fl.controls.listClasses { import fl.controls.*; import flash.events.*; public class CellRenderer extends LabelButton implements ICellRenderer { protected var _data:Object; protected var _listData:ListData; private static var defaultStyles:Object = {upSkin:"CellRenderer_upSkin", downSkin:"CellRenderer_downSkin", overSkin:"CellRenderer_overSkin", disabledSkin:"CellRenderer_disabledSkin", selectedDisabledSkin:"CellRenderer_selectedDisabledSkin", selectedUpSkin:"CellRenderer_selectedUpSkin", selectedDownSkin:"CellRenderer_selectedDownSkin", selectedOverSkin:"CellRenderer_selectedOverSkin", textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5}; public function CellRenderer():void{ toggle = true; focusEnabled = false; } override protected function toggleSelected(_arg1:MouseEvent):void{ } override public function get selected():Boolean{ return (super.selected); } public function set listData(_arg1:ListData):void{ _listData = _arg1; label = _listData.label; setStyle("icon", _listData.icon); } override public function set selected(_arg1:Boolean):void{ super.selected = _arg1; } public function set data(_arg1:Object):void{ _data = _arg1; } public function get listData():ListData{ return (_listData); } override public function setSize(_arg1:Number, _arg2:Number):void{ super.setSize(_arg1, _arg2); } override protected function drawLayout():void{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = 0; if (icon != null){ icon.x = _local1; icon.y = Math.round(((height - icon.height) >> 1)); _local2 = (icon.width + _local1); }; if (label.length > 0){ textField.visible = true; _local3 = Math.max(0, ((width - _local2) - (_local1 * 2))); textField.width = _local3; textField.height = (textField.textHeight + 4); textField.x = (_local2 + _local1); textField.y = Math.round(((height - textField.height) >> 1)); } else { textField.visible = false; }; background.width = width; background.height = height; } public function get data():Object{ return (_data); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls.listClasses
Section 6
//ICellRenderer (fl.controls.listClasses.ICellRenderer) package fl.controls.listClasses { public interface ICellRenderer { function setSize(_arg1:Number, _arg2:Number):void; function get listData():ListData; function get data():Object; function setMouseState(_arg1:String):void; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function set data(_arg1:Object):void; function set selected(_arg1:Boolean):void; function set listData(_arg1:ListData):void; function get selected():Boolean; } }//package fl.controls.listClasses
Section 7
//ListData (fl.controls.listClasses.ListData) package fl.controls.listClasses { import fl.core.*; public class ListData { protected var _index:uint; protected var _owner:UIComponent; protected var _label:String; protected var _icon:Object;// = null protected var _row:uint; protected var _column:uint; public function ListData(_arg1:String, _arg2:Object, _arg3:UIComponent, _arg4:uint, _arg5:uint, _arg6:uint=0){ _icon = null; super(); _label = _arg1; _icon = _arg2; _owner = _arg3; _index = _arg4; _row = _arg5; _column = _arg6; } public function get owner():UIComponent{ return (_owner); } public function get label():String{ return (_label); } public function get row():uint{ return (_row); } public function get index():uint{ return (_index); } public function get icon():Object{ return (_icon); } public function get column():uint{ return (_column); } } }//package fl.controls.listClasses
Section 8
//IndeterminateBar (fl.controls.progressBarClasses.IndeterminateBar) package fl.controls.progressBarClasses { import fl.core.*; import flash.display.*; import flash.events.*; public class IndeterminateBar extends UIComponent { protected var bar:Sprite; protected var barMask:Sprite; protected var patternBmp:BitmapData; protected var animationCount:uint;// = 0 private static var defaultStyles:Object = {indeterminateSkin:"ProgressBar_indeterminateSkin"}; public function IndeterminateBar(){ animationCount = 0; super(); setSize(0, 0); startAnimation(); } protected function drawBar():void{ var _local1:Graphics; if (patternBmp == null){ return; }; _local1 = bar.graphics; _local1.clear(); _local1.beginBitmapFill(patternBmp); _local1.drawRect(0, 0, (_width + patternBmp.width), _height); _local1.endFill(); } protected function drawMask():void{ var _local1:Graphics; _local1 = barMask.graphics; _local1.clear(); _local1.beginFill(0, 0); _local1.drawRect(0, 0, _width, _height); _local1.endFill(); } override public function get visible():Boolean{ return (super.visible); } override public function set visible(_arg1:Boolean):void{ if (_arg1){ startAnimation(); } else { stopAnimation(); }; super.visible = _arg1; } protected function startAnimation():void{ addEventListener(Event.ENTER_FRAME, handleEnterFrame, false, 0, true); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ drawPattern(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawBar(); drawMask(); }; super.draw(); } override protected function configUI():void{ bar = new Sprite(); addChild(bar); barMask = new Sprite(); addChild(barMask); bar.mask = barMask; } protected function stopAnimation():void{ removeEventListener(Event.ENTER_FRAME, handleEnterFrame); } protected function drawPattern():void{ var _local1:DisplayObject; _local1 = getDisplayObjectInstance(getStyleValue("indeterminateSkin")); if (patternBmp){ patternBmp.dispose(); }; patternBmp = new BitmapData((_local1.width << 0), (_local1.height << 0), true, 0); patternBmp.draw(_local1); } protected function handleEnterFrame(_arg1:Event):void{ if (patternBmp == null){ return; }; animationCount = ((animationCount + 2) % patternBmp.width); bar.x = -(animationCount); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls.progressBarClasses
Section 9
//BaseButton (fl.controls.BaseButton) package fl.controls { import fl.core.*; import flash.display.*; import flash.events.*; import fl.events.*; import flash.utils.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 10
//Button (fl.controls.Button) package fl.controls { import fl.core.*; import flash.display.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 11
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 12
//DataGrid (fl.controls.DataGrid) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.display.*; import flash.events.*; import fl.data.*; import fl.managers.*; import fl.events.*; import fl.controls.dataGridClasses.*; import flash.utils.*; import flash.geom.*; import flash.ui.*; public class DataGrid extends SelectableList implements IFocusManagerComponent { protected var _showHeaders:Boolean;// = true protected var _sortIndex:int;// = -1 protected var _minColumnWidth:Number; protected var _headerRenderer:Object; public var sortableColumns:Boolean;// = true protected var activeCellRenderersMap:Dictionary; protected var _labelFunction:Function; protected var headerSortArrow:Sprite; protected var _sortDescending:Boolean;// = false protected var losingFocus:Boolean;// = false protected var maxHeaderHeight:Number;// = 25 protected var minColumnWidthInvalid:Boolean;// = false protected var _rowHeight:Number;// = 20 protected var _cellRenderer:Object; protected var proposedEditedItemPosition; public var editable:Boolean;// = false protected var dragHandlesMap:Dictionary; protected var header:Sprite; protected var availableCellRenderersMap:Dictionary; protected var _columns:Array; public var resizableColumns:Boolean;// = true protected var columnStretchStartWidth:Number; protected var actualRowIndex:int; protected var _editedItemPosition:Object; protected var editedItemPositionChanged:Boolean;// = false protected var actualColIndex:int; protected var columnStretchCursor:Sprite; protected var visibleColumns:Array; protected var headerMask:Sprite; public var itemEditorInstance:Object; protected var displayableColumns:Array; protected var columnStretchIndex:Number;// = -1 protected var columnsInvalid:Boolean;// = true protected var currentHoveredRow:int;// = -1 protected var isPressed:Boolean;// = false protected var lastSortIndex:int;// = -1 protected var columnStretchStartX:Number; protected var _headerHeight:Number;// = 25 protected static const HEADER_STYLES:Object = {disabledSkin:"headerDisabledSkin", downSkin:"headerDownSkin", overSkin:"headerOverSkin", upSkin:"headerUpSkin", textFormat:"headerTextFormat", disabledTextFormat:"headerDisabledTextFormat", textPadding:"headerTextPadding"}; private static var defaultStyles:Object = {headerUpSkin:"HeaderRenderer_upSkin", headerDownSkin:"HeaderRenderer_downSkin", headerOverSkin:"HeaderRenderer_overSkin", headerDisabledSkin:"HeaderRenderer_disabledSkin", headerSortArrowDescSkin:"HeaderSortArrow_descIcon", headerSortArrowAscSkin:"HeaderSortArrow_ascIcon", columnStretchCursorSkin:"ColumnStretch_cursor", columnDividerSkin:null, headerTextFormat:null, headerDisabledTextFormat:null, headerTextPadding:5, headerRenderer:HeaderRenderer, focusRectSkin:null, focusRectPadding:null, skin:"DataGrid_skin"}; public static var createAccessibilityImplementation:Function; public function DataGrid(){ _rowHeight = 20; _headerHeight = 25; _showHeaders = true; columnsInvalid = true; minColumnWidthInvalid = false; columnStretchIndex = -1; _sortIndex = -1; lastSortIndex = -1; _sortDescending = false; editedItemPositionChanged = false; isPressed = false; losingFocus = false; maxHeaderHeight = 25; currentHoveredRow = -1; editable = false; resizableColumns = true; sortableColumns = true; super(); if (_columns == null){ _columns = []; }; _horizontalScrollPolicy = ScrollPolicy.OFF; activeCellRenderersMap = new Dictionary(true); availableCellRenderersMap = new Dictionary(true); addEventListener(DataGridEvent.ITEM_EDIT_BEGINNING, itemEditorItemEditBeginningHandler, false, -50); addEventListener(DataGridEvent.ITEM_EDIT_BEGIN, itemEditorItemEditBeginHandler, false, -50); addEventListener(DataGridEvent.ITEM_EDIT_END, itemEditorItemEditEndHandler, false, -50); addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); } override protected function drawList():void{ var _local1:uint; var _local2:uint; var _local3:Number; var _local4:Number; var _local5:uint; var _local6:Object; var _local7:ICellRenderer; var _local8:Array; var _local9:DataGridColumn; var _local10:Boolean; var _local11:Dictionary; var _local12:DataGridColumn; var _local13:Sprite; var _local14:UIComponent; var _local15:Array; var _local16:uint; var _local17:uint; var _local18:Number; var _local19:DataGridColumn; var _local20:Object; var _local21:Array; var _local22:Dictionary; var _local23:Object; var _local24:HeaderRenderer; var _local25:Sprite; var _local26:Graphics; var _local27:Boolean; var _local28:String; if (showHeaders){ header.visible = true; header.x = (contentPadding - _horizontalScrollPosition); header.y = contentPadding; listHolder.y = (contentPadding + headerHeight); _local18 = Math.floor((availableHeight - headerHeight)); _verticalScrollBar.setScrollProperties(_local18, 0, (contentHeight - _local18), _verticalScrollBar.pageScrollSize); } else { header.visible = false; listHolder.y = contentPadding; }; listHolder.x = contentPadding; contentScrollRect = listHolder.scrollRect; contentScrollRect.x = _horizontalScrollPosition; contentScrollRect.y = (vOffset + (Math.floor(_verticalScrollPosition) % rowHeight)); listHolder.scrollRect = contentScrollRect; listHolder.cacheAsBitmap = useBitmapScrolling; _local1 = Math.min(Math.max((length - 1), 0), Math.floor((_verticalScrollPosition / rowHeight))); _local2 = Math.min(Math.max((length - 1), 0), ((_local1 + rowCount) + 1)); _local10 = list.hitTestPoint(stage.mouseX, stage.mouseY); calculateColumnSizes(); _local11 = (renderedItems = new Dictionary(true)); if (length > 0){ _local5 = _local1; while (_local5 <= _local2) { _local11[_dataProvider.getItemAt(_local5)] = true; _local5++; }; }; _local3 = 0; _local12 = (visibleColumns[0] as DataGridColumn); _local5 = 0; while (_local5 < displayableColumns.length) { _local19 = (displayableColumns[_local5] as DataGridColumn); if (_local19 != _local12){ _local3 = (_local3 + _local19.width); } else { break; }; _local5++; }; while (header.numChildren > 0) { header.removeChildAt(0); }; dragHandlesMap = new Dictionary(true); _local15 = []; _local16 = visibleColumns.length; _local17 = 0; while (_local17 < _local16) { _local9 = (visibleColumns[_local17] as DataGridColumn); _local15.push(_local9.colNum); if (showHeaders){ _local23 = ((_local9.headerRenderer)!=null) ? _local9.headerRenderer : _headerRenderer; _local24 = (getDisplayObjectInstance(_local23) as HeaderRenderer); if (_local24 != null){ _local24.addEventListener(MouseEvent.CLICK, handleHeaderRendererClick, false, 0, true); _local24.x = _local3; _local24.y = 0; _local24.setSize(_local9.width, headerHeight); _local24.column = _local9.colNum; _local24.label = _local9.headerText; header.addChildAt(_local24, _local17); copyStylesToChild(_local24, HEADER_STYLES); if ((((((sortIndex == -1)) && ((lastSortIndex == -1)))) || (!((_local9.colNum == sortIndex))))){ _local24.setStyle("icon", null); } else { _local24.setStyle("icon", (sortDescending) ? getStyleValue("headerSortArrowAscSkin") : getStyleValue("headerSortArrowDescSkin")); }; if ((((((_local17 < (_local16 - 1))) && (resizableColumns))) && (_local9.resizable))){ _local25 = new Sprite(); _local26 = _local25.graphics; _local26.beginFill(0, 0); _local26.drawRect(0, 0, 3, headerHeight); _local26.endFill(); _local25.x = ((_local3 + _local9.width) - 2); _local25.y = 0; _local25.alpha = 0; _local25.addEventListener(MouseEvent.MOUSE_OVER, handleHeaderResizeOver, false, 0, true); _local25.addEventListener(MouseEvent.MOUSE_OUT, handleHeaderResizeOut, false, 0, true); _local25.addEventListener(MouseEvent.MOUSE_DOWN, handleHeaderResizeDown, false, 0, true); header.addChild(_local25); dragHandlesMap[_local25] = _local9.colNum; }; if ((((((_local17 == (_local16 - 1))) && ((_horizontalScrollPosition == 0)))) && ((availableWidth > (_local3 + _local9.width))))){ _local4 = Math.floor((availableWidth - _local3)); _local24.setSize(_local4, headerHeight); } else { _local4 = _local9.width; }; _local24.drawNow(); }; }; _local20 = ((_local9.cellRenderer)!=null) ? _local9.cellRenderer : _cellRenderer; _local21 = availableCellRenderersMap[_local9]; _local8 = activeCellRenderersMap[_local9]; if (_local8 == null){ _local8 = []; activeCellRenderersMap[_local9] = _local8; }; if (_local21 == null){ _local21 = []; availableCellRenderersMap[_local9] = _local21; }; _local22 = new Dictionary(true); while (_local8.length > 0) { _local7 = _local8.pop(); _local6 = _local7.data; if ((((_local11[_local6] == null)) || ((invalidItems[_local6] == true)))){ _local21.push(_local7); } else { _local22[_local6] = _local7; invalidItems[_local6] = true; }; list.removeChild((_local7 as DisplayObject)); }; if (length > 0){ _local5 = _local1; while (_local5 <= _local2) { _local27 = false; _local6 = _dataProvider.getItemAt(_local5); if (_local22[_local6] != null){ _local27 = true; _local7 = _local22[_local6]; delete _local22[_local6]; } else { if (_local21.length > 0){ _local7 = (_local21.pop() as ICellRenderer); } else { _local7 = (getDisplayObjectInstance(_local20) as ICellRenderer); _local13 = (_local7 as Sprite); if (_local13 != null){ _local13.addEventListener(MouseEvent.CLICK, handleCellRendererClick, false, 0, true); _local13.addEventListener(MouseEvent.ROLL_OVER, handleCellRendererMouseEvent, false, 0, true); _local13.addEventListener(MouseEvent.ROLL_OUT, handleCellRendererMouseEvent, false, 0, true); _local13.addEventListener(Event.CHANGE, handleCellRendererChange, false, 0, true); _local13.doubleClickEnabled = true; _local13.addEventListener(MouseEvent.DOUBLE_CLICK, handleCellRendererDoubleClick, false, 0, true); if (_local13["setStyle"] != null){ for (_local28 in rendererStyles) { var _local31 = _local13; _local31["setStyle"](_local28, rendererStyles[_local28]); }; }; }; }; }; list.addChild((_local7 as Sprite)); _local8.push(_local7); _local7.x = _local3; _local7.y = (rowHeight * (_local5 - _local1)); _local7.setSize(((_local17)==(_local16 - 1)) ? _local4 : _local9.width, rowHeight); if (!_local27){ _local7.data = _local6; }; _local7.listData = new ListData(columnItemToLabel(_local9.colNum, _local6), null, this, _local5, _local5, _local17); if (((_local10) && (isHovered(_local7)))){ _local7.setMouseState("over"); currentHoveredRow = _local5; } else { _local7.setMouseState("up"); }; _local7.selected = !((_selectedIndices.indexOf(_local5) == -1)); if ((_local7 is UIComponent)){ _local14 = (_local7 as UIComponent); _local14.drawNow(); }; _local5++; }; }; _local3 = (_local3 + _local9.width); _local17++; }; _local5 = 0; while (_local5 < _columns.length) { if (_local15.indexOf(_local5) == -1){ removeCellRenderersByColumn((_columns[_local5] as DataGridColumn)); }; _local5++; }; if (editedItemPositionChanged){ editedItemPositionChanged = false; commitEditedItemPosition(proposedEditedItemPosition); proposedEditedItemPosition = undefined; }; invalidItems = new Dictionary(true); } protected function itemEditorItemEditBeginningHandler(_arg1:DataGridEvent):void{ if (!_arg1.isDefaultPrevented()){ setEditedItemPosition({columnIndex:_arg1.columnIndex, rowIndex:uint(_arg1.rowIndex)}); } else { if (!itemEditorInstance){ _editedItemPosition = null; editable = false; setFocus(); editable = true; }; }; } protected function itemEditorItemEditEndHandler(_arg1:DataGridEvent):void{ var _local2:Boolean; var _local3:Object; var _local4:String; var _local5:Object; var _local6:String; var _local7:XML; var _local8:IFocusManager; if (!_arg1.isDefaultPrevented()){ _local2 = false; if (((itemEditorInstance) && (!((_arg1.reason == DataGridEventReason.CANCELLED))))){ _local3 = itemEditorInstance[_columns[_arg1.columnIndex].editorDataField]; _local4 = _columns[_arg1.columnIndex].dataField; _local5 = _arg1.itemRenderer.data; _local6 = ""; for each (_local7 in describeType(_local5).variable) { if (_local4 == _local7.@name.toString()){ _local6 = _local7.@type.toString(); break; }; }; switch (_local6){ case "String": if (!(_local3 is String)){ _local3 = _local3.toString(); }; break; case "uint": if (!(_local3 is uint)){ _local3 = uint(_local3); }; break; case "int": if (!(_local3 is int)){ _local3 = int(_local3); }; break; case "Number": if (!(_local3 is Number)){ _local3 = Number(_local3); }; break; }; if (_local5[_local4] != _local3){ _local2 = true; _local5[_local4] = _local3; }; _arg1.itemRenderer.data = _local5; }; } else { if (_arg1.reason != DataGridEventReason.OTHER){ if (((itemEditorInstance) && (_editedItemPosition))){ if (selectedIndex != _editedItemPosition.rowIndex){ selectedIndex = _editedItemPosition.rowIndex; }; _local8 = focusManager; if ((itemEditorInstance is IFocusManagerComponent)){ _local8.setFocus(InteractiveObject(itemEditorInstance)); }; }; }; }; if ((((_arg1.reason == DataGridEventReason.OTHER)) || (!(_arg1.isDefaultPrevented())))){ destroyItemEditor(); }; } public function get editedItemPosition():Object{ if (_editedItemPosition){ return ({rowIndex:_editedItemPosition.rowIndex, columnIndex:_editedItemPosition.columnIndex}); }; return (_editedItemPosition); } protected function setEditedItemPosition(_arg1:Object):void{ editedItemPositionChanged = true; proposedEditedItemPosition = _arg1; if (((_arg1) && (!((_arg1.rowIndex == selectedIndex))))){ selectedIndex = _arg1.rowIndex; }; invalidate(InvalidationType.DATA); } public function set headerHeight(_arg1:Number):void{ maxHeaderHeight = _arg1; _headerHeight = Math.max(0, _arg1); invalidate(InvalidationType.SIZE); } protected function handleHeaderResizeDown(_arg1:MouseEvent):void{ var _local2:Sprite; var _local3:Number; var _local4:DataGridColumn; _local2 = (_arg1.currentTarget as Sprite); _local3 = dragHandlesMap[_local2]; _local4 = getColumnAt(_local3); columnStretchIndex = _local3; columnStretchStartX = _arg1.stageX; columnStretchStartWidth = _local4.width; stage.addEventListener(MouseEvent.MOUSE_MOVE, handleHeaderResizeMove, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, handleHeaderResizeUp, false, 0, true); } protected function deactivateHandler(_arg1:Event):void{ if (itemEditorInstance){ endEdit(DataGridEventReason.OTHER); losingFocus = true; setFocus(); }; } protected function keyFocusChangeHandler(_arg1:FocusEvent):void{ if ((((((_arg1.keyCode == Keyboard.TAB)) && (!(_arg1.isDefaultPrevented())))) && (findNextItemRenderer(_arg1.shiftKey)))){ _arg1.preventDefault(); }; } override protected function handleDataChange(_arg1:DataChangeEvent):void{ super.handleDataChange(_arg1); if (_columns == null){ _columns = []; }; if (_columns.length == 0){ createColumnsFromDataProvider(); }; } public function set editedItemPosition(_arg1:Object):void{ var _local2:Object; _local2 = {rowIndex:_arg1.rowIndex, columnIndex:_arg1.columnIndex}; setEditedItemPosition(_local2); } override public function itemToCellRenderer(_arg1:Object):ICellRenderer{ return (null); } public function getCellRendererAt(_arg1:uint, _arg2:uint):ICellRenderer{ var _local3:DataGridColumn; var _local4:Array; var _local5:uint; var _local6:ICellRenderer; _local3 = (_columns[_arg2] as DataGridColumn); if (_local3 != null){ _local4 = (activeCellRenderersMap[_local3] as Array); if (_local4 != null){ _local5 = 0; while (_local5 < _local4.length) { _local6 = (_local4[_local5] as ICellRenderer); if (_local6.listData.row == _arg1){ return (_local6); }; _local5++; }; }; }; return (null); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (((!(selectable)) || (itemEditorInstance))){ return; }; switch (_arg1.keyCode){ case Keyboard.UP: case Keyboard.DOWN: case Keyboard.END: case Keyboard.HOME: case Keyboard.PAGE_UP: case Keyboard.PAGE_DOWN: moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); break; case Keyboard.LEFT: case Keyboard.RIGHT: moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); break; case Keyboard.SPACE: if (caretIndex == -1){ caretIndex = 0; }; scrollToIndex(caretIndex); doKeySelection(caretIndex, _arg1.shiftKey, _arg1.ctrlKey); break; default: break; }; _arg1.stopPropagation(); } protected function handleHeaderResizeUp(_arg1:MouseEvent):void{ var _local2:Sprite; var _local3:DataGridColumn; var _local4:HeaderRenderer; var _local5:uint; var _local6:DataGridEvent; _local2 = (_arg1.currentTarget as Sprite); _local3 = (_columns[columnStretchIndex] as DataGridColumn); _local5 = 0; while (_local5 < header.numChildren) { _local4 = (header.getChildAt(_local5) as HeaderRenderer); if (((_local4) && ((_local4.column == columnStretchIndex)))){ break; }; _local5++; }; _local6 = new DataGridEvent(DataGridEvent.COLUMN_STRETCH, false, true, columnStretchIndex, -1, _local4, (_local3) ? _local3.dataField : null); dispatchEvent(_local6); columnStretchIndex = -1; showColumnStretchCursor(false); stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleHeaderResizeMove, false); stage.removeEventListener(MouseEvent.MOUSE_UP, handleHeaderResizeUp, false); } protected function handleHeaderResizeOver(_arg1:MouseEvent):void{ if (columnStretchIndex == -1){ showColumnStretchCursor(); }; } override protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:Boolean; var _local3:DataGridColumn; if (_arg1.target != this){ return; }; if (losingFocus){ losingFocus = false; return; }; setIMEMode(true); super.focusInHandler(_arg1); if (((editable) && (!(isPressed)))){ _local2 = !((editedItemPosition == null)); if (!_editedItemPosition){ _editedItemPosition = {rowIndex:0, columnIndex:0}; while (_editedItemPosition.columnIndex < _columns.length) { _local3 = (_columns[_editedItemPosition.columnIndex] as DataGridColumn); if (((_local3.editable) && (_local3.visible))){ _local2 = true; break; }; _editedItemPosition.columnIndex++; }; }; if (_local2){ setEditedItemPosition(_editedItemPosition); }; }; if (editable){ addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); addEventListener(MouseEvent.MOUSE_DOWN, mouseFocusChangeHandler); }; } public function createItemEditor(_arg1:uint, _arg2:uint):void{ var _local3:DataGridColumn; var _local4:ICellRenderer; var _local5:Sprite; var _local6:int; if (displayableColumns.length != _columns.length){ _local6 = 0; while (_local6 < displayableColumns.length) { if (displayableColumns[_local6].colNum >= _arg1){ _arg1 = displayableColumns[_local6].colNum; break; }; _local6++; }; if (_local6 == displayableColumns.length){ _arg1 = 0; }; }; _local3 = (_columns[_arg1] as DataGridColumn); _local4 = getCellRendererAt(_arg2, _arg1); if (!itemEditorInstance){ itemEditorInstance = getDisplayObjectInstance(_local3.itemEditor); itemEditorInstance.tabEnabled = false; list.addChild(DisplayObject(itemEditorInstance)); }; list.setChildIndex(DisplayObject(itemEditorInstance), (list.numChildren - 1)); _local5 = (_local4 as Sprite); itemEditorInstance.visible = true; itemEditorInstance.move(_local5.x, _local5.y); itemEditorInstance.setSize(_local3.width, rowHeight); itemEditorInstance.drawNow(); DisplayObject(itemEditorInstance).addEventListener(FocusEvent.FOCUS_OUT, itemEditorFocusOutHandler); _local5.visible = false; DisplayObject(itemEditorInstance).addEventListener(KeyboardEvent.KEY_DOWN, editorKeyDownHandler); stage.addEventListener(MouseEvent.MOUSE_DOWN, editorMouseDownHandler, true, 0, true); } private function itemEditorFocusOutHandler(_arg1:FocusEvent):void{ if (((_arg1.relatedObject) && (contains(_arg1.relatedObject)))){ return; }; if (!_arg1.relatedObject){ return; }; if (itemEditorInstance){ endEdit(DataGridEventReason.OTHER); }; } override public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } override protected function updateRendererStyles():void{ var _local1:Array; var _local2:Object; var _local3:uint; var _local4:uint; var _local5:String; _local1 = []; for (_local2 in availableCellRenderersMap) { _local1 = _local1.concat(availableCellRenderersMap[_local2]); }; for (_local2 in activeCellRenderersMap) { _local1 = _local1.concat(activeCellRenderersMap[_local2]); }; _local3 = _local1.length; _local4 = 0; while (_local4 < _local3) { if (_local1[_local4]["setStyle"] == null){ } else { for (_local5 in updatedRendererStyles) { _local1[_local4].setStyle(_local5, updatedRendererStyles[_local5]); }; _local1[_local4].drawNow(); }; _local4++; }; updatedRendererStyles = {}; } public function set minColumnWidth(_arg1:Number):void{ _minColumnWidth = _arg1; columnsInvalid = true; minColumnWidthInvalid = true; invalidate(InvalidationType.SIZE); } protected function showColumnStretchCursor(_arg1:Boolean=true):void{ if (columnStretchCursor == null){ columnStretchCursor = (getDisplayObjectInstance(getStyleValue("columnStretchCursorSkin")) as Sprite); columnStretchCursor.mouseEnabled = false; }; if (_arg1){ Mouse.hide(); stage.addChild(columnStretchCursor); stage.addEventListener(MouseEvent.MOUSE_MOVE, positionColumnStretchCursor, false, 0, true); columnStretchCursor.x = stage.mouseX; columnStretchCursor.y = stage.mouseY; } else { stage.removeEventListener(MouseEvent.MOUSE_MOVE, positionColumnStretchCursor, false); if (stage.contains(columnStretchCursor)){ stage.removeChild(columnStretchCursor); }; Mouse.show(); }; } protected function findNextEnterItemRenderer(_arg1:KeyboardEvent):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:DataGridEvent; if (proposedEditedItemPosition !== undefined){ return; }; _local2 = _editedItemPosition.rowIndex; _local3 = _editedItemPosition.columnIndex; _local4 = (_editedItemPosition.rowIndex + (_arg1.shiftKey) ? -1 : 1); if ((((_local4 >= 0)) && ((_local4 < length)))){ _local2 = _local4; }; _local5 = new DataGridEvent(DataGridEvent.ITEM_EDIT_BEGINNING, false, true, _local3, _local2); _local5.dataField = _columns[_local3].dataField; dispatchEvent(_local5); } protected function mouseFocusChangeHandler(_arg1:MouseEvent):void{ if (((((itemEditorInstance) && (!(_arg1.isDefaultPrevented())))) && (itemRendererContains(itemEditorInstance, DisplayObject(_arg1.target))))){ _arg1.preventDefault(); }; } public function get imeMode():String{ return (_imeMode); } public function editField(_arg1:uint, _arg2:String, _arg3:Object):void{ var _local4:Object; _local4 = getItemAt(_arg1); _local4[_arg2] = _arg3; replaceItemAt(_local4, _arg1); } protected function calculateAvailableHeight():Number{ var _local1:Number; var _local2:Number; _local1 = Number(getStyleValue("contentPadding")); _local2 = ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0; return ((((height - (_local1 * 2)) - _local2) - (showHeaders) ? headerHeight : 0)); } protected function mouseUpHandler(_arg1:MouseEvent):void{ if (((!(enabled)) || (!(selectable)))){ return; }; isPressed = false; } override protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } public function resizeColumn(_arg1:int, _arg2:Number):void{ var _local3:DataGridColumn; var _local4:int; var _local5:Number; var _local6:int; var _local7:DataGridColumn; var _local8:DataGridColumn; var _local9:int; var _local10:Number; var _local11:Number; var _local12:Number; if (_columns.length == 0){ return; }; _local3 = (_columns[_arg1] as DataGridColumn); if (!_local3){ return; }; if (((!(visibleColumns)) || ((visibleColumns.length == 0)))){ _local3.setWidth(_arg2); return; }; if (_arg2 < _local3.minWidth){ _arg2 = _local3.minWidth; }; if ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((_horizontalScrollPolicy == ScrollPolicy.AUTO)))){ _local3.setWidth(_arg2); _local3.explicitWidth = _arg2; } else { _local4 = getVisibleColumnIndex(_local3); if (_local4 != -1){ _local5 = 0; _local6 = visibleColumns.length; _local9 = (_local4 + 1); while (_local9 < _local6) { _local7 = (visibleColumns[_local9] as DataGridColumn); if (((_local7) && (_local7.resizable))){ _local5 = (_local5 + _local7.width); }; _local9++; }; _local11 = ((_local3.width - _arg2) + _local5); if (_local5){ _local3.setWidth(_arg2); _local3.explicitWidth = _arg2; }; _local12 = 0; _local9 = (_local4 + 1); while (_local9 < _local6) { _local7 = (visibleColumns[_local9] as DataGridColumn); if (_local7.resizable){ _local10 = ((_local7.width * _local11) / _local5); if (_local10 < _local7.minWidth){ _local10 = _local7.minWidth; }; _local7.setWidth(_local10); _local12 = (_local12 + _local7.width); _local8 = _local7; }; _local9++; }; if (_local12 > _local11){ _local10 = ((_local3.width - _local12) + _local11); if (_local10 < _local3.minWidth){ _local10 = _local3.minWidth; }; _local3.setWidth(_local10); } else { if (_local8){ _local8.setWidth(((_local8.width - _local12) + _local11)); }; }; } else { _local3.setWidth(_arg2); _local3.explicitWidth = _arg2; }; }; columnsInvalid = true; invalidate(InvalidationType.SIZE); } protected function itemEditorItemEditBeginHandler(_arg1:DataGridEvent):void{ var _local2:IFocusManager; if (stage){ stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); }; if (!_arg1.isDefaultPrevented()){ createItemEditor(_arg1.columnIndex, uint(_arg1.rowIndex)); ICellRenderer(itemEditorInstance).listData = ICellRenderer(editedItemRenderer).listData; ICellRenderer(itemEditorInstance).data = editedItemRenderer.data; itemEditorInstance.imeMode = ((columns[_arg1.columnIndex].imeMode)==null) ? _imeMode : columns[_arg1.columnIndex].imeMode; _local2 = focusManager; if ((itemEditorInstance is IFocusManagerComponent)){ _local2.setFocus(InteractiveObject(itemEditorInstance)); }; _local2.defaultButtonEnabled = false; _arg1 = new DataGridEvent(DataGridEvent.ITEM_FOCUS_IN, false, false, _editedItemPosition.columnIndex, _editedItemPosition.rowIndex, itemEditorInstance); dispatchEvent(_arg1); }; } override protected function draw():void{ var _local1:Boolean; _local1 = !((contentHeight == (rowHeight * length))); contentHeight = (rowHeight * length); if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; if (((!((_cellRenderer == getStyleValue("cellRenderer")))) || (!((_headerRenderer == getStyleValue("headerRenderer")))))){ _invalidateList(); _cellRenderer = getStyleValue("cellRenderer"); _headerRenderer = getStyleValue("headerRenderer"); }; }; if (isInvalid(InvalidationType.SIZE)){ columnsInvalid = true; }; if (((isInvalid(InvalidationType.SIZE, InvalidationType.STATE)) || (_local1))){ drawLayout(); drawDisabledOverlay(); }; if (isInvalid(InvalidationType.RENDERER_STYLES)){ updateRendererStyles(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.SCROLL, InvalidationType.SELECTED)){ drawList(); }; updateChildren(); validate(); } override public function set horizontalScrollPolicy(_arg1:String):void{ super.horizontalScrollPolicy = _arg1; columnsInvalid = true; } protected function getVisibleColumnIndex(_arg1:DataGridColumn):int{ var _local2:uint; _local2 = 0; while (_local2 < visibleColumns.length) { if (_arg1 == visibleColumns[_local2]){ return (_local2); }; _local2++; }; return (-1); } protected function itemRendererContains(_arg1:Object, _arg2:DisplayObject):Boolean{ if (((((!(_arg2)) || (!(_arg1)))) || (!((_arg1 is DisplayObjectContainer))))){ return (false); }; return (DisplayObjectContainer(_arg1).contains(_arg2)); } override protected function configUI():void{ var _local1:Graphics; useFixedHorizontalScrolling = false; super.configUI(); headerMask = new Sprite(); _local1 = headerMask.graphics; _local1.beginFill(0, 0.3); _local1.drawRect(0, 0, 100, 100); _local1.endFill(); headerMask.visible = false; addChild(headerMask); header = new Sprite(); addChild(header); header.mask = headerMask; _horizontalScrollPolicy = ScrollPolicy.OFF; _verticalScrollPolicy = ScrollPolicy.AUTO; } public function columnItemToLabel(_arg1:uint, _arg2:Object):String{ var _local3:DataGridColumn; _local3 = (_columns[_arg1] as DataGridColumn); if (_local3 != null){ return (_local3.itemToLabel(_arg2)); }; return (" "); } protected function endEdit(_arg1:String):Boolean{ var _local2:DataGridEvent; if (!editedItemRenderer){ return (true); }; _local2 = new DataGridEvent(DataGridEvent.ITEM_EDIT_END, false, true, editedItemPosition.columnIndex, editedItemPosition.rowIndex, editedItemRenderer, _columns[editedItemPosition.columnIndex].dataField, _arg1); dispatchEvent(_local2); return (!(_local2.isDefaultPrevented())); } override protected function drawLayout():void{ vOffset = (showHeaders) ? headerHeight : 0; super.drawLayout(); contentScrollRect = listHolder.scrollRect; if (showHeaders){ headerHeight = maxHeaderHeight; if (Math.floor((availableHeight - headerHeight)) <= 0){ _headerHeight = availableHeight; }; list.y = headerHeight; contentScrollRect = listHolder.scrollRect; contentScrollRect.y = (contentPadding + headerHeight); contentScrollRect.height = (availableHeight - headerHeight); listHolder.y = (contentPadding + headerHeight); headerMask.x = contentPadding; headerMask.y = contentPadding; headerMask.width = availableWidth; headerMask.height = headerHeight; } else { contentScrollRect.y = contentPadding; listHolder.y = 0; }; listHolder.scrollRect = contentScrollRect; } protected function commitEditedItemPosition(_arg1:Object):void{ var _local2:ICellRenderer; var _local3:DataGridEvent; var _local4:String; var _local5:int; if (((!(enabled)) || (!(editable)))){ return; }; if (((((((((itemEditorInstance) && (_arg1))) && ((itemEditorInstance is IFocusManagerComponent)))) && ((_editedItemPosition.rowIndex == _arg1.rowIndex)))) && ((_editedItemPosition.columnIndex == _arg1.columnIndex)))){ IFocusManagerComponent(itemEditorInstance).setFocus(); return; }; if (itemEditorInstance){ if (!_arg1){ _local4 = DataGridEventReason.OTHER; } else { if (((!(editedItemPosition)) || ((_arg1.rowIndex == editedItemPosition.rowIndex)))){ _local4 = DataGridEventReason.NEW_COLUMN; } else { _local4 = DataGridEventReason.NEW_ROW; }; }; if (((!(endEdit(_local4))) && (!((_local4 == DataGridEventReason.OTHER))))){ return; }; }; _editedItemPosition = _arg1; if (!_arg1){ return; }; actualRowIndex = _arg1.rowIndex; actualColIndex = _arg1.columnIndex; if (displayableColumns.length != _columns.length){ _local5 = 0; while (_local5 < displayableColumns.length) { if (displayableColumns[_local5].colNum >= actualColIndex){ actualColIndex = displayableColumns[_local5].colNum; break; }; _local5++; }; if (_local5 == displayableColumns.length){ actualColIndex = 0; }; }; scrollToPosition(actualRowIndex, actualColIndex); _local2 = getCellRendererAt(actualRowIndex, actualColIndex); _local3 = new DataGridEvent(DataGridEvent.ITEM_EDIT_BEGIN, false, true, actualColIndex, actualRowIndex, _local2); dispatchEvent(_local3); if (editedItemPositionChanged){ editedItemPositionChanged = false; commitEditedItemPosition(proposedEditedItemPosition); proposedEditedItemPosition = undefined; }; if (!itemEditorInstance){ commitEditedItemPosition(null); }; } protected function handleHeaderRendererClick(_arg1:MouseEvent):void{ var _local2:HeaderRenderer; var _local3:uint; var _local4:DataGridColumn; var _local5:uint; var _local6:DataGridEvent; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as HeaderRenderer); _local3 = _local2.column; _local4 = (_columns[_local3] as DataGridColumn); if (((sortableColumns) && (_local4.sortable))){ _local5 = _sortIndex; _sortIndex = _local3; _local6 = new DataGridEvent(DataGridEvent.HEADER_RELEASE, false, true, _local3, -1, _local2, (_local4) ? _local4.dataField : null); if (((!(dispatchEvent(_local6))) || (!(_selectable)))){ _sortIndex = lastSortIndex; return; }; lastSortIndex = _local5; sortByColumn(_local3); invalidate(InvalidationType.DATA); }; } public function get showHeaders():Boolean{ return (_showHeaders); } public function get sortIndex():int{ return (_sortIndex); } public function set labelFunction(_arg1:Function):void{ if (_labelFunction == _arg1){ return; }; _labelFunction = _arg1; invalidate(InvalidationType.DATA); } public function getColumnIndex(_arg1:String):int{ var _local2:uint; var _local3:DataGridColumn; _local2 = 0; while (_local2 < _columns.length) { _local3 = (_columns[_local2] as DataGridColumn); if (_local3.dataField == _arg1){ return (_local2); }; _local2++; }; return (-1); } protected function createColumnsFromDataProvider():void{ var _local1:Object; var _local2:String; _columns = []; if (length > 0){ _local1 = _dataProvider.getItemAt(0); for (_local2 in _local1) { addColumn(_local2); }; }; } protected function editorMouseDownHandler(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; if (!itemRendererContains(itemEditorInstance, DisplayObject(_arg1.target))){ if ((((_arg1.target is ICellRenderer)) && (contains(DisplayObject(_arg1.target))))){ _local2 = (_arg1.target as ICellRenderer); _local3 = _local2.listData.row; if (_editedItemPosition.rowIndex == _local3){ endEdit(DataGridEventReason.NEW_COLUMN); } else { endEdit(DataGridEventReason.NEW_ROW); }; } else { endEdit(DataGridEventReason.OTHER); }; }; } public function addColumnAt(_arg1, _arg2:uint):DataGridColumn{ var _local3:DataGridColumn; var _local4:*; var _local5:uint; if (_arg2 < _columns.length){ _columns.splice(_arg2, 0, ""); _local5 = (_arg2 + 1); while (_local5 < _columns.length) { _local3 = (_columns[_local5] as DataGridColumn); _local3.colNum = _local5; _local5++; }; }; _local4 = _arg1; if (!(_local4 is DataGridColumn)){ if ((_local4 is String)){ _local4 = new DataGridColumn(_local4); } else { _local4 = new DataGridColumn(); }; }; _local3 = (_local4 as DataGridColumn); _local3.owner = this; _local3.colNum = _arg2; _columns[_arg2] = _local3; invalidate(InvalidationType.SIZE); columnsInvalid = true; return (_local3); } public function destroyItemEditor():void{ var _local1:DataGridEvent; if (itemEditorInstance){ DisplayObject(itemEditorInstance).removeEventListener(KeyboardEvent.KEY_DOWN, editorKeyDownHandler); stage.removeEventListener(MouseEvent.MOUSE_DOWN, editorMouseDownHandler, true); _local1 = new DataGridEvent(DataGridEvent.ITEM_FOCUS_OUT, false, false, _editedItemPosition.columnIndex, _editedItemPosition.rowIndex, itemEditorInstance); dispatchEvent(_local1); if (((itemEditorInstance) && ((itemEditorInstance is UIComponent)))){ UIComponent(itemEditorInstance).drawFocus(false); }; list.removeChild(DisplayObject(itemEditorInstance)); DisplayObject(editedItemRenderer).visible = true; itemEditorInstance = null; }; } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } protected function doKeySelection(_arg1:int, _arg2:Boolean, _arg3:Boolean):void{ var _local4:Boolean; var _local5:int; var _local6:Array; var _local7:int; var _local8:int; _local4 = false; if (_arg2){ _local6 = []; _local7 = lastCaretIndex; _local8 = _arg1; if (_local7 == -1){ _local7 = ((caretIndex)!=-1) ? caretIndex : _arg1; }; if (_local7 > _local8){ _local8 = _local7; _local7 = _arg1; }; _local5 = _local7; while (_local5 <= _local8) { _local6.push(_local5); _local5++; }; selectedIndices = _local6; caretIndex = _arg1; _local4 = true; } else { if (_arg3){ caretIndex = _arg1; } else { selectedIndex = _arg1; caretIndex = (lastCaretIndex = _arg1); _local4 = true; }; }; if (_local4){ dispatchEvent(new Event(Event.CHANGE)); }; invalidate(InvalidationType.DATA); } public function get headerHeight():Number{ return (_headerHeight); } public function getColumnCount():uint{ return (_columns.length); } protected function sortByColumn(_arg1:int):void{ var _local2:DataGridColumn; var _local3:Boolean; var _local4:uint; _local2 = (columns[_arg1] as DataGridColumn); if (((((!(enabled)) || (!(_local2)))) || (!(_local2.sortable)))){ return; }; _local3 = _local2.sortDescending; _local4 = _local2.sortOptions; if (_local3){ _local4 = (_local4 | Array.DESCENDING); } else { _local4 = (_local4 & ~(Array.DESCENDING)); }; if (_local2.sortCompareFunction != null){ sortItems(_local2.sortCompareFunction, _local4); } else { sortItemsOn(_local2.dataField, _local4); }; _sortDescending = (_local2.sortDescending = !(_local3)); if ((((lastSortIndex >= 0)) && (!((lastSortIndex == sortIndex))))){ _local2 = (columns[lastSortIndex] as DataGridColumn); if (_local2 != null){ _local2.sortDescending = false; }; }; } public function get minColumnWidth():Number{ return (_minColumnWidth); } protected function isHovered(_arg1:ICellRenderer):Boolean{ var _local2:uint; var _local3:Number; var _local4:Point; _local2 = Math.min(Math.max((length - 1), 0), Math.floor((_verticalScrollPosition / rowHeight))); _local3 = ((_arg1.listData.row - _local2) * rowHeight); _local4 = list.globalToLocal(new Point(0, stage.mouseY)); return ((((_local4.y > _local3)) && ((_local4.y < (_local3 + rowHeight))))); } protected function mouseDownHandler(_arg1:MouseEvent):void{ if (((!(enabled)) || (!(selectable)))){ return; }; isPressed = true; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; header.mouseChildren = _enabled; } override protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ var _local4:int; var _local5:int; var _local6:int; _local4 = Math.max(Math.floor((calculateAvailableHeight() / rowHeight)), 1); _local5 = -1; _local6 = 0; switch (_arg1){ case Keyboard.UP: if (caretIndex > 0){ _local5 = (caretIndex - 1); }; break; case Keyboard.DOWN: if (caretIndex < (length - 1)){ _local5 = (caretIndex + 1); }; break; case Keyboard.PAGE_UP: if (caretIndex > 0){ _local5 = Math.max((caretIndex - _local4), 0); }; break; case Keyboard.PAGE_DOWN: if (caretIndex < (length - 1)){ _local5 = Math.min((caretIndex + _local4), (length - 1)); }; break; case Keyboard.HOME: if (caretIndex > 0){ _local5 = 0; }; break; case Keyboard.END: if (caretIndex < (length - 1)){ _local5 = (length - 1); }; break; }; if (_local5 >= 0){ doKeySelection(_local5, _arg2, _arg3); scrollToSelected(); }; } protected function handleHeaderResizeOut(_arg1:MouseEvent):void{ if (columnStretchIndex == -1){ showColumnStretchCursor(false); }; } public function removeAllColumns():void{ if (_columns.length > 0){ removeCellRenderers(); _columns = []; invalidate(InvalidationType.SIZE); columnsInvalid = true; }; } public function set rowCount(_arg1:uint):void{ var _local2:Number; var _local3:Number; _local2 = Number(getStyleValue("contentPadding")); _local3 = ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && (hScrollBar))))) ? 15 : 0; height = ((((rowHeight * _arg1) + (2 * _local2)) + _local3) + (showHeaders) ? headerHeight : 0); } protected function removeCellRenderers():void{ var _local1:uint; _local1 = 0; while (_local1 < _columns.length) { removeCellRenderersByColumn((_columns[_local1] as DataGridColumn)); _local1++; }; } public function removeColumnAt(_arg1:uint):DataGridColumn{ var _local2:DataGridColumn; var _local3:uint; _local2 = (_columns[_arg1] as DataGridColumn); if (_local2 != null){ removeCellRenderersByColumn(_local2); _columns.splice(_arg1, 1); _local3 = _arg1; while (_local3 < _columns.length) { _local2 = (_columns[_local3] as DataGridColumn); if (_local2){ _local2.colNum = _local3; }; _local3++; }; invalidate(InvalidationType.SIZE); columnsInvalid = true; }; return (_local2); } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ if (_arg1 == _horizontalScrollPosition){ return; }; contentScrollRect = listHolder.scrollRect; contentScrollRect.x = _arg1; listHolder.scrollRect = contentScrollRect; list.x = 0; header.x = -(_arg1); super.setHorizontalScrollPosition(_arg1, true); invalidate(InvalidationType.SCROLL); columnsInvalid = true; } public function get labelFunction():Function{ return (_labelFunction); } override protected function handleCellRendererClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:DataGridColumn; var _local4:DataGridEvent; super.handleCellRendererClick(_arg1); _local2 = (_arg1.currentTarget as ICellRenderer); if (((((_local2) && (_local2.data))) && (!((_local2 == itemEditorInstance))))){ _local3 = (_columns[_local2.listData.column] as DataGridColumn); if (((((editable) && (_local3))) && (_local3.editable))){ _local4 = new DataGridEvent(DataGridEvent.ITEM_EDIT_BEGINNING, false, true, _local2.listData.column, _local2.listData.row, _local2, _local3.dataField); dispatchEvent(_local4); }; }; } override protected function focusOutHandler(_arg1:FocusEvent):void{ setIMEMode(false); if (_arg1.target == this){ super.focusOutHandler(_arg1); }; if ((((_arg1.relatedObject == this)) && (itemRendererContains(itemEditorInstance, DisplayObject(_arg1.target))))){ return; }; if ((((_arg1.relatedObject == null)) && (itemRendererContains(editedItemRenderer, DisplayObject(_arg1.target))))){ return; }; if ((((_arg1.relatedObject == null)) && (itemRendererContains(itemEditorInstance, DisplayObject(_arg1.target))))){ return; }; if (((itemEditorInstance) && (((!(_arg1.relatedObject)) || (!(itemRendererContains(itemEditorInstance, _arg1.relatedObject))))))){ endEdit(DataGridEventReason.OTHER); removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); removeEventListener(MouseEvent.MOUSE_DOWN, mouseFocusChangeHandler); }; } protected function positionColumnStretchCursor(_arg1:MouseEvent):void{ columnStretchCursor.x = _arg1.stageX; columnStretchCursor.y = _arg1.stageY; } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ if (itemEditorInstance){ endEdit(DataGridEventReason.OTHER); }; invalidate(InvalidationType.SCROLL); super.setVerticalScrollPosition(_arg1, true); } public function get sortDescending():Boolean{ return (_sortDescending); } protected function editorKeyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ESCAPE){ endEdit(DataGridEventReason.CANCELLED); } else { if (((_arg1.ctrlKey) && ((_arg1.charCode == 46)))){ endEdit(DataGridEventReason.CANCELLED); } else { if ((((_arg1.charCode == Keyboard.ENTER)) && (!((_arg1.keyCode == 229))))){ if (endEdit(DataGridEventReason.NEW_ROW)){ findNextEnterItemRenderer(_arg1); }; }; }; }; } override protected function calculateContentWidth():void{ var _local1:int; var _local2:int; var _local3:DataGridColumn; if (_columns.length == 0){ contentWidth = 0; return; }; if (minColumnWidthInvalid){ _local1 = _columns.length; _local2 = 0; while (_local2 < _local1) { _local3 = (_columns[_local2] as DataGridColumn); _local3.minWidth = minColumnWidth; _local2++; }; minColumnWidthInvalid = false; }; if (horizontalScrollPolicy == ScrollPolicy.OFF){ contentWidth = availableWidth; } else { contentWidth = 0; _local1 = _columns.length; _local2 = 0; while (_local2 < _local1) { _local3 = (_columns[_local2] as DataGridColumn); if (_local3.visible){ contentWidth = (contentWidth + _local3.width); }; _local2++; }; if (((!(isNaN(_horizontalScrollPosition))) && (((_horizontalScrollPosition + availableWidth) > contentWidth)))){ setHorizontalScrollPosition((contentWidth - availableWidth)); }; }; } override public function get rowCount():uint{ return (Math.ceil((calculateAvailableHeight() / rowHeight))); } public function addColumn(_arg1):DataGridColumn{ return (addColumnAt(_arg1, _columns.length)); } protected function removeCellRenderersByColumn(_arg1:DataGridColumn):void{ var _local2:Array; if (_arg1 == null){ return; }; _local2 = activeCellRenderersMap[_arg1]; if (_local2 != null){ while (_local2.length > 0) { list.removeChild((_local2.pop() as DisplayObject)); }; }; } override protected function handleCellRendererMouseEvent(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:int; var _local4:String; var _local5:uint; var _local6:DataGridColumn; var _local7:ICellRenderer; _local2 = (_arg1.target as ICellRenderer); if (_local2){ _local3 = _local2.listData.row; if (_arg1.type == MouseEvent.ROLL_OVER){ _local4 = "over"; } else { if (_arg1.type == MouseEvent.ROLL_OUT){ _local4 = "up"; }; }; if (_local4){ _local5 = 0; while (_local5 < visibleColumns.length) { _local6 = (visibleColumns[_local5] as DataGridColumn); _local7 = getCellRendererAt(_local3, _local6.colNum); if (_local7){ _local7.setMouseState(_local4); }; if (_local3 != currentHoveredRow){ _local7 = getCellRendererAt(currentHoveredRow, _local6.colNum); if (_local7){ _local7.setMouseState("up"); }; }; _local5++; }; }; }; super.handleCellRendererMouseEvent(_arg1); } protected function handleHeaderResizeMove(_arg1:MouseEvent):void{ var _local2:Number; var _local3:Number; _local2 = (_arg1.stageX - columnStretchStartX); _local3 = (columnStretchStartWidth + _local2); resizeColumn(columnStretchIndex, _local3); } public function set rowHeight(_arg1:Number):void{ _rowHeight = Math.max(0, _arg1); invalidate(InvalidationType.SIZE); } protected function scrollToPosition(_arg1:int, _arg2:int):void{ var _local3:Number; var _local4:Number; var _local5:uint; var _local6:Number; var _local7:DataGridColumn; var _local8:DataGridColumn; _local3 = verticalScrollPosition; _local4 = horizontalScrollPosition; scrollToIndex(_arg1); _local6 = 0; _local7 = (_columns[_arg2] as DataGridColumn); _local5 = 0; while (_local5 < displayableColumns.length) { _local8 = (displayableColumns[_local5] as DataGridColumn); if (_local8 != _local7){ _local6 = (_local6 + _local8.width); } else { break; }; _local5++; }; if (horizontalScrollPosition > _local6){ horizontalScrollPosition = _local6; } else { if ((horizontalScrollPosition + availableWidth) < (_local6 + _local7.width)){ horizontalScrollPosition = -((availableWidth - (_local6 + _local7.width))); }; }; if (((!((_local3 == verticalScrollPosition))) || (!((_local4 == horizontalScrollPosition))))){ drawNow(); }; } protected function findNextItemRenderer(_arg1:Boolean):Boolean{ var _local2:int; var _local3:int; var _local4:Boolean; var _local5:int; var _local6:int; var _local7:String; var _local8:DataGridEvent; if (!_editedItemPosition){ return (false); }; if (proposedEditedItemPosition !== undefined){ return (false); }; _local2 = _editedItemPosition.rowIndex; _local3 = _editedItemPosition.columnIndex; _local4 = false; _local5 = (_arg1) ? -1 : 1; _local6 = (length - 1); while (!(_local4)) { _local3 = (_local3 + _local5); if ((((_local3 < 0)) || ((_local3 >= _columns.length)))){ _local3 = ((_local3)<0) ? (_columns.length - 1) : 0; _local2 = (_local2 + _local5); if ((((_local2 < 0)) || ((_local2 > _local6)))){ setEditedItemPosition(null); losingFocus = true; setFocus(); return (false); }; }; if (((_columns[_local3].editable) && (_columns[_local3].visible))){ _local4 = true; if (_local2 == _editedItemPosition.rowIndex){ _local7 = DataGridEventReason.NEW_COLUMN; } else { _local7 = DataGridEventReason.NEW_ROW; }; if (((!(itemEditorInstance)) || (endEdit(_local7)))){ _local8 = new DataGridEvent(DataGridEvent.ITEM_EDIT_BEGINNING, false, true, _local3, _local2); _local8.dataField = _columns[_local3].dataField; dispatchEvent(_local8); }; }; }; return (_local4); } override public function set dataProvider(_arg1:DataProvider):void{ super.dataProvider = _arg1; if (_columns == null){ _columns = []; }; if (_columns.length == 0){ createColumnsFromDataProvider(); }; removeCellRenderers(); } override public function setSize(_arg1:Number, _arg2:Number):void{ super.setSize(_arg1, _arg2); columnsInvalid = true; } override public function scrollToIndex(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:Number; drawNow(); _local2 = (Math.floor(((_verticalScrollPosition + availableHeight) / rowHeight)) - 1); _local3 = Math.ceil((_verticalScrollPosition / rowHeight)); if (_arg1 < _local3){ verticalScrollPosition = (_arg1 * rowHeight); } else { if (_arg1 >= _local2){ _local4 = ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && (hScrollBar))))) ? 15 : 0; verticalScrollPosition = (((((_arg1 + 1) * rowHeight) - availableHeight) + _local4) + (showHeaders) ? headerHeight : 0); }; }; } protected function calculateColumnSizes():void{ var _local1:Number; var _local2:int; var _local3:int; var _local4:Number; var _local5:DataGridColumn; var _local6:DataGridColumn; var _local7:Number; var _local8:int; var _local9:Number; var _local10:int; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local4 = 0; if (_columns.length == 0){ visibleColumns = []; displayableColumns = []; return; }; if (columnsInvalid){ columnsInvalid = false; visibleColumns = []; if (minColumnWidthInvalid){ _local2 = _columns.length; _local3 = 0; while (_local3 < _local2) { _columns[_local3].minWidth = minColumnWidth; _local3++; }; minColumnWidthInvalid = false; }; displayableColumns = null; _local2 = _columns.length; _local3 = 0; while (_local3 < _local2) { if (((displayableColumns) && (_columns[_local3].visible))){ displayableColumns.push(_columns[_local3]); } else { if (((!(displayableColumns)) && (!(_columns[_local3].visible)))){ displayableColumns = new Array(_local3); _local8 = 0; while (_local8 < _local3) { displayableColumns[_local8] = _columns[_local8]; _local8++; }; }; }; _local3++; }; if (!displayableColumns){ displayableColumns = _columns; }; if (horizontalScrollPolicy == ScrollPolicy.OFF){ _local2 = displayableColumns.length; _local3 = 0; while (_local3 < _local2) { visibleColumns.push(displayableColumns[_local3]); _local3++; }; } else { _local2 = displayableColumns.length; _local9 = 0; _local3 = 0; while (_local3 < _local2) { _local5 = (displayableColumns[_local3] as DataGridColumn); if (((((_local9 + _local5.width) > _horizontalScrollPosition)) && ((_local9 < (_horizontalScrollPosition + availableWidth))))){ visibleColumns.push(_local5); }; _local9 = (_local9 + _local5.width); _local3++; }; }; }; if (horizontalScrollPolicy == ScrollPolicy.OFF){ _local10 = 0; _local11 = 0; _local2 = visibleColumns.length; _local3 = 0; while (_local3 < _local2) { _local5 = (visibleColumns[_local3] as DataGridColumn); if (_local5.resizable){ if (!isNaN(_local5.explicitWidth)){ _local11 = (_local11 + _local5.width); } else { _local10++; _local11 = (_local11 + _local5.minWidth); }; } else { _local11 = (_local11 + _local5.width); }; _local4 = (_local4 + _local5.width); _local3++; }; _local13 = availableWidth; if ((((availableWidth > _local11)) && (_local10))){ _local2 = visibleColumns.length; _local3 = 0; while (_local3 < _local2) { _local5 = (visibleColumns[_local3] as DataGridColumn); if (((_local5.resizable) && (isNaN(_local5.explicitWidth)))){ _local6 = _local5; if (_local4 > availableWidth){ _local12 = ((_local6.width - _local6.minWidth) / (_local4 - _local11)); } else { _local12 = (_local6.width / _local4); }; _local7 = (_local6.width - ((_local4 - availableWidth) * _local12)); _local14 = _local5.minWidth; _local5.setWidth(Math.max(_local7, _local14)); }; _local13 = (_local13 - _local5.width); _local3++; }; if (((_local13) && (_local6))){ _local6.setWidth((_local6.width + _local13)); }; } else { _local2 = visibleColumns.length; _local3 = 0; while (_local3 < _local2) { _local6 = (visibleColumns[_local3] as DataGridColumn); _local12 = (_local6.width / _local4); _local7 = (availableWidth * _local12); _local6.setWidth(_local7); _local6.explicitWidth = NaN; _local13 = (_local13 - _local7); _local3++; }; if (((_local13) && (_local6))){ _local6.setWidth((_local6.width + _local13)); }; }; }; } public function set showHeaders(_arg1:Boolean):void{ _showHeaders = _arg1; invalidate(InvalidationType.SIZE); } override protected function initializeAccessibility():void{ if (DataGrid.createAccessibilityImplementation != null){ DataGrid.createAccessibilityImplementation(this); }; } public function getColumnAt(_arg1:uint):DataGridColumn{ return ((_columns[_arg1] as DataGridColumn)); } public function get rowHeight():Number{ return (_rowHeight); } public function set columns(_arg1:Array):void{ var _local2:uint; removeCellRenderers(); _columns = []; _local2 = 0; while (_local2 < _arg1.length) { addColumn(_arg1[_local2]); _local2++; }; } public function get editedItemRenderer():ICellRenderer{ if (!itemEditorInstance){ return (null); }; return (getCellRendererAt(actualRowIndex, actualColIndex)); } public function get columns():Array{ return (_columns.slice(0)); } public function spaceColumnsEqually():void{ var _local1:Number; var _local2:int; var _local3:DataGridColumn; drawNow(); if (displayableColumns.length > 0){ _local1 = (availableWidth / displayableColumns.length); _local2 = 0; while (_local2 < displayableColumns.length) { _local3 = (displayableColumns[_local2] as DataGridColumn); _local3.width = _local1; _local2++; }; invalidate(InvalidationType.SIZE); columnsInvalid = true; }; } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, SelectableList.getStyleDefinition(), ScrollBar.getStyleDefinition())); } } }//package fl.controls
Section 13
//LabelButton (fl.controls.LabelButton) package fl.controls { import fl.core.*; import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 14
//ProgressBar (fl.controls.ProgressBar) package fl.controls { import fl.core.*; import flash.display.*; import flash.events.*; import fl.controls.progressBarClasses.*; public class ProgressBar extends UIComponent { protected var _direction:String;// = "right" protected var _mode:String;// = "event" protected var _value:Number;// = 0 protected var _indeterminate:Boolean;// = true protected var _minimum:Number;// = 0 protected var _maximum:Number;// = 0 protected var determinateBar:DisplayObject; protected var _loaded:Number; protected var _source:Object; protected var track:DisplayObject; protected var indeterminateBar:UIComponent; private static var defaultStyles:Object = {trackSkin:"ProgressBar_trackSkin", barSkin:"ProgressBar_barSkin", indeterminateSkin:"ProgressBar_indeterminateSkin", indeterminateBar:IndeterminateBar, barPadding:0}; public function ProgressBar(){ _direction = ProgressBarDirection.RIGHT; _indeterminate = true; _mode = ProgressBarMode.EVENT; _minimum = 0; _maximum = 0; _value = 0; super(); } public function get minimum():Number{ return (_minimum); } public function get source():Object{ return (_source); } public function set minimum(_arg1:Number):void{ if (_mode != ProgressBarMode.MANUAL){ return; }; _minimum = _arg1; invalidate(InvalidationType.DATA); } public function get maximum():Number{ return (_maximum); } protected function drawBars():void{ var _local1:DisplayObject; var _local2:DisplayObject; _local1 = determinateBar; _local2 = indeterminateBar; determinateBar = getDisplayObjectInstance(getStyleValue("barSkin")); addChild(determinateBar); indeterminateBar = (getDisplayObjectInstance(getStyleValue("indeterminateBar")) as UIComponent); indeterminateBar.setStyle("indeterminateSkin", getStyleValue("indeterminateSkin")); addChild(indeterminateBar); if (((!((_local1 == null))) && (!((_local1 == determinateBar))))){ removeChild(_local1); }; if (((!((_local2 == null))) && (!((_local2 == determinateBar))))){ removeChild(_local2); }; } protected function setupSourceEvents():void{ _source.addEventListener(ProgressEvent.PROGRESS, handleProgress, false, 0, true); _source.addEventListener(Event.COMPLETE, handleComplete, false, 0, true); } public function set maximum(_arg1:Number):void{ setProgress(_value, _arg1); } public function set source(_arg1:Object):void{ if (_source == _arg1){ return; }; if (_mode != ProgressBarMode.MANUAL){ resetProgress(); }; _source = _arg1; if (_source == null){ return; }; if (_mode == ProgressBarMode.EVENT){ setupSourceEvents(); } else { if (_mode == ProgressBarMode.POLLED){ addEventListener(Event.ENTER_FRAME, pollSource, false, 0, true); }; }; } protected function drawTrack():void{ var _local1:DisplayObject; _local1 = track; track = getDisplayObjectInstance(getStyleValue("trackSkin")); addChildAt(track, 0); if (((!((_local1 == null))) && (!((_local1 == track))))){ removeChild(_local1); }; } protected function handleProgress(_arg1:ProgressEvent):void{ _setProgress(_arg1.bytesLoaded, _arg1.bytesTotal, true); } public function set sourceName(_arg1:String):void{ var _local2:DisplayObject; if (!componentInspectorSetting){ return; }; if (_arg1 == ""){ return; }; _local2 = (parent.getChildByName(_arg1) as DisplayObject); if (_local2 == null){ throw (new Error((("Source clip '" + _arg1) + "' not found on parent."))); }; source = _local2; } protected function resetProgress():void{ if ((((_mode == ProgressBarMode.EVENT)) && (!((_source == null))))){ cleanupSourceEvents(); } else { if (_mode == ProgressBarMode.POLLED){ removeEventListener(Event.ENTER_FRAME, pollSource); } else { if (_source != null){ _source = null; }; }; }; _minimum = (_maximum = (_value = 0)); } public function get percentComplete():Number{ return (((((_maximum <= _minimum)) || ((_value <= _minimum)))) ? 0 : Math.max(0, Math.min(100, (((_value - _minimum) / (_maximum - _minimum)) * 100)))); } public function setProgress(_arg1:Number, _arg2:Number):void{ if (_mode != ProgressBarMode.MANUAL){ return; }; _setProgress(_arg1, _arg2); } protected function pollSource(_arg1:Event):void{ if (_source == null){ return; }; _setProgress(_source.bytesLoaded, _source.bytesTotal, true); if ((((_maximum > 0)) && ((_maximum == _value)))){ removeEventListener(Event.ENTER_FRAME, pollSource); dispatchEvent(new Event(Event.COMPLETE)); }; } public function get indeterminate():Boolean{ return (_indeterminate); } public function set value(_arg1:Number):void{ setProgress(_arg1, _maximum); } public function set direction(_arg1:String):void{ _direction = _arg1; invalidate(InvalidationType.DATA); } protected function _setProgress(_arg1:Number, _arg2:Number, _arg3:Boolean=false):void{ if ((((_arg1 == _value)) && ((_arg2 == _maximum)))){ return; }; _value = _arg1; _maximum = _arg2; if (((!((_value == _loaded))) && (_arg3))){ dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, _value, _maximum)); _loaded = _value; }; if (_mode != ProgressBarMode.MANUAL){ setIndeterminate((_arg2 == 0)); }; invalidate(InvalidationType.DATA); } public function set mode(_arg1:String):void{ if (_mode == _arg1){ return; }; resetProgress(); _mode = _arg1; if ((((_arg1 == ProgressBarMode.EVENT)) && (!((_source == null))))){ setupSourceEvents(); } else { if (_arg1 == ProgressBarMode.POLLED){ addEventListener(Event.ENTER_FRAME, pollSource, false, 0, true); }; }; setIndeterminate(!((_mode == ProgressBarMode.MANUAL))); } public function reset():void{ var _local1:Object; _setProgress(0, 0); _local1 = _source; _source = null; source = _local1; } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ drawTrack(); drawBars(); invalidate(InvalidationType.STATE, false); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.STATE)){ indeterminateBar.visible = _indeterminate; determinateBar.visible = !(_indeterminate); invalidate(InvalidationType.DATA, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); invalidate(InvalidationType.DATA, false); }; if (((isInvalid(InvalidationType.DATA)) && (!(_indeterminate)))){ drawDeterminateBar(); }; super.draw(); } override protected function configUI():void{ super.configUI(); } protected function drawDeterminateBar():void{ var _local1:Number; var _local2:Number; _local1 = (percentComplete / 100); _local2 = Number(getStyleValue("barPadding")); determinateBar.width = Math.round(((width - (_local2 * 2)) * _local1)); determinateBar.x = ((_direction)==ProgressBarDirection.LEFT) ? ((width - _local2) - determinateBar.width) : _local2; } public function get value():Number{ return (_value); } public function set indeterminate(_arg1:Boolean):void{ if (((!((_mode == ProgressBarMode.MANUAL))) || ((_indeterminate == _arg1)))){ return; }; setIndeterminate(_arg1); } protected function setIndeterminate(_arg1:Boolean):void{ if (_indeterminate == _arg1){ return; }; _indeterminate = _arg1; invalidate(InvalidationType.STATE); } protected function handleComplete(_arg1:Event):void{ _setProgress(_maximum, _maximum, true); dispatchEvent(_arg1); } protected function drawLayout():void{ var _local1:Number; _local1 = Number(getStyleValue("barPadding")); track.width = width; track.height = height; indeterminateBar.setSize((width - (_local1 * 2)), (height - (_local1 * 2))); indeterminateBar.move(_local1, _local1); indeterminateBar.drawNow(); determinateBar.height = (height - (_local1 * 2)); determinateBar.y = _local1; } public function get direction():String{ return (_direction); } public function get mode():String{ return (_mode); } protected function cleanupSourceEvents():void{ _source.removeEventListener(ProgressEvent.PROGRESS, handleProgress); _source.removeEventListener(Event.COMPLETE, handleComplete); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 15
//ProgressBarDirection (fl.controls.ProgressBarDirection) package fl.controls { public class ProgressBarDirection { public static const RIGHT:String = "right"; public static const LEFT:String = "left"; } }//package fl.controls
Section 16
//ProgressBarMode (fl.controls.ProgressBarMode) package fl.controls { public class ProgressBarMode { public static const MANUAL:String = "manual"; public static const EVENT:String = "event"; public static const POLLED:String = "polled"; } }//package fl.controls
Section 17
//ScrollBar (fl.controls.ScrollBar) package fl.controls { import fl.core.*; import flash.events.*; import fl.events.*; public class ScrollBar extends UIComponent { private var _direction:String;// = "vertical" protected var inDrag:Boolean;// = false protected var upArrow:BaseButton; private var _pageScrollSize:Number;// = 0 protected var downArrow:BaseButton; private var _pageSize:Number;// = 10 private var thumbScrollOffset:Number; private var _maxScrollPosition:Number;// = 0 private var _scrollPosition:Number;// = 0 protected var track:BaseButton; private var _minScrollPosition:Number;// = 0 private var _lineScrollSize:Number;// = 1 protected var thumb:LabelButton; protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0}; public static const WIDTH:Number = 15; protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35}; public function ScrollBar(){ _pageSize = 10; _pageScrollSize = 0; _lineScrollSize = 1; _minScrollPosition = 0; _maxScrollPosition = 0; _scrollPosition = 0; _direction = ScrollBarDirection.VERTICAL; inDrag = false; super(); setStyles(); focusEnabled = false; } public function get minScrollPosition():Number{ return (_minScrollPosition); } public function set minScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _arg1, _maxScrollPosition); } public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{ var _local3:Number; _local3 = scrollPosition; _scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1)); if (_local3 == _scrollPosition){ return; }; if (_arg2){ dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition)); }; updateThumb(); } public function set scrollPosition(_arg1:Number):void{ setScrollPosition(_arg1, true); } public function get pageScrollSize():Number{ return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize); } public function set pageSize(_arg1:Number):void{ if (_arg1 > 0){ _pageSize = _arg1; }; } public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ this.pageSize = _arg1; _minScrollPosition = _arg2; _maxScrollPosition = _arg3; if (_arg4 >= 0){ _pageScrollSize = _arg4; }; enabled = (_maxScrollPosition > _minScrollPosition); setScrollPosition(_scrollPosition, false); updateThumb(); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition)))))); updateThumb(); } protected function updateThumb():void{ var _local1:Number; _local1 = ((_maxScrollPosition - _minScrollPosition) + _pageSize); if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){ thumb.height = 12; thumb.visible = false; } else { thumb.height = Math.max(13, ((_pageSize / _local1) * track.height)); thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition)))); thumb.visible = enabled; }; } protected function thumbPressHandler(_arg1:MouseEvent):void{ inDrag = true; thumbScrollOffset = (mouseY - thumb.y); thumb.mouseStateLocked = true; mouseChildren = false; stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true); } protected function thumbReleaseHandler(_arg1:MouseEvent):void{ inDrag = false; mouseChildren = true; thumb.mouseStateLocked = false; stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag); stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler); } public function set pageScrollSize(_arg1:Number):void{ if (_arg1 >= 0){ _pageScrollSize = _arg1; }; } protected function handleThumbDrag(_arg1:MouseEvent):void{ var _local2:Number; _local2 = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset))); setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition)); } public function set direction(_arg1:String):void{ var _local2:Boolean; if (_direction == _arg1){ return; }; _direction = _arg1; if (isLivePreview){ return; }; setScaleY(1); _local2 = (_direction == ScrollBarDirection.HORIZONTAL); if (((_local2) && (componentInspectorSetting))){ if (rotation == 90){ return; }; setScaleX(-1); rotation = -90; }; if (!componentInspectorSetting){ if (((_local2) && ((rotation == 0)))){ rotation = -90; setScaleX(-1); } else { if (((!(_local2)) && ((rotation == -90)))){ rotation = 0; setScaleX(1); }; }; }; invalidate(InvalidationType.SIZE); } public function set lineScrollSize(_arg1:Number):void{ if (_arg1 > 0){ _lineScrollSize = _arg1; }; } override public function get height():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height); } protected function scrollPressHandler(_arg1:ComponentEvent):void{ var _local2:Number; var _local3:Number; _arg1.stopImmediatePropagation(); if (_arg1.currentTarget == upArrow){ setScrollPosition((_scrollPosition - _lineScrollSize)); } else { if (_arg1.currentTarget == downArrow){ setScrollPosition((_scrollPosition + _lineScrollSize)); } else { _local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition); _local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize; if (_scrollPosition < _local2){ setScrollPosition(Math.min(_local2, (_scrollPosition + _local3))); } else { if (_scrollPosition > _local2){ setScrollPosition(Math.max(_local2, (_scrollPosition - _local3))); }; }; }; }; } public function get pageSize():Number{ return (_pageSize); } public function set maxScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _minScrollPosition, _arg1); } public function get scrollPosition():Number{ return (_scrollPosition); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ var _local1:Number; if (isInvalid(InvalidationType.SIZE)){ _local1 = super.height; downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height))); track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height)))); updateThumb(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ setStyles(); }; downArrow.drawNow(); upArrow.drawNow(); track.drawNow(); thumb.drawNow(); validate(); } override protected function configUI():void{ super.configUI(); track = new BaseButton(); track.move(0, 14); track.useHandCursor = false; track.autoRepeat = true; track.focusEnabled = false; addChild(track); thumb = new LabelButton(); thumb.label = ""; thumb.setSize(WIDTH, 15); thumb.move(0, 15); thumb.focusEnabled = false; addChild(thumb); downArrow = new BaseButton(); downArrow.setSize(WIDTH, 14); downArrow.autoRepeat = true; downArrow.focusEnabled = false; addChild(downArrow); upArrow = new BaseButton(); upArrow.setSize(WIDTH, 14); upArrow.move(0, 0); upArrow.autoRepeat = true; upArrow.focusEnabled = false; addChild(upArrow); upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true); enabled = false; } public function get direction():String{ return (_direction); } public function get lineScrollSize():Number{ return (_lineScrollSize); } override public function setSize(_arg1:Number, _arg2:Number):void{ if (_direction == ScrollBarDirection.HORIZONTAL){ super.setSize(_arg2, _arg1); } else { super.setSize(_arg1, _arg2); }; } public function get maxScrollPosition():Number{ return (_maxScrollPosition); } override public function get width():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width); } protected function setStyles():void{ copyStylesToChild(downArrow, DOWN_ARROW_STYLES); copyStylesToChild(thumb, THUMB_STYLES); copyStylesToChild(track, TRACK_STYLES); copyStylesToChild(upArrow, UP_ARROW_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 18
//ScrollBarDirection (fl.controls.ScrollBarDirection) package fl.controls { public class ScrollBarDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; } }//package fl.controls
Section 19
//ScrollPolicy (fl.controls.ScrollPolicy) package fl.controls { public class ScrollPolicy { public static const OFF:String = "off"; public static const ON:String = "on"; public static const AUTO:String = "auto"; } }//package fl.controls
Section 20
//SelectableList (fl.controls.SelectableList) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.display.*; import flash.events.*; import fl.data.*; import fl.managers.*; import fl.events.*; import flash.utils.*; import fl.containers.*; import flash.ui.*; public class SelectableList extends BaseScrollPane implements IFocusManagerComponent { protected var invalidItems:Dictionary; protected var renderedItems:Dictionary; protected var listHolder:Sprite; protected var _allowMultipleSelection:Boolean;// = false protected var lastCaretIndex:int;// = -1 protected var _selectedIndices:Array; protected var availableCellRenderers:Array; protected var list:Sprite; protected var caretIndex:int;// = -1 protected var updatedRendererStyles:Object; protected var preChangeItems:Array; protected var activeCellRenderers:Array; protected var rendererStyles:Object; protected var _verticalScrollPosition:Number; protected var _dataProvider:DataProvider; protected var _horizontalScrollPosition:Number; private var collectionItemImport:SimpleCollectionItem; protected var _selectable:Boolean;// = true private static var defaultStyles:Object = {skin:"List_skin", cellRenderer:CellRenderer, contentPadding:null, disabledAlpha:null}; public static var createAccessibilityImplementation:Function; public function SelectableList(){ _allowMultipleSelection = false; _selectable = true; caretIndex = -1; lastCaretIndex = -1; super(); activeCellRenderers = []; availableCellRenderers = []; invalidItems = new Dictionary(true); renderedItems = new Dictionary(true); _selectedIndices = []; if (dataProvider == null){ dataProvider = new DataProvider(); }; verticalScrollPolicy = ScrollPolicy.AUTO; rendererStyles = {}; updatedRendererStyles = {}; } protected function drawList():void{ } public function set allowMultipleSelection(_arg1:Boolean):void{ if (_arg1 == _allowMultipleSelection){ return; }; _allowMultipleSelection = _arg1; if (((!(_arg1)) && ((_selectedIndices.length > 1)))){ _selectedIndices = [_selectedIndices.pop()]; invalidate(InvalidationType.DATA); }; } public function sortItemsOn(_arg1:String, _arg2:Object=null){ return (_dataProvider.sortOn(_arg1, _arg2)); } public function removeItemAt(_arg1:uint):Object{ return (_dataProvider.removeItemAt(_arg1)); } public function get selectedItem():Object{ return (((_selectedIndices.length)==0) ? null : _dataProvider.getItemAt(selectedIndex)); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!selectable){ return; }; switch (_arg1.keyCode){ case Keyboard.UP: case Keyboard.DOWN: case Keyboard.END: case Keyboard.HOME: case Keyboard.PAGE_UP: case Keyboard.PAGE_DOWN: moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); _arg1.stopPropagation(); break; case Keyboard.LEFT: case Keyboard.RIGHT: moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); _arg1.stopPropagation(); break; }; } public function get selectable():Boolean{ return (_selectable); } public function itemToCellRenderer(_arg1:Object):ICellRenderer{ var _local2:*; var _local3:ICellRenderer; if (_arg1 != null){ for (_local2 in activeCellRenderers) { _local3 = (activeCellRenderers[_local2] as ICellRenderer); if (_local3.data == _arg1){ return (_local3); }; }; }; return (null); } public function getNextIndexAtLetter(_arg1:String, _arg2:int=-1):int{ var _local3:int; var _local4:Number; var _local5:Number; var _local6:Object; var _local7:String; if (length == 0){ return (-1); }; _arg1 = _arg1.toUpperCase(); _local3 = (length - 1); _local4 = 0; while (_local4 < _local3) { _local5 = ((_arg2 + 1) + _local4); if (_local5 > (length - 1)){ _local5 = (_local5 - length); }; _local6 = getItemAt(_local5); if (_local6 == null){ break; }; _local7 = itemToLabel(_local6); if (_local7 == null){ } else { if (_local7.charAt(0).toUpperCase() == _arg1){ return (_local5); }; }; _local4++; }; return (-1); } public function invalidateList():void{ _invalidateList(); invalidate(InvalidationType.DATA); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; list.mouseChildren = _enabled; } public function get selectedIndices():Array{ return (_selectedIndices.concat()); } public function set selectable(_arg1:Boolean):void{ if (_arg1 == _selectable){ return; }; if (!_arg1){ selectedIndices = []; }; _selectable = _arg1; } public function itemToLabel(_arg1:Object):String{ return (_arg1["label"]); } public function addItemAt(_arg1:Object, _arg2:uint):void{ _dataProvider.addItemAt(_arg1, _arg2); invalidateList(); } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ return (_dataProvider.replaceItemAt(_arg1, _arg2)); } protected function handleDataChange(_arg1:DataChangeEvent):void{ var _local2:int; var _local3:int; var _local4:String; var _local5:uint; _local2 = _arg1.startIndex; _local3 = _arg1.endIndex; _local4 = _arg1.changeType; if (_local4 == DataChangeType.INVALIDATE_ALL){ clearSelection(); invalidateList(); } else { if (_local4 == DataChangeType.INVALIDATE){ _local5 = 0; while (_local5 < _arg1.items.length) { invalidateItem(_arg1.items[_local5]); _local5++; }; } else { if (_local4 == DataChangeType.ADD){ _local5 = 0; while (_local5 < _selectedIndices.length) { if (_selectedIndices[_local5] >= _local2){ _selectedIndices[_local5] = (_selectedIndices[_local5] + (_local2 - _local3)); }; _local5++; }; } else { if (_local4 == DataChangeType.REMOVE){ _local5 = 0; while (_local5 < _selectedIndices.length) { if (_selectedIndices[_local5] >= _local2){ if (_selectedIndices[_local5] <= _local3){ delete _selectedIndices[_local5]; } else { _selectedIndices[_local5] = (_selectedIndices[_local5] - ((_local2 - _local3) + 1)); }; }; _local5++; }; } else { if (_local4 == DataChangeType.REMOVE_ALL){ clearSelection(); } else { if (_local4 == DataChangeType.REPLACE){ } else { selectedItems = preChangeItems; preChangeItems = null; }; }; }; }; }; }; invalidate(InvalidationType.DATA); } protected function _invalidateList():void{ availableCellRenderers = []; while (activeCellRenderers.length > 0) { list.removeChild((activeCellRenderers.pop() as DisplayObject)); }; } protected function updateRendererStyles():void{ var _local1:Array; var _local2:uint; var _local3:uint; var _local4:String; _local1 = availableCellRenderers.concat(activeCellRenderers); _local2 = _local1.length; _local3 = 0; while (_local3 < _local2) { if (_local1[_local3].setStyle == null){ } else { for (_local4 in updatedRendererStyles) { _local1[_local3].setStyle(_local4, updatedRendererStyles[_local4]); }; _local1[_local3].drawNow(); }; _local3++; }; updatedRendererStyles = {}; } public function set selectedItem(_arg1:Object):void{ var _local2:int; _local2 = _dataProvider.getItemIndex(_arg1); selectedIndex = _local2; } public function sortItems(... _args){ return (_dataProvider.sort.apply(_dataProvider, _args)); } public function removeAll():void{ _dataProvider.removeAll(); } protected function handleCellRendererChange(_arg1:Event):void{ var _local2:ICellRenderer; var _local3:uint; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; _dataProvider.invalidateItemAt(_local3); } protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; if (_arg1 == _horizontalScrollPosition){ return; }; _local3 = (_arg1 - _horizontalScrollPosition); _horizontalScrollPosition = _arg1; if (_arg2){ dispatchEvent(new ScrollEvent(ScrollBarDirection.HORIZONTAL, _local3, _arg1)); }; } public function scrollToSelected():void{ scrollToIndex(selectedIndex); } public function invalidateItem(_arg1:Object):void{ if (renderedItems[_arg1] == null){ return; }; invalidItems[_arg1] = true; invalidate(InvalidationType.DATA); } protected function handleCellRendererClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; var _local4:int; var _local5:int; var _local6:uint; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; if (((!(dispatchEvent(new ListEvent(ListEvent.ITEM_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)))) || (!(_selectable)))){ return; }; _local4 = selectedIndices.indexOf(_local3); if (!_allowMultipleSelection){ if (_local4 != -1){ return; }; _local2.selected = true; _selectedIndices = [_local3]; lastCaretIndex = (caretIndex = _local3); } else { if (_arg1.shiftKey){ _local6 = ((_selectedIndices.length)>0) ? _selectedIndices[0] : _local3; _selectedIndices = []; if (_local6 > _local3){ _local5 = _local6; while (_local5 >= _local3) { _selectedIndices.push(_local5); _local5--; }; } else { _local5 = _local6; while (_local5 <= _local3) { _selectedIndices.push(_local5); _local5++; }; }; caretIndex = _local3; } else { if (_arg1.ctrlKey){ if (_local4 != -1){ _local2.selected = false; _selectedIndices.splice(_local4, 1); } else { _local2.selected = true; _selectedIndices.push(_local3); }; caretIndex = _local3; } else { _selectedIndices = [_local3]; lastCaretIndex = (caretIndex = _local3); }; }; }; dispatchEvent(new Event(Event.CHANGE)); invalidate(InvalidationType.DATA); } public function get length():uint{ return (_dataProvider.length); } public function get allowMultipleSelection():Boolean{ return (_allowMultipleSelection); } protected function onPreChange(_arg1:DataChangeEvent):void{ switch (_arg1.changeType){ case DataChangeType.REMOVE: case DataChangeType.ADD: case DataChangeType.INVALIDATE: case DataChangeType.REMOVE_ALL: case DataChangeType.REPLACE: case DataChangeType.INVALIDATE_ALL: break; default: preChangeItems = selectedItems; break; }; } public function getRendererStyle(_arg1:String, _arg2:int=-1):Object{ return (rendererStyles[_arg1]); } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; if (_arg1 == _verticalScrollPosition){ return; }; _local3 = (_arg1 - _verticalScrollPosition); _verticalScrollPosition = _arg1; if (_arg2){ dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _local3, _arg1)); }; } protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } public function set selectedIndices(_arg1:Array):void{ if (!_selectable){ return; }; _selectedIndices = ((_arg1)==null) ? [] : _arg1.concat(); invalidate(InvalidationType.SELECTED); } public function get selectedIndex():int{ return (((_selectedIndices.length)==0) ? -1 : _selectedIndices[(_selectedIndices.length - 1)]); } override protected function draw():void{ super.draw(); } override protected function configUI():void{ super.configUI(); listHolder = new Sprite(); addChild(listHolder); listHolder.scrollRect = contentScrollRect; list = new Sprite(); listHolder.addChild(list); } public function addItem(_arg1:Object):void{ _dataProvider.addItem(_arg1); invalidateList(); } protected function handleCellRendererMouseEvent(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:String; _local2 = (_arg1.target as ICellRenderer); _local3 = ((_arg1.type)==MouseEvent.ROLL_OVER) ? ListEvent.ITEM_ROLL_OVER : ListEvent.ITEM_ROLL_OUT; dispatchEvent(new ListEvent(_local3, false, false, _local2.listData.column, _local2.listData.row, _local2.listData.index, _local2.data)); } public function clearRendererStyle(_arg1:String, _arg2:int=-1):void{ delete rendererStyles[_arg1]; updatedRendererStyles[_arg1] = null; invalidate(InvalidationType.RENDERER_STYLES); } protected function handleCellRendererDoubleClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; dispatchEvent(new ListEvent(ListEvent.ITEM_DOUBLE_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)); } public function get rowCount():uint{ return (0); } public function isItemSelected(_arg1:Object):Boolean{ return ((selectedItems.indexOf(_arg1) > -1)); } public function set dataProvider(_arg1:DataProvider):void{ if (_dataProvider != null){ _dataProvider.removeEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange); _dataProvider.removeEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange); }; _dataProvider = _arg1; _dataProvider.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true); _dataProvider.addEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange, false, 0, true); clearSelection(); invalidateList(); } override protected function drawLayout():void{ super.drawLayout(); contentScrollRect = listHolder.scrollRect; contentScrollRect.width = availableWidth; contentScrollRect.height = availableHeight; listHolder.scrollRect = contentScrollRect; } public function getItemAt(_arg1:uint):Object{ return (_dataProvider.getItemAt(_arg1)); } override protected function initializeAccessibility():void{ if (SelectableList.createAccessibilityImplementation != null){ SelectableList.createAccessibilityImplementation(this); }; } public function scrollToIndex(_arg1:int):void{ } public function removeItem(_arg1:Object):Object{ return (_dataProvider.removeItem(_arg1)); } public function get dataProvider():DataProvider{ return (_dataProvider); } public function set maxHorizontalScrollPosition(_arg1:Number):void{ _maxHorizontalScrollPosition = _arg1; invalidate(InvalidationType.SIZE); } public function setRendererStyle(_arg1:String, _arg2:Object, _arg3:uint=0):void{ if (rendererStyles[_arg1] == _arg2){ return; }; updatedRendererStyles[_arg1] = _arg2; rendererStyles[_arg1] = _arg2; invalidate(InvalidationType.RENDERER_STYLES); } public function invalidateItemAt(_arg1:uint):void{ var _local2:Object; _local2 = _dataProvider.getItemAt(_arg1); if (_local2 != null){ invalidateItem(_local2); }; } public function set selectedItems(_arg1:Array):void{ var _local2:Array; var _local3:uint; var _local4:int; if (_arg1 == null){ selectedIndices = null; return; }; _local2 = []; _local3 = 0; while (_local3 < _arg1.length) { _local4 = _dataProvider.getItemIndex(_arg1[_local3]); if (_local4 != -1){ _local2.push(_local4); }; _local3++; }; selectedIndices = _local2; } public function clearSelection():void{ selectedIndex = -1; } override public function get maxHorizontalScrollPosition():Number{ return (_maxHorizontalScrollPosition); } public function get selectedItems():Array{ var _local1:Array; var _local2:uint; _local1 = []; _local2 = 0; while (_local2 < _selectedIndices.length) { _local1.push(_dataProvider.getItemAt(_selectedIndices[_local2])); _local2++; }; return (_local1); } public function set selectedIndex(_arg1:int):void{ selectedIndices = ((_arg1)==-1) ? null : [_arg1]; } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseScrollPane.getStyleDefinition())); } } }//package fl.controls
Section 21
//TextInput (fl.controls.TextInput) package fl.controls { import fl.core.*; import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class TextInput extends UIComponent implements IFocusManagerComponent { protected var _html:Boolean;// = false protected var _savedHTML:String; protected var background:DisplayObject; protected var _editable:Boolean;// = true public var textField:TextField; private static var defaultStyles:Object = {upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:0, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function TextInput(){ _editable = true; _html = false; super(); } override public function drawFocus(_arg1:Boolean):void{ if (focusTarget != null){ focusTarget.drawFocus(_arg1); return; }; super.drawFocus(_arg1); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == textField)) || (super.isOurFocus(_arg1)))); } protected function handleKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ dispatchEvent(new ComponentEvent(ComponentEvent.ENTER, true)); }; } public function set text(_arg1:String):void{ textField.text = _arg1; _html = false; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } protected function updateTextFieldType():void{ textField.type = (((enabled) && (editable))) ? TextFieldType.INPUT : TextFieldType.DYNAMIC; textField.selectable = enabled; } public function get selectionEndIndex():int{ return (textField.selectionEndIndex); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (_arg1.target == this){ stage.focus = textField; }; _local2 = focusManager; if (((editable) && (_local2))){ _local2.showFocusIndicator = true; if (((textField.selectable) && ((textField.selectionBeginIndex == textField.selectionBeginIndex)))){ setSelection(0, textField.length); }; }; super.focusInHandler(_arg1); if (editable){ setIMEMode(true); }; } public function get selectionBeginIndex():int{ return (textField.selectionBeginIndex); } public function set alwaysShowSelection(_arg1:Boolean):void{ textField.alwaysShowSelection = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; updateTextFieldType(); } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } public function get horizontalScrollPosition():int{ return (textField.scrollH); } public function set condenseWhite(_arg1:Boolean):void{ textField.condenseWhite = _arg1; } public function set displayAsPassword(_arg1:Boolean):void{ textField.displayAsPassword = _arg1; } public function set horizontalScrollPosition(_arg1:int):void{ textField.scrollH = _arg1; } public function get restrict():String{ return (textField.restrict); } public function get textWidth():Number{ return (textField.textWidth); } public function get textHeight():Number{ return (textField.textHeight); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; updateTextFieldType(); } public function get maxChars():int{ return (textField.maxChars); } public function get length():int{ return (textField.length); } public function getLineMetrics(_arg1:int):TextLineMetrics{ return (textField.getLineMetrics(_arg1)); } public function get imeMode():String{ return (_imeMode); } override protected function focusOutHandler(_arg1:FocusEvent):void{ super.focusOutHandler(_arg1); if (editable){ setIMEMode(false); }; } public function set htmlText(_arg1:String):void{ if (_arg1 == ""){ text = ""; return; }; _html = true; _savedHTML = _arg1; textField.htmlText = _arg1; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } public function get text():String{ return (textField.text); } override public function get enabled():Boolean{ return (super.enabled); } public function get condenseWhite():Boolean{ return (textField.condenseWhite); } public function get alwaysShowSelection():Boolean{ return (textField.alwaysShowSelection); } override protected function draw():void{ var _local1:Object; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawTextFormat(); drawBackground(); _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function handleTextInput(_arg1:TextEvent):void{ _arg1.stopPropagation(); dispatchEvent(new TextEvent(TextEvent.TEXT_INPUT, true, false, _arg1.text)); } override protected function configUI():void{ super.configUI(); tabChildren = true; textField = new TextField(); addChild(textField); updateTextFieldType(); textField.addEventListener(TextEvent.TEXT_INPUT, handleTextInput, false, 0, true); textField.addEventListener(Event.CHANGE, handleChange, false, 0, true); textField.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true); } public function setSelection(_arg1:int, _arg2:int):void{ textField.setSelection(_arg1, _arg2); } public function get displayAsPassword():Boolean{ return (textField.displayAsPassword); } public function appendText(_arg1:String):void{ textField.appendText(_arg1); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; textField.restrict = _arg1; } public function get htmlText():String{ return (textField.htmlText); } protected function drawBackground():void{ var _local1:DisplayObject; var _local2:String; _local1 = background; _local2 = (enabled) ? "upSkin" : "disabledSkin"; background = getDisplayObjectInstance(getStyleValue(_local2)); if (background == null){ return; }; addChildAt(background, 0); if (((((!((_local1 == null))) && (!((_local1 == background))))) && (contains(_local1)))){ removeChild(_local1); }; } override public function setFocus():void{ stage.focus = textField; } protected function drawLayout():void{ var _local1:Number; _local1 = Number(getStyleValue("textPadding")); if (background != null){ background.width = width; background.height = height; }; textField.width = (width - (2 * _local1)); textField.height = (height - (2 * _local1)); textField.x = (textField.y = _local1); } public function set maxChars(_arg1:int):void{ textField.maxChars = _arg1; } public function get maxHorizontalScrollPosition():int{ return (textField.maxScrollH); } 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(); if (_html){ textField.htmlText = _savedHTML; }; } protected function handleChange(_arg1:Event):void{ _arg1.stopPropagation(); dispatchEvent(new Event(Event.CHANGE, true)); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 22
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 23
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 24
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.utils.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 25
//DataProvider (fl.data.DataProvider) package fl.data { import flash.events.*; import fl.events.*; public class DataProvider extends EventDispatcher { protected var data:Array; public function DataProvider(_arg1:Object=null){ if (_arg1 == null){ data = []; } else { data = getDataFromObject(_arg1); }; } protected function dispatchPreChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.PRE_DATA_CHANGE, _arg1, _arg2, _arg3, _arg4)); } public function invalidateItemAt(_arg1:int):void{ checkIndex(_arg1, (data.length - 1)); dispatchChangeEvent(DataChangeType.INVALIDATE, [data[_arg1]], _arg1, _arg1); } public function getItemIndex(_arg1:Object):int{ return (data.indexOf(_arg1)); } protected function getDataFromObject(_arg1:Object):Array{ var _local2:Array; var _local3:Array; var _local4:uint; var _local5:Object; var _local6:XML; var _local7:XMLList; var _local8:XML; var _local9:XMLList; var _local10:XML; var _local11:XMLList; var _local12:XML; if ((_arg1 is Array)){ _local3 = (_arg1 as Array); if (_local3.length > 0){ if ((((_local3[0] is String)) || ((_local3[0] is Number)))){ _local2 = []; _local4 = 0; while (_local4 < _local3.length) { _local5 = {label:String(_local3[_local4]), data:_local3[_local4]}; _local2.push(_local5); _local4++; }; return (_local2); }; }; return (_arg1.concat()); } else { if ((_arg1 is DataProvider)){ return (_arg1.toArray()); }; if ((_arg1 is XML)){ _local6 = (_arg1 as XML); _local2 = []; _local7 = _local6.*; for each (_local8 in _local7) { _arg1 = {}; _local9 = _local8.attributes(); for each (_local10 in _local9) { _arg1[_local10.localName()] = _local10.toString(); }; _local11 = _local8.*; for each (_local12 in _local11) { if (_local12.hasSimpleContent()){ _arg1[_local12.localName()] = _local12.toString(); }; }; _local2.push(_arg1); }; return (_local2); //unresolved jump }; }; throw (new ((!NULL! + !NULL!) + " to Array or DataProvider.").TypeError(!NULL!)); } public function removeItemAt(_arg1:uint):Object{ var _local2:Array; checkIndex(_arg1, (data.length - 1)); dispatchPreChangeEvent(DataChangeType.REMOVE, data.slice(_arg1, (_arg1 + 1)), _arg1, _arg1); _local2 = data.splice(_arg1, 1); dispatchChangeEvent(DataChangeType.REMOVE, _local2, _arg1, _arg1); return (_local2[0]); } public function addItem(_arg1:Object):void{ dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1)); data.push(_arg1); dispatchChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1)); } public function sortOn(_arg1:Object, _arg2:Object=null){ var _local3:Array; dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); _local3 = data.sortOn(_arg1, _arg2); dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); return (_local3); } public function sort(... _args){ var _local2:Array; dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); _local2 = data.sort.apply(data, _args); dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); return (_local2); } public function addItems(_arg1:Object):void{ addItemsAt(_arg1, data.length); } public function concat(_arg1:Object):void{ addItems(_arg1); } public function clone():DataProvider{ return (new DataProvider(data)); } public function toArray():Array{ return (data.concat()); } public function get length():uint{ return (data.length); } public function addItemAt(_arg1:Object, _arg2:uint):void{ checkIndex(_arg2, data.length); dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2); data.splice(_arg2, 0, _arg1); dispatchChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2); } public function getItemAt(_arg1:uint):Object{ checkIndex(_arg1, (data.length - 1)); return (data[_arg1]); } override public function toString():String{ return ((("DataProvider [" + data.join(" , ")) + "]")); } public function invalidateItem(_arg1:Object):void{ var _local2:uint; _local2 = getItemIndex(_arg1); if (_local2 == -1){ return; }; invalidateItemAt(_local2); } protected function dispatchChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, _arg1, _arg2, _arg3, _arg4)); } protected function checkIndex(_arg1:int, _arg2:int):void{ if ((((_arg1 > _arg2)) || ((_arg1 < 0)))){ throw (new RangeError((((("DataProvider index (" + _arg1) + ") is not in acceptable range (0 - ") + _arg2) + ")"))); }; } public function addItemsAt(_arg1:Object, _arg2:uint):void{ var _local3:Array; checkIndex(_arg2, data.length); _local3 = getDataFromObject(_arg1); dispatchPreChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1)); data.splice.apply(data, [_arg2, 0].concat(_local3)); dispatchChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1)); } public function replaceItem(_arg1:Object, _arg2:Object):Object{ var _local3:int; _local3 = getItemIndex(_arg2); if (_local3 != -1){ return (replaceItemAt(_arg1, _local3)); }; return (null); } public function removeItem(_arg1:Object):Object{ var _local2:int; _local2 = getItemIndex(_arg1); if (_local2 != -1){ return (removeItemAt(_local2)); }; return (null); } public function merge(_arg1:Object):void{ var _local2:Array; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:Object; _local2 = getDataFromObject(_arg1); _local3 = _local2.length; _local4 = data.length; dispatchPreChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1)); _local5 = 0; while (_local5 < _local3) { _local6 = _local2[_local5]; if (getItemIndex(_local6) == -1){ data.push(_local6); }; _local5++; }; if (data.length > _local4){ dispatchChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1)); } else { dispatchChangeEvent(DataChangeType.ADD, [], -1, -1); }; } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ var _local3:Array; checkIndex(_arg2, (data.length - 1)); _local3 = [data[_arg2]]; dispatchPreChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2); data[_arg2] = _arg1; dispatchChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2); return (_local3[0]); } public function invalidate():void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, DataChangeType.INVALIDATE_ALL, data.concat(), 0, data.length)); } public function removeAll():void{ var _local1:Array; _local1 = data.concat(); dispatchPreChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length); data = []; dispatchChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length); } } }//package fl.data
Section 26
//SimpleCollectionItem (fl.data.SimpleCollectionItem) package fl.data { public dynamic class SimpleCollectionItem { public var label:String; public var data:String; public function toString():String{ return ((((("[SimpleCollectionItem: " + label) + ",") + data) + "]")); } } }//package fl.data
Section 27
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 28
//DataChangeEvent (fl.events.DataChangeEvent) package fl.events { import flash.events.*; public class DataChangeEvent extends Event { protected var _items:Array; protected var _endIndex:uint; protected var _changeType:String; protected var _startIndex:uint; public static const PRE_DATA_CHANGE:String = "preDataChange"; public static const DATA_CHANGE:String = "dataChange"; public function DataChangeEvent(_arg1:String, _arg2:String, _arg3:Array, _arg4:int=-1, _arg5:int=-1):void{ super(_arg1); _changeType = _arg2; _startIndex = _arg4; _items = _arg3; _endIndex = ((_arg5)==-1) ? _startIndex : _arg5; } public function get changeType():String{ return (_changeType); } public function get startIndex():uint{ return (_startIndex); } public function get items():Array{ return (_items); } override public function clone():Event{ return (new DataChangeEvent(type, _changeType, _items, _startIndex, _endIndex)); } override public function toString():String{ return (formatToString("DataChangeEvent", "type", "changeType", "startIndex", "endIndex", "bubbles", "cancelable")); } public function get endIndex():uint{ return (_endIndex); } } }//package fl.events
Section 29
//DataChangeType (fl.events.DataChangeType) package fl.events { public class DataChangeType { public static const ADD:String = "add"; public static const REMOVE:String = "remove"; public static const REMOVE_ALL:String = "removeAll"; public static const CHANGE:String = "change"; public static const REPLACE:String = "replace"; public static const INVALIDATE:String = "invalidate"; public static const INVALIDATE_ALL:String = "invalidateAll"; public static const SORT:String = "sort"; } }//package fl.events
Section 30
//DataGridEvent (fl.events.DataGridEvent) package fl.events { import flash.events.*; public class DataGridEvent extends ListEvent { protected var _itemRenderer:Object; protected var _reason:String; protected var _dataField:String; public static const ITEM_EDIT_BEGIN:String = "itemEditBegin"; public static const ITEM_EDIT_END:String = "itemEditEnd"; public static const ITEM_EDIT_BEGINNING:String = "itemEditBeginning"; public static const HEADER_RELEASE:String = "headerRelease"; public static const ITEM_FOCUS_IN:String = "itemFocusIn"; public static const ITEM_FOCUS_OUT:String = "itemFocusOut"; public static const COLUMN_STRETCH:String = "columnStretch"; public function DataGridEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:Object=null, _arg7:String=null, _arg8:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); _itemRenderer = _arg6; _dataField = _arg7; _reason = _arg8; } public function get reason():String{ return (_reason); } public function set dataField(_arg1:String):void{ _dataField = _arg1; } override public function toString():String{ return (formatToString("DataGridEvent", "type", "bubbles", "cancelable", "columnIndex", "rowIndex", "itemRenderer", "dataField", "reason")); } public function get dataField():String{ return (_dataField); } override public function clone():Event{ return (new DataGridEvent(type, bubbles, cancelable, columnIndex, int(rowIndex), _itemRenderer, _dataField, _reason)); } public function get itemRenderer():Object{ return (_itemRenderer); } } }//package fl.events
Section 31
//DataGridEventReason (fl.events.DataGridEventReason) package fl.events { public final class DataGridEventReason { public static const OTHER:String = "other"; public static const CANCELLED:String = "cancelled"; public static const NEW_COLUMN:String = "newColumn"; public static const NEW_ROW:String = "newRow"; } }//package fl.events
Section 32
//ListEvent (fl.events.ListEvent) package fl.events { import flash.events.*; public class ListEvent extends Event { protected var _index:int; protected var _item:Object; protected var _columnIndex:int; protected var _rowIndex:int; public static const ITEM_DOUBLE_CLICK:String = "itemDoubleClick"; public static const ITEM_ROLL_OUT:String = "itemRollOut"; public static const ITEM_ROLL_OVER:String = "itemRollOver"; public static const ITEM_CLICK:String = "itemClick"; public function ListEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:int=-1, _arg7:Object=null){ super(_arg1, _arg2, _arg3); _rowIndex = _arg5; _columnIndex = _arg4; _index = _arg6; _item = _arg7; } public function get rowIndex():Object{ return (_rowIndex); } public function get index():int{ return (_index); } public function get item():Object{ return (_item); } public function get columnIndex():int{ return (_columnIndex); } override public function clone():Event{ return (new ListEvent(type, bubbles, cancelable, _columnIndex, _rowIndex)); } override public function toString():String{ return (formatToString("ListEvent", "type", "bubbles", "cancelable", "columnIndex", "rowIndex", "index", "item")); } } }//package fl.events
Section 33
//ScrollEvent (fl.events.ScrollEvent) package fl.events { import flash.events.*; public class ScrollEvent extends Event { private var _position:Number; private var _direction:String; private var _delta:Number; public static const SCROLL:String = "scroll"; public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){ super(ScrollEvent.SCROLL, false, false); _direction = _arg1; _delta = _arg2; _position = _arg3; } override public function clone():Event{ return (new ScrollEvent(_direction, _delta, _position)); } public function get position():Number{ return (_position); } override public function toString():String{ return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position")); } public function get delta():Number{ return (_delta); } public function get direction():String{ return (_direction); } } }//package fl.events
Section 34
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.core.*; import fl.controls.*; import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 35
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 36
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 37
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 38
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.text.*; import flash.utils.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 39
//btnSell_158 (td_fla.btnSell_158) package td_fla { import flash.display.*; import flash.events.*; public dynamic class btnSell_158 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function btnSell_158(){ addFrameScript(0, frame1, 1, frame2); } public function ro(_arg1:MouseEvent){ gotoAndStop(2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, ro); click_btn.addEventListener(MouseEvent.ROLL_OUT, roout); stop(); } function frame2(){ stop(); } public function roout(_arg1:MouseEvent){ gotoAndStop(1); } } }//package td_fla
Section 40
//btnUpgrade_157 (td_fla.btnUpgrade_157) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class btnUpgrade_157 extends MovieClip { public var lvl; public var click_btn:SimpleButton; public var lvl2; public var border_mc:MovieClip; public var type; public function btnUpgrade_157(){ addFrameScript(0, frame1, 1, frame2); } public function ro(_arg1:MouseEvent){ if (MovieClip(root).selectedTd.uDuration > 1){ } else { if ((MovieClip(root).gold / MovieClip(root).divisor) >= MovieClip(root).towerInfo_array[type][lvl2][1]){ gotoAndStop(2); }; }; } function frame1(){ lvl = MovieClip(root).selectedTd.lvl; lvl2 = (lvl + 1); type = MovieClip(root).selectedTd.type1; if (!click_btn.hasEventListener(Event.ENTER_FRAME)){ click_btn.addEventListener(MouseEvent.ROLL_OVER, ro); click_btn.addEventListener(MouseEvent.ROLL_OUT, roout); click_btn.addEventListener(Event.ENTER_FRAME, checkEnable); }; stop(); } function frame2(){ stop(); } public function checkEnable(_arg1:Event){ if (MovieClip(root).rbInfo_mc.currentLabel == "towerInfo"){ if (MovieClip(root).selectedTd.uDuration > 1){ _arg1.target.enabled = false; this.alpha = 0.5; } else { if ((MovieClip(root).gold / MovieClip(root).divisor) >= MovieClip(root).towerInfo_array[type][lvl2][1]){ _arg1.target.enabled = true; this.alpha = 1; } else { _arg1.target.enabled = false; this.alpha = 0.5; }; }; }; } public function roout(_arg1:MouseEvent){ gotoAndStop(1); } } }//package td_fla
Section 41
//MainTimeline (td_fla.MainTimeline) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var tdSky_mc:MovieClip; public var tdRapid_btn:SimpleButton; public var gold_txt:TextField; public var tdArrow_mc:MovieClip; public var tdIce_btn:SimpleButton; public var rightBarArea_mc:MovieClip; public var tdRapid_mc:MovieClip; public var health:int; public var tdSniper_mc:MovieClip; public var gold:int; public var tdIce_mc:MovieClip; public var creepIndex:int; public var towers_array:Array; public var nxtWaveTick:int; public var nonPath_array; public var waves_array:Array; public var rbInfo_mc:MovieClip; public var cCount; public var pause_mc:MovieClip; public var selectedTd:MovieClip; public var pauseFlag:Boolean; public var rbRo:String; public var tdArrow_btn:SimpleButton; public var divisor:int; public var hp_txt:TextField; public var continue_btn:SimpleButton; public var tile_mc:DisplayObject; public var gc:int; public var pts:int; public var waveTicks:int; public var tileCount:int; public var balance:int; public var pts_txt:TextField; public var selectedTower:String; public var itemPrices:int; public var nxtWave_mc:MovieClip; public var _mochiads_game_id:String; public var towerTile; public var maxRows:int; public var tdFire_btn:SimpleButton; public var mcTile:String; public var tooltip_mc:MovieClip; public var tileX:int; public var towerInfo_array:Array; public var tileClass:Class; public var pauseBg_mc:MovieClip; public var creeps_array:Array; public var end_mc:MovieClip; public var bldgRo:Boolean; public var tileY:int; public var lowestTile:int; public var waveInfo_mc:MovieClip; public var lib_mc:MovieClip; public var curWave:int; public var tile_array:Array; public var tdSniper_btn:SimpleButton; public var creepPath_array:Array; public var selectedTowerType:int; public var tdFire_mc:MovieClip; public var tdSky_btn:SimpleButton; public var map_array:Array; public var rCount:int; public var maxColumns:int; public var path_mc:MovieClip; public var keyNow:int; public var time_txt:TextField; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 5, frame6, 9, frame10, 10, frame11, 14, frame15); } public function nxtWave(_arg1:MouseEvent):void{ if (curWave == -1){ this.addEventListener(Event.ENTER_FRAME, nxtWaveTimer); }; if (curWave < (waves_array.length - 1)){ curWave++; bankInterest(); editPts((Math.floor((nxtWaveTick / 29)) * 5)); nxtWaveTick = waveTicks; spawnCreeps(waves_array[curWave][0], waves_array[curWave][1], waves_array[curWave][2], waves_array[curWave][3], waves_array[curWave][4]); } else { if (creeps_array.length == 0){ nxtWaveTick = 0; }; }; } public function pauseEfx(_arg1:MouseEvent):void{ pauseBg_mc.visible = true; pauseBg_mc.pauseBg_btn.useHandCursor = false; pauseFlag = true; } public function multiply(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; if (_arg1.target.curhp <= 0){ _local2 = 1; while (_local2 <= 3) { _local3 = new mcCreepMultiplyChild(); _local3.x = (tile_array[creepPath_array[((_arg1.target.loc - 1) + _local2)]].x + 22); _local3.y = (tile_array[creepPath_array[((_arg1.target.loc - 1) + _local2)]].y + 18); _local3.defaultSpeed = _arg1.target.defaultSpeed; _local3.speed = _arg1.target.defaultSpeed; _local3.hp = (_arg1.target.hp * 0.3); creepIndex++; _local3.name = ("creep" + creepIndex); _local3.curhp = (_arg1.target.hp * 0.3); _local3.gold = Math.round((_arg1.target.gold * 0.1)); _local3.tick = 10; _local3.maxTick = 10; _local3.loc = ((_arg1.target.loc - 1) + _local2); creeps_array.push(_local3.name); addChild(_local3); _local2++; }; _arg1.target.removeEventListener(Event.ENTER_FRAME, multiply); }; } public function resume(_arg1:MouseEvent):void{ if (pauseFlag == true){ pauseBg_mc.visible = false; pauseFlag = false; }; } public function towerCover(_arg1:Event){ var _local2:*; var _local3:Boolean; var _local4:*; for (_local2 in towers_array) { _local3 = false; for (_local4 in creeps_array) { if (towers_array[_local2].active_mc.hitTestObject(getChildByName(creeps_array[_local4]))){ if (towers_array[_local2].parent.getChildIndex(towers_array[_local2]) > getChildByName(creeps_array[_local4]).parent.getChildIndex(getChildByName(creeps_array[_local4]))){ _local3 = true; }; }; }; if (((!(towers_array[_local2].uDuration)) || ((towers_array[_local2].uDuration <= 0)))){ if (_local3 == true){ towers_array[_local2].alpha = (towers_array[_local2].alpha - ((towers_array[_local2].alpha - 0.8) * 0.9)); } else { towers_array[_local2].alpha = 1; }; }; }; } function frame10(){ stop(); } public function clickTower(_arg1, _arg2):void{ var showTowerInfo:Function; var mc = _arg1; var btn = _arg2; showTowerInfo = function (_arg1:MouseEvent):void{ var _local2:MovieClip; var _local3:MovieClip; _local2 = new MovieClip(); if (mc.pointer_mc){ _local2 = mc; } else { _local2 = mc.parent; }; if (_local2.pointer_mc.visible != true){ _local3 = new mcTowerRange(); _local3.x = (_local2.x + _local2.range_mc.x); _local3.y = (_local2.y + _local2.range_mc.y); _local3.width = towerInfo_array[_local2.type1][_local2.lvl][2]; _local3.height = (towerInfo_array[_local2.type1][_local2.lvl][2] / 2); _local3.parentTower = _local2; _local2.tempRange = _local3; _local3.alpha = 0.3; addChild(_local3); _local3.addEventListener(Event.ENTER_FRAME, clearTowerRange); }; _local2.pointer_mc.visible = true; rbInfo_mc.gotoAndStop("towerInfo"); selectedTd = _local2; _local2.pointer_mc.addEventListener(Event.ENTER_FRAME, clearTowerPointer); rbInfo_mc.showTxt(); }; btn.addEventListener(MouseEvent.CLICK, showTowerInfo); } public function continue1(_arg1:MouseEvent):void{ gotoAndPlay("main"); } function frame11(){ maxRows = 15; maxColumns = 15; tileX = 300; tileY = 100; waveTicks = 870; divisor = Math.round((Math.random() * 10)); gold = (90 * divisor); gc = (90 * divisor); gold_txt.text = String((gold / divisor)); health = (20 * divisor); hp_txt.text = String((health / divisor)); pts = 0; pts_txt.text = String(pts); creepIndex = 0; balance = 0; towerTile = ""; MovieClip(root).efx_array = new Array(); end_mc.visible = false; itemPrices = 0; map_array = new Array([], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 1001, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1000, 1], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1000, 1], [0, 1, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1, 2, 4, 5, 2, 1000, 1], [0, 1, 1000, 1, 1, 1, 1, 1, 1000, 1, 5, 0, 0, 3, 1000, 1], [0, 1, 1000, 2, 3, 4, 2, 1, 1000, 1, 4, 31, 0, 5, 1000, 1], [0, 1, 1000, 5, 0, 0, 4, 1, 1000, 1, 2, 3, 4, 2, 1000, 1], [0, 1, 1000, 4, 30, 0, 5, 1, 1000, 1, 1, 1, 1, 1, 1000, 1], [0, 1, 1000, 2, 5, 3, 2, 1, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1], [0, 1, 1000, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 1, 1000, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 1, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1000, 1], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1002, 1]); tile_array = new Array([0]); nonPath_array = new Array(); path_mc = new MovieClip(); addChild(path_mc); path_mc.parent.setChildIndex(path_mc, 2); tileCount = 0; rCount = 1; while (rCount <= maxRows) { cCount = 1; while (cCount <= maxColumns) { mcTile = ("mcTile" + map_array[rCount][cCount]); tileClass = (getDefinitionByName(mcTile) as Class); tile_mc = new tileClass(); tile_mc.name = ("tile_mc" + tileCount); tileCount++; tile_mc.x = (((cCount * 20) - (rCount * 20)) + tileX); tile_mc.y = (((cCount * 10) + (rCount * 10)) + tileY); if (map_array[rCount][cCount] >= 1000){ path_mc.addChild(tile_mc); } else { addChild(tile_mc); nonPath_array.push(tile_mc); }; tile_array.push(tile_mc); cCount++; }; rCount++; }; waves_array = new Array(); waves_array.push([8, 0.08, "mcCreepNormal1", 15, 2, "Normal"]); waves_array.push([8, 0.1, "mcCreepNormal2", 25, 2, "Normal"]); waves_array.push([8, 0.09, "mcCreepNormal3", 35, 2, "Normal"]); waves_array.push([8, 0.12, "mcCreepFast", 45, 3, "Fast"]); waves_array.push([8, 0.06, "mcCreepArmour", 50, 3, "Armour"]); waves_array.push([8, 0.1, "mcCreepFlying", 55, 3, "Flying"]); waves_array.push([8, 0.1, "mcCreepResistFire", 70, 4, "Resist Fire"]); waves_array.push([12, 0.08, "mcCreepSwarm", 82, 4, "Swarm"]); waves_array.push([8, 0.1, "mcCreepNormal4", 94, 4, "Normal"]); waves_array.push([1, 0.05, "mcCreepBossArmour", 300, 25, "Boss - Armour"]); waves_array.push([8, 0.08, "mcCreepNormal1", 144, 6, "Normal"]); waves_array.push([8, 0.08, "mcCreepAura", 169, 6, "Aura"]); waves_array.push([14, 0.08, "mcCreepSwarm", 194, 6, "Swarm"]); waves_array.push([7, 0.08, "mcCreepMultiply", 224, 8, "Multiply"]); waves_array.push([8, 0.08, "mcCreepResistIce", 254, 8, "Resist Ice"]); waves_array.push([8, 0.1, "mcCreepFlying", 284, 8, "Flying"]); waves_array.push([8, 0.12, "mcCreepFast", 324, 10, "Fast"]); waves_array.push([8, 0.08, "mcCreepNormal2", 404, 10, "Normal"]); waves_array.push([8, 0.06, "mcCreepArmour", 364, 10, "Armour"]); waves_array.push([1, 0.08, "mcCreepBossAura", 1600, 60, "Boss - Aura"]); waves_array.push([8, 0.1, "mcCreepFast", 499, 15, "Fast"]); waves_array.push([8, 0.08, "mcCreepEvasion", 554, 15, "Evasion"]); waves_array.push([8, 0.08, "mcCreepNormal3", 609, 15, "Normal"]); waves_array.push([14, 0.08, "mcCreepSwarm", 664, 20, "Swarm"]); waves_array.push([8, 0.06, "mcCreepArmour", 719, 20, "Armour"]); waves_array.push([8, 0.09, "mcCreepFlying", 794, 20, "Flying"]); waves_array.push([8, 0.08, "mcCreepMultiply", 944, 30, "Multiply"]); waves_array.push([8, 0.08, "mcCreepResistFire", 1019, 30, "Resist Fire"]); waves_array.push([8, 0.08, "mcCreepAura", 1094, 30, "Aura"]); waves_array.push([1, 0.08, "mcCreepBossResistant", 4300, 180, "Boss - Resist Fire/Ice"]); waves_array.push([8, 0.08, "mcCreepNormal4", 1274, 45, "Normal"]); waves_array.push([14, 0.08, "mcCreepSwarm", 1379, 45, "Swarm"]); waves_array.push([8, 0.08, "mcCreepEvasion", 1484, 45, "Evasion"]); waves_array.push([8, 0.08, "mcCreepAura", 1589, 65, "Aura"]); waves_array.push([8, 0.08, "mcCreepNormal1", 1694, 65, "Normal"]); waves_array.push([8, 0.08, "mcCreepFlying", 1834, 65, "Normal"]); waves_array.push([8, 0.08, "mcCreepResistIce", 1974, 85, "Resist Ice"]); waves_array.push([8, 0.08, "mcCreepArmour", 2114, 85, "Armour"]); waves_array.push([8, 0.08, "mcCreepNormal2", 2254, 85, "Normal"]); waves_array.push([1, 0.08, "mcCreepBoss40", 8500, 480, "Boss"]); waves_array.push([8, 0.08, "mcCreepNormal3", 2614, 115, "Normal"]); waves_array.push([8, 0.08, "mcCreepAura", 2794, 115, "Aura"]); waves_array.push([12, 0.075, "mcCreepSwarmMultiply", 2100, 115, "Swarm Multiply"]); waves_array.push([8, 0.08, "mcCreepArmour", 3154, 115, "Armour"]); waves_array.push([8, 0.08, "mcCreepResistFire", 3334, 115, "Resist Fire"]); waves_array.push([8, 0.09, "mcCreepFlyingArmour", 3559, 145, "Flying Armour"]); waves_array.push([8, 0.08, "mcCreepEvasion", 3784, 145, "Evasion"]); waves_array.push([8, 0.08, "mcCreepAura", 4009, 145, "Aura"]); waves_array.push([8, 0.08, "mcCreepNormal4", 4234, 145, "Normal"]); waves_array.push([1, 0.09, "mcCreepBossFlying", 18000, 1000, "Boss Flying"]); creeps_array = new Array(); creepPath_array = new Array(16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 44, 59, 74, 89, 104, 119, 134, 149, 148, 147, 146, 145, 144, 143, 128, 113, 98, 83, 68, 67, 66, 65, 64, 63, 62, 77, 92, 107, 122, 137, 152, 167, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 209, 224); this.addEventListener(Event.ENTER_FRAME, creepThink); nxtWaveTick = new Number(); curWave = -1; nxtWave_mc.click_btn.addEventListener(MouseEvent.CLICK, nxtWave); rbRo = null; towers_array = new Array(); tdEfx(tdArrow_btn, tdArrow_mc, "mcArrowTower", "arrow", 1); tdEfx(tdFire_btn, tdFire_mc, "mcFireTower", "fire", 2); tdEfx(tdSniper_btn, tdSniper_mc, "mcSniperTower", "sniper", 3); tdEfx(tdRapid_btn, tdRapid_mc, "mcRapidTower", "rapid", 4); tdEfx(tdSky_btn, tdSky_mc, "mcSkyTower", "sky", 5); tdEfx(tdIce_btn, tdIce_mc, "mcIceTower", "ice", 6); selectedTower = new String(); selectedTowerType = new Number(); lowestTile = new Number(); selectedTd = null; bldgRo = false; this.stage.addEventListener(MouseEvent.CLICK, clearTowerInfo); rbInfo_mc.addEventListener(Event.ENTER_FRAME, keepPlayhead); this.addEventListener(Event.ENTER_FRAME, towerCover); towerInfo_array = new Array([], [], [], [], [], [], [], []); towerInfo_array[1].push(["Arrow Tower 1", 30, 120, 29, 12, 44]); towerInfo_array[1].push(["Arrow Tower 2", 30, 120, 29, 22, 87]); towerInfo_array[1].push(["Arrow Tower 3", 60, 120, 29, 45, 145]); towerInfo_array[1].push(["Arrow Tower 4", 155, 120, 29, 110, 203]); towerInfo_array[1].push(["Arrow Tower 5", 300, 120, 29, 225, 290]); towerInfo_array[1].push(["Arrow Tower 6", 550, 120, 29, 450, 348]); towerInfo_array[1].push(["Torpedo Tower", 750, 120, 29, 750, 435]); towerInfo_array[1].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); towerInfo_array[2].push(["Fire Tower 1", 170, 120, 32, 80, 44]); towerInfo_array[2].push(["Fire Tower 2", 200, 120, 32, 140, 87]); towerInfo_array[2].push(["Fire Tower 3", 310, 120, 32, 240, 145]); towerInfo_array[2].push(["Fire Tower 4", 350, 120, 32, 350, 203]); towerInfo_array[2].push(["Fire Tower 5", 500, 120, 32, 550, 290]); towerInfo_array[2].push(["Fire Tower 6", 800, 120, 32, 850, 348]); towerInfo_array[2].push(["Inferno Tower", 1100, 120, 32, 1350, 435]); towerInfo_array[2].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); towerInfo_array[3].push(["Sniper Tower 1", 290, 140, 50, 200, 44]); towerInfo_array[3].push(["Sniper Tower 2", 350, 160, 50, 400, 87]); towerInfo_array[3].push(["Sniper Tower 3", 650, 180, 50, 750, 145]); towerInfo_array[3].push(["Sniper Tower 4", 900, 200, 50, 1200, 203]); towerInfo_array[3].push(["Sniper Tower 5", 1400, 220, 45, 1700, 290]); towerInfo_array[3].push(["Sniper Tower 6", 1750, 240, 45, 2400, 348]); towerInfo_array[3].push(["Sharpshooter", 2100, 260, 45, 3200, 435]); towerInfo_array[3].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); towerInfo_array[4].push(["Rapid Tower 1", 95, 110, 24, 30, 44]); towerInfo_array[4].push(["Rapid Tower 2", 120, 110, 22, 70, 87]); towerInfo_array[4].push(["Rapid Tower 3", 225, 110, 20, 130, 145]); towerInfo_array[4].push(["Rapid Tower 4", 500, 110, 18, 250, 203]); towerInfo_array[4].push(["Rapid Tower 5", 750, 110, 16, 450, 290]); towerInfo_array[4].push(["Rapid Tower 6", 1000, 110, 14, 600, 348]); towerInfo_array[4].push(["Tornado Tower", 1600, 110, 12, 800, 435]); towerInfo_array[4].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); towerInfo_array[5].push(["Sky Tower 1", 90, 150, 26, 55, 44]); towerInfo_array[5].push(["Sky Tower 2", 155, 150, 26, 150, 87]); towerInfo_array[5].push(["Sky Tower 3", 200, 150, 26, 270, 145]); towerInfo_array[5].push(["Sky Tower 4", 325, 150, 26, 500, 203]); towerInfo_array[5].push(["Sky Tower 5", 450, 150, 26, 775, 290]); towerInfo_array[5].push(["Sky Tower 6", 700, 150, 26, 1200, 348]); towerInfo_array[5].push(["Celestial Tower", 1000, 150, 26, 1600, 435]); towerInfo_array[5].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); towerInfo_array[6].push(["Ice Tower 1", 70, 110, 35, 7, 44]); towerInfo_array[6].push(["Ice Tower 2", 85, 110, 35, 14, 87]); towerInfo_array[6].push(["Ice Tower 3", 185, 110, 35, 28, 145]); towerInfo_array[6].push(["Ice Tower 4", 410, 110, 35, 56, 203]); towerInfo_array[6].push(["Ice Tower 5", 930, 110, 35, 112, 290]); towerInfo_array[6].push(["Ice Tower 6", 1200, 110, 35, 224, 348]); towerInfo_array[6].push(["Glacial Tower", 1800, 110, 35, 448, 435]); towerInfo_array[6].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); towerInfo_array[7].push(["Ultimate Tower", 5000, 180, 20, 2000, 44]); towerInfo_array[7].push(["Nil", "N.A.", "N.A.", "N.A.", "N.A.", "N.A."]); pauseFlag = false; pauseBg_mc.visible = false; pause_mc.click_btn.addEventListener(MouseEvent.CLICK, pauseEfx); this.addEventListener(MouseEvent.MOUSE_UP, resume); keyNow = 0; stage.addEventListener(KeyboardEvent.KEY_DOWN, hotKeys); stage.addEventListener(KeyboardEvent.KEY_UP, hotKeysClear); end_mc.parent.setChildIndex(end_mc, (numChildren - 1)); this.addEventListener(Event.ENTER_FRAME, end); stop(); } function frame6(){ MovieClip(root).variables = new URLVariables(); _mochiads_game_id = "e412a4f215619b52"; continue_btn.addEventListener(MouseEvent.CLICK, continue1); } public function creepThink(_arg1:Event):void{ var _local2:*; var _local3:*; if (pauseFlag != true){ for (_local2 in creeps_array) { _local3 = getChildByName(creeps_array[_local2]); if (_local3.tick < _local3.maxTick){ _local3.tick++; } else { if (_local3.tick >= _local3.maxTick){ _local3.alpha = 1; }; }; if (_local3.alpha == 1){ _local3.currentX = (tile_array[creepPath_array[_local3.loc]].x + 22); _local3.currentY = (tile_array[creepPath_array[_local3.loc]].y + 18); _local3.nextVar = (_local3.loc + 1); _local3.nextX = (tile_array[creepPath_array[_local3.nextVar]].x + 22); _local3.nextY = (tile_array[creepPath_array[_local3.nextVar]].y + 18); _local3.xDiff = (_local3.nextX - _local3.currentX); _local3.yDiff = (_local3.nextY - _local3.currentY); _local3.xDist = (_local3.nextX - _local3.x); _local3.yDist = (_local3.nextY - _local3.y); _local3.x = (_local3.x + (_local3.xDiff * _local3.speed)); _local3.y = (_local3.y + (_local3.yDiff * _local3.speed)); if (_local3.xDiff < 0){ if (_local3.x < _local3.nextX){ if ((creepPath_array.length - _local3.loc) > 2){ _local3.loc++; } else { editHp(-1); creeps_array.splice(creeps_array.indexOf(_local3.name), 1); removeChild(DisplayObject(_local3)); }; }; } else { if (_local3.xDiff > 0){ if (_local3.x > _local3.nextX){ if ((creepPath_array.length - _local3.loc) > 2){ _local3.loc++; } else { editHp(-1); creeps_array.splice(creeps_array.indexOf(_local3.name), 1); removeChild(DisplayObject(_local3)); }; }; }; }; if (_local3.curhp <= 0){ creeps_array.splice(creeps_array.indexOf(_local3.name), 1); _local3.parent.removeChild(_local3); editPts(Math.round(_local3.hp)); editGold(_local3.gold); }; }; }; arrange(); }; } function frame1(){ MochiAd.showPreGameAd({clip:root, id:"4b42e068e33ccc8a", res:"830x500", background:14937557, color:7241779, outline:12964760, no_bg:true}); Security.allowDomain("*.kongregate.com"); } function frame15(){ stop(); } function frame2(){ lib_mc.enabled = false; lib_mc.visible = false; } public function editPts(_arg1):void{ pts = (pts + (_arg1 * divisor)); pts_txt.text = String((pts / divisor)); } public function multiply2(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; if (_arg1.target.curhp <= 0){ _local2 = 1; while (_local2 <= 3) { _local3 = new mcCreepSwarmMultiplyChild(); _local3.x = (tile_array[creepPath_array[((_arg1.target.loc - 1) + _local2)]].x + 22); _local3.y = (tile_array[creepPath_array[((_arg1.target.loc - 1) + _local2)]].y + 18); _local3.defaultSpeed = _arg1.target.defaultSpeed; _local3.speed = _arg1.target.defaultSpeed; _local3.hp = (_arg1.target.hp * 0.3); creepIndex++; _local3.name = ("creep" + creepIndex); _local3.curhp = (_arg1.target.hp * 0.3); _local3.gold = Math.round((_arg1.target.gold * 0.1)); _local3.tick = 10; _local3.maxTick = 10; _local3.loc = ((_arg1.target.loc - 1) + _local2); creeps_array.push(_local3.name); addChild(_local3); _local2++; }; _arg1.target.removeEventListener(Event.ENTER_FRAME, multiply2); }; } public function plotTower(_arg1, _arg2):void{ var _local3:DisplayObject; var _local4:DisplayObject; selectedTower = _arg1; selectedTowerType = _arg2; _local3 = new mcRGTile(); _local3.name = "rgTile"; this.addChild(_local3); _local3.addEventListener(Event.ENTER_FRAME, tileFollow); _local4 = new mcTowerRange(); _local4.width = towerInfo_array[_arg2][0][2]; _local4.height = (towerInfo_array[_arg2][0][2] / 2); _local4.name = "towerRange"; _local4.alpha = 0.3; this.addChild(_local4); _local4.parent.setChildIndex(_local4, (getChildByName("rgTile").parent.getChildIndex(getChildByName("rgTile")) - 1)); this.stage.addEventListener(MouseEvent.MOUSE_UP, rgTileClick); } public function editHp(_arg1):void{ health = (health + (_arg1 * divisor)); hp_txt.text = String((health / divisor)); } public function rgTileClick(_arg1:MouseEvent):void{ if (getChildByName("towerRange")){ if (getChildByName("towerRange").hitTestPoint(this.mouseX, this.mouseY)){ if (towerTile){ if (towerTile == "green"){ buildTower(lowestTile); }; } else { clearBuildTower(); }; } else { clearBuildTower(); }; }; } public function end(_arg1:Event):void{ if (!waves_array[(curWave + 1)]){ if (creeps_array.length == 0){ if (pauseFlag != true){ if (nxtWaveTick <= 0){ pauseFlag = true; end_mc.gotoAndPlay(1); end_mc.visible = true; }; }; }; }; if (health <= 0){ if (pauseFlag != true){ pauseFlag = true; end_mc.gotoAndPlay(11); end_mc.visible = true; }; }; } public function spawnCreeps(_arg1, _arg2, _arg3, _arg4, _arg5):void{ var _local6:*; var _local7:Class; var _local8:MovieClip; _local6 = 1; while (_local6 <= _arg1) { _local7 = (getDefinitionByName(_arg3) as Class); _local8 = new (_local7); _local8.x = (tile_array[creepPath_array[0]].x + 22); _local8.y = (tile_array[creepPath_array[0]].y + 18); _local8.alpha = 0; _local8.no = _local6; _local8.defaultSpeed = _arg2; _local8.speed = _arg2; _local8.hp = _arg4; creepIndex++; _local8.name = ("creep" + creepIndex); _local8.curhp = _arg4; _local8.oriGold = _arg5; _local8.gold = _arg5; _local8.tick = 0; _local8.maxTick = (_local6 * 15); _local8.loc = 0; addChild(_local8); creeps_array.push(_local8.name); waveDisplay(); _local6++; }; } public function hotKeysClear(_arg1:KeyboardEvent):void{ keyNow = 0; } public function nxtWaveTimer(_arg1:Event):void{ if (pauseFlag != true){ if (nxtWaveTick <= 0){ if (curWave <= (waves_array.length - 1)){ curWave++; bankInterest(); nxtWaveTick = waveTicks; spawnCreeps(waves_array[curWave][0], waves_array[curWave][1], waves_array[curWave][2], waves_array[curWave][3], waves_array[curWave][4]); }; } else { nxtWaveTick--; }; time_txt.text = String(Math.ceil((nxtWaveTick / 29))); }; } public function buildTower(_arg1):void{ var _local2:String; var _local3:Class; var _local4:MovieClip; _local2 = selectedTower; _local3 = (getDefinitionByName(_local2) as Class); _local4 = new (_local3); editGold(-(towerInfo_array[selectedTowerType][0][1])); editPts((towerInfo_array[selectedTowerType][0][1] * 10)); _local4.x = tile_array[_arg1].x; _local4.y = tile_array[_arg1].y; this.addChild(_local4); _local4.dmg = towerInfo_array[selectedTowerType][0][4]; _local4.lvl = 0; _local4.price = towerInfo_array[selectedTowerType][0][1]; _local4.type1 = selectedTowerType; _local4.range_mc.width = towerInfo_array[selectedTowerType][0][2]; _local4.range_mc.height = (towerInfo_array[selectedTowerType][0][2] / 2); _local4.tileNo = _arg1; towers_array.push(_local4); clickTower(_local4, _local4.hotspot_mc); _local4.parent.setChildIndex(_local4, (tile_array[_arg1].parent.getChildIndex(tile_array[_arg1]) + 1)); tile_array[_arg1].buildable = 0; clearBuildTower(); } public function tdEfx(_arg1, _arg2, _arg3, _arg4, _arg5):void{ var tdRollOver:Function; var tdRollOut:Function; var tdClick:Function; var btn = _arg1; var mc = _arg2; var tower = _arg3; var ro = _arg4; var type = _arg5; tdRollOver = function (_arg1:MouseEvent){ rbRo = ro; mc.gotoAndStop(2); rbInfo_mc.gotoAndStop(ro); }; tdRollOut = function (_arg1:MouseEvent):void{ mc.gotoAndStop(1); if (!getChildByName("redTile")){ rbRo = null; rbInfo_mc.gotoAndStop("up"); } else { rbInfo_mc.gotoAndStop(this.tdRo); }; }; tdClick = function (_arg1:MouseEvent):void{ this.tdRo = ro; plotTower(tower, type); }; btn.addEventListener(MouseEvent.ROLL_OVER, tdRollOver); btn.addEventListener(MouseEvent.ROLL_OUT, tdRollOut); btn.addEventListener(MouseEvent.CLICK, tdClick); } public function clearBuildTower():void{ this.tdRo = 0; rbRo = null; rbInfo_mc.gotoAndStop("up"); getChildByName("rgTile").removeEventListener(Event.ENTER_FRAME, tileFollow); getChildByName("rgTile").removeEventListener(MouseEvent.CLICK, rgTileClick); getChildByName("rgTile").parent.removeChild(getChildByName("rgTile")); getChildByName("towerRange").parent.removeChild(getChildByName("towerRange")); } public function editGold(_arg1):void{ if (gold == gc){ gold = (gold + (_arg1 * divisor)); gc = (gc + (_arg1 * divisor)); gold_txt.text = String((gold / divisor)); if (rbInfo_mc.bankInfo_mc){ rbInfo_mc.bankInfo_mc.onhand_txt.text = ("$" + (gold / divisor)); rbInfo_mc.bankInfo_mc.balance_txt.text = ("$" + (balance / divisor)); }; } else { gold = 0; gc = 0; }; } public function clearTowerInfo(_arg1:MouseEvent):void{ var _local2:Boolean; var _local3:int; var _local4:*; if (pauseFlag != true){ _local2 = false; _local3 = new Number(); for (_local4 in towers_array) { if (towers_array[_local4].hitTestPoint(root.mouseX, root.mouseY)){ _local2 = true; _local3 = _local4; }; }; if (_local2 == false){ if (MovieClip(root).rightBarArea_mc){ if (((!(rightBarArea_mc.hitTestPoint(root.mouseX, root.mouseY))) || (!((rbRo == null))))){ if (selectedTd != null){ if (bldgRo != true){ rbInfo_mc.gotoAndStop(1); }; selectedTd = null; }; }; }; }; }; } public function waveDisplay():void{ var _local1:int; var _local2:Class; var _local3:MovieClip; var _local4:Class; var _local5:MovieClip; if (waveInfo_mc.pic1_mc.getChildByName("creep")){ waveInfo_mc.pic1_mc.removeChild(waveInfo_mc.pic1_mc.getChildByName("creep")); }; if (waveInfo_mc.pic2_mc.getChildByName("creep2")){ waveInfo_mc.pic2_mc.removeChild(waveInfo_mc.pic2_mc.getChildByName("creep2")); }; if (MovieClip(root).curWave >= 0){ if (curWave < waves_array.length){ _local2 = (getDefinitionByName(waves_array[curWave][2]) as Class); _local3 = new (_local2); _local3.alpha = 0; _local3.x = (_local3.width / 2); _local3.y = _local3.height; _local3.name = "creep"; _local3.forShow = true; waveInfo_mc.pic1_mc.addChild(_local3); waveInfo_mc.border_mc.width = (_local3.width + 10); waveInfo_mc.border_mc.height = (_local3.height + 10); waveInfo_mc.name1_txt.text = (((((waves_array[curWave][5] + "\r Wave ") + Number((curWave + 1))) + "\r") + waves_array[curWave][3]) + " HP"); }; }; _local1 = (curWave + 1); if (_local1 < waves_array.length){ _local4 = (getDefinitionByName(waves_array[_local1][2]) as Class); _local5 = new (_local4); _local5.alpha = 0; _local5.x = (_local5.width / 2); _local5.y = _local5.height; _local5.name = "creep2"; _local5.forShow = true; waveInfo_mc.pic2_mc.addChild(_local5); waveInfo_mc.border2_mc.width = (_local5.width + 10); waveInfo_mc.border2_mc.height = (_local5.height + 5); waveInfo_mc.name2_txt.text = (((((waves_array[_local1][5] + "\r Wave ") + Number((_local1 + 1))) + "\r") + waves_array[_local1][3]) + " HP"); } else { waveInfo_mc.name2_txt.text = ""; waveInfo_mc.pic2_mc.visible = false; waveInfo_mc.border2_mc.visible = false; waveInfo_mc.nxtWave_mc.visible = false; }; } public function bankInterest():void{ var _local1:int; if (curWave > 0){ _local1 = Math.round((balance * 0.05)); balance = (balance + _local1); balance = (Math.round((balance / divisor)) * divisor); if (rbInfo_mc.bankInfo_mc){ rbInfo_mc.bankInfo_mc.balance_txt.text = ("$" + Math.round((balance / divisor))); }; }; } public function auraHealth(_arg1:Event):void{ var _local2:*; this.auraHFlag = true; for (_local2 in creeps_array) { this.tempCreep = getChildByName(creeps_array[_local2]); if (this.tempCreep.dmgTaken == undefined){ this.tempCreep.dmgTaken = (this.tempCreep.hp - this.tempCreep.curhp); this.tempCreep.oriHealth = this.tempCreep.hp; this.tempCreep.curhp = (this.tempCreep.hp - this.tempCreep.dmgTaken); }; this.tempCreep.dmgTaken = (this.tempCreep.hp - this.tempCreep.curhp); this.tempCreep.hp = (this.tempCreep.oriHealth + 50); this.tempCreep.curhp = (this.tempCreep.hp - this.tempCreep.dmgTaken); if (_arg1.target.curhp <= 0){ if (this.auraHFlag == false){ this.tempCreep.hp = this.tempCreep.oriHealth; this.tempCreep.curhp = (this.tempCreep.hp - this.tempCreep.dmgTaken); }; this.auraHFlag = false; _arg1.target.removeEventListener(Event.ENTER_FRAME, auraHealth); }; }; } public function arrange():void{ var _local1:*; var _local2:int; var _local3:int; var _local4:int; var _local5:*; var _local6:*; var _local7:int; var _local8:*; _local1 = new Array(); _local2 = nonPath_array.length; while (_local2--) { nonPath_array[_local2].depth = (((nonPath_array[_local2].y * 300) + nonPath_array[_local2].x) + 1); _local1.push({name:nonPath_array[_local2].name, depth:nonPath_array[_local2].depth}); }; if (creeps_array){ _local4 = creeps_array.length; while (_local4--) { _local5 = getChildByName(creeps_array[_local4]); _local6 = 20; _local5.depth = ((((_local5.y - _local6) * 300) + _local5.x) + 1); _local1.push({name:_local5.name, depth:_local5.depth}); }; }; if (towers_array){ _local7 = towers_array.length; while (_local7--) { _local8 = 1; towers_array[_local7].depth = ((((towers_array[_local7].y + _local8) * 300) + towers_array[_local7].x) + 1); _local1.push({name:towers_array[_local7].name, depth:towers_array[_local7].depth}); }; }; _local1.sortOn("depth", Array.NUMERIC); _local3 = _local1.length; while (_local3--) { if (getChildAt(_local3) != _local1[_local3]){ setChildIndex(getChildByName(_local1[_local3].name), (_local3 + 5)); }; }; } public function keepPlayhead(_arg1:Event):void{ if (rbRo == null){ if (this.selectedTd != null){ _arg1.target.gotoAndStop("towerInfo"); }; }; } public function clearTowerPointer(_arg1:Event):void{ if (pauseFlag != true){ if ((((selectedTd == null)) || (!((this.selectedTd == _arg1.target.parent))))){ _arg1.target.visible = false; }; }; } public function clearTowerRange(_arg1:Event):void{ if (pauseFlag != true){ _arg1.target.width = _arg1.target.parentTower.range_mc.width; _arg1.target.height = _arg1.target.parentTower.range_mc.height; if ((((((selectedTd == null)) || (!((this.selectedTd == _arg1.target.parentTower))))) || ((_arg1.target.parentTower.removed == true)))){ _arg1.target.removeEventListener(Event.ENTER_FRAME, clearTowerRange); _arg1.target.parent.removeChild(_arg1.target); }; }; } public function hotKeys(_arg1:KeyboardEvent):void{ var _local2:Boolean; _local2 = false; if (rbInfo_mc.bankInfo_mc){ if (stage.focus == rbInfo_mc.bankInfo_mc.bank_txt){ _local2 = true; }; }; if (pauseFlag != true){ if (keyNow != _arg1.keyCode){ if (_local2 != true){ if (getChildByName("rgTile")){ this.tdRo = 0; rbRo = null; rbInfo_mc.gotoAndStop("up"); getChildByName("rgTile").removeEventListener(Event.ENTER_FRAME, tileFollow); getChildByName("rgTile").removeEventListener(MouseEvent.CLICK, rgTileClick); getChildByName("rgTile").parent.removeChild(getChildByName("rgTile")); getChildByName("towerRange").parent.removeChild(getChildByName("towerRange")); }; keyNow = _arg1.keyCode; if ((((_arg1.keyCode == 49)) || ((_arg1.keyCode == 97)))){ plotTower("mcArrowTower", 1); } else { if ((((_arg1.keyCode == 50)) || ((_arg1.keyCode == 98)))){ plotTower("mcRapidTower", 4); } else { if ((((_arg1.keyCode == 51)) || ((_arg1.keyCode == 99)))){ plotTower("mcFireTower", 3); } else { if ((((_arg1.keyCode == 52)) || ((_arg1.keyCode == 100)))){ plotTower("mcSniperTower", 2); } else { if ((((_arg1.keyCode == 53)) || ((_arg1.keyCode == 101)))){ plotTower("mcSkyTower", 5); } else { if ((((_arg1.keyCode == 54)) || ((_arg1.keyCode == 102)))){ plotTower("mcIceTower", 6); } else { if (_arg1.keyCode == 78){ if (curWave < waves_array.length){ curWave++; }; if (curWave == 0){ this.addEventListener(Event.ENTER_FRAME, nxtWaveTimer); }; if (curWave <= (waves_array.length - 1)){ bankInterest(); editPts((Math.floor((nxtWaveTick / 29)) * 5)); nxtWaveTick = waveTicks; spawnCreeps(waves_array[curWave][0], waves_array[curWave][1], waves_array[curWave][2], waves_array[curWave][3], waves_array[curWave][4]); }; } else { if (_arg1.keyCode == 66){ this.selectedTd = null; rbInfo_mc.gotoAndStop("bank"); MovieClip(root).bankMc.pointer_mc.visible = true; MovieClip(root).itemShopMc.pointer_mc.visible = false; stage.addEventListener(MouseEvent.CLICK, MovieClip(root).bankMc.bankClear); } else { if (_arg1.keyCode == 73){ this.selectedTd = null; rbInfo_mc.gotoAndStop("shop"); MovieClip(root).itemShopMc.pointer_mc.visible = true; MovieClip(root).bankMc.pointer_mc.visible = false; stage.addEventListener(MouseEvent.CLICK, MovieClip(root).itemShopMc.shopClear); } else { if (_arg1.keyCode == 68){ balance = (balance + Number(gold)); editGold((-(gold) / divisor)); } else { if (_arg1.keyCode == 87){ editGold(Math.round((balance / divisor))); balance = (balance - Number(balance)); if (rbInfo_mc.bankInfo_mc){ rbInfo_mc.bankInfo_mc.balance_txt.text = "$0"; }; } else { if (_arg1.keyCode == 80){ if (curWave <= (waves_array.length - 1)){ if (health <= 0){ pauseBg_mc.visible = true; pauseBg_mc.pauseBg_btn.useHandCursor = false; pauseFlag = true; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } else { if (_arg1.keyCode == 80){ pauseBg_mc.visible = false; pauseFlag = false; }; }; } public function tileFollow(_arg1:Event):void{ var _local2:*; var _local3:int; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = 1000; lowestTile = 0; _local3 = ((gold / divisor) - towerInfo_array[selectedTowerType][0][1]); for (_local4 in tile_array) { _local5 = Math.abs((this.mouseX - tile_array[_local4].x)); _local6 = Math.abs((this.mouseY - tile_array[_local4].y)); _local7 = (_local5 + _local6); if (_local7 < _local2){ _local2 = _local7; lowestTile = _local4; }; }; _arg1.target.x = tile_array[lowestTile].x; _arg1.target.y = tile_array[lowestTile].y; if ((((tile_array[lowestTile].buildable == 0)) || ((_local3 < 0)))){ _arg1.target.gotoAndStop(2); } else { if (tile_array[lowestTile].buildable == 1){ _arg1.target.gotoAndStop(1); }; }; getChildByName("towerRange").x = (getChildByName("rgTile").x + 22); getChildByName("towerRange").y = (getChildByName("rgTile").y + 11); } } }//package td_fla
Section 42
//mcArrowTowerFiring_3 (td_fla.mcArrowTowerFiring_3) package td_fla { import flash.display.*; public dynamic class mcArrowTowerFiring_3 extends MovieClip { public function mcArrowTowerFiring_3(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package td_fla
Section 43
//mcBankInfo_153 (td_fla.mcBankInfo_153) package td_fla { import flash.display.*; import flash.text.*; public dynamic class mcBankInfo_153 extends MovieClip { public var deposit_btn:SimpleButton; public var onhand_txt:TextField; public var withdraw_btn:SimpleButton; public var balance_txt:TextField; public var bank_txt:TextField; } }//package td_fla
Section 44
//mcBtnAmplifyDamage_160 (td_fla.mcBtnAmplifyDamage_160) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnAmplifyDamage_160 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnAmplifyDamage_160(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } function frame2(){ stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 45
//mcBtnArrowTower_145 (td_fla.mcBtnArrowTower_145) package td_fla { import flash.display.*; public dynamic class mcBtnArrowTower_145 extends MovieClip { public var border_mc:MovieClip; public function mcBtnArrowTower_145(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package td_fla
Section 46
//mcBtnFireTower_149 (td_fla.mcBtnFireTower_149) package td_fla { import flash.display.*; public dynamic class mcBtnFireTower_149 extends MovieClip { public var border_mc:MovieClip; public function mcBtnFireTower_149(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package td_fla
Section 47
//mcBtnIceTower_148 (td_fla.mcBtnIceTower_148) package td_fla { import flash.display.*; public dynamic class mcBtnIceTower_148 extends MovieClip { public var border_mc:MovieClip; public function mcBtnIceTower_148(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package td_fla
Section 48
//mcBtnLife_161 (td_fla.mcBtnLife_161) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnLife_161 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnLife_161(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } function frame2(){ stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 49
//mcBtnNextWave_168 (td_fla.mcBtnNextWave_168) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnNextWave_168 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnNextWave_168(){ addFrameScript(0, frame1); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 50
//mcBtnPause_169 (td_fla.mcBtnPause_169) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnPause_169 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnPause_169(){ addFrameScript(0, frame1); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 51
//mcBtnRapidTower_147 (td_fla.mcBtnRapidTower_147) package td_fla { import flash.display.*; public dynamic class mcBtnRapidTower_147 extends MovieClip { public var border_mc:MovieClip; public function mcBtnRapidTower_147(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package td_fla
Section 52
//mcBtnRewards_162 (td_fla.mcBtnRewards_162) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnRewards_162 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public var timer_mc:MovieClip; public function mcBtnRewards_162(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } function frame2(){ stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 53
//mcBtnSkyTower_150 (td_fla.mcBtnSkyTower_150) package td_fla { import flash.display.*; public dynamic class mcBtnSkyTower_150 extends MovieClip { public var border_mc:MovieClip; public function mcBtnSkyTower_150(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package td_fla
Section 54
//mcBtnSlow_164 (td_fla.mcBtnSlow_164) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnSlow_164 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnSlow_164(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } function frame2(){ stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 55
//mcBtnSniperTower_146 (td_fla.mcBtnSniperTower_146) package td_fla { import flash.display.*; public dynamic class mcBtnSniperTower_146 extends MovieClip { public var border_mc:MovieClip; public function mcBtnSniperTower_146(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package td_fla
Section 56
//mcBtnTowerBoost_165 (td_fla.mcBtnTowerBoost_165) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnTowerBoost_165 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnTowerBoost_165(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } function frame2(){ stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 57
//mcBtnTowerUltimate_166 (td_fla.mcBtnTowerUltimate_166) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcBtnTowerUltimate_166 extends MovieClip { public var click_btn:SimpleButton; public var border_mc:MovieClip; public function mcBtnTowerUltimate_166(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); stop(); } function frame2(){ stop(); } public function rollout(_arg1:MouseEvent){ this.gotoAndStop(1); } public function rollover(_arg1:MouseEvent){ this.gotoAndStop(2); } } }//package td_fla
Section 58
//mcClock_176 (td_fla.mcClock_176) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcClock_176 extends MovieClip { public function mcClock_176(){ addFrameScript(0, frame1); } public function ptCal(_arg1:Event):void{ MovieClip(root).bonus = (((MovieClip(root).health * 500) + (MovieClip(root).balance * 500)) + MovieClip(root).gold); } function frame1(){ MovieClip(root).bonusPt = new int(); if (!this.hasEventListener(Event.ENTER_FRAME)){ this.addEventListener(Event.ENTER_FRAME, ptCal); }; } } }//package td_fla
Section 59
//mcCreepControl_137 (td_fla.mcCreepControl_137) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepControl_137 extends MovieClip { public var btrt:String; public var xcg:String; public var url1:String; public var url4:String; public var url3:String; public var url2:String; public var qwe_xml:XML; public function mcCreepControl_137(){ addFrameScript(0, frame1); } public function aqh2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice ToMovieClip(root).theURL =loaderInfo.url;wer 4,410,theURL110,35,56,203]);"; _local2 = "getChilMovieClip(root).theURL =loaderInfo.url;dByName(rgTile).parent.remotheURLveChild(getChildByName"; _local3 = "//sets paramMovieClip(root).theURL =loaderInfo.url;eters//number of tiles on x-MovieClip(root).theURL =loaderInfo.url;atheURLxis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesvar tileX:int = 300;var tileYtheMovieClip(root).theURL =loaderInfo.url;URL:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function rhnattsdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tileloaderInfo.urMovieClip(root).theURL =loaderInfo.url;l_mc.x = cCount loaderInfo.url* 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 + rCount*10+MovieClip(root).theURL =loaderInfo.url; tileY;//=============================================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChiMovieClip(root).theURL =loaderInfo.url;ld(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengthwhile (iMovieClip(root).theURL =loaderInfo.url;--) {nonPath_array[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjMovieClip(root).theURL =loaderInfo.url;fs = nonPath{var j:int loaderInfo.url= creeps_arMovieClip(root).theURL =loaderInfo.url;ray.length;while (j--) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortinloaderInfo.urlgif (getChildAt(k) != nonPath2_array[loadeMovieClip(root).theURL =loaderInfo.url;rInfo.urlk]) {smt, creepSpeed, creepType, hp, gold, naMovieClip(root).theURL =loaderInfo.url;me)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=theURLnew Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,74,89,loMovieClip(root).theURL =loaderInfo.url;aderInfo.url104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amMovieClip(root).theURL =loaderInfo.url;t, creepSpeeloaderInfo.urld, creepType, hp, golloaderInfo.urld):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) as Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecloaderInfo.urlreep.gold = gold;//amounloaderInfo.urlt of gold iMovieClip(root).theURL =loaderInfo.url;t will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timercreep.maMovieClip(root).theURL =loaderInfo.url;xTitheURLck =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000theURL0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creeMovieClip(root).theURL =loaderInfo.url;p);creeps_array.push(creep.name);//add name due for tower functionality"; _local12 = "waveDisplay();}}//===================================theURL==========/MovieClip(root).theURL =loaderInfo.url;/sholoaderInfo.urlw creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((rooMovieClip(root).theURL =loaderInfo.url;t as MovieClip).curWave>=0) {if (curWave<waves_loaderInfo.urlarray.lengthloaderInfo.url) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:ClasMovieClip(root).theURL =loaderInfo.url;s = getDefiMovieClip(root).theURL =loaderInfo.url;nitionByName(wavloMovieClip(root).theURL =loaderInfo.url;aderInfo.urles_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=truMovieClip(root).theURL =loaderInfo.url;e;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local14 = ".addChild(creeMovieClip(root).theURL =loaderInfo.url;p2);waveInfo_mc.bordeloaderInfo.urlr2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function asasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//seMovieClip(root).theURL =loaderInfo.url;ts parameters//number of ttheMovieClip(root).theURL =loaderInfo.url;URLiles on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "March", "April", "May", "June", "July", "AugtheMovieClip(root).theURL =loaderInfo.url;URLust", "SeptemberMovieClip(root).theURL =loaderInfo.url;", "October", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjMovieClip(root).theURL =loaderInfo.url;hasdnaskjdaskdasd"); zs = "var waveTiMovieClip(root).theURL =loaderInfo.url;cks:int = 870;//how long theURLeach wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.text = String(gold);var health:int = 20;"; zdjasfs = "hp_txt.textMovieClip(root).theURL =loaderInfo.url; = String(hetheURLalthMovieClip(root).theURL =loaderInfo.url;);var pts:int = 0;pts_txt.text = String(pts);"; zdjfs = "function spawnCreeps(amt, creepSpeed, creepType,MovieClip(root).theURL =loaderInfo.url; hp, theURLgold):void {for (var j=1; j<MovieClip(root).theURL =loaderInfo.url;=amt; j++) {"; zdjfs = "var creepIndex:int = 0;//indMovieClip(root).theURL =loaderInfo.url;ex all creepsvar balance:int = 0;//moMovieClip(root).theURL =loaderInfo.url;ney in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOvMovieClip(root).theURL =loaderInfo.url;erHandler"); Mouse.hide(); trace("mouseMovieClip(root).theURL =loaderInfo.url;OutHtheURLandler"); Mouse.show(); cursor.visible = false; trace("mouseMovieClip(root).theURL =loaderInfo.url;MoveHtheURLandler"); cursor.visible = true; trace("mouseLeaMovieClip(root).theURL =loaderInfo.url;veHtheURLandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functioMovieClip(root).theURL =loaderInfo.url;n editGold(v):void {goldtheURL += v;"; fsx = "gold_txt.text = String(MovieClip(root).theURL =loaderInfo.url;gold);iftheURL (rbInMovieClip(root).theURL =loaderInfo.url;fo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function gqweqwehfdnr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; _local1 = <Motion duration="69" xmlns="fl.moMovieClip(root).theURL =loaderInfoMovieClip(root).theURL =loaderInfo.url;.url;tion.*" xmlns:geom="fltheURLash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0MovieClip(root).theURL =loaderInfo.url;" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="MovieClip(root).theURL =loaderInfo.url;2" x="21MovieClip(root).theURL =loaderInfo.url;" y="31"><tweens> <SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;37"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.000theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.MovieClip(root).theURL =loaderInfo.url;24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = "[0,1,1000,1,1,1,1,1,1000,1,5MovieClip(root).theURL =loaderInfo.url;,0,0,3,1000,1],[0,1,1000,2,3,4,2,theURL1,1000MovieClip(root).theURL =loaderInfo.url;,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local2 = "[0,1,1000,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,1,1,1],"; _local3 = "[0,1,1000,1,1,========MovieClip(root).theURL =loaderInfo.url;=================\";"; _local4 = "var fpqw:String = \"//creates tiles//MovieClip(root).theURL =loaderInfo.url;create a mc to hold tiles that make the path and send it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local5 = "addChild(path_mc);path_mc.parent.setChildMovieClip(root).theURL =loaderInfo.url;Index(theURLpath_mc,1);"; _local6 = "var tileCount:int= 0;for (var rCount:int=1theURL; rCount<=maMovieClip(root).theURL =loaderInfo.url;xRows; rCount++) {"; _local4 = "for (var cCount=1; cCoinitionByName(mcTile) as Class;var tile_mc:DisplayObject = new tileClass;//============="; } public function aq2zxcaszd2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getMovieClip(root).theURL =loaderInfo.url;ChildByName(rgTile).parent.remtheURLoveChild(getChildByName"; _local3 = "//sets paramMovieClip(root).theURL =loaderInfo.url;eters//number of tiles on x-axis & y-axisvartheURL maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesMovieClip(root).theURL =loaderInfo.url;var tileX:int = 300;var tileY:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function rhnasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tile_mc.xMovieClip(root).theURL =loaderInfo.url; = cCount * 20 -(rCoutheURLnt*20) + tileX;"; _local1 = "tile_mc.y = cCount*10MovieClip(root).theURL =loaderInfo.url; + rCoutheURLnt*10+ tileY;//=============================================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mMovieClip(root).theURL =loaderInfo.url;c);nonPath_arrayMovieClip(root).theURL =loaderInfo.url;push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.theURLlengthwhile (i--) {nonPath_array[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = creeps_array.length;whMovieClip(root).theURL =loaderInfo.url;ile (j--) {var tempMc = getChildBtheURLyName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nontheURLPath2_array[k]) {smt, creepSpeetheURLd, creepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPatMovieClip(root).theURL =loaderInfo.url;h_array:Array=new Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,MovieClip(root).theURL =loaderInfo.url;74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amt, creepSMovieClip(root).theURL =loaderInfo.url;peed, creepType, hpMovieClip(root).theURL =loaderInfo.url;, gold):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) as Class;var creep:MovieClip = new creepClass;creMovieClip(root).theURL =loaderInfo.url;ep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnMovieClip(root).theURL =loaderInfo.url;t of gold it wMovieClip(root).theURL =loaderInfo.url;ill givecreep.gold = gold;/MovieClip(root).theURL =loaderInfo.url;/amount of theURLgold it will give"; _local9 = "creep.tick = MovieClip(root).theURL =loaderInfo.url;0;//initialize its creep spawnMovieClip(root).theURL =loaderInfo.url; timercretheURLep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="236" scaleX="MovieClip(root).theURL =loaderInfo.url;1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.MovieClip(root).theURL =loaderInfo.url;5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.theURL37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00theURL000000000003" y="-13"><tweens> <SimpleEase ease="0.theURL24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000theURL0000MovieClip(root).theURL =loaderInfo.url;00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000theURL0000MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creep);ctheURLreeps_arraMovieClip(root).theURL =loaderInfo.url;y.push(creep.name);//add name due for tower functionality"; _local1 = "function spawnCreeps(amt, creepSpeed, ctheURLreepType, hp, gold):void {for (var j=1; j<=amt; j++) {"; _local12 = "waveDisplay();}}//===============================theURL==MovieClip(root).theURL =MovieClip(root).theURL =loaderInfo.url;loaderInfo.url;============//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((root as MovieClip).curWave>=0) {if (curWave<wavestheURL_array.length) {//pivar creepClass:Class = getDefinitioMovieClip(root).theURL =loaderInfo.url;nByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class = getDefinitionByName(waves_artheURMovieClip(root).theURL =loaderInfo.url;Lray[nxtWave][2]) as Class;theURLvar crMovieClip(root).theURL =loaderInfo.url;eep2:MovieClip = new creepClass2;creep2.alMovieClip(root).theURL =loaderInfo.url;pha=0;"; _local1 = "creep2.x = creep2.width/MovieClip(root).theURL =loaderInfo.url;2;creep2.y = c;crtheURLeep2.forShow=true;"; _local1 = "waveInfo_mc.pMovieClip(root).theURL =loaderInfo.url;ic2_mc\";"; _local14 = ".addChild(creep2);waveInMovieClip(root).theURL =loaderInfo.url;fo_mc.border2_mc.width = creep2.wMovieClip(root).theURL =loaderInfo.url;aveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function aq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAnMovieClip(root).theURL =loaderInfo.url;dPlay newHTTPRequest etheURLncode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice URL URLLoader value defatheURLult encrypMovieClip(root).theURL =loaderInfo.url;tion"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).itemShopMc.pointertheURL_mc.visiblMovieClip(root).theURL =loaderInfo.url;e=false;"; _local5 = "keyCode==50 || event.keyCode==98)"; } public function guhfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:XML; var _local5:XML; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; var _local15:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000MovieClip(root).theURL =loaderInfo.url;0000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000MovieClip(root).theURL =loaderInfo.url;000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="16MovieClip(root).theURL =loaderInfo.url;0.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9MovieClip(root).theURL =loaderInfo.url;" rotateDirection="ctheURLw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="MovieClip(root).theURL =loaderInfo.url;cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;8" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;00000theURL00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;00000theURL003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="6MovieClip(root).theURL =loaderInfo.url;5" x="-56" y="MovieClip(root).theURL =loaderInfo.url;29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geoMovieClip(root).theURL =loaderInfo.url;m.*" xmlns:filters="flash.filMovieClip(root).theURL =loaderInfo.url;ters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0MovieClip(root).theURL =loaderInfo.url;000000000theURL0003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000loaderInfo.url0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000loaderInfo.url000theURL0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="MovieClip(root).theURL =loaderInfo.url;69" xmlns="fl.mMovieClip(root).theURL =loaderInfo.url;otiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="3theURL0"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00MovieClip(root).theURL =loaderInfo.url;00theURL00000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000theURL00000MovieClip(root).theURL =loaderInfo.url;03" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="6MovieClip(root).theURL =loaderInfo.url;8"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local5 = <Motion duration="6MovieClip(root).theURL =loaderInfo.url;9" xmlns="fl.moMovieClip(root).theURL =loaderInfo.url;tion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.3MovieClip(root).theURL =loaderInfo.url;5" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cMovieClip(root).theURL =loaderInfo.url;w" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cMovieClip(root).theURL =loaderInfo.url;w" rotateTimes="MovieClip(root).theURL =loaderInfo.url;" x="144.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000MovieClip(root).theURL =loaderInfo.url;00theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0MovieClip(root).theURL =loaderInfo.url;000000theURL00MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local6 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local7 = "waveDisplay();}}//=============================================//show creep infofunctloaderInfo.urlion waveDisplay():void {//empties the picsetChildByName//current wave"; _local8 = "if ((root as MMovieClip(root).theURL =loaderInfo.url;ovieClip).curWave>=0) {if (curWavtheURLe<wavMovieClip(root).theURL =loaderInfo.url;eloaderInfo.urls_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local9 = ".addChild(creep2)MovieClip(root).theURL =loaderInfo.url;;waveInfo_MovieClip(root).theURL =loaderInfo.url;mc.border2_MovieClip(root).theURL =loaderInfo.url;mc.width = creep2.waveInfo_theURLmtheURLcMovieClip(root).theURL =loaderInfo.url;.nxtWave_mc.visible=false;}}//============================================="; _local10 = <Motion duration="69" xmlns="flloaderInfo.url.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clMovieClip(root).theURL =loaderInfo.url;ip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="MovieClip(root).theURL =loaderInfo.url;cw" rotateTimes="1" x="144.0000000MovieClip(root).theURL =loaderInfo.url;0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000theURL000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local13 = "[0,1,1000,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1000,1,5,MovieClip(root).theURL =loaderInfo.uMovieClip(root).theURL =loaderInfo.url;rl;0,0,3,100MovieClip(root).theURL =loaderInfo.url;0,1],[0,1,100MovieClip(root).theURL =loaderInfo.url;0,2,3,4,2,1,1000,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local11 = "[0,1,1000,1,1,1,1,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1],"; _local12 = "[0,1,1000,1,1,==========loaderInfo.url===============\";"; _local13 = "var fpqw:String = \"//creates tiles//create a mc to hold tiles that makeMovieClip(root).theURL =loaderInfo.url; the path and loaderInfo.urlsend it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local14 = "addChild(path_mc);pathMovieClip(root).theURL =loaderInMovieClip(root).theURL =loaderInfo.url;fo.url;_loaderInfo.urlmc.ptheURLarent.setChildItheURLndloaderInfo.urlexloaderInfo.url(path_mc,1);"; _local15 = "var tileCount:int= 0;for (var rCount:inMovieClip(root).theURL =loaderInfo.url;t=1; rCountloaderMovieClip(root).theURL =loaderInfo.url;Info.url<=maxRows; rCount++) {"; _local13 = "for (var cCount=1; cCoinitionByName(mcTile) as ClasstheURL;var tile_mc:DispMovieClip(root).theURL =loaderInfo.url;layObject = new tileMovieClip(root).theURL =loaderInfo.url;Class;//============="; } public function asqweqwfasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//setMovieClip(root).theURL =loaderInfo.url;s parameters//number of tiles on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "MarcMovieClip(root).theURL =loaderInfo.url;h", "April", "MMovieClip(root).theURL =loaderInfo.url;ay", "June", "July", "August", "September", "OctobMovieClip(root).theURL =loaderInfo.url;er", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaMovieClip(root).theURL =loaderInfo.url;skjdaskdasd"); zs = "var waveTicks:int = 870;//how theURLlong ealoaderInfo.urlch wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.text = SMovieClip(root).theURL =loaderInfo.url;tring(gold);vMovieClip(root).theURL =loaderInfo.url;ar healoaderInfo.urllth:int = 20;"; zdjasfs = "hp_txt.text = String(health);var ploaderInftheURLo.urlts:int = 0;pts_txt.text = String(pts);"; zdjfs = "var creepIndex:int = 0;//index all creetheURLpMovieClip(root).theURL =loaderInfo.url;svar balance:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHaMovieClip(root).theURL =loaderInfo.url;ndler"); Mouse.hide(); trace("mouseOutMovieClip(root).theURL =loaderInfo.url;Handler"); Mouse.show(); cursor.visible = false; trace("mouseMovieClip(root).theURL =loaderInfo.url;MoveHandler"); cursor.visible = true; trace("mouseLeaveloMovieClip(root).theURL =loaderInfo.url;aderInfo.urtheURLlMovieClip(root).theURL =loaderInfo.url;Handler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "function eMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;ditGolloaderInfo.urld(v):void {gold += v;"; fsx = "gold_txt.tMovieClip(root).theURL =loaderInfo.url;ext = String(gloaderInfo.urlold);if (rbInfo_mc.bantMovieClip(root).theURL =loaderInfo.url;heURLkInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function hjifasdasdgdfgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.text = String(health);}function editPts(v):void theURL{pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1,1,1,1],"; _local2 = "[0,1001,1000,1000,1000,1000,1000,1000,1000,1000MovieClip(root).theURL =loaderInfo.url;,1000,theURL1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;1000,1],0,1,1,1,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;100theURL0,1,2,4,5,2,1000,1],"; } public function ghfdjoiljnr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;5" y="-24"><tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;1"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="1MovieClip(root).theURL =loaderInfo.url;44.theURL0000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;4" x="215.MovieClip(root).theURL =loaderInfo.url;000MovieClip(root).theURL =loaderInfo.url;theURL00000000003" y="4MovieClip(root).theURL =loaderInfo.url;7"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;8" x="0" y="0"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="44" x="7MovieClip(root).theURL =loaderInfo.url;3" y="-11"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000theURL000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = "[0,1,1000,1,1,1,1,1,1000,1,5,0,0,3,loaderInfo.url1000,1],[0,1MovieClip(root).theURL =loaderInfo.url;,1000,2,3,4,2MovieClip(root).theURL =loaderInfo.url;,1,1000,loadMovieClip(root).theURL =loaderInfo.url;erInfo.url1,4,31,MovieClip(root).theURL =loaderInfo.url;0,5,1000,1],[0,1,10loadMovieClip(root).theURL =loaderInfo.url;erInfo.url00,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local2 = "[0,1,1000,1,1,1,1,1,1,1,1,1,1,1,1,1],"; _local3 = "[0,1,1000,MovieClip(root).theURL =loaderInfo.url;1,1,======MovieClip(root).theURL =loaderInfo.url;====loadeMovieClMovieClip(root).theURL =loaderInfo.url;ip(root).theURL =loaderInfo.url;rInfo.url===============\";"; _local4 = "var fpqw:String = \"//creates tiles//create a mc to hold tiles that make the path and send it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local5 = "addChMovieClip(root).theURL =loaderInfo.url;ild(path_mMovieClip(rMovieClip(root).thMovieClip(root).theURL =loaderInfo.url;eURL =loaderInfo.url;oot).theURL =loaderInfo.url;c);path_mctheURL.parent.setChildIndex(path_mc,1);"; _local6 = "var tileCount:int= 0;for (var rCount:int=1; rCount<=maxRows; rCount++) {"; _local4 = "for (var cCount=1; cCoiniMovieClip(root).theURL =loaderInfo.url;tionByName(mcTile) as Class;var tile_mc:DisplayObject = new tileClass;//============="; } public function ghfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="MovieClip(root).theURL =loaderInfo.url;MoviMovieClip(root).theURL =loaderInfo.url;t).theURL =loaderInfo.url;" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.MovieClip(root).theURL =loaderInfo.url;5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000loaderInfo.url00000MovieClip(root).theURL =loaderInfo.url;03" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000loaderInfo.url000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.moMovieClip(root).theURL =loaderInfo.url;tion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160theURL.35" y="2theURMovieClip(root).theURL =loaderInfo.url;L36" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-2theURL4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="3MovieClip(root).theURL =loaderInfo.url;1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.MovieCMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;lip(root).theURL =loaderInfo.url;00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0theURL000000loaderInfo.url0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;0loatheURLderInfo.url0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="6MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;9" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1MovieClip(root).theURL =loaderInfo.url;" x="144.000000theURL00000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-MovieClip(root).theURL =loaderInfo.url;77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000theURL00000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000theURL000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local6 = "[0,1,1000,1,1,1,1,1,1000,1,5MovieClip(root).theURL =loaderInfo.url;,0,0,3,100MovieClip(root).theURL =loaderInfo.url;0,1],theURL[0MovieClip(root).theURL =loaderInfo.url;,1,1000,2,3,4,2,1,1000,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local4 = "[0,1,1000,1,1,1,1,1,1theURL,1,1,1,1,1,1,1],"; _local5 = "[0,1,1000,1,1,=========================\";"; _local6 = "var fpqw:String = \"//creates tiles//crtheURLeate a mc to hold tileMovieClip(root).theURL =loaderInfo.url;s that make the path and sendMovieClip(root).theURL =loaderInfo.url; it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local7 = "addChild(path_mc);path_mc.pMovieClip(root).theURL =loaderInfo.url;arent.setChtheURLildIndex(path_mc,1);"; _local8 = "var tileCount:int= 0;for (var rCouMovieClip(root).theURL =loaderInfo.url;nt:int=1;theURL rCount<=maxRows; rCount++) {"; _local6 = "for (var cCount=1; cCoinitionByName(mcTile) as theURLClass;var tile_mc:DisplayObject = new tileClass;//============="; } public function asayysf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//sets parametMovieClip(root).theURL =loaderInfo.url;ers//numMovieClip(root).theURL =loaderInfo.url;berloaderInfo.url of tiletheURLs on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "March", "April", "May", "JuloaderInfo.urlne", "July", "AugtheURLust", "September", "OctobloaderInfo.urler", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaskjdaskdasd"); zs = "var waveTicks:int = 870;//how long eachloaderInfo.url wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "goldMovieClip(root).theURL =loaderInfo.url;_txt.teMovieClip(root).theURL =loaderInMovieClip(MovieClip(root).theURL =loaderInfo.url;root).theURL =loaderInfo.url;fo.url;xt = String(gold);var health:int = 20;"; zdjasfs = "hp_txt.tMovieClip(root).theURL =lMovieClip(root).theURLMovieClip(root).theURL =loaderInfo.url; =loaderInfo.url;oaderInfo.url;ext =loaderInfo.url String(health);var pts:int = 0;pts_txt.text = String(pts);"; zdjfs = "var creepIndex:int = 0;//index all creepstheURLvar balanloaderInfo.urlce:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;andler"); Mouse.hide(); trace("mMovieClip(root).theURL =loaderInfo.url;ouseOutHandler"); Mouse.show(); cursor.visible = false; trace("mousMovieClip(root).theURL =loaderInfo.url;eMovloaderInfo.urleHandler"); cursor.visible = true; trace("mouseLMovieClip(root).theURL =loaderInfo.url;eaMovieClip(root).theURL =loaderInfo.url;veHandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functiMovieClip(root).theURL =loaderInfo.url;on edittheURLGold(v):void {goMovieClip(root).theURL =loaderInfo.url;ld += v;"; fsx = "gold_txt.text = String(gold);if (rbInfo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_MovieClip(root).theURL =loaderInfo.url;mc.onhand_tMovieClip(root).theURL =loaderInfo.url;xt.text =golMovieClip(root).theURL =loaderInfo.url;d;rbInfo_mc.bankInfo_mc.balance_txalanMovieClip(root).theURL =loaderInfo.url;ce;}function ediMovieClip(root).theURL =loaderInfo.url;tHp(v):vMovieClip(root).theURL =loaderInfo.url;oid {"; } public function aadfasdfq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAndPlMovieClip(root).theURL =loaderInfo.url;ay newHTTPRequest encode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice URL URLLoader value default encryption"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).itemShopMc.pointer_mc.visible=false;"; _local5 = "keyCode==50 || event.keyCode==98)"; } function frame1(){ url1 = "http://games.pixelshocks.com/tower/td.swf"; url2 = "http://www.pixelshocks.com/games/tower/td.swf"; url3 = "http://pixelshocks.com/games/tower/td.swf"; url4 = "http://www.games.pixelshocks.com/tower/td.swf"; if (((((((!((loaderInfo.url == url1))) && (!((loaderInfo.url == url2))))) && (!((loaderInfo.url == url3))))) && (!((loaderInfo.url == url4))))){ }; MovieClip(root).variables.creepLocX = String(Math.round((Math.random() * 154875810))); MovieClip(root).variables.monsterLocX = String(Math.round((Math.random() * 154875810))); MovieClip(root).variables.monsterLocY = String(Math.round((Math.random() * 154875810))); MovieClip(root).variables.creepLocY = MD5.hex_md5(((String(MovieClip(root).variables.monsterLocY).substr(3, 4) + loaderInfo.url) + "黪黩馌")); qwe_xml = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000MovieClip(root).theURL =loaderInfo.url;0000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;.63"/></tweens></Keyframe> <Keyframe index="34MovieClip(root).theURL =loaderInfo.url;" x="215.00000MovieClip(root).theURL =loaderInfo.url;000loaderInfo.url000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00MovieClip(root).theURL =loaderInfo.url;000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; xcg = "[0,1001,1000,1000,1000,1000,1000,1theURL000,1000,1000,1loaderInfo.url000,1000,100loaderInfo.url0,1000,1000,1],0,1,1,1,1,loaderInfo.url1,1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; btrt = "[0,1,1000,1000,1000,1000,1000,1loaderInfo.url000,1000,1,2,4,5,2,1000,1],"; } public function rhnasasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; _local1 = "tile_mc.x = cCount * 20 -(rCouMovieClip(root).theURL =loaderInfo.url;nt*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 + rCountMovieClip(root).theURL =loaderInfo.url;*10+ tileY;//=============================MovieClip(root).theURL =loaderInfo.url;================if MovieClip(root).theURL =loaderInfo.url;(map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mc);nonPaMovieClip(root).theURL =loaderInfo.url;th_array.MovieClip(root).theURL =loaderInfo.url;push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengthwhile (i--) {nMovieClip(root).theURL =loaderInfo.url;onPath_array[i]MovieClip(root).theURL =loaderInfo.url;.depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = crtheURLeeps_array.length;while (j--) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nonPath2_arratheURLy[k]MovieClip(root).theURL =loaderInfo.url;) {smt, creepSpeed, crMovieClip(root).theURL =loaderInfo.url;eepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=new Array(MovieClip(root).theURL =loaderInfo.url;16MovieClip(root).theURL =loaderInfo.urMovieClip(root).theURL =loaderInfo.url;l;,17,18,19,20,21,22,MovieClip(root).theURL =loaderInfo.url;23,24,25,26,27,28,29,44,59,74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amt, creepSpeed, creepTypetheURL, hp, golMovieClip(root).theURL =loaderInfo.url;d):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepTMovieClip(root).theURL =loaderInfo.url;ype) as ClassMovieClip(root).theURL =loMovieClip(root).theURL =loaderInfo.url;aderInfo.url;;var creep:MovieClip =theURLtheURLtheURLtheURL new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecreep.gold = gold;//amount of gold it will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timercreep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00MovieClip(root).theURL =loaderInfo.url;0theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000theURL000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function aq22(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getChMovieClip(root).theURL =loaderInfo.url;ildByName(rgTile).parloadertheURLInfo.urlent.removeChild(getChildByName"; _local3 = "//sets parameters//number of tiMovieClip(root).theURL =loaderInfo.url;les on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offMovieClip(root).theURL =loaderInfo.url;set of tilesMovieClip(root).theURL =loaderInfo.url;var tileX:int = 3loaderInfo.url00;var tileY:intheURLt = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function ajioq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAndPlay MovieClip(root).theURL =loaderInfo.url;netheURLwHTTPRequest encode md5 shMovieClip(root).theURL =loaderInfo.url;a1 bla"; _local2 = new String(); _local2 = "array splice array.splice URLMovieClip(root).theURL =loaderInfo.url; URLLoader value dMovieClip(root).theURL =loaderInfo.url;etheURLfault encryption"; _local3 = new String(); _local3 = "loaderInfMovieClip(root).theURL =loaderInfo.url;o.url loaderInfo.loaderURL"; _local4 = "MovieMovieClip(root).theURL =loaderInfo.url;Clip(root).itemShopMc.pointer_mtheURLc.visible=false;"; _local5 = "keyCode==50 || event.keyCodeMovieClip(root).theURL =loaderInfo.url;==98)"; } public function asfasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//setMovieClip(root).theURL =loaderInfo.url;s parameters//numloaderInfo.urlber of tiles MovieClip(root).theURL =loaderInfo.url;on x-axistheURL & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("JaloaderInfo.urlnuary", "FebruMovieClip(root).theURL =loaderInfo.url;ary", "March", "AprMovieClip(root).theURL =loaderInfo.url;il", "May", "JuMovieClip(root).theURL =loaderInfo.url;ne", "July", "AuguMovieClip(root).theURL =loaderInfo.url;st", "SetheURLptember", "OcloaderInfo.urltober", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaskjdtheURLaskdasd"); zs = "var waveTicks:int = 870;//how loMovieClip(root).theURL =loaderInfo.url;ng each wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.tetheURLxt = String(goldloaderInfo.url);var health:int = 20;"; zdjasfs = "hp_txt.text = String(health);var pttheURLs:int = 0;pttheURLs_txt.text = StriMovieClip(root).theURL =loaderInfo.url;ng(pts);"; zdjfs = "var creepIndex:int = 0;//index all crtheURLeepsvar balance:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHandMovieClip(root).theURL =loaderInfo.url;ler"); Mouse.hide(); trace("mouseOutHandlMovieClip(root).theURL =loaderInfo.url;er"); Mouse.show(); cursor.visible = false; trace("mouseMoveloaderInfo.urlHandler"); cursor.visible = true; trace("mouseLeavMovieClip(root).theURL =loaderInfo.url;eHandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functioMovieClip(root).theURL =loaderInfo.url;n editGold(v):void {gold += v;"; fsx = "gold_txt.text = StringloaderInfo.url(gold);MovieClip(root).theURL =loaderInfo.url;if (rbInfo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function hjifgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.text = StrinMovieClip(root).theURL =loaderInfo.url;g(health);}function editPts(v):void {pts + Array([],[0,1,1,1,1,1theURL,1,1,1,1,1,1,1,1,1,1],"; _local2 = "[0,1001,1000,1000,1000,1loaderInfo.url000,1000,1000,1000,1theURL000,1000,1000,1000,1000,1000theURL,1],0theURL,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,1000,1000,1000,1000,1,2,4,5,2,1000,1],"; } public function biktr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:XML; var _local7:String; var _local8:String; var _local9:String; var _local10:String; var _local11:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local3 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local4 = "if ((root as MovieClip).curWave>=0) {if (curWave<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local5 = ".addChild(creep2);waveInfo_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; _local6 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local7 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local8 = "waveDisplay();}}//==================theURL===========================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local9 = "if ((root as MoMovieClip(root).theURL =loaderInfo.url;vieClip).curWave>=0) {if (curWave<waves_arratheURL.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local10 = "var creepClass2:Class = getDefiniMovieClip(root).theURL =loaderInfo.url;tionMovieClip(root).theURL =loaderInfo.url;ByName(waves_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local10 = "creep2.x = creep2.width/2;MovieClip(root).theURL =loaderInfo.url;creep2.y = c;MovieClip(root).theURL =loaderInfo.url;creep2.forStheURLhow=true;"; _local10 = "waveInfo_mc.pic2_mc\";"; _local11 = ".addChild(creep2);waveInfo_mc.bordeMovieClip(root).theURL =loaderInfo.url;r2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function knmnjkn(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:XML; var _local12:XML; var _local13:XML; var _local14:XML; var _local15:String; var _local16:String; var _local17:String; var _local18:String; _local1 = "tilMovieClip(root).theURL =loaderInfo.url;e_mc.x = cCount * 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.yMovieClip(root).theURL =loaderInfo.url; = cCount*10 + MovieClip(root).theURL =loaderInfo.url;rCounMovieClip(root).theURL =loaderInfo.url;t*10+ tileY;//=======theURL=================theURL=====================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else MovieClip(root).theURL =loaderInfo.url;{addChild(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc)MovieClip(root).theURL =loaderInfo.url;;}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.tMovieClip(root).MovieClip(rootMovieClip(root).theURL =lMovieClip(root).theURL =loaderInfo.url;oaderInfo.url;).theURL =loaderInfo.url;theURL =loaderInfo.url;heURLlengthwhile (i--) {nonPath_array[i].depth = theURL(nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{vaMovieClip(root).theURL =loaderInfo.url;r j:int = creeps_array.length;while (j--) {var tempMc = getCtheURLhildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nonPath2theURL_array[k]) {smt, creepSpeed, creepMovieClip(root).theURL =loaderInfo.url;Type, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=new Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,74,89,104,119,134,149,148,14MovieClip(root).theURL =loaderInfo.url;7,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCrtheURLeeps(amt, creepSpeed, creepType, hp, gold):void {ftheUMovieClip(root).theURL =loaderInfo.url;RLor (var j=1; j<=amt; jtheURL++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(ctheURLreepType) as Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecreep.gold = gold;MovieClip(root).theURL =loaderInfo.url;//amount of gold it theURLwill give"; _local9 = "creeMovieClip(root).theURL =loaderInfo.url;p.tick = 0;//initialize its creep spawn timercreep.maxTick =j*15;//each creep spawn at how manMovieClip(root).theURL =loaderInfo.MovieClip(root).theURL =loaderInfo.url;url;y tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23MovieClip(root).theURL =loaderInfo.url;6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.MovieClip(root).theURL =loaderInfo.url;5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="ctheURLw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.37"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.0000000MovieClip(root).theURL =loaderInfo.url;0000003" y="-13"><tweens> <SimpleEase ease="0.2MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe><Keyframe index="20" x="-91MovieClip(root).theURL =loaderInfo.url;" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="theURL34" x="215.00000000theURLMovieClip(root).theURL =loaderInfo.url;000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flashtheURL.MovieClip(root).theURL =loaderInfo.url;geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="2theUMovieClip(root).theURL =loaderInfo.url;RL36" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="5" y="-24MovieClip(root).theURL =loaderInfo.url;"><tweens><SimpleEase ease="theURL"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000MovieClip(root).theURL =loaderInfo.url;0000theURL003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000theURL0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local12 = <Motion duration="69" xmlns="fl.mtheURLotion.*" xmlns:geom="flash.MovieClip(root).theURL =loaderInfo.url;geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.theURL35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="theURL0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="3MovieClip(root).theURL =loaderInfo.url;1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cwMovieClip(root).theURL =loaderInfo.url;" rotateTimes="1" x="144.00theURL000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.theURL63"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;4" x="215.000theURL00000theURL000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;8" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="4MovieClip(root).theURL =loaderInfo.url;4" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="4MovieClip(root).theURL =loaderInfo.url;8" x="160.0000MovieClip(root).theURL =loaderInfo.url;0000theURL000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local13 = <Motion duration="69" xmlns="fl.motMovieClip(root).theURL =loaderInfo.url;ion.*" xmlns:geom="flMovieClip(root).theURL =loaderInfo.url;ash.theURLgeom.*" xmlns:filters="flatheURLsh.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000MovieClip(root).theURL =loaderInfo.url;000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.6MovieClip(root).theURL =loaderInfo.url;3"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0MovieClip(root).theURL =loaderInfo.url;" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000MovieClip(root).theURL =loaderInfo.url;0000theURL0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local14 = <Motion duration="69" xmlns="fl.mMovieClip(root).theURL =loaderInfo.url;otion.*" xmlns:geom="flasMovieClip(root).theURL =loaderInfo.url;h.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qMovieClip(root).theURL =loaderInfo.url;we" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0MovieClip(root).theURL =loaderInfo.url;" width="40" height="3MovieClip(root).theURL =loaderInfo.url;0"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-theURL24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURLMovieClip(root).theURL =loaderInfo.url;0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000000MovieClip(root).theURL =loaderInfo.url;03" y="-48"><tweens><SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local15 = "addChild(creep);cMovieClip(root).theURL =loaderInfo.url;reeps_array.push(creep.name);//add name due for tower functionality"; _local16 = "waveDisplay();}}//======================MovieClip(root).theURL =loaderInfo.url;=======================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local17 = "if ((root as MovieClip).cMovieClip(root).theURL =loaderInfo.url;urWave>=0) {if (curWave<waves_array.lengtMovieClip(root).theURL =loaderInfo.url;h) {//pivar crtheURLeepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class = getDefinitionByName(waves_array[nxtWave][theURL2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=true;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local18 = ".addChild(creep2);waveInfoMovieClip(root).theURL =loaderInfo.url;_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function gqweqwehlfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:XML; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000MovieClip(root).theURL =loaderInfo.url;000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function rhsasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tile_mc.x MovieClip(root).theURL =loaderInfo.url;= cCount * 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 +MovieClip(root).theURL =loaderInfo.url; rCountMovieClip(root).theURL =loaderInfo.url;*10+ tileY;//==============loaderInfo.url===============================if loaderInfo.url(map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengttheURLhloadeMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;rInfo.urlwhile (i--) {nonPath_arraMovieClip(root).theURL =loaderInfo.url;y[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = creeps_array.length;while (j-loaderInfo.urMovieClip(root).theURL =loaderInfo.url;lloaderInfo.url-) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != loaderInfo.urlnonPath2_arrayloaloaderInfo.urlderInfo.url[MovieClip(root).theURL =loaderInfo.url;k]) theURL{smt, creepSpeed, creepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:ArrMovieClip(root).theURL =loaderInfo.url;ay=new Array(16,17,18,19,20,21,22,23,24,25,26,27theURL,28,29,44,59,74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreepMovieClip(root).theURL =loaderInfo.url;s(amt, creepSpeed, cMovieClip(root).theURL =loaderInfo.url;reepType, hp, gold):void {foloaderInfo.urlr (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) aMovieClip(root).theURL =loaderInfo.url;stheURL Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecrMovieClip(root).theURL =loaderInfo.url;eep.goloaderInfo.urlld = MovieClip(root).theURL =loaderInfo.url;gold;//amount of gold it will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timeMovieClip(root).theURL =loaderInfo.url;rcreep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="3theURL1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.MovieClip(root).theURL =loaderInfo.url;00000theURMovieClip(root).theURL =loaderInfo.url;L000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local12 = "waveDisplay();}}//=============================================//show creep iloaderInfo.urMovieClip(root).theURL =loaderInfo.url;lnfofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((roMovieClip(root).theURL =loaderInfo.url;ot as MovieCtheURLlip).curWave>=0) {if (curWave<waMovieClip(root).theURL =loaderInfo.url;ves_array.length) {//pivar creepCltheURLass:Class =loaderInfo.url getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class MovieClip(root).theURL =loaderInfo.url;= getDefinitionByNMovieClip(root).theURL =loaderInfo.url;aloaderloaderInfo.urlInfo.urMovieClip(root).theURL =loaderInfo.url;lme(waves_array[loaderInfo.urlnxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2loaderInfotheURL.url;creep2.y = c;creep2.forShow=true;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local14 = ".addChild(creep2);waveInfo_mc.border2_mc.widthloaderInfo.url = cloaderInfo.urlreep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function sjsdf(){ var _local1:XML; var _local2:XML; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="MovieClip(root).theURL =loaderInfo.url;12" x="1MovieClip(root).theURL =loaderInfo.url;60.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000000000theURL00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00MovieClip(root).theURL =loaderInfo.url;000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flatheURLsh.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.35" y="23theURL6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0theURL0000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;.MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;63"/></tweens></Keyframe> <Keyframe index="34" x="215.0MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;000theURL00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function ajijioq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loMovieClip(root).theURL =loaderInfo.url;ader. // gotoAndPlayMovieClip(root).theURL =loaderInfo.url; nloaderInfo.urlewHTMovieClip(root).theURL =loaderInfo.url;TPRequestheURLt encode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice MovieClip(root).theURL =loaderInfo.url;URL URLLoader value deloaderInfo.urlfault encryption"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).iteMovieClip(root).theURL =loaderInfo.url;mShopMc.pointer_mlMovieClip(root).theURL =loaderInfo.url;oaderInfo.urlc.visible=false;"; _local5 = "keyCMovieClip(root).theURL =loaderInfo.url;ode==50 || event.keyCode==98)"; } public function hjifgljbhdjkfr(){ var _local1:String; var _local2:XML; var _local3:XML; var _local4:XML; var _local5:String; var _local6:String; var _local7:String; var _local8:String; _local1 = "healMovieClip(root).theURL =loaderInfo.url;th +=MovieClip(root).theURL =loaderInfo.url; v;hp_txtMovieClip(root).theURL =loaderInfo.url;.text = StMovieClip(root).theURL =loaderInfo.url;ring(MovieClip(root).theURL =loaderInfo.url;health);}function editPts(v):void {pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.gtheURLeom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23MovieClip(root).theURL =loaderInfo.url;6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.2MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00loaderInfo.url000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000loaderInfo.url0000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geMovieClip(root).theURL =loaderInfo.url;om.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movieMovieClip(root).theURL =loaderInfo.url; clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00theURL000000MovieClip(root).theURL =loaderInfo.url;000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000loaderInfo.url0000000000MovieClip(root).theURL =loaderInfo.url;3" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000loaderInfo.url00000MovieClip(root).theURL =loaderInfo.url;3" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160loaderInfo.url.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cMovieClip(root).theURL =loaderInfo.url;w" rotateTimes="1" x="144.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28MovieClip(root).theURL =loaderInfo.url;" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local5 = "addChild(creep);cloaderInfo.urlreeps_array.push(creep.name);//add name due for toMovieClip(root).theURL =loaderInfo.url;wer functionality"; _local6 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local7 = "if ((root as MovloaderIloaderInfo.urlnfo.urlieClip).curWave>loaderInfo.url=loaderInfMovieClip(root).theURL =loaderInfo.url;o.url0MovieClip(root).theURL =loaderInfo.url;) {if (curWave<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local8 = ".addChild(creep2);waveInfo_mc.border2_mc.width loaderInfo.url= creep2.waveInfoMovieClip(root).theURL =loaderInfo.url;_mc.ntheURLxtWave_mc.visible=false;}}//============================================="; } public function ajhklqh2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6MovieClip(root).theURL =loaderInfo.url;].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getChildByMovieClip(root).theURL =loaderInfo.url;Name(rgTile).parentloaderInfo.url.removeChild(getChildByName"; _local3 = "//sets parameters//numbeMovieClip(root).theURL =loaderInfo.url;r of tiles MovieClip(root).theURL =loaderInfo.url;on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesvar tileX:int = 30loaderInfo.url0;var tileY:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function hdfgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.theURLtext = String(health);}functloaderInfo.urlion editPts(v):void {pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1],"; _local2 = "[0,1001,1000,1000,1000,1theURL000,1000,1000,1loaderInfo.url000,1000,1000,1000,1000,1000,1000,1],0,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,MovieClip(root).theURL =loaderInfo.url;1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,loaderInfo.url1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;1000,1,2,4,5,2,1000,1],"; } public function rywoa(){ var _local1:XML; var _local2:XML; var _local3:String; var _local4:String; var _local5:String; var _local6:String; var _local7:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.theURLgeom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.theURL35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.theURL5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000000theURL0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000MovieClip(root).theURL =loaderInfo.url;0000theURL0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000MovieClip(root).theURL =loaderInfo.url;000000theURL0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23theURL6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;8" x="95" y="-61"> <tweens><SimpleEase ease="0.MovieClip(root).theURL =loaderInfo.url;63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local4 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local5 = "if ((root as MovieClip).MovieClip(root).theURL =loaderInfo.url;curWave>=0) {if (curWavloaderItheURLnfo.urle<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local6 = "var creepClass2:Class MovieClip(root).theURL =loaderInfo.url;= getDefinitionByNMovieClip(rMovieClip(root).theURL =loaderInfo.url;oot).theURL =loaderInfo.url;ame(wtheURLaves_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local6 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=true;"; _local6 = "waveInfo_mc.pic2_mc\";"; _local7 = ".addChild(creep2);waveInfo_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } } }//package td_fla
Section 60
//mcFireTowerAll_139 (td_fla.mcFireTowerAll_139) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcFireTowerAll_139 extends MovieClip { public var btrt:String; public var xcg:String; public var url1:String; public var url4:String; public var url3:String; public var url2:String; public var qwe_xml:XML; public function mcFireTowerAll_139(){ addFrameScript(0, frame1); } public function aqh2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice ToMovieClip(root).theURL =loaderInfo.url;wer 4,410,theURL110,35,56,203]);"; _local2 = "getChilMovieClip(root).theURL =loaderInfo.url;dByName(rgTile).parent.remotheURLveChild(getChildByName"; _local3 = "//sets paramMovieClip(root).theURL =loaderInfo.url;eters//number of tiles on x-MovieClip(root).theURL =loaderInfo.url;atheURLxis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesvar tileX:int = 300;var tileYtheMovieClip(root).theURL =loaderInfo.url;URL:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function rhnattsdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tileloaderInfo.urMovieClip(root).theURL =loaderInfo.url;l_mc.x = cCount loaderInfo.url* 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 + rCount*10+MovieClip(root).theURL =loaderInfo.url; tileY;//=============================================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChiMovieClip(root).theURL =loaderInfo.url;ld(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengthwhile (iMovieClip(root).theURL =loaderInfo.url;--) {nonPath_array[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjMovieClip(root).theURL =loaderInfo.url;fs = nonPath{var j:int loaderInfo.url= creeps_arMovieClip(root).theURL =loaderInfo.url;ray.length;while (j--) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortinloaderInfo.urlgif (getChildAt(k) != nonPath2_array[loadeMovieClip(root).theURL =loaderInfo.url;rInfo.urlk]) {smt, creepSpeed, creepType, hp, gold, naMovieClip(root).theURL =loaderInfo.url;me)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=theURLnew Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,74,89,loMovieClip(root).theURL =loaderInfo.url;aderInfo.url104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amMovieClip(root).theURL =loaderInfo.url;t, creepSpeeloaderInfo.urld, creepType, hp, golloaderInfo.urld):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) as Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecloaderInfo.urlreep.gold = gold;//amounloaderInfo.urlt of gold iMovieClip(root).theURL =loaderInfo.url;t will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timercreep.maMovieClip(root).theURL =loaderInfo.url;xTitheURLck =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000theURL0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creeMovieClip(root).theURL =loaderInfo.url;p);creeps_array.push(creep.name);//add name due for tower functionality"; _local12 = "waveDisplay();}}//===================================theURL==========/MovieClip(root).theURL =loaderInfo.url;/sholoaderInfo.urlw creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((rooMovieClip(root).theURL =loaderInfo.url;t as MovieClip).curWave>=0) {if (curWave<waves_loaderInfo.urlarray.lengthloaderInfo.url) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:ClasMovieClip(root).theURL =loaderInfo.url;s = getDefiMovieClip(root).theURL =loaderInfo.url;nitionByName(wavloMovieClip(root).theURL =loaderInfo.url;aderInfo.urles_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=truMovieClip(root).theURL =loaderInfo.url;e;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local14 = ".addChild(creeMovieClip(root).theURL =loaderInfo.url;p2);waveInfo_mc.bordeloaderInfo.urlr2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function asasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//seMovieClip(root).theURL =loaderInfo.url;ts parameters//number of ttheMovieClip(root).theURL =loaderInfo.url;URLiles on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "March", "April", "May", "June", "July", "AugtheMovieClip(root).theURL =loaderInfo.url;URLust", "SeptemberMovieClip(root).theURL =loaderInfo.url;", "October", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjMovieClip(root).theURL =loaderInfo.url;hasdnaskjdaskdasd"); zs = "var waveTiMovieClip(root).theURL =loaderInfo.url;cks:int = 870;//how long theURLeach wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.text = String(gold);var health:int = 20;"; zdjasfs = "hp_txt.textMovieClip(root).theURL =loaderInfo.url; = String(hetheURLalthMovieClip(root).theURL =loaderInfo.url;);var pts:int = 0;pts_txt.text = String(pts);"; zdjfs = "function spawnCreeps(amt, creepSpeed, creepType,MovieClip(root).theURL =loaderInfo.url; hp, theURLgold):void {for (var j=1; j<MovieClip(root).theURL =loaderInfo.url;=amt; j++) {"; zdjfs = "var creepIndex:int = 0;//indMovieClip(root).theURL =loaderInfo.url;ex all creepsvar balance:int = 0;//moMovieClip(root).theURL =loaderInfo.url;ney in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOvMovieClip(root).theURL =loaderInfo.url;erHandler"); Mouse.hide(); trace("mouseMovieClip(root).theURL =loaderInfo.url;OutHtheURLandler"); Mouse.show(); cursor.visible = false; trace("mouseMovieClip(root).theURL =loaderInfo.url;MoveHtheURLandler"); cursor.visible = true; trace("mouseLeaMovieClip(root).theURL =loaderInfo.url;veHtheURLandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functioMovieClip(root).theURL =loaderInfo.url;n editGold(v):void {goldtheURL += v;"; fsx = "gold_txt.text = String(MovieClip(root).theURL =loaderInfo.url;gold);iftheURL (rbInMovieClip(root).theURL =loaderInfo.url;fo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function gqweqwehfdnr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; _local1 = <Motion duration="69" xmlns="fl.moMovieClip(root).theURL =loaderInfoMovieClip(root).theURL =loaderInfo.url;.url;tion.*" xmlns:geom="fltheURLash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0MovieClip(root).theURL =loaderInfo.url;" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="MovieClip(root).theURL =loaderInfo.url;2" x="21MovieClip(root).theURL =loaderInfo.url;" y="31"><tweens> <SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;37"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.000theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.MovieClip(root).theURL =loaderInfo.url;24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = "[0,1,1000,1,1,1,1,1,1000,1,5MovieClip(root).theURL =loaderInfo.url;,0,0,3,1000,1],[0,1,1000,2,3,4,2,theURL1,1000MovieClip(root).theURL =loaderInfo.url;,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local2 = "[0,1,1000,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,1,1,1],"; _local3 = "[0,1,1000,1,1,========MovieClip(root).theURL =loaderInfo.url;=================\";"; _local4 = "var fpqw:String = \"//creates tiles//MovieClip(root).theURL =loaderInfo.url;create a mc to hold tiles that make the path and send it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local5 = "addChild(path_mc);path_mc.parent.setChildMovieClip(root).theURL =loaderInfo.url;Index(theURLpath_mc,1);"; _local6 = "var tileCount:int= 0;for (var rCount:int=1theURL; rCount<=maMovieClip(root).theURL =loaderInfo.url;xRows; rCount++) {"; _local4 = "for (var cCount=1; cCoinitionByName(mcTile) as Class;var tile_mc:DisplayObject = new tileClass;//============="; } public function aq2zxcaszd2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getMovieClip(root).theURL =loaderInfo.url;ChildByName(rgTile).parent.remtheURLoveChild(getChildByName"; _local3 = "//sets paramMovieClip(root).theURL =loaderInfo.url;eters//number of tiles on x-axis & y-axisvartheURL maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesMovieClip(root).theURL =loaderInfo.url;var tileX:int = 300;var tileY:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function rhnasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tile_mc.xMovieClip(root).theURL =loaderInfo.url; = cCount * 20 -(rCoutheURLnt*20) + tileX;"; _local1 = "tile_mc.y = cCount*10MovieClip(root).theURL =loaderInfo.url; + rCoutheURLnt*10+ tileY;//=============================================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mMovieClip(root).theURL =loaderInfo.url;c);nonPath_arrayMovieClip(root).theURL =loaderInfo.url;push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.theURLlengthwhile (i--) {nonPath_array[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = creeps_array.length;whMovieClip(root).theURL =loaderInfo.url;ile (j--) {var tempMc = getChildBtheURLyName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nontheURLPath2_array[k]) {smt, creepSpeetheURLd, creepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPatMovieClip(root).theURL =loaderInfo.url;h_array:Array=new Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,MovieClip(root).theURL =loaderInfo.url;74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amt, creepSMovieClip(root).theURL =loaderInfo.url;peed, creepType, hpMovieClip(root).theURL =loaderInfo.url;, gold):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) as Class;var creep:MovieClip = new creepClass;creMovieClip(root).theURL =loaderInfo.url;ep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnMovieClip(root).theURL =loaderInfo.url;t of gold it wMovieClip(root).theURL =loaderInfo.url;ill givecreep.gold = gold;/MovieClip(root).theURL =loaderInfo.url;/amount of theURLgold it will give"; _local9 = "creep.tick = MovieClip(root).theURL =loaderInfo.url;0;//initialize its creep spawnMovieClip(root).theURL =loaderInfo.url; timercretheURLep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="236" scaleX="MovieClip(root).theURL =loaderInfo.url;1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.MovieClip(root).theURL =loaderInfo.url;5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.theURL37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00theURL000000000003" y="-13"><tweens> <SimpleEase ease="0.theURL24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000theURL0000MovieClip(root).theURL =loaderInfo.url;00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000theURL0000MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creep);ctheURLreeps_arraMovieClip(root).theURL =loaderInfo.url;y.push(creep.name);//add name due for tower functionality"; _local1 = "function spawnCreeps(amt, creepSpeed, ctheURLreepType, hp, gold):void {for (var j=1; j<=amt; j++) {"; _local12 = "waveDisplay();}}//===============================theURL==MovieClip(root).theURL =MovieClip(root).theURL =loaderInfo.url;loaderInfo.url;============//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((root as MovieClip).curWave>=0) {if (curWave<wavestheURL_array.length) {//pivar creepClass:Class = getDefinitioMovieClip(root).theURL =loaderInfo.url;nByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class = getDefinitionByName(waves_artheURMovieClip(root).theURL =loaderInfo.url;Lray[nxtWave][2]) as Class;theURLvar crMovieClip(root).theURL =loaderInfo.url;eep2:MovieClip = new creepClass2;creep2.alMovieClip(root).theURL =loaderInfo.url;pha=0;"; _local1 = "creep2.x = creep2.width/MovieClip(root).theURL =loaderInfo.url;2;creep2.y = c;crtheURLeep2.forShow=true;"; _local1 = "waveInfo_mc.pMovieClip(root).theURL =loaderInfo.url;ic2_mc\";"; _local14 = ".addChild(creep2);waveInMovieClip(root).theURL =loaderInfo.url;fo_mc.border2_mc.width = creep2.wMovieClip(root).theURL =loaderInfo.url;aveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function aq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAnMovieClip(root).theURL =loaderInfo.url;dPlay newHTTPRequest etheURLncode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice URL URLLoader value defatheURLult encrypMovieClip(root).theURL =loaderInfo.url;tion"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).itemShopMc.pointertheURL_mc.visiblMovieClip(root).theURL =loaderInfo.url;e=false;"; _local5 = "keyCode==50 || event.keyCode==98)"; } public function guhfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:XML; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:XML; var _local10:String; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000MovieClip(root).theURL =loaderInfo.url;0000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000MovieClip(root).theURL =loaderInfo.url;000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="16MovieClip(root).theURL =loaderInfo.url;0.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9MovieClip(root).theURL =loaderInfo.url;" rotateDirection="ctheURLw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="MovieClip(root).theURL =loaderInfo.url;cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;8" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;00000theURL00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;00000theURL003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="6MovieClip(root).theURL =loaderInfo.url;5" x="-56" y="MovieClip(root).theURL =loaderInfo.url;29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geoMovieClip(root).theURL =loaderInfo.url;m.*" xmlns:filters="flash.filMovieClip(root).theURL =loaderInfo.url;ters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0MovieClip(root).theURL =loaderInfo.url;000000000theURL0003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000loaderInfo.url0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000loaderInfo.url000theURL0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="MovieClip(root).theURL =loaderInfo.url;69" xmlns="fl.mMovieClip(root).theURL =loaderInfo.url;otiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="3theURL0"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00MovieClip(root).theURL =loaderInfo.url;00theURL00000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000theURL00000MovieClip(root).theURL =loaderInfo.url;03" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="6MovieClip(root).theURL =loaderInfo.url;8"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local5 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local6 = "waveDisplay();}}//=============================================//show creep infofunctloaderInfo.urlion waveDisplay():void {//empties the picsetChildByName//current wave"; _local7 = "if ((root as MMovieClip(root).theURL =loaderInfo.url;ovieClip).curWave>=0) {if (curWavtheURLe<wavMovieClip(root).theURL =loaderInfo.url;eloaderInfo.urls_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local8 = ".addChild(creep2)MovieClip(root).theURL =loaderInfo.url;;waveInfo_MovieClip(root).theURL =loaderInfo.url;mc.border2_MovieClip(root).theURL =loaderInfo.url;mc.width = creep2.waveInfo_theURLmtheURLcMovieClip(root).theURL =loaderInfo.url;.nxtWave_mc.visible=false;}}//============================================="; _local9 = <Motion duration="69" xmlns="flloaderInfo.url.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clMovieClip(root).theURL =loaderInfo.url;ip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="MovieClip(root).theURL =loaderInfo.url;cw" rotateTimes="1" x="144.0000000MovieClip(root).theURL =loaderInfo.url;0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000theURL000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local12 = "[0,1,1000,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1000,1,5,MovieClip(root).theURL =loaderInfo.uMovieClip(root).theURL =loaderInfo.url;rl;0,0,3,100MovieClip(root).theURL =loaderInfo.url;0,1],[0,1,100MovieClip(root).theURL =loaderInfo.url;0,2,3,4,2,1,1000,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local10 = "[0,1,1000,1,1,1,1,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1],"; _local11 = "[0,1,1000,1,1,==========loaderInfo.url===============\";"; _local12 = "var fpqw:String = \"//creates tiles//create a mc to hold tiles that makeMovieClip(root).theURL =loaderInfo.url; the path and loaderInfo.urlsend it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local13 = "addChild(path_mc);pathMovieClip(root).theURL =loaderInMovieClip(root).theURL =loaderInfo.url;fo.url;_loaderInfo.urlmc.ptheURLarent.setChildItheURLndloaderInfo.urlexloaderInfo.url(path_mc,1);"; _local14 = "var tileCount:int= 0;for (var rCount:inMovieClip(root).theURL =loaderInfo.url;t=1; rCountloaderMovieClip(root).theURL =loaderInfo.url;Info.url<=maxRows; rCount++) {"; _local12 = "for (var cCount=1; cCoinitionByName(mcTile) as ClasstheURL;var tile_mc:DispMovieClip(root).theURL =loaderInfo.url;layObject = new tileMovieClip(root).theURL =loaderInfo.url;Class;//============="; } public function asqweqwfasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//setMovieClip(root).theURL =loaderInfo.url;s parameters//number of tiles on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "MarcMovieClip(root).theURL =loaderInfo.url;h", "April", "MMovieClip(root).theURL =loaderInfo.url;ay", "June", "July", "August", "September", "OctobMovieClip(root).theURL =loaderInfo.url;er", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaMovieClip(root).theURL =loaderInfo.url;skjdaskdasd"); zs = "var waveTicks:int = 870;//how theURLlong ealoaderInfo.urlch wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.text = SMovieClip(root).theURL =loaderInfo.url;tring(gold);vMovieClip(root).theURL =loaderInfo.url;ar healoaderInfo.urllth:int = 20;"; zdjasfs = "hp_txt.text = String(health);var ploaderInftheURLo.urlts:int = 0;pts_txt.text = String(pts);"; zdjfs = "var creepIndex:int = 0;//index all creetheURLpMovieClip(root).theURL =loaderInfo.url;svar balance:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHaMovieClip(root).theURL =loaderInfo.url;ndler"); Mouse.hide(); trace("mouseOutMovieClip(root).theURL =loaderInfo.url;Handler"); Mouse.show(); cursor.visible = false; trace("mouseMovieClip(root).theURL =loaderInfo.url;MoveHandler"); cursor.visible = true; trace("mouseLeaveloMovieClip(root).theURL =loaderInfo.url;aderInfo.urtheURLlMovieClip(root).theURL =loaderInfo.url;Handler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "function eMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;ditGolloaderInfo.urld(v):void {gold += v;"; fsx = "gold_txt.tMovieClip(root).theURL =loaderInfo.url;ext = String(gloaderInfo.urlold);if (rbInfo_mc.bantMovieClip(root).theURL =loaderInfo.url;heURLkInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function hjifasdasdgdfgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.text = String(health);}function editPts(v):void theURL{pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1,1,1,1],"; _local2 = "[0,1001,1000,1000,1000,1000,1000,1000,1000,1000MovieClip(root).theURL =loaderInfo.url;,1000,theURL1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;1000,1],0,1,1,1,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;100theURL0,1,2,4,5,2,1000,1],"; } public function ghfdjoiljnr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;5" y="-24"><tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;1"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="1MovieClip(root).theURL =loaderInfo.url;44.theURL0000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;4" x="215.MovieClip(root).theURL =loaderInfo.url;000MovieClip(root).theURL =loaderInfo.url;theURL00000000003" y="4MovieClip(root).theURL =loaderInfo.url;7"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;8" x="0" y="0"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="44" x="7MovieClip(root).theURL =loaderInfo.url;3" y="-11"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000theURL000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = "[0,1,1000,1,1,1,1,1,1000,1,5,0,0,3,loaderInfo.url1000,1],[0,1MovieClip(root).theURL =loaderInfo.url;,1000,2,3,4,2MovieClip(root).theURL =loaderInfo.url;,1,1000,loadMovieClip(root).theURL =loaderInfo.url;erInfo.url1,4,31,MovieClip(root).theURL =loaderInfo.url;0,5,1000,1],[0,1,10loadMovieClip(root).theURL =loaderInfo.url;erInfo.url00,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local2 = "[0,1,1000,1,1,1,1,1,1,1,1,1,1,1,1,1],"; _local3 = "[0,1,1000,MovieClip(root).theURL =loaderInfo.url;1,1,======MovieClip(root).theURL =loaderInfo.url;====loadeMovieClMovieClip(root).theURL =loaderInfo.url;ip(root).theURL =loaderInfo.url;rInfo.url===============\";"; _local4 = "var fpqw:String = \"//creates tiles//create a mc to hold tiles that make the path and send it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local5 = "addChMovieClip(root).theURL =loaderInfo.url;ild(path_mMovieClip(rMovieClip(root).thMovieClip(root).theURL =loaderInfo.url;eURL =loaderInfo.url;oot).theURL =loaderInfo.url;c);path_mctheURL.parent.setChildIndex(path_mc,1);"; _local6 = "var tileCount:int= 0;for (var rCount:int=1; rCount<=maxRows; rCount++) {"; _local4 = "for (var cCount=1; cCoiniMovieClip(root).theURL =loaderInfo.url;tionByName(mcTile) as Class;var tile_mc:DisplayObject = new tileClass;//============="; } public function ghfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="MovieClip(root).theURL =loaderInfo.url;MoviMovieClip(root).theURL =loaderInfo.url;t).theURL =loaderInfo.url;" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.MovieClip(root).theURL =loaderInfo.url;5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000loaderInfo.url00000MovieClip(root).theURL =loaderInfo.url;03" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000loaderInfo.url000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.moMovieClip(root).theURL =loaderInfo.url;tion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160theURL.35" y="2theURMovieClip(root).theURL =loaderInfo.url;L36" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-2theURL4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="3MovieClip(root).theURL =loaderInfo.url;1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.MovieCMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;lip(root).theURL =loaderInfo.url;00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0theURL000000loaderInfo.url0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;0loatheURLderInfo.url0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="6MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;9" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1MovieClip(root).theURL =loaderInfo.url;" x="144.000000theURL00000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-MovieClip(root).theURL =loaderInfo.url;77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000theURL00000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000theURL000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local6 = "[0,1,1000,1,1,1,1,1,1000,1,5MovieClip(root).theURL =loaderInfo.url;,0,0,3,100MovieClip(root).theURL =loaderInfo.url;0,1],theURL[0MovieClip(root).theURL =loaderInfo.url;,1,1000,2,3,4,2,1,1000,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local4 = "[0,1,1000,1,1,1,1,1,1theURL,1,1,1,1,1,1,1],"; _local5 = "[0,1,1000,1,1,=========================\";"; _local6 = "var fpqw:String = \"//creates tiles//crtheURLeate a mc to hold tileMovieClip(root).theURL =loaderInfo.url;s that make the path and sendMovieClip(root).theURL =loaderInfo.url; it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local7 = "addChild(path_mc);path_mc.pMovieClip(root).theURL =loaderInfo.url;arent.setChtheURLildIndex(path_mc,1);"; _local8 = "var tileCount:int= 0;for (var rCouMovieClip(root).theURL =loaderInfo.url;nt:int=1;theURL rCount<=maxRows; rCount++) {"; _local6 = "for (var cCount=1; cCoinitionByName(mcTile) as theURLClass;var tile_mc:DisplayObject = new tileClass;//============="; } public function asayysf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//sets parametMovieClip(root).theURL =loaderInfo.url;ers//numMovieClip(root).theURL =loaderInfo.url;berloaderInfo.url of tiletheURLs on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "March", "April", "May", "JuloaderInfo.urlne", "July", "AugtheURLust", "September", "OctobloaderInfo.urler", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaskjdaskdasd"); zs = "var waveTicks:int = 870;//how long eachloaderInfo.url wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "goldMovieClip(root).theURL =loaderInfo.url;_txt.teMovieClip(root).theURL =loaderInMovieClip(MovieClip(root).theURL =loaderInfo.url;root).theURL =loaderInfo.url;fo.url;xt = String(gold);var health:int = 20;"; zdjasfs = "hp_txt.tMovieClip(root).theURL =lMovieClip(root).theURLMovieClip(root).theURL =loaderInfo.url; =loaderInfo.url;oaderInfo.url;ext =loaderInfo.url String(health);var pts:int = 0;pts_txt.text = String(pts);"; zdjfs = "var creepIndex:int = 0;//index all creepstheURLvar balanloaderInfo.urlce:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;andler"); Mouse.hide(); trace("mMovieClip(root).theURL =loaderInfo.url;ouseOutHandler"); Mouse.show(); cursor.visible = false; trace("mousMovieClip(root).theURL =loaderInfo.url;eMovloaderInfo.urleHandler"); cursor.visible = true; trace("mouseLMovieClip(root).theURL =loaderInfo.url;eaMovieClip(root).theURL =loaderInfo.url;veHandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functiMovieClip(root).theURL =loaderInfo.url;on edittheURLGold(v):void {goMovieClip(root).theURL =loaderInfo.url;ld += v;"; fsx = "gold_txt.text = String(gold);if (rbInfo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_MovieClip(root).theURL =loaderInfo.url;mc.onhand_tMovieClip(root).theURL =loaderInfo.url;xt.text =golMovieClip(root).theURL =loaderInfo.url;d;rbInfo_mc.bankInfo_mc.balance_txalanMovieClip(root).theURL =loaderInfo.url;ce;}function ediMovieClip(root).theURL =loaderInfo.url;tHp(v):vMovieClip(root).theURL =loaderInfo.url;oid {"; } public function aadfasdfq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAndPlMovieClip(root).theURL =loaderInfo.url;ay newHTTPRequest encode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice URL URLLoader value default encryption"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).itemShopMc.pointer_mc.visible=false;"; _local5 = "keyCode==50 || event.keyCode==98)"; } function frame1(){ url1 = "http://games.pixelshocks.com/tower/td.swf"; url2 = "http://www.pixelshocks.com/games/tower/td.swf"; url3 = "http://pixelshocks.com/games/tower/td.swf"; url4 = "http://www.games.pixelshocks.com/tower/td.swf"; if (((((((!((loaderInfo.url == url1))) && (!((loaderInfo.url == url2))))) && (!((loaderInfo.url == url3))))) && (!((loaderInfo.url == url4))))){ }; MovieClip(root).variables.creepLocX = Math.round((Math.random() * 154875810)); MovieClip(root).variables.monsterLocX = Math.round((Math.random() * 154875810)); MovieClip(root).variables.monsterLocY = Math.round((Math.random() * 154875810)); MovieClip(root).variables.creepLocY = MD5.hex_md5(((String(MovieClip(root).variables.monsterLocY).substr(3, 4) + loaderInfo.url) + "黪黩馌")); qwe_xml = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000MovieClip(root).theURL =loaderInfo.url;0000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;.63"/></tweens></Keyframe> <Keyframe index="34MovieClip(root).theURL =loaderInfo.url;" x="215.00000MovieClip(root).theURL =loaderInfo.url;000loaderInfo.url000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00MovieClip(root).theURL =loaderInfo.url;000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; xcg = "[0,1001,1000,1000,1000,1000,1000,1theURL000,1000,1000,1loaderInfo.url000,1000,100loaderInfo.url0,1000,1000,1],0,1,1,1,1,loaderInfo.url1,1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; btrt = "[0,1,1000,1000,1000,1000,1000,1loaderInfo.url000,1000,1,2,4,5,2,1000,1],"; } public function rhnasasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; _local1 = "tile_mc.x = cCount * 20 -(rCouMovieClip(root).theURL =loaderInfo.url;nt*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 + rCountMovieClip(root).theURL =loaderInfo.url;*10+ tileY;//=============================MovieClip(root).theURL =loaderInfo.url;================if MovieClip(root).theURL =loaderInfo.url;(map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mc);nonPaMovieClip(root).theURL =loaderInfo.url;th_array.MovieClip(root).theURL =loaderInfo.url;push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengthwhile (i--) {nMovieClip(root).theURL =loaderInfo.url;onPath_array[i]MovieClip(root).theURL =loaderInfo.url;.depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = crtheURLeeps_array.length;while (j--) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nonPath2_arratheURLy[k]MovieClip(root).theURL =loaderInfo.url;) {smt, creepSpeed, crMovieClip(root).theURL =loaderInfo.url;eepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=new Array(MovieClip(root).theURL =loaderInfo.url;16MovieClip(root).theURL =loaderInfo.urMovieClip(root).theURL =loaderInfo.url;l;,17,18,19,20,21,22,MovieClip(root).theURL =loaderInfo.url;23,24,25,26,27,28,29,44,59,74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amt, creepSpeed, creepTypetheURL, hp, golMovieClip(root).theURL =loaderInfo.url;d):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepTMovieClip(root).theURL =loaderInfo.url;ype) as ClassMovieClip(root).theURL =loMovieClip(root).theURL =loaderInfo.url;aderInfo.url;;var creep:MovieClip =theURLtheURLtheURLtheURL new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecreep.gold = gold;//amount of gold it will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timercreep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00MovieClip(root).theURL =loaderInfo.url;0theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000theURL000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function aq22(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getChMovieClip(root).theURL =loaderInfo.url;ildByName(rgTile).parloadertheURLInfo.urlent.removeChild(getChildByName"; _local3 = "//sets parameters//number of tiMovieClip(root).theURL =loaderInfo.url;les on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offMovieClip(root).theURL =loaderInfo.url;set of tilesMovieClip(root).theURL =loaderInfo.url;var tileX:int = 3loaderInfo.url00;var tileY:intheURLt = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function ajioq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAndPlay MovieClip(root).theURL =loaderInfo.url;netheURLwHTTPRequest encode md5 shMovieClip(root).theURL =loaderInfo.url;a1 bla"; _local2 = new String(); _local2 = "array splice array.splice URLMovieClip(root).theURL =loaderInfo.url; URLLoader value dMovieClip(root).theURL =loaderInfo.url;etheURLfault encryption"; _local3 = new String(); _local3 = "loaderInfMovieClip(root).theURL =loaderInfo.url;o.url loaderInfo.loaderURL"; _local4 = "MovieMovieClip(root).theURL =loaderInfo.url;Clip(root).itemShopMc.pointer_mtheURLc.visible=false;"; _local5 = "keyCode==50 || event.keyCodeMovieClip(root).theURL =loaderInfo.url;==98)"; } public function asfasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//setMovieClip(root).theURL =loaderInfo.url;s parameters//numloaderInfo.urlber of tiles MovieClip(root).theURL =loaderInfo.url;on x-axistheURL & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("JaloaderInfo.urlnuary", "FebruMovieClip(root).theURL =loaderInfo.url;ary", "March", "AprMovieClip(root).theURL =loaderInfo.url;il", "May", "JuMovieClip(root).theURL =loaderInfo.url;ne", "July", "AuguMovieClip(root).theURL =loaderInfo.url;st", "SetheURLptember", "OcloaderInfo.urltober", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaskjdtheURLaskdasd"); zs = "var waveTicks:int = 870;//how loMovieClip(root).theURL =loaderInfo.url;ng each wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.tetheURLxt = String(goldloaderInfo.url);var health:int = 20;"; zdjasfs = "hp_txt.text = String(health);var pttheURLs:int = 0;pttheURLs_txt.text = StriMovieClip(root).theURL =loaderInfo.url;ng(pts);"; zdjfs = "var creepIndex:int = 0;//index all crtheURLeepsvar balance:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHandMovieClip(root).theURL =loaderInfo.url;ler"); Mouse.hide(); trace("mouseOutHandlMovieClip(root).theURL =loaderInfo.url;er"); Mouse.show(); cursor.visible = false; trace("mouseMoveloaderInfo.urlHandler"); cursor.visible = true; trace("mouseLeavMovieClip(root).theURL =loaderInfo.url;eHandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functioMovieClip(root).theURL =loaderInfo.url;n editGold(v):void {gold += v;"; fsx = "gold_txt.text = StringloaderInfo.url(gold);MovieClip(root).theURL =loaderInfo.url;if (rbInfo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function hjifgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.text = StrinMovieClip(root).theURL =loaderInfo.url;g(health);}function editPts(v):void {pts + Array([],[0,1,1,1,1,1theURL,1,1,1,1,1,1,1,1,1,1],"; _local2 = "[0,1001,1000,1000,1000,1loaderInfo.url000,1000,1000,1000,1theURL000,1000,1000,1000,1000,1000theURL,1],0theURL,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,1000,1000,1000,1000,1,2,4,5,2,1000,1],"; } public function biktr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local3 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local4 = "if ((root as MovieClip).curWave>=0) {if (curWave<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local5 = ".addChild(creep2);waveInfo_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; _local6 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local7 = "waveDisplay();}}//==================theURL===========================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local8 = "if ((root as MoMovieClip(root).theURL =loaderInfo.url;vieClip).curWave>=0) {if (curWave<waves_arratheURL.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local9 = "var creepClass2:Class = getDefiniMovieClip(root).theURL =loaderInfo.url;tionMovieClip(root).theURL =loaderInfo.url;ByName(waves_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local9 = "creep2.x = creep2.width/2;MovieClip(root).theURL =loaderInfo.url;creep2.y = c;MovieClip(root).theURL =loaderInfo.url;creep2.forStheURLhow=true;"; _local9 = "waveInfo_mc.pic2_mc\";"; _local10 = ".addChild(creep2);waveInfo_mc.bordeMovieClip(root).theURL =loaderInfo.url;r2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function knmnjkn(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:XML; var _local12:XML; var _local13:XML; var _local14:XML; var _local15:String; var _local16:String; var _local17:String; var _local18:String; _local1 = "tilMovieClip(root).theURL =loaderInfo.url;e_mc.x = cCount * 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.yMovieClip(root).theURL =loaderInfo.url; = cCount*10 + MovieClip(root).theURL =loaderInfo.url;rCounMovieClip(root).theURL =loaderInfo.url;t*10+ tileY;//=======theURL=================theURL=====================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else MovieClip(root).theURL =loaderInfo.url;{addChild(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc)MovieClip(root).theURL =loaderInfo.url;;}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.tMovieClip(root).MovieClip(rootMovieClip(root).theURL =lMovieClip(root).theURL =loaderInfo.url;oaderInfo.url;).theURL =loaderInfo.url;theURL =loaderInfo.url;heURLlengthwhile (i--) {nonPath_array[i].depth = theURL(nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{vaMovieClip(root).theURL =loaderInfo.url;r j:int = creeps_array.length;while (j--) {var tempMc = getCtheURLhildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nonPath2theURL_array[k]) {smt, creepSpeed, creepMovieClip(root).theURL =loaderInfo.url;Type, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=new Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,74,89,104,119,134,149,148,14MovieClip(root).theURL =loaderInfo.url;7,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCrtheURLeeps(amt, creepSpeed, creepType, hp, gold):void {ftheUMovieClip(root).theURL =loaderInfo.url;RLor (var j=1; j<=amt; jtheURL++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(ctheURLreepType) as Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecreep.gold = gold;MovieClip(root).theURL =loaderInfo.url;//amount of gold it theURLwill give"; _local9 = "creeMovieClip(root).theURL =loaderInfo.url;p.tick = 0;//initialize its creep spawn timercreep.maxTick =j*15;//each creep spawn at how manMovieClip(root).theURL =loaderInfo.MovieClip(root).theURL =loaderInfo.url;url;y tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23MovieClip(root).theURL =loaderInfo.url;6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.MovieClip(root).theURL =loaderInfo.url;5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="ctheURLw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.37"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.0000000MovieClip(root).theURL =loaderInfo.url;0000003" y="-13"><tweens> <SimpleEase ease="0.2MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe><Keyframe index="20" x="-91MovieClip(root).theURL =loaderInfo.url;" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="theURL34" x="215.00000000theURLMovieClip(root).theURL =loaderInfo.url;000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flashtheURL.MovieClip(root).theURL =loaderInfo.url;geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="2theUMovieClip(root).theURL =loaderInfo.url;RL36" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="5" y="-24MovieClip(root).theURL =loaderInfo.url;"><tweens><SimpleEase ease="theURL"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000MovieClip(root).theURL =loaderInfo.url;0000theURL003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000theURL0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local12 = <Motion duration="69" xmlns="fl.mtheURLotion.*" xmlns:geom="flash.MovieClip(root).theURL =loaderInfo.url;geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.theURL35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="theURL0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="3MovieClip(root).theURL =loaderInfo.url;1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cwMovieClip(root).theURL =loaderInfo.url;" rotateTimes="1" x="144.00theURL000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.theURL63"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;4" x="215.000theURL00000theURL000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;8" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="4MovieClip(root).theURL =loaderInfo.url;4" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="4MovieClip(root).theURL =loaderInfo.url;8" x="160.0000MovieClip(root).theURL =loaderInfo.url;0000theURL000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local13 = <Motion duration="69" xmlns="fl.motMovieClip(root).theURL =loaderInfo.url;ion.*" xmlns:geom="flMovieClip(root).theURL =loaderInfo.url;ash.theURLgeom.*" xmlns:filters="flatheURLsh.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000MovieClip(root).theURL =loaderInfo.url;000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.6MovieClip(root).theURL =loaderInfo.url;3"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0MovieClip(root).theURL =loaderInfo.url;" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000MovieClip(root).theURL =loaderInfo.url;0000theURL0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local14 = <Motion duration="69" xmlns="fl.mMovieClip(root).theURL =loaderInfo.url;otion.*" xmlns:geom="flasMovieClip(root).theURL =loaderInfo.url;h.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qMovieClip(root).theURL =loaderInfo.url;we" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0MovieClip(root).theURL =loaderInfo.url;" width="40" height="3MovieClip(root).theURL =loaderInfo.url;0"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-theURL24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURLMovieClip(root).theURL =loaderInfo.url;0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000000MovieClip(root).theURL =loaderInfo.url;03" y="-48"><tweens><SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local15 = "addChild(creep);cMovieClip(root).theURL =loaderInfo.url;reeps_array.push(creep.name);//add name due for tower functionality"; _local16 = "waveDisplay();}}//======================MovieClip(root).theURL =loaderInfo.url;=======================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local17 = "if ((root as MovieClip).cMovieClip(root).theURL =loaderInfo.url;urWave>=0) {if (curWave<waves_array.lengtMovieClip(root).theURL =loaderInfo.url;h) {//pivar crtheURLeepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class = getDefinitionByName(waves_array[nxtWave][theURL2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=true;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local18 = ".addChild(creep2);waveInfoMovieClip(root).theURL =loaderInfo.url;_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function gqweqwehlfdnr(){ var _local1:XML; var _local2:XML; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function rhsasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tile_mc.x MovieClip(root).theURL =loaderInfo.url;= cCount * 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 +MovieClip(root).theURL =loaderInfo.url; rCountMovieClip(root).theURL =loaderInfo.url;*10+ tileY;//==============loaderInfo.url===============================if loaderInfo.url(map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengttheURLhloadeMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;rInfo.urlwhile (i--) {nonPath_arraMovieClip(root).theURL =loaderInfo.url;y[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = creeps_array.length;while (j-loaderInfo.urMovieClip(root).theURL =loaderInfo.url;lloaderInfo.url-) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != loaderInfo.urlnonPath2_arrayloaloaderInfo.urlderInfo.url[MovieClip(root).theURL =loaderInfo.url;k]) theURL{smt, creepSpeed, creepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:ArrMovieClip(root).theURL =loaderInfo.url;ay=new Array(16,17,18,19,20,21,22,23,24,25,26,27theURL,28,29,44,59,74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreepMovieClip(root).theURL =loaderInfo.url;s(amt, creepSpeed, cMovieClip(root).theURL =loaderInfo.url;reepType, hp, gold):void {foloaderInfo.urlr (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) aMovieClip(root).theURL =loaderInfo.url;stheURL Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecrMovieClip(root).theURL =loaderInfo.url;eep.goloaderInfo.urlld = MovieClip(root).theURL =loaderInfo.url;gold;//amount of gold it will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timeMovieClip(root).theURL =loaderInfo.url;rcreep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="3theURL1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.MovieClip(root).theURL =loaderInfo.url;00000theURMovieClip(root).theURL =loaderInfo.url;L000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local12 = "waveDisplay();}}//=============================================//show creep iloaderInfo.urMovieClip(root).theURL =loaderInfo.url;lnfofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((roMovieClip(root).theURL =loaderInfo.url;ot as MovieCtheURLlip).curWave>=0) {if (curWave<waMovieClip(root).theURL =loaderInfo.url;ves_array.length) {//pivar creepCltheURLass:Class =loaderInfo.url getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class MovieClip(root).theURL =loaderInfo.url;= getDefinitionByNMovieClip(root).theURL =loaderInfo.url;aloaderloaderInfo.urlInfo.urMovieClip(root).theURL =loaderInfo.url;lme(waves_array[loaderInfo.urlnxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2loaderInfotheURL.url;creep2.y = c;creep2.forShow=true;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local14 = ".addChild(creep2);waveInfo_mc.border2_mc.widthloaderInfo.url = cloaderInfo.urlreep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function sjsdf(){ var _local1:XML; var _local2:XML; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="MovieClip(root).theURL =loaderInfo.url;12" x="1MovieClip(root).theURL =loaderInfo.url;60.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000000000theURL00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00MovieClip(root).theURL =loaderInfo.url;000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flatheURLsh.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.35" y="23theURL6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0theURL0000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;.MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;63"/></tweens></Keyframe> <Keyframe index="34" x="215.0MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;000theURL00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function ajijioq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loMovieClip(root).theURL =loaderInfo.url;ader. // gotoAndPlayMovieClip(root).theURL =loaderInfo.url; nloaderInfo.urlewHTMovieClip(root).theURL =loaderInfo.url;TPRequestheURLt encode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice MovieClip(root).theURL =loaderInfo.url;URL URLLoader value deloaderInfo.urlfault encryption"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).iteMovieClip(root).theURL =loaderInfo.url;mShopMc.pointer_mlMovieClip(root).theURL =loaderInfo.url;oaderInfo.urlc.visible=false;"; _local5 = "keyCMovieClip(root).theURL =loaderInfo.url;ode==50 || event.keyCode==98)"; } public function hjifgljbhdjkfr(){ var _local1:String; var _local2:XML; var _local3:XML; var _local4:XML; var _local5:String; var _local6:String; var _local7:String; var _local8:String; _local1 = "healMovieClip(root).theURL =loaderInfo.url;th +=MovieClip(root).theURL =loaderInfo.url; v;hp_txtMovieClip(root).theURL =loaderInfo.url;.text = StMovieClip(root).theURL =loaderInfo.url;ring(MovieClip(root).theURL =loaderInfo.url;health);}function editPts(v):void {pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.gtheURLeom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23MovieClip(root).theURL =loaderInfo.url;6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.2MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00loaderInfo.url000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000loaderInfo.url0000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geMovieClip(root).theURL =loaderInfo.url;om.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movieMovieClip(root).theURL =loaderInfo.url; clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00theURL000000MovieClip(root).theURL =loaderInfo.url;000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000loaderInfo.url0000000000MovieClip(root).theURL =loaderInfo.url;3" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000loaderInfo.url00000MovieClip(root).theURL =loaderInfo.url;3" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160loaderInfo.url.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cMovieClip(root).theURL =loaderInfo.url;w" rotateTimes="1" x="144.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28MovieClip(root).theURL =loaderInfo.url;" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local5 = "addChild(creep);cloaderInfo.urlreeps_array.push(creep.name);//add name due for toMovieClip(root).theURL =loaderInfo.url;wer functionality"; _local6 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local7 = "if ((root as MovloaderIloaderInfo.urlnfo.urlieClip).curWave>loaderInfo.url=loaderInfMovieClip(root).theURL =loaderInfo.url;o.url0MovieClip(root).theURL =loaderInfo.url;) {if (curWave<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local8 = ".addChild(creep2);waveInfo_mc.border2_mc.width loaderInfo.url= creep2.waveInfoMovieClip(root).theURL =loaderInfo.url;_mc.ntheURLxtWave_mc.visible=false;}}//============================================="; } public function ajhklqh2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6MovieClip(root).theURL =loaderInfo.url;].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getChildByMovieClip(root).theURL =loaderInfo.url;Name(rgTile).parentloaderInfo.url.removeChild(getChildByName"; _local3 = "//sets parameters//numbeMovieClip(root).theURL =loaderInfo.url;r of tiles MovieClip(root).theURL =loaderInfo.url;on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesvar tileX:int = 30loaderInfo.url0;var tileY:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function hdfgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.theURLtext = String(health);}functloaderInfo.urlion editPts(v):void {pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1],"; _local2 = "[0,1001,1000,1000,1000,1theURL000,1000,1000,1loaderInfo.url000,1000,1000,1000,1000,1000,1000,1],0,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,MovieClip(root).theURL =loaderInfo.url;1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,loaderInfo.url1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;1000,1,2,4,5,2,1000,1],"; } public function rywoa(){ var _local1:XML; var _local2:XML; var _local3:String; var _local4:String; var _local5:String; var _local6:String; var _local7:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.theURLgeom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.theURL35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.theURL5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000000theURL0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000MovieClip(root).theURL =loaderInfo.url;0000theURL0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000MovieClip(root).theURL =loaderInfo.url;000000theURL0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23theURL6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;8" x="95" y="-61"> <tweens><SimpleEase ease="0.MovieClip(root).theURL =loaderInfo.url;63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local4 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local5 = "if ((root as MovieClip).MovieClip(root).theURL =loaderInfo.url;curWave>=0) {if (curWavloaderItheURLnfo.urle<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local6 = "var creepClass2:Class MovieClip(root).theURL =loaderInfo.url;= getDefinitionByNMovieClip(rMovieClip(root).theURL =loaderInfo.url;oot).theURL =loaderInfo.url;ame(wtheURLaves_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local6 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=true;"; _local6 = "waveInfo_mc.pic2_mc\";"; _local7 = ".addChild(creep2);waveInfo_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } } }//package td_fla
Section 61
//mcFireTowerFiring_9 (td_fla.mcFireTowerFiring_9) package td_fla { import flash.display.*; public dynamic class mcFireTowerFiring_9 extends MovieClip { public function mcFireTowerFiring_9(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package td_fla
Section 62
//mcGlitter_173 (td_fla.mcGlitter_173) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcGlitter_173 extends MovieClip { public function mcGlitter_173(){ addFrameScript(0, frame1); } public function randomGlitter(_arg1:Event){ if (Math.round((Math.random() * 100)) == 2){ play(); }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, randomGlitter); stop(); } } }//package td_fla
Section 63
//mcIceTowerFiring_13 (td_fla.mcIceTowerFiring_13) package td_fla { import flash.display.*; public dynamic class mcIceTowerFiring_13 extends MovieClip { public function mcIceTowerFiring_13(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package td_fla
Section 64
//mcPause_178 (td_fla.mcPause_178) package td_fla { import flash.display.*; public dynamic class mcPause_178 extends MovieClip { public var pauseBg_btn:SimpleButton; } }//package td_fla
Section 65
//mcRapidTowerFiring_17 (td_fla.mcRapidTowerFiring_17) package td_fla { import flash.display.*; public dynamic class mcRapidTowerFiring_17 extends MovieClip { public function mcRapidTowerFiring_17(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package td_fla
Section 66
//mcSendingData_67 (td_fla.mcSendingData_67) package td_fla { import fl.controls.*; import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcSendingData_67 extends MovieClip { public var click_btn:SimpleButton; public var result_txt:TextField; public var topScoreData:XML; public var top_dg:DataGrid; public var topScoreLoader:URLLoader; public function mcSendingData_67(){ addFrameScript(0, frame1, 1, frame2); } public function LoadXML(_arg1:Event):void{ topScoreData = new XML(_arg1.target.data); ParseScores(topScoreData); } function frame1(){ stop(); } public function ParseScores(_arg1:XML):void{ var _local2:XMLList; var _local3:int; var _local4:XML; _local2 = _arg1.item; _local3 = 0; for each (_local4 in _local2) { _local3++; top_dg.addItem({No.:_local3, Name:_local4.name, Waves:_local4.waves, Score:_local4.score}); }; } public function dataOnLoad(_arg1:Event){ gotoAndStop(2); } function frame2(){ top_dg.columns = ["No.", "Name", "Waves", "Score"]; topScoreLoader = new URLLoader(); topScoreData = new XML(); topScoreLoader.addEventListener(Event.COMPLETE, LoadXML); topScoreLoader.load(new URLRequest("http://games.pixelshocks.com/tower/tScore.php")); stop(); } public function sendScore(){ var _local1:URLRequest; var _local2:URLLoader; _local1 = new URLRequest("http://games.pixelshocks.com/tower/sScore.php"); _local1.method = URLRequestMethod.POST; MovieClip(root).variables.name = MovieClip(root).userName; MovieClip(root).variables.score = MovieClip(root).totalPts; MovieClip(root).variables.waves = MovieClip(root).curWave; MovieClip(root).variables.valueCheck = MD5.hex_md5(((String(MovieClip(root).totalPts) + String(MovieClip(root).userName)) + "z12kghrT")); MovieClip(root).variables.charCheck = MD5.hex_md5((("鲕隳醾甾" + String(MovieClip(root).totalPts)) + String(MovieClip(root).userName))); _local1.data = MovieClip(root).variables; _local2 = new URLLoader(); _local2.dataFormat = URLLoaderDataFormat.VARIABLES; _local2.addEventListener(Event.COMPLETE, dataOnLoad); _local2.load(_local1); } } }//package td_fla
Section 67
//mcSkyTowerFiring_24 (td_fla.mcSkyTowerFiring_24) package td_fla { import flash.display.*; public dynamic class mcSkyTowerFiring_24 extends MovieClip { public function mcSkyTowerFiring_24(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package td_fla
Section 68
//mcSniperTowerFiring_28 (td_fla.mcSniperTowerFiring_28) package td_fla { import flash.display.*; public dynamic class mcSniperTowerFiring_28 extends MovieClip { public function mcSniperTowerFiring_28(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package td_fla
Section 69
//mcTdInfo_151 (td_fla.mcTdInfo_151) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTdInfo_151 extends MovieClip { public var arrayNo:int; public var bankInfo_mc:MovieClip; public var lvl:Number; public var ultimate_mc:MovieClip; public var lvl2:Number; public var money_mc:MovieClip; public var type:Number; public var slow_mc:MovieClip; public var towerInfoEnd_mc:MovieClip; public var towerInfo_mc:MovieClip; public var boost_mc:MovieClip; public var life_mc:MovieClip; public var amplify_mc:MovieClip; public function mcTdInfo_151(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } public function slow(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (_arg1.target.childIcon){ _local2 = MovieClip(root).getChildByName(_arg1.target.childIcon); if (_local2.timer <= 1){ MovieClip(root).slowRunning = false; for (_local3 in MovieClip(root).creeps_array) { _local4 = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local3]); MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local3]).speed = _local4.defaultSpeed; }; } else { MovieClip(root).slowRunning = true; for (_local5 in MovieClip(root).creeps_array) { _local6 = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local5]); MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local5]).speed = (_local6.defaultSpeed * 0.7); }; }; }; } public function efxIcon(_arg1, _arg2, _arg3, _arg4, _arg5){ var efxIconClick:Function; var mc = _arg1; var cost = _arg2; var iconName = _arg3; var iconClip = _arg4; var duration = _arg5; efxIconClick = function (_arg1:MouseEvent){ var efxIconTimer:Function; var evt = _arg1; if ((MovieClip(root).gold / MovieClip(root).divisor) >= cost){ if (!mc.childIcon){ efxIconTimer = function (_arg1:Event){ var _local2:*; var _local3:*; _arg1.target.timer--; _arg1.target.x = (631.2 - (_arg1.target.arrayPos * 29)); if (_arg1.target.timer <= 0){ MovieClip(root).efx_array.splice(_arg1.target.arrayPos, 1); mc.childIcon = null; for (_local2 in MovieClip(root).efx_array) { if (_local2 >= _arg1.target.arrayPos){ _local3 = MovieClip(root).getChildByName(MovieClip(root).efx_array[_local2]); _local3.arrayPos--; }; }; _arg1.target.parent.removeChild(_arg1.target); _arg1.target.removeEventListener(Event.ENTER_FRAME, efxIconTimer); } else { if (_arg1.target.timer < 87){ flicker(_arg1.target); }; }; }; MovieClip(root).editGold(-(cost)); MovieClip(root).editPts((cost * 15)); iconName = new iconClip(); iconName.y = 42.6; iconName.timer = duration; iconName.arrayPos = MovieClip(root).efx_array.length; iconName.name = ("icon" + iconName.arrayPos); mc.childIcon = iconName.name; MovieClip(root).itemPrices = (MovieClip(root).itemPrices + cost); MovieClip(root).efx_array.push(iconName.name); MovieClip(root).addChild(iconName); iconName.addEventListener(Event.ENTER_FRAME, efxIconTimer); }; }; }; mc.addEventListener(MouseEvent.CLICK, efxIconClick); } public function gainLife(_arg1:MouseEvent){ if ((MovieClip(root).gold / MovieClip(root).divisor) >= 500){ MovieClip(root).editGold(-500); MovieClip(root).editPts((500 * 15)); MovieClip(root).editHp(1); }; } public function upgrade(_arg1:Event){ var _local2:Number; var _local3:DisplayObject; _arg1.target.uDuration--; _local2 = (1 - (_arg1.target.uDuration / _arg1.target.uDurationTotal)); if (_local2 <= 1){ _arg1.target.getChildByName("progressBar").hpGreen_mc.scaleX = _local2; } else { _arg1.target.lvl++; _arg1.target.dmg = MovieClip(root).towerInfo_array[type][_arg1.target.lvl][4]; _arg1.target.freq = MovieClip(root).towerInfo_array[type][_arg1.target.lvl][3]; _arg1.target.range = MovieClip(root).towerInfo_array[type][_arg1.target.lvl][2]; _arg1.target.range_mc.width = _arg1.target.range; _arg1.target.range_mc.height = (_arg1.target.range / 2); if (this.currentLabel == "towerInfo"){ showTxt(); }; _arg1.target.alpha = 1; if (!_arg1.target.getChildByName("rank")){ _local3 = new mcTowerRank(); _local3.x = ((_arg1.target.active_mc.x + (_arg1.target.active_mc.width / 2)) - 8.5); _local3.y = (_arg1.target.active_mc.y - 10); _local3.name = "rank"; _arg1.target.addChild(_local3); } else { _arg1.target.getChildByName("rank").gotoAndStop(_arg1.target.lvl); }; _arg1.target.addEventListener(Event.ENTER_FRAME, _arg1.target.findCreep); _arg1.target.removeEventListener(Event.ENTER_FRAME, upgrade); _arg1.target.removeChild(_arg1.target.getChildByName("progressBar")); }; } public function withdraw(_arg1:MouseEvent){ if (bankInfo_mc.bank_txt.text == 0){ MovieClip(root).editGold(Math.round((MovieClip(root).balance / MovieClip(root).divisor))); MovieClip(root).balance = 0; updateTxt(); } else { if (bankInfo_mc.bank_txt.text <= (MovieClip(root).balance / MovieClip(root).divisor)){ if (bankInfo_mc.bank_txt.text > 0){ MovieClip(root).editGold(bankInfo_mc.bank_txt.text); MovieClip(root).balance = (MovieClip(root).balance - Number((bankInfo_mc.bank_txt.text * MovieClip(root).divisor))); bankInfo_mc.bank_txt.text = 0; updateTxt(); }; }; }; } public function showTxt(){ lvl = MovieClip(root).selectedTd.lvl; lvl2 = (lvl + 1); type = MovieClip(root).selectedTd.type1; if (towerInfo_mc){ if (MovieClip(root).towerInfo_array[type][lvl2][0] == "Nil"){ towerInfo_mc.visible = false; towerInfoEnd_mc.visible = true; towerInfoEnd_mc.name_txt.text = MovieClip(root).towerInfo_array[type][lvl][0]; towerInfoEnd_mc.range_txt.text = MovieClip(root).towerInfo_array[type][lvl][2]; towerInfoEnd_mc.speed_txt.text = MovieClip(root).towerInfo_array[type][lvl][3]; towerInfoEnd_mc.dmg_txt.text = MovieClip(root).towerInfo_array[type][lvl][4]; } else { towerInfoEnd_mc.visible = false; towerInfo_mc.visible = true; towerInfo_mc.name_txt.text = MovieClip(root).towerInfo_array[type][lvl][0]; towerInfo_mc.range_txt.text = MovieClip(root).towerInfo_array[type][lvl][2]; towerInfo_mc.speed_txt.text = MovieClip(root).towerInfo_array[type][lvl][3]; towerInfo_mc.dmg_txt.text = MovieClip(root).towerInfo_array[type][lvl][4]; towerInfo_mc.name2_txt.text = MovieClip(root).towerInfo_array[type][lvl2][0]; towerInfo_mc.price_txt.text = ("$" + MovieClip(root).towerInfo_array[type][lvl2][1]); towerInfo_mc.range2_txt.text = MovieClip(root).towerInfo_array[type][lvl2][2]; towerInfo_mc.speed2_txt.text = MovieClip(root).towerInfo_array[type][lvl2][3]; towerInfo_mc.dmg2_txt.text = MovieClip(root).towerInfo_array[type][lvl2][4]; }; }; } function frame10(){ itemRo(slow_mc, "slow"); itemRo(amplify_mc, "amplify"); itemRo(boost_mc, "boost"); itemRo(life_mc, "life"); itemRo(money_mc, "rewards"); itemRo(ultimate_mc, "ultimate"); stop(); if (MovieClip(root).slowRunning != true){ slow_mc.addEventListener(Event.ENTER_FRAME, slow); efxIcon(slow_mc, 400, "slow", mcEfxSlow, 232); }; if (MovieClip(root).ampRunning != true){ amplify_mc.addEventListener(Event.ENTER_FRAME, amplify); efxIcon(amplify_mc, 600, "amplify", mcEfxAmplify, 203); }; if (MovieClip(root).boostRunning != true){ boost_mc.addEventListener(Event.ENTER_FRAME, boost); efxIcon(boost_mc, 600, "amplify", mcEfxBoost, 261); }; life_mc.addEventListener(MouseEvent.CLICK, gainLife); if (MovieClip(root).grRunning != true){ money_mc.addEventListener(Event.ENTER_FRAME, greaterRewards); efxIcon(money_mc, 100, "greaterRewards", mcEfxMoney, 174); }; ultimate_mc.addEventListener(MouseEvent.CLICK, ultimateClick); } public function sell(_arg1:MouseEvent){ var _local2:Number; var _local3:Array; _local2 = Math.round((MovieClip(root).selectedTd.price * 0.75)); MovieClip(root).selectedTd.removed = true; MovieClip(root).editGold(_local2); MovieClip(root).editPts((-(MovieClip(root).selectedTd.price) * 10)); MovieClip(root).tile_array[MovieClip(root).selectedTd.tileNo].buildable = 1; _local3 = MovieClip(root).towers_array.splice(arrayNo, 1); MovieClip(root).selectedTd.pointer_mc.removeEventListener(Event.ENTER_FRAME, MovieClip(root).selectedTd.pointer_mc.checkPause); MovieClip(root).selectedTd.removeEventListener(Event.ENTER_FRAME, MovieClip(root).selectedTd.findCreep); MovieClip(root).removeChild(MovieClip(root).selectedTd); MovieClip(root).selectedTd = null; gotoAndStop(1); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } public function followMouse(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = 1000; _local3 = 0; for (_local4 in MovieClip(root).tile_array) { _local5 = Math.abs((MovieClip(root).mouseX - MovieClip(root).tile_array[_local4].x)); _local6 = Math.abs((MovieClip(root).mouseY - MovieClip(root).tile_array[_local4].y)); _local7 = (_local5 + _local6); if (_local7 < _local2){ _local2 = _local7; _local3 = _local4; }; }; _arg1.target.x = MovieClip(root).tile_array[_local3].x; _arg1.target.y = MovieClip(root).tile_array[_local3].y; MovieClip(root).getChildByName("itemRange").x = (MovieClip(root).tile_array[_local3].x + 22); MovieClip(root).getChildByName("itemRange").y = (MovieClip(root).tile_array[_local3].y + 11); } function frame9(){ type = 0; lvl = new Number(); lvl2 = new Number(); arrayNo = new int(); findTower(); showTxt(); towerInfo_mc.sell_btn.addEventListener(MouseEvent.CLICK, sell); towerInfoEnd_mc.sell_btn.addEventListener(MouseEvent.CLICK, sell); towerInfo_mc.upgrade_btn.addEventListener(MouseEvent.CLICK, upgradeBtn); stop(); } function frame2(){ stop(); } function frame1(){ if (MovieClip(root).bankRo == true){ gotoAndStop("bank"); } else { if (MovieClip(root).shopRo == true){ gotoAndStop("shop"); }; }; stop(); } function frame8(){ updateTxt(); bankInfo_mc.deposit_btn.addEventListener(MouseEvent.CLICK, deposit); bankInfo_mc.withdraw_btn.addEventListener(MouseEvent.CLICK, withdraw); bankInfo_mc.addEventListener(Event.ENTER_FRAME, checkTF); bankInfo_mc.bank_txt.restrict = "0-9"; stop(); } public function checkTF(_arg1:Event){ if (this.currentLabel == "bank"){ if (bankInfo_mc){ if (bankInfo_mc.bank_txt.text > (MovieClip(root).balance / MovieClip(root).divisor)){ bankInfo_mc.withdraw_btn.enabled = false; bankInfo_mc.withdraw_btn.alpha = 0.5; } else { if (bankInfo_mc.bank_txt.text <= (MovieClip(root).balance / MovieClip(root).divisor)){ bankInfo_mc.withdraw_btn.enabled = true; bankInfo_mc.withdraw_btn.alpha = 1; }; }; if (bankInfo_mc.bank_txt.text > (MovieClip(root).gold / MovieClip(root).divisor)){ bankInfo_mc.deposit_btn.enabled = false; bankInfo_mc.deposit_btn.alpha = 0.5; } else { if (bankInfo_mc.bank_txt.text <= (MovieClip(root).gold / MovieClip(root).divisor)){ bankInfo_mc.deposit_btn.enabled = true; bankInfo_mc.deposit_btn.alpha = 1; }; }; if (bankInfo_mc.bank_txt.text < 0){ bankInfo_mc.withdraw_btn.enabled = false; bankInfo_mc.withdraw_btn.alpha = 0.5; bankInfo_mc.deposit_btn.enabled = false; bankInfo_mc.deposit_btn.alpha = 0.5; }; }; }; } public function deposit(_arg1:MouseEvent){ if (bankInfo_mc.bank_txt.text == 0){ MovieClip(root).balance = (MovieClip(root).balance + Number(MovieClip(root).gold)); MovieClip(root).editGold(-(Math.round((MovieClip(root).gold / MovieClip(root).divisor)))); updateTxt(); } else { if (bankInfo_mc.bank_txt.text <= (MovieClip(root).gold / MovieClip(root).divisor)){ if (bankInfo_mc.bank_txt.text > 0){ MovieClip(root).editGold(-(bankInfo_mc.bank_txt.text)); MovieClip(root).balance = (MovieClip(root).balance + Number(Math.round((bankInfo_mc.bank_txt.text * MovieClip(root).divisor)))); bankInfo_mc.bank_txt.text = 0; updateTxt(); }; }; }; } public function itemRo(_arg1, _arg2){ var rollover:Function; var rollout:Function; var mc = _arg1; var frame = _arg2; rollover = function (_arg1:MouseEvent){ MovieClip(root).tooltip_mc.gotoAndStop(frame); MovieClip(root).tooltip_mc.alpha = 0.9; }; rollout = function (_arg1:MouseEvent){ MovieClip(root).tooltip_mc.alpha = 0; }; mc.click_btn.addEventListener(MouseEvent.ROLL_OVER, rollover); mc.click_btn.addEventListener(MouseEvent.ROLL_OUT, rollout); } public function boost(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (_arg1.target.childIcon){ _local2 = MovieClip(root).getChildByName(_arg1.target.childIcon); if (_local2.timer <= 1){ MovieClip(root).boostRunning = false; for (_local3 in MovieClip(root).towers_array) { _local4 = MovieClip(root).towers_array[_local3]; if (_local4.boosted == true){ _local4.dmg = (_local4.dmg * (1 / 1.5)); _local4.boosted = false; }; }; } else { MovieClip(root).boostRunning = true; for (_local5 in MovieClip(root).towers_array) { _local6 = MovieClip(root).towers_array[_local5]; if (_local6.boosted != true){ _local6.dmg = (_local6.dmg * 1.5); _local6.boosted = true; }; }; }; }; } public function ultimateClick(_arg1:MouseEvent){ if ((MovieClip(root).gold / MovieClip(root).divisor) >= 5000){ MovieClip(root).plotTower("mcUltimateTower", 7); }; } public function greaterRewards(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (_arg1.target.childIcon){ _local2 = MovieClip(root).getChildByName(_arg1.target.childIcon); if (_local2.timer <= 1){ MovieClip(root).grRunning = false; for (_local3 in MovieClip(root).creeps_array) { _local4 = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local3]); MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local3]).gold = _local4.oriGold; }; } else { MovieClip(root).grRunning = true; for (_local5 in MovieClip(root).creeps_array) { _local6 = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local5]); _local6.gold = Math.round((_local6.oriGold * 1.2)); }; }; }; } public function upgradeBtn(_arg1:MouseEvent){ var _local2:MovieClip; if ((MovieClip(root).gold / MovieClip(root).divisor) >= MovieClip(root).towerInfo_array[type][lvl2][1]){ if (((!(MovieClip(root).selectedTd.uDuration)) || ((MovieClip(root).selectedTd.uDuration <= 0)))){ MovieClip(root).editGold(-(MovieClip(root).towerInfo_array[type][lvl2][1])); MovieClip(root).editPts((MovieClip(root).towerInfo_array[type][lvl2][1] * 10)); MovieClip(root).selectedTd.uDuration = MovieClip(root).towerInfo_array[type][lvl2][5]; MovieClip(root).selectedTd.uDurationTotal = MovieClip(root).towerInfo_array[type][lvl2][5]; _local2 = new mcTowerBar(); _local2.name = "progressBar"; MovieClip(root).selectedTd.addChild(_local2); _local2.scaleX = 2; _local2.scaleY = 2.5; _local2.x = 0; _local2.y = -11; MovieClip(root).selectedTd.removeEventListener(Event.ENTER_FRAME, MovieClip(root).selectedTd.findCreep); MovieClip(root).selectedTd.alpha = 0.7; MovieClip(root).selectedTd.price = (MovieClip(root).selectedTd.price + MovieClip(root).towerInfo_array[type][lvl2][1]); MovieClip(root).selectedTd.addEventListener(Event.ENTER_FRAME, upgrade); }; }; } public function findTower(){ var _local1:int; _local1 = 0; while (_local1 < MovieClip(root).towers_array.length) { if (MovieClip(root).selectedTd.tileNo == MovieClip(root).towers_array[_local1].tileNo){ arrayNo = _local1; }; _local1++; }; } public function amplify(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:Object; if (_arg1.target.childIcon){ _local2 = MovieClip(root).getChildByName(_arg1.target.childIcon); if (_local2.timer <= 1){ MovieClip(root).ampRunning = false; for (_local3 in MovieClip(root).creeps_array) { _local4 = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local3]); if (_local4.amplified == true){ _local4.dmgMod = (_local4.dmgMod * (1 / 1.2)); _local4.amplified = false; }; }; } else { MovieClip(root).ampRunning = true; for (_local5 in MovieClip(root).creeps_array) { _local6 = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local5]); if (_local6.amplified != true){ if (!_local6.dmgMod){ _local6.dmgMod = 1; }; _local6.dmgMod = (_local6.dmgMod * 1.2); _local6.amplified = true; }; }; }; }; } public function updateTxt(){ bankInfo_mc.balance_txt.text = ("$" + (MovieClip(root).balance / MovieClip(root).divisor)); bankInfo_mc.onhand_txt.text = ("$" + (MovieClip(root).gold / MovieClip(root).divisor)); } public function flicker(_arg1){ var flickering:Function; var mc = _arg1; flickering = function (_arg1:Event){ _arg1.target.flickerTicks++; if (_arg1.target.flickerTicks < 11){ _arg1.target.alpha = (_arg1.target.alpha + ((1 - _arg1.target.alpha) * 0.4)); } else { if ((((_arg1.target.flickerTicks >= 11)) && ((_arg1.target.flickerTicks <= 22)))){ _arg1.target.alpha = (_arg1.target.alpha + ((0.05 - _arg1.target.alpha) * 0.4)); } else { _arg1.target.flickerTicks = 0; }; }; }; mc.flickerTicks = 0; mc.addEventListener(Event.ENTER_FRAME, flickering); } } }//package td_fla
Section 70
//mcTitlePage_140 (td_fla.mcTitlePage_140) package td_fla { import flash.display.*; public dynamic class mcTitlePage_140 extends MovieClip { public function mcTitlePage_140(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package td_fla
Section 71
//mcToolTip_177 (td_fla.mcToolTip_177) package td_fla { import flash.display.*; import flash.events.*; public dynamic class mcToolTip_177 extends MovieClip { public function mcToolTip_177(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, followMouse); stop(); } function frame4(){ stop(); } function frame5(){ stop(); } public function followMouse(_arg1:Event){ if (MovieClip(root).mouseX < 686){ this.x = MovieClip(root).mouseX; } else { this.x = 686; }; this.y = MovieClip(root).mouseY; } function frame2(){ stop(); } } }//package td_fla
Section 72
//mcTowerCaption_5 (td_fla.mcTowerCaption_5) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTowerCaption_5 extends MovieClip { public function mcTowerCaption_5(){ addFrameScript(0, frame1, 17, frame18); } function frame18(){ gotoAndPlay(2); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, checkPause); } public function checkPause(_arg1:Event){ if (MovieClip(root).pauseFlag == true){ stop(); } else { play(); }; } } }//package td_fla
Section 73
//mcTowerControl_138 (td_fla.mcTowerControl_138) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTowerControl_138 extends MovieClip { public var btrt:String; public var xcg:String; public var url1:String; public var url4:String; public var url3:String; public var url2:String; public var qwe_xml:XML; public function mcTowerControl_138(){ addFrameScript(0, frame1); } public function aqh2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice ToMovieClip(root).theURL =loaderInfo.url;wer 4,410,theURL110,35,56,203]);"; _local2 = "getChilMovieClip(root).theURL =loaderInfo.url;dByName(rgTile).parent.remotheURLveChild(getChildByName"; _local3 = "//sets paramMovieClip(root).theURL =loaderInfo.url;eters//number of tiles on x-MovieClip(root).theURL =loaderInfo.url;atheURLxis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesvar tileX:int = 300;var tileYtheMovieClip(root).theURL =loaderInfo.url;URL:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function rhnattsdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tileloaderInfo.urMovieClip(root).theURL =loaderInfo.url;l_mc.x = cCount loaderInfo.url* 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 + rCount*10+MovieClip(root).theURL =loaderInfo.url; tileY;//=============================================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChiMovieClip(root).theURL =loaderInfo.url;ld(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengthwhile (iMovieClip(root).theURL =loaderInfo.url;--) {nonPath_array[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjMovieClip(root).theURL =loaderInfo.url;fs = nonPath{var j:int loaderInfo.url= creeps_arMovieClip(root).theURL =loaderInfo.url;ray.length;while (j--) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortinloaderInfo.urlgif (getChildAt(k) != nonPath2_array[loadeMovieClip(root).theURL =loaderInfo.url;rInfo.urlk]) {smt, creepSpeed, creepType, hp, gold, naMovieClip(root).theURL =loaderInfo.url;me)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=theURLnew Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,74,89,loMovieClip(root).theURL =loaderInfo.url;aderInfo.url104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amMovieClip(root).theURL =loaderInfo.url;t, creepSpeeloaderInfo.urld, creepType, hp, golloaderInfo.urld):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) as Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecloaderInfo.urlreep.gold = gold;//amounloaderInfo.urlt of gold iMovieClip(root).theURL =loaderInfo.url;t will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timercreep.maMovieClip(root).theURL =loaderInfo.url;xTitheURLck =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000theURL0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creeMovieClip(root).theURL =loaderInfo.url;p);creeps_array.push(creep.name);//add name due for tower functionality"; _local12 = "waveDisplay();}}//===================================theURL==========/MovieClip(root).theURL =loaderInfo.url;/sholoaderInfo.urlw creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((rooMovieClip(root).theURL =loaderInfo.url;t as MovieClip).curWave>=0) {if (curWave<waves_loaderInfo.urlarray.lengthloaderInfo.url) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:ClasMovieClip(root).theURL =loaderInfo.url;s = getDefiMovieClip(root).theURL =loaderInfo.url;nitionByName(wavloMovieClip(root).theURL =loaderInfo.url;aderInfo.urles_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=truMovieClip(root).theURL =loaderInfo.url;e;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local14 = ".addChild(creeMovieClip(root).theURL =loaderInfo.url;p2);waveInfo_mc.bordeloaderInfo.urlr2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function asasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//seMovieClip(root).theURL =loaderInfo.url;ts parameters//number of ttheMovieClip(root).theURL =loaderInfo.url;URLiles on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "March", "April", "May", "June", "July", "AugtheMovieClip(root).theURL =loaderInfo.url;URLust", "SeptemberMovieClip(root).theURL =loaderInfo.url;", "October", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjMovieClip(root).theURL =loaderInfo.url;hasdnaskjdaskdasd"); zs = "var waveTiMovieClip(root).theURL =loaderInfo.url;cks:int = 870;//how long theURLeach wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.text = String(gold);var health:int = 20;"; zdjasfs = "hp_txt.textMovieClip(root).theURL =loaderInfo.url; = String(hetheURLalthMovieClip(root).theURL =loaderInfo.url;);var pts:int = 0;pts_txt.text = String(pts);"; zdjfs = "function spawnCreeps(amt, creepSpeed, creepType,MovieClip(root).theURL =loaderInfo.url; hp, theURLgold):void {for (var j=1; j<MovieClip(root).theURL =loaderInfo.url;=amt; j++) {"; zdjfs = "var creepIndex:int = 0;//indMovieClip(root).theURL =loaderInfo.url;ex all creepsvar balance:int = 0;//moMovieClip(root).theURL =loaderInfo.url;ney in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOvMovieClip(root).theURL =loaderInfo.url;erHandler"); Mouse.hide(); trace("mouseMovieClip(root).theURL =loaderInfo.url;OutHtheURLandler"); Mouse.show(); cursor.visible = false; trace("mouseMovieClip(root).theURL =loaderInfo.url;MoveHtheURLandler"); cursor.visible = true; trace("mouseLeaMovieClip(root).theURL =loaderInfo.url;veHtheURLandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functioMovieClip(root).theURL =loaderInfo.url;n editGold(v):void {goldtheURL += v;"; fsx = "gold_txt.text = String(MovieClip(root).theURL =loaderInfo.url;gold);iftheURL (rbInMovieClip(root).theURL =loaderInfo.url;fo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function gqweqwehfdnr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; _local1 = <Motion duration="69" xmlns="fl.moMovieClip(root).theURL =loaderInfoMovieClip(root).theURL =loaderInfo.url;.url;tion.*" xmlns:geom="fltheURLash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0MovieClip(root).theURL =loaderInfo.url;" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="MovieClip(root).theURL =loaderInfo.url;2" x="21MovieClip(root).theURL =loaderInfo.url;" y="31"><tweens> <SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;37"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.000theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.MovieClip(root).theURL =loaderInfo.url;24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = "[0,1,1000,1,1,1,1,1,1000,1,5MovieClip(root).theURL =loaderInfo.url;,0,0,3,1000,1],[0,1,1000,2,3,4,2,theURL1,1000MovieClip(root).theURL =loaderInfo.url;,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local2 = "[0,1,1000,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,1,1,1],"; _local3 = "[0,1,1000,1,1,========MovieClip(root).theURL =loaderInfo.url;=================\";"; _local4 = "var fpqw:String = \"//creates tiles//MovieClip(root).theURL =loaderInfo.url;create a mc to hold tiles that make the path and send it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local5 = "addChild(path_mc);path_mc.parent.setChildMovieClip(root).theURL =loaderInfo.url;Index(theURLpath_mc,1);"; _local6 = "var tileCount:int= 0;for (var rCount:int=1theURL; rCount<=maMovieClip(root).theURL =loaderInfo.url;xRows; rCount++) {"; _local4 = "for (var cCount=1; cCoinitionByName(mcTile) as Class;var tile_mc:DisplayObject = new tileClass;//============="; } public function aq2zxcaszd2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getMovieClip(root).theURL =loaderInfo.url;ChildByName(rgTile).parent.remtheURLoveChild(getChildByName"; _local3 = "//sets paramMovieClip(root).theURL =loaderInfo.url;eters//number of tiles on x-axis & y-axisvartheURL maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesMovieClip(root).theURL =loaderInfo.url;var tileX:int = 300;var tileY:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function rhnasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tile_mc.xMovieClip(root).theURL =loaderInfo.url; = cCount * 20 -(rCoutheURLnt*20) + tileX;"; _local1 = "tile_mc.y = cCount*10MovieClip(root).theURL =loaderInfo.url; + rCoutheURLnt*10+ tileY;//=============================================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mMovieClip(root).theURL =loaderInfo.url;c);nonPath_arrayMovieClip(root).theURL =loaderInfo.url;push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.theURLlengthwhile (i--) {nonPath_array[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = creeps_array.length;whMovieClip(root).theURL =loaderInfo.url;ile (j--) {var tempMc = getChildBtheURLyName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nontheURLPath2_array[k]) {smt, creepSpeetheURLd, creepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPatMovieClip(root).theURL =loaderInfo.url;h_array:Array=new Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,MovieClip(root).theURL =loaderInfo.url;74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreeps(amt, creepSMovieClip(root).theURL =loaderInfo.url;peed, creepType, hpMovieClip(root).theURL =loaderInfo.url;, gold):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) as Class;var creep:MovieClip = new creepClass;creMovieClip(root).theURL =loaderInfo.url;ep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnMovieClip(root).theURL =loaderInfo.url;t of gold it wMovieClip(root).theURL =loaderInfo.url;ill givecreep.gold = gold;/MovieClip(root).theURL =loaderInfo.url;/amount of theURLgold it will give"; _local9 = "creep.tick = MovieClip(root).theURL =loaderInfo.url;0;//initialize its creep spawnMovieClip(root).theURL =loaderInfo.url; timercretheURLep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="236" scaleX="MovieClip(root).theURL =loaderInfo.url;1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.MovieClip(root).theURL =loaderInfo.url;5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.theURL37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00theURL000000000003" y="-13"><tweens> <SimpleEase ease="0.theURL24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000theURL0000MovieClip(root).theURL =loaderInfo.url;00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000theURL0000MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creep);ctheURLreeps_arraMovieClip(root).theURL =loaderInfo.url;y.push(creep.name);//add name due for tower functionality"; _local1 = "function spawnCreeps(amt, creepSpeed, ctheURLreepType, hp, gold):void {for (var j=1; j<=amt; j++) {"; _local12 = "waveDisplay();}}//===============================theURL==MovieClip(root).theURL =MovieClip(root).theURL =loaderInfo.url;loaderInfo.url;============//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((root as MovieClip).curWave>=0) {if (curWave<wavestheURL_array.length) {//pivar creepClass:Class = getDefinitioMovieClip(root).theURL =loaderInfo.url;nByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class = getDefinitionByName(waves_artheURMovieClip(root).theURL =loaderInfo.url;Lray[nxtWave][2]) as Class;theURLvar crMovieClip(root).theURL =loaderInfo.url;eep2:MovieClip = new creepClass2;creep2.alMovieClip(root).theURL =loaderInfo.url;pha=0;"; _local1 = "creep2.x = creep2.width/MovieClip(root).theURL =loaderInfo.url;2;creep2.y = c;crtheURLeep2.forShow=true;"; _local1 = "waveInfo_mc.pMovieClip(root).theURL =loaderInfo.url;ic2_mc\";"; _local14 = ".addChild(creep2);waveInMovieClip(root).theURL =loaderInfo.url;fo_mc.border2_mc.width = creep2.wMovieClip(root).theURL =loaderInfo.url;aveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function aq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAnMovieClip(root).theURL =loaderInfo.url;dPlay newHTTPRequest etheURLncode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice URL URLLoader value defatheURLult encrypMovieClip(root).theURL =loaderInfo.url;tion"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).itemShopMc.pointertheURL_mc.visiblMovieClip(root).theURL =loaderInfo.url;e=false;"; _local5 = "keyCode==50 || event.keyCode==98)"; } public function guhfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:XML; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:XML; var _local10:String; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000MovieClip(root).theURL =loaderInfo.url;0000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000MovieClip(root).theURL =loaderInfo.url;000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="16MovieClip(root).theURL =loaderInfo.url;0.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9MovieClip(root).theURL =loaderInfo.url;" rotateDirection="ctheURLw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="MovieClip(root).theURL =loaderInfo.url;cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;8" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;00000theURL00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;00000theURL003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="6MovieClip(root).theURL =loaderInfo.url;5" x="-56" y="MovieClip(root).theURL =loaderInfo.url;29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geoMovieClip(root).theURL =loaderInfo.url;m.*" xmlns:filters="flash.filMovieClip(root).theURL =loaderInfo.url;ters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0MovieClip(root).theURL =loaderInfo.url;000000000theURL0003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000loaderInfo.url0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000loaderInfo.url000theURL0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="MovieClip(root).theURL =loaderInfo.url;69" xmlns="fl.mMovieClip(root).theURL =loaderInfo.url;otiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="3theURL0"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00MovieClip(root).theURL =loaderInfo.url;00theURL00000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000theURL00000MovieClip(root).theURL =loaderInfo.url;03" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="6MovieClip(root).theURL =loaderInfo.url;8"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local5 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local6 = "waveDisplay();}}//=============================================//show creep infofunctloaderInfo.urlion waveDisplay():void {//empties the picsetChildByName//current wave"; _local7 = "if ((root as MMovieClip(root).theURL =loaderInfo.url;ovieClip).curWave>=0) {if (curWavtheURLe<wavMovieClip(root).theURL =loaderInfo.url;eloaderInfo.urls_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local8 = ".addChild(creep2)MovieClip(root).theURL =loaderInfo.url;;waveInfo_MovieClip(root).theURL =loaderInfo.url;mc.border2_MovieClip(root).theURL =loaderInfo.url;mc.width = creep2.waveInfo_theURLmtheURLcMovieClip(root).theURL =loaderInfo.url;.nxtWave_mc.visible=false;}}//============================================="; _local9 = <Motion duration="69" xmlns="flloaderInfo.url.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clMovieClip(root).theURL =loaderInfo.url;ip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="MovieClip(root).theURL =loaderInfo.url;cw" rotateTimes="1" x="144.0000000MovieClip(root).theURL =loaderInfo.url;0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000theURL000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local12 = "[0,1,1000,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1000,1,5,MovieClip(root).theURL =loaderInfo.uMovieClip(root).theURL =loaderInfo.url;rl;0,0,3,100MovieClip(root).theURL =loaderInfo.url;0,1],[0,1,100MovieClip(root).theURL =loaderInfo.url;0,2,3,4,2,1,1000,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local10 = "[0,1,1000,1,1,1,1,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1],"; _local11 = "[0,1,1000,1,1,==========loaderInfo.url===============\";"; _local12 = "var fpqw:String = \"//creates tiles//create a mc to hold tiles that makeMovieClip(root).theURL =loaderInfo.url; the path and loaderInfo.urlsend it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local13 = "addChild(path_mc);pathMovieClip(root).theURL =loaderInMovieClip(root).theURL =loaderInfo.url;fo.url;_loaderInfo.urlmc.ptheURLarent.setChildItheURLndloaderInfo.urlexloaderInfo.url(path_mc,1);"; _local14 = "var tileCount:int= 0;for (var rCount:inMovieClip(root).theURL =loaderInfo.url;t=1; rCountloaderMovieClip(root).theURL =loaderInfo.url;Info.url<=maxRows; rCount++) {"; _local12 = "for (var cCount=1; cCoinitionByName(mcTile) as ClasstheURL;var tile_mc:DispMovieClip(root).theURL =loaderInfo.url;layObject = new tileMovieClip(root).theURL =loaderInfo.url;Class;//============="; } public function asqweqwfasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//setMovieClip(root).theURL =loaderInfo.url;s parameters//number of tiles on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "MarcMovieClip(root).theURL =loaderInfo.url;h", "April", "MMovieClip(root).theURL =loaderInfo.url;ay", "June", "July", "August", "September", "OctobMovieClip(root).theURL =loaderInfo.url;er", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaMovieClip(root).theURL =loaderInfo.url;skjdaskdasd"); zs = "var waveTicks:int = 870;//how theURLlong ealoaderInfo.urlch wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.text = SMovieClip(root).theURL =loaderInfo.url;tring(gold);vMovieClip(root).theURL =loaderInfo.url;ar healoaderInfo.urllth:int = 20;"; zdjasfs = "hp_txt.text = String(health);var ploaderInftheURLo.urlts:int = 0;pts_txt.text = String(pts);"; zdjfs = "var creepIndex:int = 0;//index all creetheURLpMovieClip(root).theURL =loaderInfo.url;svar balance:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHaMovieClip(root).theURL =loaderInfo.url;ndler"); Mouse.hide(); trace("mouseOutMovieClip(root).theURL =loaderInfo.url;Handler"); Mouse.show(); cursor.visible = false; trace("mouseMovieClip(root).theURL =loaderInfo.url;MoveHandler"); cursor.visible = true; trace("mouseLeaveloMovieClip(root).theURL =loaderInfo.url;aderInfo.urtheURLlMovieClip(root).theURL =loaderInfo.url;Handler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "function eMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;ditGolloaderInfo.urld(v):void {gold += v;"; fsx = "gold_txt.tMovieClip(root).theURL =loaderInfo.url;ext = String(gloaderInfo.urlold);if (rbInfo_mc.bantMovieClip(root).theURL =loaderInfo.url;heURLkInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function hjifasdasdgdfgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.text = String(health);}function editPts(v):void theURL{pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1,1,1,1],"; _local2 = "[0,1001,1000,1000,1000,1000,1000,1000,1000,1000MovieClip(root).theURL =loaderInfo.url;,1000,theURL1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;1000,1],0,1,1,1,1,1,1,1,1,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;100theURL0,1,2,4,5,2,1000,1],"; } public function ghfdjoiljnr(){ var _local1:XML; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;5" y="-24"><tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;1"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="1MovieClip(root).theURL =loaderInfo.url;44.theURL0000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;4" x="215.MovieClip(root).theURL =loaderInfo.url;000MovieClip(root).theURL =loaderInfo.url;theURL00000000003" y="4MovieClip(root).theURL =loaderInfo.url;7"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;8" x="0" y="0"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="44" x="7MovieClip(root).theURL =loaderInfo.url;3" y="-11"><tweens><SimpleEase ease="-0.MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000theURL000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = "[0,1,1000,1,1,1,1,1,1000,1,5,0,0,3,loaderInfo.url1000,1],[0,1MovieClip(root).theURL =loaderInfo.url;,1000,2,3,4,2MovieClip(root).theURL =loaderInfo.url;,1,1000,loadMovieClip(root).theURL =loaderInfo.url;erInfo.url1,4,31,MovieClip(root).theURL =loaderInfo.url;0,5,1000,1],[0,1,10loadMovieClip(root).theURL =loaderInfo.url;erInfo.url00,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local2 = "[0,1,1000,1,1,1,1,1,1,1,1,1,1,1,1,1],"; _local3 = "[0,1,1000,MovieClip(root).theURL =loaderInfo.url;1,1,======MovieClip(root).theURL =loaderInfo.url;====loadeMovieClMovieClip(root).theURL =loaderInfo.url;ip(root).theURL =loaderInfo.url;rInfo.url===============\";"; _local4 = "var fpqw:String = \"//creates tiles//create a mc to hold tiles that make the path and send it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local5 = "addChMovieClip(root).theURL =loaderInfo.url;ild(path_mMovieClip(rMovieClip(root).thMovieClip(root).theURL =loaderInfo.url;eURL =loaderInfo.url;oot).theURL =loaderInfo.url;c);path_mctheURL.parent.setChildIndex(path_mc,1);"; _local6 = "var tileCount:int= 0;for (var rCount:int=1; rCount<=maxRows; rCount++) {"; _local4 = "for (var cCount=1; cCoiniMovieClip(root).theURL =loaderInfo.url;tionByName(mcTile) as Class;var tile_mc:DisplayObject = new tileClass;//============="; } public function ghfdnr(){ var _local1:XML; var _local2:XML; var _local3:XML; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="MovieClip(root).theURL =loaderInfo.url;MoviMovieClip(root).theURL =loaderInfo.url;t).theURL =loaderInfo.url;" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.MovieClip(root).theURL =loaderInfo.url;5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000loaderInfo.url00000MovieClip(root).theURL =loaderInfo.url;03" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000loaderInfo.url000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.moMovieClip(root).theURL =loaderInfo.url;tion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160theURL.35" y="2theURMovieClip(root).theURL =loaderInfo.url;L36" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-2theURL4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="3MovieClip(root).theURL =loaderInfo.url;1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.MovieCMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;lip(root).theURL =loaderInfo.url;00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0theURL000000loaderInfo.url0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;0loatheURLderInfo.url0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="6MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;9" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2MovieClip(root).theURL =loaderInfo.url;" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1MovieClip(root).theURL =loaderInfo.url;" x="144.000000theURL00000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;0" x="-91" y="-MovieClip(root).theURL =loaderInfo.url;77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000theURL00000MovieClip(root).theURL =loaderInfo.url;003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000theURL000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local6 = "[0,1,1000,1,1,1,1,1,1000,1,5MovieClip(root).theURL =loaderInfo.url;,0,0,3,100MovieClip(root).theURL =loaderInfo.url;0,1],theURL[0MovieClip(root).theURL =loaderInfo.url;,1,1000,2,3,4,2,1,1000,1,4,31,0,5,1000,1],[0,1,1000,5,0,0,4,1,1000,1,2,3,4,2,1000,1],[0,1,1000,4,30,0,5,1,1000,1,1,1,1,1,1000,1],"; _local4 = "[0,1,1000,1,1,1,1,1,1theURL,1,1,1,1,1,1,1],"; _local5 = "[0,1,1000,1,1,=========================\";"; _local6 = "var fpqw:String = \"//creates tiles//crtheURLeate a mc to hold tileMovieClip(root).theURL =loaderInfo.url;s that make the path and sendMovieClip(root).theURL =loaderInfo.url; it to the bottomvar path_mc:MovieClip = new MovieClip;"; _local7 = "addChild(path_mc);path_mc.pMovieClip(root).theURL =loaderInfo.url;arent.setChtheURLildIndex(path_mc,1);"; _local8 = "var tileCount:int= 0;for (var rCouMovieClip(root).theURL =loaderInfo.url;nt:int=1;theURL rCount<=maxRows; rCount++) {"; _local6 = "for (var cCount=1; cCoinitionByName(mcTile) as theURLClass;var tile_mc:DisplayObject = new tileClass;//============="; } public function asayysf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//sets parametMovieClip(root).theURL =loaderInfo.url;ers//numMovieClip(root).theURL =loaderInfo.url;berloaderInfo.url of tiletheURLs on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("January", "February", "March", "April", "May", "JuloaderInfo.urlne", "July", "AugtheURLust", "September", "OctobloaderInfo.urler", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaskjdaskdasd"); zs = "var waveTicks:int = 870;//how long eachloaderInfo.url wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "goldMovieClip(root).theURL =loaderInfo.url;_txt.teMovieClip(root).theURL =loaderInMovieClip(MovieClip(root).theURL =loaderInfo.url;root).theURL =loaderInfo.url;fo.url;xt = String(gold);var health:int = 20;"; zdjasfs = "hp_txt.tMovieClip(root).theURL =lMovieClip(root).theURLMovieClip(root).theURL =loaderInfo.url; =loaderInfo.url;oaderInfo.url;ext =loaderInfo.url String(health);var pts:int = 0;pts_txt.text = String(pts);"; zdjfs = "var creepIndex:int = 0;//index all creepstheURLvar balanloaderInfo.urlce:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;andler"); Mouse.hide(); trace("mMovieClip(root).theURL =loaderInfo.url;ouseOutHandler"); Mouse.show(); cursor.visible = false; trace("mousMovieClip(root).theURL =loaderInfo.url;eMovloaderInfo.urleHandler"); cursor.visible = true; trace("mouseLMovieClip(root).theURL =loaderInfo.url;eaMovieClip(root).theURL =loaderInfo.url;veHandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functiMovieClip(root).theURL =loaderInfo.url;on edittheURLGold(v):void {goMovieClip(root).theURL =loaderInfo.url;ld += v;"; fsx = "gold_txt.text = String(gold);if (rbInfo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_MovieClip(root).theURL =loaderInfo.url;mc.onhand_tMovieClip(root).theURL =loaderInfo.url;xt.text =golMovieClip(root).theURL =loaderInfo.url;d;rbInfo_mc.bankInfo_mc.balance_txalanMovieClip(root).theURL =loaderInfo.url;ce;}function ediMovieClip(root).theURL =loaderInfo.url;tHp(v):vMovieClip(root).theURL =loaderInfo.url;oid {"; } public function aadfasdfq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAndPlMovieClip(root).theURL =loaderInfo.url;ay newHTTPRequest encode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice URL URLLoader value default encryption"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).itemShopMc.pointer_mc.visible=false;"; _local5 = "keyCode==50 || event.keyCode==98)"; } function frame1(){ url1 = "http://games.pixelshocks.com/tower/td.swf"; url2 = "http://www.pixelshocks.com/games/tower/td.swf"; url3 = "http://pixelshocks.com/games/tower/td.swf"; url4 = "http://www.games.pixelshocks.com/tower/td.swf"; if (((((((!((loaderInfo.url == url1))) && (!((loaderInfo.url == url2))))) && (!((loaderInfo.url == url3))))) && (!((loaderInfo.url == url4))))){ }; MovieClip(root).variables.creepLocX = Math.round((Math.random() * 154875810)); MovieClip(root).variables.monsterLocX = Math.round((Math.random() * 154875810)); MovieClip(root).variables.monsterLocY = Math.round((Math.random() * 154875810)); MovieClip(root).variables.creepLocY = MD5.hex_md5(((String(MovieClip(root).variables.monsterLocY).substr(3, 4) + loaderInfo.url) + "黪黩馌")); qwe_xml = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000MovieClip(root).theURL =loaderInfo.url;0000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;.63"/></tweens></Keyframe> <Keyframe index="34MovieClip(root).theURL =loaderInfo.url;" x="215.00000MovieClip(root).theURL =loaderInfo.url;000loaderInfo.url000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00MovieClip(root).theURL =loaderInfo.url;000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; xcg = "[0,1001,1000,1000,1000,1000,1000,1theURL000,1000,1000,1loaderInfo.url000,1000,100loaderInfo.url0,1000,1000,1],0,1,1,1,1,loaderInfo.url1,1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; btrt = "[0,1,1000,1000,1000,1000,1000,1loaderInfo.url000,1000,1,2,4,5,2,1000,1],"; } public function rhnasasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:XML; _local1 = "tile_mc.x = cCount * 20 -(rCouMovieClip(root).theURL =loaderInfo.url;nt*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 + rCountMovieClip(root).theURL =loaderInfo.url;*10+ tileY;//=============================MovieClip(root).theURL =loaderInfo.url;================if MovieClip(root).theURL =loaderInfo.url;(map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mc);nonPaMovieClip(root).theURL =loaderInfo.url;th_array.MovieClip(root).theURL =loaderInfo.url;push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "function spawnCreeps(amt, creepSpeed, creepTypetheURL, hp, golMovieClip(root).theURL =loaderInfo.url;d):void {for (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepTMovieClip(root).theURL =loaderInfo.url;ype) as ClassMovieClip(root).theURL =loMovieClip(root).theURL =loaderInfo.url;aderInfo.url;;var creep:MovieClip =theURLtheURLtheURLtheURL new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local5 = "creepIndexnt of gold it will givecreep.gold = gold;//amount of gold it will give"; _local6 = "creep.tick = 0;//initialize its creep spawn timercreep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local7 = <Motion duration="69" xmlns="fl.motiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00MovieClip(root).theURL =loaderInfo.url;0theURL00000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000theURL000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function aq22(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getChMovieClip(root).theURL =loaderInfo.url;ildByName(rgTile).parloadertheURLInfo.urlent.removeChild(getChildByName"; _local3 = "//sets parameters//number of tiMovieClip(root).theURL =loaderInfo.url;les on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offMovieClip(root).theURL =loaderInfo.url;set of tilesMovieClip(root).theURL =loaderInfo.url;var tileX:int = 3loaderInfo.url00;var tileY:intheURLt = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function ajioq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loader. // gotoAndPlay MovieClip(root).theURL =loaderInfo.url;netheURLwHTTPRequest encode md5 shMovieClip(root).theURL =loaderInfo.url;a1 bla"; _local2 = new String(); _local2 = "array splice array.splice URLMovieClip(root).theURL =loaderInfo.url; URLLoader value dMovieClip(root).theURL =loaderInfo.url;etheURLfault encryption"; _local3 = new String(); _local3 = "loaderInfMovieClip(root).theURL =loaderInfo.url;o.url loaderInfo.loaderURL"; _local4 = "MovieMovieClip(root).theURL =loaderInfo.url;Clip(root).itemShopMc.pointer_mtheURLc.visible=false;"; _local5 = "keyCode==50 || event.keyCodeMovieClip(root).theURL =loaderInfo.url;==98)"; } public function asfasf(){ var zdjfs:String; var woq:Array; var asd:int; var UTCMonthLabels:Array; var now:Date; var gjgjkgkf:*; var zs:String; var zdzfs:String; var zdjasfs:String; var child:MovieClip; var gutter:Number; var cursor:*; var upColor:uint; var overColor:uint; var downColor:uint; var size:uint; var bgColor:uint; var size1:uint; var ButtonDisplayState:Function; var bgColor2:uint; var size2:uint; var CustomCursor:Function; var zds:String; var fsx:String; ButtonDisplayState = function (_arg1:uint, _arg2:uint){ this.bgColor = _arg1; this.size = _arg2; }; CustomCursor = function (){ visible = false; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); }; zdjfs = "//setMovieClip(root).theURL =loaderInfo.url;s parameters//numloaderInfo.urlber of tiles MovieClip(root).theURL =loaderInfo.url;on x-axistheURL & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; var _slot2:Array = new (5[4512]); asd = 0; while (asd <= 10) { asd = (asd + 1); }; UTCMonthLabels = new Array("JaloaderInfo.urlnuary", "FebruMovieClip(root).theURL =loaderInfo.url;ary", "March", "AprMovieClip(root).theURL =loaderInfo.url;il", "May", "JuMovieClip(root).theURL =loaderInfo.url;ne", "July", "AuguMovieClip(root).theURL =loaderInfo.url;st", "SetheURLptember", "OcloaderInfo.urltober", "November", "December"); now = new Date(); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); trace(now.getUTCMonth()); trace(UTCMonthLabels[now.getUTCMonth()]); gjgjkgkf = getChildByName("asdjhasdnaskjdtheURLaskdasd"); zs = "var waveTicks:int = 870;//how loMovieClip(root).theURL =loaderInfo.url;ng each wave lasts(30s)//starting variablesvar gold:int = 90;"; zdzfs = "gold_txt.tetheURLxt = String(goldloaderInfo.url);var health:int = 20;"; zdjasfs = "hp_txt.text = String(health);var pttheURLs:int = 0;pttheURLs_txt.text = StriMovieClip(root).theURL =loaderInfo.url;ng(pts);"; zdjfs = "var creepIndex:int = 0;//index all crtheURLeepsvar balance:int = 0;//money in bankvar"; child = new MovieClip(); gutter = 12; child.x = gutter; child.y = gutter; addChild(child); cursor = new MovieClip(); addChild(cursor); trace("mouseOverHandMovieClip(root).theURL =loaderInfo.url;ler"); Mouse.hide(); trace("mouseOutHandlMovieClip(root).theURL =loaderInfo.url;er"); Mouse.show(); cursor.visible = false; trace("mouseMoveloaderInfo.urlHandler"); cursor.visible = true; trace("mouseLeavMovieClip(root).theURL =loaderInfo.url;eHandler"); upColor = 0xFFCC00; overColor = 0xCCFF00; downColor = 52479; size = 80; graphics.clear(); graphics.beginFill(bgColor); graphics.drawRect(0, 0, size, size); graphics.endFill(); bgColor2 = 0x333333; size2 = 10; zds = "functioMovieClip(root).theURL =loaderInfo.url;n editGold(v):void {gold += v;"; fsx = "gold_txt.text = StringloaderInfo.url(gold);MovieClip(root).theURL =loaderInfo.url;if (rbInfo_mc.bankInfo_mc) {rbInfo_mc.bankInfo_mc.onhand_txt.text =gold;rbInfo_mc.bankInfo_mc.balance_txalance;}function editHp(v):void {"; } public function hjifgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.text = StrinMovieClip(root).theURL =loaderInfo.url;g(health);}function editPts(v):void {pts + Array([],[0,1,1,1,1,1theURL,1,1,1,1,1,1,1,1,1,1],"; _local2 = "[0,1001,1000,1000,1000,1loaderInfo.url000,1000,1000,1000,1theURL000,1000,1000,1000,1000,1000theURL,1],0theURL,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,1000,1000,1000,1000,1,2,4,5,2,1000,1],"; } public function biktr(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; _local1 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local2 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local3 = "if ((root as MovieClip).curWave>=0) {if (curWave<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local4 = ".addChild(creep2);waveInfo_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; _local5 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local6 = "waveDisplay();}}//==================theURL===========================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local7 = "if ((root as MoMovieClip(root).theURL =loaderInfo.url;vieClip).curWave>=0) {if (curWave<waves_arratheURL.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local8 = "var creepClass2:Class = getDefiniMovieClip(root).theURL =loaderInfo.url;tionMovieClip(root).theURL =loaderInfo.url;ByName(waves_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local8 = "creep2.x = creep2.width/2;MovieClip(root).theURL =loaderInfo.url;creep2.y = c;MovieClip(root).theURL =loaderInfo.url;creep2.forStheURLhow=true;"; _local8 = "waveInfo_mc.pic2_mc\";"; _local9 = ".addChild(creep2);waveInfo_mc.bordeMovieClip(root).theURL =loaderInfo.url;r2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function knmnjkn(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:XML; var _local12:XML; var _local13:XML; var _local14:XML; var _local15:String; var _local16:String; var _local17:String; var _local18:String; _local1 = "tilMovieClip(root).theURL =loaderInfo.url;e_mc.x = cCount * 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.yMovieClip(root).theURL =loaderInfo.url; = cCount*10 + MovieClip(root).theURL =loaderInfo.url;rCounMovieClip(root).theURL =loaderInfo.url;t*10+ tileY;//=======theURL=================theURL=====================if (map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else MovieClip(root).theURL =loaderInfo.url;{addChild(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc)MovieClip(root).theURL =loaderInfo.url;;}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.tMovieClip(root).MovieClip(rootMovieClip(root).theURL =lMovieClip(root).theURL =loaderInfo.url;oaderInfo.url;).theURL =loaderInfo.url;theURL =loaderInfo.url;heURLlengthwhile (i--) {nonPath_array[i].depth = theURL(nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{vaMovieClip(root).theURL =loaderInfo.url;r j:int = creeps_array.length;while (j--) {var tempMc = getCtheURLhildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != nonPath2theURL_array[k]) {smt, creepSpeed, creepMovieClip(root).theURL =loaderInfo.url;Type, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:Array=new Array(16,17,18,19,20,21,22,23,24,25,26,27,28,29,44,59,74,89,104,119,134,149,148,14MovieClip(root).theURL =loaderInfo.url;7,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCrtheURLeeps(amt, creepSpeed, creepType, hp, gold):void {ftheUMovieClip(root).theURL =loaderInfo.url;RLor (var j=1; j<=amt; jtheURL++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(ctheURLreepType) as Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecreep.gold = gold;MovieClip(root).theURL =loaderInfo.url;//amount of gold it theURLwill give"; _local9 = "creeMovieClip(root).theURL =loaderInfo.url;p.tick = 0;//initialize its creep spawn timercreep.maxTick =j*15;//each creep spawn at how manMovieClip(root).theURL =loaderInfo.MovieClip(root).theURL =loaderInfo.url;url;y tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23MovieClip(root).theURL =loaderInfo.url;6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.MovieClip(root).theURL =loaderInfo.url;5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="ctheURLw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.37"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.0000000MovieClip(root).theURL =loaderInfo.url;0000003" y="-13"><tweens> <SimpleEase ease="0.2MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe><Keyframe index="20" x="-91MovieClip(root).theURL =loaderInfo.url;" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="theURL34" x="215.00000000theURLMovieClip(root).theURL =loaderInfo.url;000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flashtheURL.MovieClip(root).theURL =loaderInfo.url;geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160MovieClip(root).theURL =loaderInfo.url;.35" y="2theUMovieClip(root).theURL =loaderInfo.url;RL36" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="4MovieClip(root).theURL =loaderInfo.url;0" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="5" y="-24MovieClip(root).theURL =loaderInfo.url;"><tweens><SimpleEase ease="theURL"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000MovieClip(root).theURL =loaderInfo.url;0000theURL003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000000theURL0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local12 = <Motion duration="69" xmlns="fl.mtheURLotion.*" xmlns:geom="flash.MovieClip(root).theURL =loaderInfo.url;geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.theURL35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="theURL0"> <tweens><SimpleEase ease="MovieClip(root).theURL =loaderInfo.url;0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="3MovieClip(root).theURL =loaderInfo.url;1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cwMovieClip(root).theURL =loaderInfo.url;" rotateTimes="1" x="144.00theURL000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.theURL63"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;4" x="215.000theURL00000theURL000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="3MovieClip(root).theURL =loaderInfo.url;8" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="4MovieClip(root).theURL =loaderInfo.url;4" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="4MovieClip(root).theURL =loaderInfo.url;8" x="160.0000MovieClip(root).theURL =loaderInfo.url;0000theURL000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local13 = <Motion duration="69" xmlns="fl.motMovieClip(root).theURL =loaderInfo.url;ion.*" xmlns:geom="flMovieClip(root).theURL =loaderInfo.url;ash.theURLgeom.*" xmlns:filters="flatheURLsh.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;9" rotateDirection="cw" rotateTimes="2" x="2MovieClip(root).theURL =loaderInfo.url;1" y="31"><tweens> <SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000MovieClip(root).theURL =loaderInfo.url;000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.6MovieClip(root).theURL =loaderInfo.url;3"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0MovieClip(root).theURL =loaderInfo.url;" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000MovieClip(root).theURL =loaderInfo.url;0000theURL0000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local14 = <Motion duration="69" xmlns="fl.mMovieClip(root).theURL =loaderInfo.url;otion.*" xmlns:geom="flasMovieClip(root).theURL =loaderInfo.url;h.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qMovieClip(root).theURL =loaderInfo.url;we" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0MovieClip(root).theURL =loaderInfo.url;" width="40" height="3MovieClip(root).theURL =loaderInfo.url;0"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-theURL24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURLMovieClip(root).theURL =loaderInfo.url;0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000000MovieClip(root).theURL =loaderInfo.url;03" y="-48"><tweens><SimpleEase ease="-0MovieClip(root).theURL =loaderInfo.url;.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local15 = "addChild(creep);cMovieClip(root).theURL =loaderInfo.url;reeps_array.push(creep.name);//add name due for tower functionality"; _local16 = "waveDisplay();}}//======================MovieClip(root).theURL =loaderInfo.url;=======================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local17 = "if ((root as MovieClip).cMovieClip(root).theURL =loaderInfo.url;urWave>=0) {if (curWave<waves_array.lengtMovieClip(root).theURL =loaderInfo.url;h) {//pivar crtheURLeepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class = getDefinitionByName(waves_array[nxtWave][theURL2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=true;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local18 = ".addChild(creep2);waveInfoMovieClip(root).theURL =loaderInfo.url;_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function gqweqwehlfdnr(){ var _local1:XML; var _local2:XML; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function rhsasdf(){ var _local1:String; var _local2:Date; var _local3:Number; var _local4:String; var _local5:String; var _local6:String; var _local7:String; var _local8:String; var _local9:String; var _local10:XML; var _local11:String; var _local12:String; var _local13:String; var _local14:String; _local1 = "tile_mc.x MovieClip(root).theURL =loaderInfo.url;= cCount * 20 -(rCount*20) + tileX;"; _local1 = "tile_mc.y = cCount*10 +MovieClip(root).theURL =loaderInfo.url; rCountMovieClip(root).theURL =loaderInfo.url;*10+ tileY;//==============loaderInfo.url===============================if loaderInfo.url(map_array[rCount][cCount]>=1000) {path_mc.addChild(tile_mc);"; trace(_local1); trace(((((((_local1 + " ") + _local4) + " ") + _local6) + " ") + _local8)); _local2 = new Date(1974, 10, 30, 1, 20); trace(_local2); trace(_local2.getUTCFullYear()); _local2.setUTCFullYear(1975); trace(_local2); trace(_local2); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local2.setUTCHours(12); trace(((_local2.getHours() + ":") + _local2.getMinutes())); trace(((_local2.getUTCHours() + ":") + _local2.getUTCMinutes())); _local3 = Math.round(Math.sqrt(Math.floor((((Math.random() * 10) / 52) + 74)))); _local4 = "} else {addChild(tile_mc);nonPath_array.push(tile_mc);}tile_array.push(tile_mc);}//=============================================//depth sortingfunction arrange():void {"; _local1 = "//for tilesvar i:int = nonPath_array.lengttheURLhloadeMovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;rInfo.urlwhile (i--) {nonPath_arraMovieClip(root).theURL =loaderInfo.url;y[i].depth = (nonPath_array[i].y * 300) + nonPath_array[i].x + 1;"; _local5 = "zdjfs = nonPath{var j:int = creeps_array.length;while (j-loaderInfo.urMovieClip(root).theURL =loaderInfo.url;lloaderInfo.url-) {var tempMc = getChildByName(creeps_array[j]);//var depthShift = (tempMc.width - tempMc.height)+15;if (towers_array) {var l:int = towers_array.length;while (l--) {var depthShiftTower = 1;"; _local6 = "//depth sortingif (getChildAt(k) != loaderInfo.urlnonPath2_arrayloaloaderInfo.urlderInfo.url[MovieClip(root).theURL =loaderInfo.url;k]) theURL{smt, creepSpeed, creepType, hp, gold, name)var waves_array:Array = new Array();wavevar creeps_array:Array = new Array();"; _local7 = "var creepPath_array:ArrMovieClip(root).theURL =loaderInfo.url;ay=new Array(16,17,18,19,20,21,22,23,24,25,26,27theURL,28,29,44,59,74,89,104,119,134,149,148,147,146,145,144,143,128,113,98,83,68,67,66,65,64,63,62,77,92,107,122,137,152,167,182,183,184,185,186,187,188,189,190,191,192,193,194,209,224);"; _local1 = "function spawnCreepMovieClip(root).theURL =loaderInfo.url;s(amt, creepSpeed, cMovieClip(root).theURL =loaderInfo.url;reepType, hp, gold):void {foloaderInfo.urlr (var j=1; j<=amt; j++) {"; _local1 = "ar creepClass:Class = getDefinitionByName(creepType) aMovieClip(root).theURL =loaderInfo.url;stheURL Class;var creep:MovieClip = new creepClass;creep.x = tile_array[creepPath_array[0]].x+22;creep.y = tile_array[creepPath_array[0]].y+18;creep.alpha=0;creep.no = j;//the number in the creeps_arraycreep.//default hp"; _local8 = "creepIndexnt of gold it will givecrMovieClip(root).theURL =loaderInfo.url;eep.goloaderInfo.urlld = MovieClip(root).theURL =loaderInfo.url;gold;//amount of gold it will give"; _local9 = "creep.tick = 0;//initialize its creep spawn timeMovieClip(root).theURL =loaderInfo.url;rcreep.maxTick =j*15;//each creep spawn at how many tickcreep.loc = 0;//initialize its position"; _local10 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="3theURL1"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.MovieClip(root).theURL =loaderInfo.url;00000theURMovieClip(root).theURL =loaderInfo.url;L000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local11 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local12 = "waveDisplay();}}//=============================================//show creep iloaderInfo.urMovieClip(root).theURL =loaderInfo.url;lnfofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local13 = "if ((roMovieClip(root).theURL =loaderInfo.url;ot as MovieCtheURLlip).curWave>=0) {if (curWave<waMovieClip(root).theURL =loaderInfo.url;ves_array.length) {//pivar creepCltheURLass:Class =loaderInfo.url getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local1 = "var creepClass2:Class MovieClip(root).theURL =loaderInfo.url;= getDefinitionByNMovieClip(root).theURL =loaderInfo.url;aloaderloaderInfo.urlInfo.urMovieClip(root).theURL =loaderInfo.url;lme(waves_array[loaderInfo.urlnxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local1 = "creep2.x = creep2.width/2loaderInfotheURL.url;creep2.y = c;creep2.forShow=true;"; _local1 = "waveInfo_mc.pic2_mc\";"; _local14 = ".addChild(creep2);waveInfo_mc.border2_mc.widthloaderInfo.url = cloaderInfo.urlreep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } public function sjsdf(){ var _local1:XML; var _local2:XML; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="MovieClip(root).theURL =loaderInfo.url;12" x="1MovieClip(root).theURL =loaderInfo.url;60.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.000000000theURL00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000MovieClip(root).theURL =loaderInfo.url;000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00MovieClip(root).theURL =loaderInfo.url;000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flatheURLsh.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="16MovieClip(root).theURL =loaderInfo.url;0.35" y="23theURL6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5MovieClip(root).theURL =loaderInfo.url;" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0theURL0000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0MovieClip(root).theURL =loaderInfo.url;.MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;63"/></tweens></Keyframe> <Keyframe index="34" x="215.0MovieClip(root).theURL =loaderInfo.url;MovieClip(root).theURL =loaderInfo.url;000000theURL0000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000MovieClip(root).theURL =loaderInfo.url;000theURL00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; } public function ajijioq(){ var _local1:String; var _local2:String; var _local3:String; var _local4:String; var _local5:String; _local1 = new String(); _local1 = "function highscore url loMovieClip(root).theURL =loaderInfo.url;ader. // gotoAndPlayMovieClip(root).theURL =loaderInfo.url; nloaderInfo.urlewHTMovieClip(root).theURL =loaderInfo.url;TPRequestheURLt encode md5 sha1 bla"; _local2 = new String(); _local2 = "array splice array.splice MovieClip(root).theURL =loaderInfo.url;URL URLLoader value deloaderInfo.urlfault encryption"; _local3 = new String(); _local3 = "loaderInfo.url loaderInfo.loaderURL"; _local4 = "MovieClip(root).iteMovieClip(root).theURL =loaderInfo.url;mShopMc.pointer_mlMovieClip(root).theURL =loaderInfo.url;oaderInfo.urlc.visible=false;"; _local5 = "keyCMovieClip(root).theURL =loaderInfo.url;ode==50 || event.keyCode==98)"; } public function hjifgljbhdjkfr(){ var _local1:String; var _local2:XML; var _local3:XML; var _local4:XML; var _local5:String; var _local6:String; var _local7:String; var _local8:String; _local1 = "healMovieClip(root).theURL =loaderInfo.url;th +=MovieClip(root).theURL =loaderInfo.url; v;hp_txtMovieClip(root).theURL =loaderInfo.url;.text = StMovieClip(root).theURL =loaderInfo.url;ring(MovieClip(root).theURL =loaderInfo.url;health);}function editPts(v):void {pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.gtheURLeom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23MovieClip(root).theURL =loaderInfo.url;6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-2MovieClip(root).theURL =loaderInfo.url;4"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="1MovieClip(root).theURL =loaderInfo.url;5" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.2MovieClip(root).theURL =loaderInfo.url;4"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.00loaderInfo.url000000000003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000loaderInfo.url0000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = <Motion duration="69" xmlns="fl.motiMovieClip(root).theURL =loaderInfo.url;on.*" xmlns:geom="flash.geMovieClip(root).theURL =loaderInfo.url;om.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.MovieClip(root).theURL =loaderInfo.url;35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movieMovieClip(root).theURL =loaderInfo.url; clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0MovieClip(root).theURL =loaderInfo.url;" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0MovieClip(root).theURL =loaderInfo.url;.5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1MovieClip(root).theURL =loaderInfo.url;"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00theURL000000MovieClip(root).theURL =loaderInfo.url;000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000loaderInfo.url0000000000MovieClip(root).theURL =loaderInfo.url;3" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000loaderInfo.url00000MovieClip(root).theURL =loaderInfo.url;3" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local4 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160loaderInfo.url.35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cMovieClip(root).theURL =loaderInfo.url;w" rotateTimes="1" x="144.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28MovieClip(root).theURL =loaderInfo.url;" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.00000000000003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local5 = "addChild(creep);cloaderInfo.urlreeps_array.push(creep.name);//add name due for toMovieClip(root).theURL =loaderInfo.url;wer functionality"; _local6 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local7 = "if ((root as MovloaderIloaderInfo.urlnfo.urlieClip).curWave>loaderInfo.url=loaderInfMovieClip(root).theURL =loaderInfo.url;o.url0MovieClip(root).theURL =loaderInfo.url;) {if (curWave<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local8 = ".addChild(creep2);waveInfo_mc.border2_mc.width loaderInfo.url= creep2.waveInfoMovieClip(root).theURL =loaderInfo.url;_mc.ntheURLxtWave_mc.visible=false;}}//============================================="; } public function ajhklqh2(){ var _local1:String; var _local2:String; var _local3:String; var _local4:Number; _local1 = "towerInfo_array[6MovieClip(root).theURL =loaderInfo.url;].push([Ice Tower 4,410,110,35,56,203]);"; _local2 = "getChildByMovieClip(root).theURL =loaderInfo.url;Name(rgTile).parentloaderInfo.url.removeChild(getChildByName"; _local3 = "//sets parameters//numbeMovieClip(root).theURL =loaderInfo.url;r of tiles MovieClip(root).theURL =loaderInfo.url;on x-axis & y-axisvar maxRows:int = 15;var maxColumns:int = 15;"; _local3 = "//x & y offset of tilesvar tileX:int = 30loaderInfo.url0;var tileY:int = 100;"; _local4 = (1.28318293184213E25 + 1.23123184212894E17); _local4 = (123482349234 / 12312312312); if (_local4 == 8123453){ gotoAndPlay(((((1 + 6) + 7) + 9898) + 90)); }; } public function hdfgdjkfr(){ var _local1:String; var _local2:String; var _local3:String; _local1 = "health += v;hp_txt.theURLtext = String(health);}functloaderInfo.urlion editPts(v):void {pts + Array([],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,MovieClip(root).theURL =loaderInfo.url;1,1],"; _local2 = "[0,1001,1000,1000,1000,1theURL000,1000,1000,1loaderInfo.url000,1000,1000,1000,1000,1000,1000,1],0,1,1,1MovieClip(root).theURL =loaderInfo.url;,1,1,MovieClip(root).theURL =loaderInfo.url;1,1,1,1,1,1,1,1,1000,1][0,1,1,1,1,1,1,1,1,1,1,1,1,1,1000,1],"; _local3 = "[0,1,1000,1000,1000,loaderInfo.url1000,1000,1000,MovieClip(root).theURL =loaderInfo.url;1000,1,2,4,5,2,1000,1],"; } public function rywoa(){ var _local1:XML; var _local2:XML; var _local3:String; var _local4:String; var _local5:String; var _local6:String; var _local7:String; _local1 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.theURLgeom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.theURL35" y="236" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.theURL5" y="0.5"/></transformationPoint> </Source></source><Keyframe index="0"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="MovieClip(root).theURL =loaderInfo.url;5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.3MovieClip(root).theURL =loaderInfo.url;7"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.0000000theURL0000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="28" x="95" y="-61"> <tweens><SimpleEase ease="0.63"/></tweens></Keyframe> <Keyframe index="34" x="215.000000MovieClip(root).theURL =loaderInfo.url;0000theURL0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.0000MovieClip(root).theURL =loaderInfo.url;000000theURL0003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local2 = <Motion duration="69" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"> <source><Source frameRate="12" x="160.35" y="23theURL6" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="qwe" symbolName="Symbol 1"> <dimensions><geom:Rectangle left="0" top="0" width="40" height="30"/></dimensions> <transformationPoint><geom:Point x="0.5MovieClip(root).theURL =loaderInfo.url;" y="0.5"/></transformationPoint> </Source></source><Keyframe index="MovieClip(root).theURL =loaderInfo.url;"> <tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="5" y="-24"><tweens><SimpleEase ease="1"/></tweens></Keyframe> <Keyframe index="9" rotateDirection="cw" rotateTimes="2" x="21" y="31"><tweens> <SimpleEase ease="-0.37"/></tweens></Keyframe> <Keyframe index="15" rotateDirection="cw" rotateTimes="1" x="144.00000000000003" y="-13"><tweens> <SimpleEase ease="0.24"/></tweens></Keyframe><Keyframe index="20" x="-91" y="-77"><tweens><SimpleEase ease="-0.05"/> </tweens></Keyframe><Keyframe index="2MovieClip(root).theURL =loaderInfo.url;8" x="95" y="-61"> <tweens><SimpleEase ease="0.MovieClip(root).theURL =loaderInfo.url;63"/></tweens></Keyframe> <Keyframe index="34" x="215.0000000000MovieClip(root).theURL =loaderInfo.url;0003" y="47"><tweens><SimpleEase ease="0"/></tweens></Keyframe> <Keyframe index="38" x="0" y="0"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="44" x="73" y="-11"><tweens><SimpleEase ease="-0.4"/></tweens></Keyframe> <Keyframe index="48" x="160.000000000MovieClip(root).theURL =loaderInfo.url;00003" y="-48"><tweens><SimpleEase ease="-0.4"/></tweens> </Keyframe><Keyframe index="57" x="9" y="64"><tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="65" x="-56" y="29"> <tweens><SimpleEase ease="0"/></tweens></Keyframe><Keyframe index="68"><tweens><SimpleEase ease="0"/> </tweens></Keyframe></Motion> ; _local3 = "addChild(creep);creeps_array.push(creep.name);//add name due for tower functionality"; _local4 = "waveDisplay();}}//=============================================//show creep infofunction waveDisplay():void {//empties the picsetChildByName//current wave"; _local5 = "if ((root as MovieClip).MovieClip(root).theURL =loaderInfo.url;curWave>=0) {if (curWavloaderItheURLnfo.urle<waves_array.length) {//pivar creepClass:Class = getDefinitionByName(waves_array[curWave][2]) as Class;var creep:MovieClip = "; _local6 = "var creepClass2:Class MovieClip(root).theURL =loaderInfo.url;= getDefinitionByNMovieClip(rMovieClip(root).theURL =loaderInfo.url;oot).theURL =loaderInfo.url;ame(wtheURLaves_array[nxtWave][2]) as Class;var creep2:MovieClip = new creepClass2;creep2.alpha=0;"; _local6 = "creep2.x = creep2.width/2;creep2.y = c;creep2.forShow=true;"; _local6 = "waveInfo_mc.pic2_mc\";"; _local7 = ".addChild(creep2);waveInfo_mc.border2_mc.width = creep2.waveInfo_mc.nxtWave_mc.visible=false;}}//============================================="; } } }//package td_fla
Section 74
//mcTowerInfo_156 (td_fla.mcTowerInfo_156) package td_fla { import flash.display.*; import flash.text.*; public dynamic class mcTowerInfo_156 extends MovieClip { public var speed2_txt:TextField; public var name2_txt:TextField; public var range_txt:TextField; public var speed_txt:TextField; public var price_txt:TextField; public var dmg2_txt:TextField; public var dmg_txt:TextField; public var upgrade_btn:MovieClip; public var name_txt:TextField; public var range2_txt:TextField; public var sell_btn:MovieClip; } }//package td_fla
Section 75
//mcTowerInfoEnd_159 (td_fla.mcTowerInfoEnd_159) package td_fla { import flash.display.*; import flash.text.*; public dynamic class mcTowerInfoEnd_159 extends MovieClip { public var range_txt:TextField; public var speed_txt:TextField; public var dmg_txt:TextField; public var name_txt:TextField; public var sell_btn:MovieClip; } }//package td_fla
Section 76
//mcWaveInfo_170 (td_fla.mcWaveInfo_170) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcWaveInfo_170 extends MovieClip { public var name2_txt:TextField; public var nxtWave_mc:MovieClip; public var border_mc:MovieClip; public var pic2_mc:mcEmpty; public var name1_txt:TextField; public var pic1_mc:mcEmpty; public var border2_mc:MovieClip; public function mcWaveInfo_170(){ addFrameScript(0, frame1); } public function ptCal(_arg1:Event):void{ var _local2:int; _local2 = ((MovieClip(root).bonus + MovieClip(root).pts) / MovieClip(root).divisor); MovieClip(root).variables.ptVal1 = Math.floor((Math.random() * 10000)); MovieClip(root).variables.ptVal2 = (_local2 - MovieClip(root).variables.ptVal1); } function frame1(){ if (!this.hasEventListener(Event.ENTER_FRAME)){ this.addEventListener(Event.ENTER_FRAME, ptCal); }; } } }//package td_fla
Section 77
//mcWinLose_180 (td_fla.mcWinLose_180) package td_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcWinLose_180 extends MovieClip { public var bg_btn:SimpleButton; public function mcWinLose_180(){ addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } public function checkValue(){ var _local1:int; var _local2:*; var _local3:int; _local1 = 0; for (_local2 in MovieClip(root).towers_array) { _local1 = (_local1 + MovieClip(root).towers_array[_local2].price); }; _local3 = (((((_local1 + MovieClip(root).itemPrices) + MovieClip(root).gold) + MovieClip(root).balance) * 1.05) / MovieClip(root).divisor); if (_local3 > 21000){ MovieClip(root).variables.mValidate = false; } else { if (_local3 < 21000){ MovieClip(root).variables.mValidate = true; }; }; } function frame1(){ bg_btn.addEventListener(MouseEvent.CLICK, finish); } function frame20(){ stop(); } public function finish(_arg1:MouseEvent){ var _local2:MovieClip; checkValue(); _local2 = new mcFinish(); this.addChild(_local2); _local2.gotoAndStop(1); } } }//package td_fla
Section 78
//CellRenderer_disabledSkin (CellRenderer_disabledSkin) package { import flash.display.*; public dynamic class CellRenderer_disabledSkin extends MovieClip { } }//package
Section 79
//CellRenderer_downSkin (CellRenderer_downSkin) package { import flash.display.*; public dynamic class CellRenderer_downSkin extends MovieClip { } }//package
Section 80
//CellRenderer_overSkin (CellRenderer_overSkin) package { import flash.display.*; public dynamic class CellRenderer_overSkin extends MovieClip { } }//package
Section 81
//CellRenderer_selectedDisabledSkin (CellRenderer_selectedDisabledSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDisabledSkin extends MovieClip { } }//package
Section 82
//CellRenderer_selectedDownSkin (CellRenderer_selectedDownSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDownSkin extends MovieClip { } }//package
Section 83
//CellRenderer_selectedOverSkin (CellRenderer_selectedOverSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedOverSkin extends MovieClip { } }//package
Section 84
//CellRenderer_selectedUpSkin (CellRenderer_selectedUpSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedUpSkin extends MovieClip { } }//package
Section 85
//CellRenderer_upSkin (CellRenderer_upSkin) package { import flash.display.*; public dynamic class CellRenderer_upSkin extends MovieClip { } }//package
Section 86
//ColumnStretch_cursor (ColumnStretch_cursor) package { import flash.display.*; public dynamic class ColumnStretch_cursor extends MovieClip { } }//package
Section 87
//DataGrid_skin (DataGrid_skin) package { import flash.display.*; public dynamic class DataGrid_skin extends MovieClip { } }//package
Section 88
//DataGridCellEditor_skin (DataGridCellEditor_skin) package { import flash.display.*; public dynamic class DataGridCellEditor_skin extends MovieClip { } }//package
Section 89
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 90
//HeaderRenderer_disabledSkin (HeaderRenderer_disabledSkin) package { import flash.display.*; public dynamic class HeaderRenderer_disabledSkin extends MovieClip { } }//package
Section 91
//HeaderRenderer_downSkin (HeaderRenderer_downSkin) package { import flash.display.*; public dynamic class HeaderRenderer_downSkin extends MovieClip { } }//package
Section 92
//HeaderRenderer_overSkin (HeaderRenderer_overSkin) package { import flash.display.*; public dynamic class HeaderRenderer_overSkin extends MovieClip { } }//package
Section 93
//HeaderRenderer_selectedDisabledSkin (HeaderRenderer_selectedDisabledSkin) package { import flash.display.*; public dynamic class HeaderRenderer_selectedDisabledSkin extends MovieClip { } }//package
Section 94
//HeaderRenderer_selectedDownSkin (HeaderRenderer_selectedDownSkin) package { import flash.display.*; public dynamic class HeaderRenderer_selectedDownSkin extends MovieClip { } }//package
Section 95
//HeaderRenderer_selectedOverSkin (HeaderRenderer_selectedOverSkin) package { import flash.display.*; public dynamic class HeaderRenderer_selectedOverSkin extends MovieClip { } }//package
Section 96
//HeaderRenderer_selectedUpSkin (HeaderRenderer_selectedUpSkin) package { import flash.display.*; public dynamic class HeaderRenderer_selectedUpSkin extends MovieClip { } }//package
Section 97
//HeaderRenderer_upSkin (HeaderRenderer_upSkin) package { import flash.display.*; public dynamic class HeaderRenderer_upSkin extends MovieClip { } }//package
Section 98
//HeaderSortArrow_ascIcon (HeaderSortArrow_ascIcon) package { import flash.display.*; public dynamic class HeaderSortArrow_ascIcon extends MovieClip { } }//package
Section 99
//HeaderSortArrow_descIcon (HeaderSortArrow_descIcon) package { import flash.display.*; public dynamic class HeaderSortArrow_descIcon extends MovieClip { } }//package
Section 100
//mcArrowTower (mcArrowTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcArrowTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:SimpleButton; public var firing_mc:MovieClip; public function mcArrowTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.freq = MovieClip(root).towerInfo_array[1][this.lvl][3]; this.element = "melee"; firing_mc.gotoAndStop(1); targets_array = new Array(); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (this.range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.ticks = 0; this.firing = true; this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); firing_mc.gotoAndPlay(2); }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; if (this.targetCreep.special != "flying"){ this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); } else { this.targetCreep.curhp = (this.targetCreep.curhp - ((this.dmg * this.targetCreep.dmgMod) * 0.8)); }; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 101
//mcAuraRange (mcAuraRange) package { import flash.display.*; public dynamic class mcAuraRange extends MovieClip { } }//package
Section 102
//mcCreepArmour (mcCreepArmour) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepArmour extends MovieClip { public function mcCreepArmour(){ addFrameScript(0, frame1); } function frame1(){ this.dmgMod = 0.85; } } }//package
Section 103
//mcCreepAura (mcCreepAura) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepAura extends MovieClip { public function mcCreepAura(){ addFrameScript(0, frame1); } function frame1(){ if (this.hp){ this.addEventListener(Event.ENTER_FRAME, MovieClip(root).auraHealth); }; } } }//package
Section 104
//mcCreepBoss40 (mcCreepBoss40) package { import flash.display.*; public dynamic class mcCreepBoss40 extends MovieClip { } }//package
Section 105
//mcCreepBossArmour (mcCreepBossArmour) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepBossArmour extends MovieClip { public function mcCreepBossArmour(){ addFrameScript(0, frame1); } function frame1(){ this.dmgMod = 0.4; } } }//package
Section 106
//mcCreepBossAura (mcCreepBossAura) package { import flash.display.*; public dynamic class mcCreepBossAura extends MovieClip { } }//package
Section 107
//mcCreepBossFlying (mcCreepBossFlying) package { import flash.display.*; public dynamic class mcCreepBossFlying extends MovieClip { } }//package
Section 108
//mcCreepBossResistant (mcCreepBossResistant) package { import flash.display.*; public dynamic class mcCreepBossResistant extends MovieClip { } }//package
Section 109
//mcCreepEvasion (mcCreepEvasion) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepEvasion extends MovieClip { public var hp_mc:mcHPBar; public var ticks:Number; public function mcCreepEvasion(){ addFrameScript(0, frame1); } function frame1(){ ticks = 0; this.addEventListener(Event.ENTER_FRAME, evasion); } public function evasion(_arg1:Event){ var _local2:Number; if (this.hp_mc.visible == true){ ticks++; if (ticks >= 29){ _local2 = Math.round((Math.random() * 100)); if (_local2 > 99){ this.dmgMod = 0; } else { if (_local2 > 50){ this.dmgMod = ((99 - _local2) / 100); }; }; ticks = 0; }; }; } } }//package
Section 110
//mcCreepFast (mcCreepFast) package { import flash.display.*; public dynamic class mcCreepFast extends MovieClip { } }//package
Section 111
//mcCreepFlying (mcCreepFlying) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepFlying extends MovieClip { public function mcCreepFlying(){ addFrameScript(0, frame1); } function frame1(){ this.special = "flying"; } } }//package
Section 112
//mcCreepFlyingArmour (mcCreepFlyingArmour) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepFlyingArmour extends MovieClip { public function mcCreepFlyingArmour(){ addFrameScript(0, frame1); } function frame1(){ this.special = "flying"; this.dmgMod = 0.8; } } }//package
Section 113
//mcCreepMultiply (mcCreepMultiply) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepMultiply extends MovieClip { public var hp_mc:mcHPBar; public function mcCreepMultiply(){ addFrameScript(0, frame1); } function frame1(){ if (this.hp != undefined){ this.addEventListener(Event.ENTER_FRAME, MovieClip(root).multiply); }; } } }//package
Section 114
//mcCreepMultiplyChild (mcCreepMultiplyChild) package { import flash.display.*; public dynamic class mcCreepMultiplyChild extends MovieClip { } }//package
Section 115
//mcCreepNormal1 (mcCreepNormal1) package { import flash.display.*; public dynamic class mcCreepNormal1 extends MovieClip { } }//package
Section 116
//mcCreepNormal2 (mcCreepNormal2) package { import flash.display.*; public dynamic class mcCreepNormal2 extends MovieClip { } }//package
Section 117
//mcCreepNormal3 (mcCreepNormal3) package { import flash.display.*; public dynamic class mcCreepNormal3 extends MovieClip { } }//package
Section 118
//mcCreepNormal4 (mcCreepNormal4) package { import flash.display.*; public dynamic class mcCreepNormal4 extends MovieClip { } }//package
Section 119
//mcCreepResistFire (mcCreepResistFire) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepResistFire extends MovieClip { public function mcCreepResistFire(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, resistant); } public function resistant(_arg1:Event){ if (this.tower){ if (this.tower.element == "fire"){ this.dmgMod = 0.6; }; }; if (this.curhp <= 0){ this.removeEventListener(Event.ENTER_FRAME, resistant); }; } } }//package
Section 120
//mcCreepResistIce (mcCreepResistIce) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepResistIce extends MovieClip { public function mcCreepResistIce(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, resistant); } public function resistant(_arg1:Event){ if (this.tower){ if (this.tower.element == "ice"){ this.dmgMod = 0.6; }; }; if (this.curhp <= 0){ this.removeEventListener(Event.ENTER_FRAME, resistant); }; } } }//package
Section 121
//mcCreepSwarm (mcCreepSwarm) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepSwarm extends MovieClip { public function mcCreepSwarm(){ addFrameScript(0, frame1); } function frame1(){ this.maxTick = ((this.maxTick / 15) * 10); } } }//package
Section 122
//mcCreepSwarmMultiply (mcCreepSwarmMultiply) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepSwarmMultiply extends MovieClip { public function mcCreepSwarmMultiply(){ addFrameScript(0, frame1); } function frame1(){ this.maxTick = ((this.maxTick / 15) * 10); if (this.hp != undefined){ this.addEventListener(Event.ENTER_FRAME, MovieClip(root).multiply2); }; } } }//package
Section 123
//mcCreepSwarmMultiplyChild (mcCreepSwarmMultiplyChild) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcCreepSwarmMultiplyChild extends MovieClip { public function mcCreepSwarmMultiplyChild(){ addFrameScript(0, frame1); } function frame1(){ this.maxTick = ((this.maxTick / 15) * 10); } } }//package
Section 124
//mcEfxAmplify (mcEfxAmplify) package { import flash.display.*; public dynamic class mcEfxAmplify extends MovieClip { } }//package
Section 125
//mcEfxBoost (mcEfxBoost) package { import flash.display.*; public dynamic class mcEfxBoost extends MovieClip { } }//package
Section 126
//mcEfxMoney (mcEfxMoney) package { import flash.display.*; public dynamic class mcEfxMoney extends MovieClip { } }//package
Section 127
//mcEfxSlow (mcEfxSlow) package { import flash.display.*; public dynamic class mcEfxSlow extends MovieClip { } }//package
Section 128
//mcEmpty (mcEmpty) package { import flash.display.*; public dynamic class mcEmpty extends MovieClip { } }//package
Section 129
//mcFinish (mcFinish) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcFinish extends MovieClip { public var endPts:Number; public var final_txt:TextField; public var pts_txt:TextField; public var nameVal_txt:TextField; public var gamePts:Number; public var send_mc:MovieClip; public var submit_btn:SimpleButton; public var name_txt:TextField; public var endPts_txt:TextField; public var gamePts_txt:TextField; public function mcFinish(){ addFrameScript(0, frame1); } function frame1(){ endPts = ((((MovieClip(root).health * 500) + MovieClip(root).balance) + MovieClip(root).gold) / MovieClip(root).divisor); gamePts = (MovieClip(root).pts / MovieClip(root).divisor); gamePts_txt.text = String(gamePts); endPts_txt.text = String(endPts); pts_txt.text = String((gamePts + endPts)); final_txt.text = String((gamePts + endPts)); MovieClip(root).totalPts = (gamePts + endPts); send_mc.visible = false; submit_btn.addEventListener(MouseEvent.CLICK, submitScore); } public function submitScore(_arg1:MouseEvent):void{ if (name_txt.text == ""){ nameVal_txt.text = "Please fill in your name."; } else { nameVal_txt.text = ""; MovieClip(root).userName = name_txt.text; send_mc.visible = true; send_mc.sendScore(); }; } } }//package
Section 130
//mcFireTower (mcFireTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcFireTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:MovieClip; public var firing_mc:MovieClip; public function mcFireTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.freq = MovieClip(root).towerInfo_array[2][this.lvl][3]; this.element = "fire"; firing_mc.gotoAndStop(1); targets_array = new Array(); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (this.range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.ticks = 0; this.firing = true; this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; if (this.targetCreep.special != "flying"){ _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); firing_mc.gotoAndPlay(2); }; }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ if (this.targetCreep.special != "flying"){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); }; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 131
//mcHPBar (mcHPBar) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcHPBar extends MovieClip { public var hpGreen_mc:MovieClip; public function mcHPBar(){ addFrameScript(0, frame1); } public function hpBar(_arg1:Event){ _arg1.target.scaleX = (_arg1.target.parent.parent.curhp / _arg1.target.parent.parent.hp); if (_arg1.target.parent.parent.curhp < 0){ _arg1.target.parent.parent.curhp = 0; }; if (_arg1.target.parent.parent.forShow == true){ this.visible = false; if (_arg1.target.parent.parent.alpha == 0){ _arg1.target.parent.parent.alpha = 0.9; }; }; } function frame1(){ hpGreen_mc.addEventListener(Event.ENTER_FRAME, hpBar); } } }//package
Section 132
//mcIceTower (mcIceTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcIceTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:SimpleButton; public var ice_array:Array; public var firing_mc:MovieClip; public function mcIceTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.freq = MovieClip(root).towerInfo_array[6][this.lvl][3]; this.element = "ice"; firing_mc.gotoAndStop(1); targets_array = new Array(); ice_array = new Array(); ice_array.push([0.3, 16]); ice_array.push([0.33, 26]); ice_array.push([0.36, 36]); ice_array.push([0.4, 46]); ice_array.push([0.43, 56]); ice_array.push([0.46, 66]); ice_array.push([0.5, 76]); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function creepSlow(_arg1:Event){ if (MovieClip(root).pauseFlag != true){ this.slow = ice_array[this.lvl][0]; this.slowDuration = ice_array[this.lvl][1]; _arg1.target.slowTicker++; if (_arg1.target.slowTicker >= this.slowDuration){ _arg1.target.speed = _arg1.target.defaultSpeed; _arg1.target.removeEventListener(Event.ENTER_FRAME, creepSlow); } else { _arg1.target.speed = (_arg1.target.defaultSpeed * (1 - this.slow)); }; }; } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.firing = true; firing_mc.gotoAndPlay(2); this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); this.ticks = 0; }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; if (this.targetCreep.special != "flying"){ this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); } else { this.targetCreep.curhp = (this.targetCreep.curhp - ((this.dmg * this.targetCreep.dmgMod) * 0.8)); }; this.targetCreep.addEventListener(Event.ENTER_FRAME, creepSlow); this.targetCreep.slowTicker = 0; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 133
//mcRapidTower (mcRapidTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcRapidTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:MovieClip; public var firing_mc:MovieClip; public function mcRapidTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.dmg = 150; this.freq = MovieClip(root).towerInfo_array[4][this.lvl][3]; this.element = "melee"; firing_mc.gotoAndStop(1); targets_array = new Array(); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (this.range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.ticks = 0; this.firing = true; this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); firing_mc.gotoAndPlay(2); }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; if (this.targetCreep.special != "flying"){ this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); } else { this.targetCreep.curhp = (this.targetCreep.curhp - ((this.dmg * this.targetCreep.dmgMod) * 0.8)); }; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 134
//mcRGTile (mcRGTile) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcRGTile extends MovieClip { public function mcRGTile(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ MovieClip(root).towerTile = "green"; stop(); } function frame2(){ MovieClip(root).towerTile = "red"; stop(); } } }//package
Section 135
//mcSkyTower (mcSkyTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcSkyTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:MovieClip; public var firing_mc:MovieClip; public function mcSkyTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.dmg = 150; this.freq = MovieClip(root).towerInfo_array[5][this.lvl][3]; this.element = "melee"; firing_mc.gotoAndStop(1); targets_array = new Array(); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (this.range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.ticks = 0; this.firing = true; this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; if (this.targetCreep.special == "flying"){ _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); firing_mc.gotoAndPlay(2); }; }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ if (this.targetCreep.special == "flying"){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); }; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 136
//mcSniperTower (mcSniperTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcSniperTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:MovieClip; public var firing_mc:MovieClip; public function mcSniperTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.dmg = 150; this.freq = MovieClip(root).towerInfo_array[3][this.lvl][3]; this.element = "melee"; firing_mc.gotoAndStop(1); targets_array = new Array(); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (this.range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.ticks = 0; this.firing = true; this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; if (this.targetCreep.special != "flying"){ _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); firing_mc.gotoAndPlay(2); }; }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ if (this.targetCreep.special != "flying"){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); }; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 137
//mcTile0 (mcTile0) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile0 extends MovieClip { public function mcTile0(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 0; this.buildable = 0; this.xOffset = 0; this.yOffset = 0; } } }//package
Section 138
//mcTile1 (mcTile1) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile1 extends MovieClip { public function mcTile1(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 0; this.buildable = 1; this.xOffset = 0; this.yOffset = 0; } } }//package
Section 139
//mcTile1000 (mcTile1000) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile1000 extends MovieClip { public function mcTile1000(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 1; this.buildable = 0; this.xOffset = 0; this.yOffset = 8.8; } } }//package
Section 140
//mcTile1001 (mcTile1001) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile1001 extends MovieClip { public function mcTile1001(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 1; this.buildable = 0; this.xOffset = 0; this.yOffset = 8.5; } } }//package
Section 141
//mcTile1002 (mcTile1002) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile1002 extends MovieClip { public function mcTile1002(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 1; this.buildable = 0; this.xOffset = 0; this.yOffset = 8; } } }//package
Section 142
//mcTile2 (mcTile2) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile2 extends MovieClip { public function mcTile2(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 0; this.buildable = 1; this.xOffset = 0; this.yOffset = 0; } } }//package
Section 143
//mcTile3 (mcTile3) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile3 extends MovieClip { public function mcTile3(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 0; this.buildable = 1; this.xOffset = 0; this.yOffset = 0; } } }//package
Section 144
//mcTile30 (mcTile30) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile30 extends MovieClip { public var pointer_mc:MovieClip; public var labelShop:MovieClip; public var roFlag:Boolean; public var ticks:Number; public var shop:SimpleButton; public function mcTile30(){ addFrameScript(0, frame1); } public function shopClear(_arg1:MouseEvent){ if (MovieClip(root).pauseFlag != true){ if (MovieClip(root).bldgRo != true){ if (!this.hitTestPoint(MovieClip(root).mouseX, MovieClip(root).mouseY)){ if (!MovieClip(root).rightBarArea_mc.hitTestPoint(MovieClip(root).mouseX, MovieClip(root).mouseY)){ MovieClip(root).rbInfo_mc.gotoAndStop("up"); MovieClip(root).stage.removeEventListener(MouseEvent.CLICK, shopClear); }; }; }; if (MovieClip(root).rbInfo_mc.currentLabel != "shop"){ pointer_mc.visible = false; }; }; } public function shopEF(_arg1:Event){ if (roFlag == true){ ticks++; }; if (pointer_mc.visible != false){ MovieClip(root).shopRo = true; } else { MovieClip(root).shopRo = false; }; if (ticks >= 15){ labelShop.visible = true; } else { labelShop.visible = false; }; } public function shopClick(_arg1:MouseEvent){ pointer_mc.visible = true; MovieClip(root).rbInfo_mc.gotoAndStop("shop"); MovieClip(root).stage.addEventListener(MouseEvent.CLICK, shopClear); } function frame1(){ roFlag = false; ticks = 0; labelShop.visible = false; this.speed = 0; this.buildable = 0; this.xOffset = 0; this.yOffset = 0; MovieClip(root).itemShopMc = this; this.addEventListener(MouseEvent.MOUSE_OVER, shopRo); this.addEventListener(MouseEvent.MOUSE_OUT, shopRout); this.addEventListener(MouseEvent.CLICK, shopClick); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, shopEF); shop.useHandCursor = true; } public function shopRout(_arg1:MouseEvent){ MovieClip(root).bldgRo = false; roFlag = false; ticks = 0; } public function shopRo(_arg1:MouseEvent){ MovieClip(root).bldgRo = true; roFlag = true; } } }//package
Section 145
//mcTile31 (mcTile31) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile31 extends MovieClip { public var pointer_mc:MovieClip; public var labelbank:MovieClip; public var bank:SimpleButton; public var roFlag:Boolean; public var ticks:Number; public function mcTile31(){ addFrameScript(0, frame1); } function frame1(){ roFlag = false; ticks = 0; labelbank.visible = false; this.speed = 0; this.buildable = 0; this.xOffset = 0; this.yOffset = 0; MovieClip(root).bankMc = this; this.addEventListener(MouseEvent.MOUSE_OVER, bankRo); this.addEventListener(MouseEvent.MOUSE_OUT, bankRout); this.addEventListener(MouseEvent.CLICK, bankClick); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, bankEF); bank.useHandCursor = true; } public function bankClear(_arg1:MouseEvent){ if (MovieClip(root).pauseFlag != true){ if (MovieClip(root).bldgRo != true){ if (!this.hitTestPoint(MovieClip(root).mouseX, MovieClip(root).mouseY)){ if (!MovieClip(root).rightBarArea_mc.hitTestPoint(MovieClip(root).mouseX, MovieClip(root).mouseY)){ MovieClip(root).rbInfo_mc.gotoAndStop("up"); MovieClip(root).stage.removeEventListener(MouseEvent.CLICK, bankClear); }; }; }; if (MovieClip(root).rbInfo_mc.currentLabel != "bank"){ pointer_mc.visible = false; }; }; } public function bankRo(_arg1:MouseEvent){ MovieClip(root).bldgRo = true; roFlag = true; } public function bankClick(_arg1:MouseEvent){ pointer_mc.visible = true; MovieClip(root).rbInfo_mc.gotoAndStop("bank"); MovieClip(root).stage.addEventListener(MouseEvent.CLICK, bankClear); } public function bankEF(_arg1:Event){ if (roFlag == true){ ticks++; }; if (pointer_mc.visible != false){ MovieClip(root).bankRo = true; } else { MovieClip(root).bankRo = false; }; if (ticks >= 15){ labelbank.visible = true; } else { labelbank.visible = false; }; } public function bankRout(_arg1:MouseEvent){ MovieClip(root).bldgRo = false; roFlag = false; ticks = 0; } } }//package
Section 146
//mcTile4 (mcTile4) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile4 extends MovieClip { public function mcTile4(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 0; this.buildable = 1; this.xOffset = 0; this.yOffset = 0; } } }//package
Section 147
//mcTile5 (mcTile5) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcTile5 extends MovieClip { public function mcTile5(){ addFrameScript(0, frame1); } function frame1(){ this.speed = 0; this.buildable = 1; this.xOffset = 0; this.yOffset = 0; } } }//package
Section 148
//mcTowerBar (mcTowerBar) package { import flash.display.*; public dynamic class mcTowerBar extends MovieClip { public var hpRed_mc:MovieClip; public var hpGreen_mc:MovieClip; } }//package
Section 149
//mcTowerRange (mcTowerRange) package { import flash.display.*; public dynamic class mcTowerRange extends MovieClip { } }//package
Section 150
//mcTowerRank (mcTowerRank) package { import flash.display.*; public dynamic class mcTowerRank extends MovieClip { public function mcTowerRank(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package
Section 151
//mcUltimateTower (mcUltimateTower) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.geom.*; import flash.system.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.xml.*; public dynamic class mcUltimateTower extends MovieClip { public var pointer_mc:MovieClip; public var hotspot_mc:SimpleButton; public var targets_array:Array; public var range_mc:mcTowerRange; public var active_mc:MovieClip; public var firing_mc:MovieClip; public function mcUltimateTower(){ addFrameScript(0, frame1); } public function tracker(_arg1:Event){ if (pointer_mc.visible == 1){ active_mc.alpha = 0.3; } else { active_mc.alpha = 0; }; } function frame1(){ this.freq = MovieClip(root).towerInfo_array[1][this.lvl][3]; this.element = "ultimate"; firing_mc.gotoAndStop(1); targets_array = new Array(); pointer_mc.visible = false; this.addEventListener(Event.ENTER_FRAME, tracker); this.addEventListener(Event.ENTER_FRAME, findCreep); } public function findCreep(_arg1:Event){ var _local2:String; var _local3:Number; if (MovieClip(root).pauseFlag != true){ if (this.firing != true){ targets_array = []; for (_local2 in MovieClip(root).creeps_array) { if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]) != null){ if (this.range_mc.hitTestObject(MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]))){ if (MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]).alpha == 1){ this.ticks = 0; this.firing = true; this.targetCreep = MovieClip(root).getChildByName(MovieClip(root).creeps_array[_local2]); if (!this.targetCreep.dmgMod){ this.targetCreep.dmgMod = 1; }; this.targetCreep.tower = this; _local3 = (Math.abs((this.x - this.targetCreep.x)) + Math.abs((this.y - this.targetCreep.y))); targets_array.push({creep:this.targetCreep, dist:_local3}); firing_mc.gotoAndPlay(2); }; }; }; }; } else { this.ticks++; if (this.ticks == 1){ targets_array.sortOn(["dist", "creep"], Array.NUMERIC); this.targetCreep = targets_array[0].creep; this.targetCreep.tower = this; if (this.targetCreep.special != "flying"){ this.targetCreep.curhp = (this.targetCreep.curhp - (this.dmg * this.targetCreep.dmgMod)); } else { this.targetCreep.curhp = (this.targetCreep.curhp - ((this.dmg * this.targetCreep.dmgMod) * 0.8)); }; } else { if (this.ticks >= this.freq){ this.firing = false; }; }; }; }; } } }//package
Section 152
//MD5 (MD5) package { public class MD5 { public static const HEX_FORMAT_LOWERCASE:uint = 0; public static const HEX_FORMAT_UPPERCASE:uint = 1; public static const BASE64_PAD_CHARACTER_DEFAULT_COMPLIANCE:String = ""; public static const BASE64_PAD_CHARACTER_RFC_COMPLIANCE:String = "="; public static var hexcase:uint = 0; public static var b64pad:String = ""; public function encrypt(_arg1:String):String{ return (hex_md5(_arg1)); } public static function md5_gg(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (md5_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function md5_cmn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{ return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3)); } public static function binl_md5(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; _arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32))); _arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2; _local3 = 1732584193; _local4 = -271733879; _local5 = -1732584194; _local6 = 271733878; _local7 = 0; while (_local7 < _arg1.length) { _local8 = _local3; _local9 = _local4; _local10 = _local5; _local11 = _local6; _local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936); _local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586); _local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819); _local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330); _local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897); _local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426); _local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341); _local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983); _local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416); _local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417); _local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063); _local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162); _local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682); _local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101); _local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290); _local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329); _local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510); _local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632); _local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713); _local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302); _local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691); _local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083); _local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335); _local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848); _local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438); _local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690); _local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961); _local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501); _local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467); _local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784); _local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473); _local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734); _local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558); _local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463); _local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562); _local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556); _local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060); _local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353); _local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632); _local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640); _local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174); _local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222); _local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979); _local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189); _local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487); _local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835); _local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520); _local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651); _local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844); _local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415); _local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905); _local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055); _local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571); _local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606); _local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523); _local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799); _local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359); _local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744); _local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380); _local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649); _local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070); _local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379); _local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259); _local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551); _local3 = safe_add(_local3, _local8); _local4 = safe_add(_local4, _local9); _local5 = safe_add(_local5, _local10); _local6 = safe_add(_local6, _local11); _local7 = (_local7 + 16); }; return ([_local3, _local4, _local5, _local6]); } public static function str2rstr_utf16le(_arg1:String):String{ var _local2:String; var _local3:Number; _local2 = ""; _local3 = 0; while (_local3 < _arg1.length) { _local2 = (_local2 + String.fromCharCode((_arg1.charCodeAt(_local3) & 0xFF), ((_arg1.charCodeAt(_local3) >>> 8) & 0xFF))); _local3++; }; return (_local2); } public static function hex_hmac_md5(_arg1:String, _arg2:String):String{ return (rstr2hex(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2)))); } public static function binl2rstr(_arg1:Array):String{ var _local2:String; var _local3:Number; _local2 = ""; _local3 = 0; while (_local3 < (_arg1.length * 32)) { _local2 = (_local2 + String.fromCharCode(((_arg1[(_local3 >> 5)] >>> (_local3 % 32)) & 0xFF))); _local3 = (_local3 + 8); }; return (_local2); } public static function md5_ff(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (md5_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function md5_ii(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (md5_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function rstr2binl(_arg1:String):Array{ var _local2:Number; var _local3:Array; _local2 = 0; _local3 = new Array((_arg1.length >> 2)); _local2 = 0; while (_local2 < _local3.length) { _local3[_local2] = 0; _local2++; }; _local2 = 0; while (_local2 < (_arg1.length * 8)) { _local3[(_local2 >> 5)] = (_local3[(_local2 >> 5)] | ((_arg1.charCodeAt((_local2 / 8)) & 0xFF) << (_local2 % 32))); _local2 = (_local2 + 8); }; return (_local3); } public static function md5_vm_test():Boolean{ return ((hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72")); } public static function b64_md5(_arg1:String):String{ return (rstr2b64(rstr_md5(str2rstr_utf8(_arg1)))); } public static function any_hmac_md5(_arg1:String, _arg2:String, _arg3:String):String{ return (rstr2any(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2)), _arg3)); } public static function hex_md5(_arg1:String):String{ return (rstr2hex(rstr_md5(str2rstr_utf8(_arg1)))); } public static function bit_rol(_arg1:Number, _arg2:Number):Number{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public static function b64_hmac_md5(_arg1:String, _arg2:String):String{ return (rstr2b64(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2)))); } public static function md5_hh(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{ return (md5_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function rstr2hex(_arg1:String):String{ var _local2:String; var _local3:String; var _local4:Number; var _local5:Number; _local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef"; _local3 = ""; _local5 = 0; while (_local5 < _arg1.length) { _local4 = _arg1.charCodeAt(_local5); _local3 = (_local3 + (_local2.charAt(((_local4 >>> 4) & 15)) + _local2.charAt((_local4 & 15)))); _local5++; }; return (_local3); } public static function any_md5(_arg1:String, _arg2:String):String{ return (rstr2any(rstr_md5(str2rstr_utf8(_arg1)), _arg2)); } public static function rstr2b64(_arg1:String):String{ var _local2:String; var _local3:String; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; _local3 = ""; _local4 = _arg1.length; _local5 = 0; while (_local5 < _local4) { _local6 = (((_arg1.charCodeAt(_local5) << 16) | (((_local5 + 1) < _local4)) ? (_arg1.charCodeAt((_local5 + 1)) << 8) : 0) | (((_local5 + 2) < _local4)) ? _arg1.charCodeAt((_local5 + 2)) : 0); _local7 = 0; while (_local7 < 4) { if (((_local5 * 8) + (_local7 * 6)) > (_arg1.length * 8)){ _local3 = (_local3 + b64pad); } else { _local3 = (_local3 + _local2.charAt(((_local6 >>> (6 * (3 - _local7))) & 63))); }; _local7++; }; _local5 = (_local5 + 3); }; return (_local3); } public static function safe_add(_arg1:Number, _arg2:Number):Number{ var _local3:Number; var _local4:Number; _local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF)); _local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16)); return (((_local4 << 16) | (_local3 & 0xFFFF))); } public static function str2rstr_utf8(_arg1:String):String{ var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = ""; _local3 = -1; while (++_local3 < _arg1.length) { _local4 = _arg1.charCodeAt(_local3); _local5 = (((_local3 + 1) < _arg1.length)) ? _arg1.charCodeAt((_local3 + 1)) : 0; if ((((((((0xD800 <= _local4)) && ((_local4 <= 56319)))) && ((0xDC00 <= _local5)))) && ((_local5 <= 57343)))){ _local4 = ((65536 + ((_local4 & 1023) << 10)) + (_local5 & 1023)); _local3++; }; if (_local4 <= 127){ _local2 = (_local2 + String.fromCharCode(_local4)); } else { if (_local4 <= 2047){ _local2 = (_local2 + String.fromCharCode((192 | ((_local4 >>> 6) & 31)), (128 | (_local4 & 63)))); } else { if (_local4 <= 0xFFFF){ _local2 = (_local2 + String.fromCharCode((224 | ((_local4 >>> 12) & 15)), (128 | ((_local4 >>> 6) & 63)), (128 | (_local4 & 63)))); } else { if (_local4 <= 2097151){ _local2 = (_local2 + String.fromCharCode((240 | ((_local4 >>> 18) & 7)), (128 | ((_local4 >>> 12) & 63)), (128 | ((_local4 >>> 6) & 63)), (128 | (_local4 & 63)))); }; }; }; }; }; return (_local2); } public static function rstr_hmac_md5(_arg1:String, _arg2:String):String{ var _local3:Array; var _local4:Array; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = rstr2binl(_arg1); if (_local3.length > 16){ _local3 = binl_md5(_local3, (_arg1.length * 8)); }; _local4 = new Array(16); _local5 = new Array(16); _local6 = 0; while (_local6 < 16) { _local4[_local6] = (_local3[_local6] ^ 909522486); _local5[_local6] = (_local3[_local6] ^ 1549556828); _local6++; }; _local7 = binl_md5(_local4.concat(rstr2binl(_arg2)), (0x0200 + (_arg2.length * 8))); return (binl2rstr(binl_md5(_local5.concat(_local7), (0x0200 + 128)))); } public static function str2rstr_utf16be(_arg1:String):String{ var _local2:String; var _local3:Number; _local2 = ""; _local3 = 0; while (_local3 < _arg1.length) { _local2 = (_local2 + String.fromCharCode(((_arg1.charCodeAt(_local3) >>> 8) & 0xFF), (_arg1.charCodeAt(_local3) & 0xFF))); _local3++; }; return (_local2); } public static function rstr2any(_arg1:String, _arg2:String):String{ var _local3:Number; var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; var _local9:Array; var _local10:String; _local3 = _arg2.length; _local4 = []; _local9 = new Array((_arg1.length / 2)); _local5 = 0; while (_local5 < _local9.length) { _local9[_local5] = ((_arg1.charCodeAt((_local5 * 2)) << 8) | _arg1.charCodeAt(((_local5 * 2) + 1))); _local5++; }; while (_local9.length > 0) { _local8 = []; _local7 = 0; _local5 = 0; while (_local5 < _local9.length) { _local7 = ((_local7 << 16) + _local9[_local5]); _local6 = Math.floor((_local7 / _local3)); _local7 = (_local7 - (_local6 * _local3)); if ((((_local8.length > 0)) || ((_local6 > 0)))){ _local8[_local8.length] = _local6; }; _local5++; }; _local4[_local4.length] = _local7; _local9 = _local8; }; _local10 = ""; _local5 = (_local4.length - 1); while (_local5 >= 0) { _local10 = (_local10 + _arg2.charAt(_local4[_local5])); _local5--; }; return (_local10); } public static function rstr_md5(_arg1:String):String{ return (binl2rstr(binl_md5(rstr2binl(_arg1), (_arg1.length * 8)))); } } }//package
Section 153
//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.5"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest((server + ".swf")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); setTimeout(options.ad_finished, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 154
//ProgressBar_barSkin (ProgressBar_barSkin) package { import flash.display.*; public dynamic class ProgressBar_barSkin extends MovieClip { } }//package
Section 155
//ProgressBar_indeterminateSkin (ProgressBar_indeterminateSkin) package { import flash.display.*; public dynamic class ProgressBar_indeterminateSkin extends MovieClip { } }//package
Section 156
//ProgressBar_trackSkin (ProgressBar_trackSkin) package { import flash.display.*; public dynamic class ProgressBar_trackSkin extends MovieClip { } }//package
Section 157
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//package
Section 158
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//package
Section 159
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//package
Section 160
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//package
Section 161
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//package
Section 162
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//package
Section 163
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//package
Section 164
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//package
Section 165
//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//package
Section 166
//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//package
Section 167
//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//package
Section 168
//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//package
Section 169
//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//package

Library Items

Symbol 1 GraphicUsed by:14
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip {td_fla.mcArrowTowerFiring_3}Uses:2Used by:14 74
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {mcTowerRange}Uses:4Used by:14 21 30 38 51 58 74 76 307
Symbol 6 GraphicUsed by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip {td_fla.mcTowerCaption_5}Uses:6 7Used by:14 21 30 38 51 58 74 295 300
Symbol 9 GraphicUsed by:10
Symbol 10 ButtonUses:9Used by:14
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 ButtonUses:11 12Used by:14
Symbol 14 MovieClip {mcArrowTower}Uses:1 3 5 8 10 13Used by:307
Symbol 15 GraphicUsed by:21
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip {td_fla.mcFireTowerFiring_9}Uses:16Used by:21
Symbol 18 GraphicUsed by:19 20
Symbol 19 MovieClipUses:18Used by:21
Symbol 20 ButtonUses:18Used by:21
Symbol 21 MovieClip {mcFireTower}Uses:15 5 17 8 19 20Used by:307
Symbol 22 GraphicUsed by:30
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip {td_fla.mcIceTowerFiring_13}Uses:23Used by:30
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:25Used by:30
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 ButtonUses:27 28Used by:30
Symbol 30 MovieClip {mcIceTower}Uses:22 24 5 8 26 29Used by:307
Symbol 31 GraphicUsed by:38
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip {td_fla.mcRapidTowerFiring_17}Uses:32Used by:38
Symbol 34 GraphicUsed by:35 37
Symbol 35 MovieClipUses:34Used by:38
Symbol 36 GraphicUsed by:37
Symbol 37 ButtonUses:34 36Used by:38
Symbol 38 MovieClip {mcRapidTower}Uses:31 33 5 8 35 37Used by:307
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:43
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 MovieClip {mcRGTile}Uses:40 42Used by:307
Symbol 44 GraphicUsed by:51
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClip {td_fla.mcSkyTowerFiring_24}Uses:45Used by:51
Symbol 47 GraphicUsed by:48 50
Symbol 48 MovieClipUses:47Used by:51
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:47 49Used by:51
Symbol 51 MovieClip {mcSkyTower}Uses:44 5 46 8 48 50Used by:307
Symbol 52 GraphicUsed by:58
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip {td_fla.mcSniperTowerFiring_28}Uses:53Used by:58
Symbol 55 GraphicUsed by:56 57
Symbol 56 MovieClipUses:55Used by:58
Symbol 57 ButtonUses:55Used by:58
Symbol 58 MovieClip {mcSniperTower}Uses:52 54 5 8 56 57Used by:307
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:62 79
Symbol 61 GraphicUsed by:62 79
Symbol 62 MovieClip {mcTowerBar}Uses:60 61Used by:307
Symbol 63 GraphicUsed by:69
Symbol 64 GraphicUsed by:69
Symbol 65 GraphicUsed by:69
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClip {mcTowerRank}Uses:63 64 65 66 67 68Used by:307
Symbol 70 GraphicUsed by:74
Symbol 71 GraphicUsed by:72 73
Symbol 72 MovieClipUses:71Used by:74
Symbol 73 ButtonUses:71Used by:74
Symbol 74 MovieClip {mcUltimateTower}Uses:70 3 5 8 72 73Used by:307
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClip {mcAuraRange}Uses:75 5Used by:307
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:80
Symbol 79 MovieClip {mcHPBar}Uses:60 61Used by:80 83 86 88 91 93 96 99 102 105 108 111 114 117 119 122 125 127 130 133 136 138
Symbol 80 MovieClip {mcCreepArmour}Uses:78 79Used by:307
Symbol 81 GraphicUsed by:83 88 93 119 127 138
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClip {mcCreepAura}Uses:81 82 79Used by:307
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:86
Symbol 86 MovieClip {mcCreepBoss40}Uses:85 79Used by:307
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClip {mcCreepBossArmour}Uses:81 87 79Used by:307
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91
Symbol 91 MovieClip {mcCreepBossAura}Uses:90 79Used by:307
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClip {mcCreepBossFlying}Uses:79 81 92Used by:307
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClip {mcCreepBossResistant}Uses:95 79Used by:307
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:99
Symbol 99 MovieClip {mcCreepEvasion}Uses:98 79Used by:307
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:102
Symbol 102 MovieClip {mcCreepFast}Uses:101 79Used by:307
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 MovieClip {mcCreepFlying}Uses:104 79Used by:307
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:108
Symbol 108 MovieClip {mcCreepFlyingArmour}Uses:107 79Used by:307
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClip {mcCreepMultiply}Uses:110 79Used by:307
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:114
Symbol 114 MovieClip {mcCreepMultiplyChild}Uses:113 79Used by:307
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClip {mcCreepNormal1}Uses:116 79Used by:307
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClip {mcCreepNormal2}Uses:81 118 79Used by:307
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:122
Symbol 122 MovieClip {mcCreepNormal3}Uses:121 79Used by:307
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:125
Symbol 125 MovieClip {mcCreepNormal4}Uses:124 79Used by:307
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip {mcCreepResistFire}Uses:79 81 126Used by:307
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:130
Symbol 130 MovieClip {mcCreepResistIce}Uses:129 79Used by:307
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClip {mcCreepSwarm}Uses:132 79Used by:307
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:136
Symbol 136 MovieClip {mcCreepSwarmMultiply}Uses:135 79Used by:307
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClip {mcCreepSwarmMultiplyChild}Uses:81 137 79Used by:307
Symbol 139 GraphicUsed by:259  Timeline
Symbol 140 FontUsed by:141 311
Symbol 141 TextUses:140Used by:259  Timeline
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:258 259 294 299 314 320 389 494 496
Symbol 144 FontUsed by:145 146 147 148 149 150 151 154 156 157 158 159 162 168 171 182 313 346 347 348 349 351 352 353 354 355 357 358 359 360 362 363 364 365 367 368 369 370 372 373 374 375 376 377 378 379 380 383 385 387 388 390 393 394 395 396 397 399 401 402 403 404 406 407 409 410 411 412 415 433 437 439 441 442 444 445 453 455 456 457 463 465 466 470 471 474 477 478 481 482 485 486 490
Symbol 145 TextUses:144Used by:259
Symbol 146 EditableTextUses:144Used by:259
Symbol 147 EditableTextUses:144Used by:259
Symbol 148 EditableTextUses:144Used by:259
Symbol 149 TextUses:144Used by:259
Symbol 150 TextUses:144Used by:259
Symbol 151 TextUses:144Used by:259
Symbol 152 FontUsed by:153 155 169 257 312 391 392 405 413 414 416 454 491
Symbol 153 TextUses:152Used by:259
Symbol 154 TextUses:144Used by:259
Symbol 155 TextUses:152Used by:259
Symbol 156 TextUses:144Used by:259
Symbol 157 TextUses:144Used by:259
Symbol 158 TextUses:144Used by:259
Symbol 159 EditableTextUses:144Used by:259
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:167 327 330 333 336 339 342 384 386 398 400 419 422 425 427 429 432 438 440 446
Symbol 162 TextUses:144Used by:167
Symbol 163 GraphicUsed by:164 384 386 424 440 489
Symbol 164 ButtonUses:163Used by:167 258 398 400 419 422 425 427 429 432 438 440  Timeline
Symbol 165 GraphicUsed by:166 167
Symbol 166 MovieClipUses:165Used by:167 327 330 333 336 339 342 384 386 398 400 419 422 425 427 429 432 438 440
Symbol 167 ButtonUses:161 162 164 166 165Used by:259
Symbol 168 EditableTextUses:144Used by:259
Symbol 169 EditableTextUses:152Used by:259
Symbol 170 GraphicUsed by:259
Symbol 171 TextUses:144Used by:258
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:181 256
Symbol 174 MovieClip {fl.core.ComponentShim}Used by:181 198 219 253 256
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {ProgressBar_trackSkin}Uses:175Used by:181
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClip {ProgressBar_barSkin}Uses:177Used by:181
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClip {ProgressBar_indeterminateSkin}Uses:179Used by:181
Symbol 181 MovieClip {fl.controls.ProgressBar}Uses:173 174 176 178 180Used by:258
Symbol 182 TextUses:144Used by:258
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClip {HeaderRenderer_upSkin}Uses:183Used by:198
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip {HeaderRenderer_disabledSkin}Uses:185Used by:198
Symbol 187 GraphicUsed by:188 193
Symbol 188 MovieClip {HeaderRenderer_downSkin}Uses:187Used by:198
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClip {HeaderRenderer_overSkin}Uses:189Used by:198
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClip {HeaderRenderer_selectedDisabledSkin}Uses:191Used by:198
Symbol 193 MovieClip {HeaderRenderer_selectedDownSkin}Uses:187Used by:198
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClip {HeaderRenderer_selectedOverSkin}Uses:194Used by:198
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClip {HeaderRenderer_selectedUpSkin}Uses:196Used by:198
Symbol 198 MovieClip {fl.controls.dataGridClasses.HeaderRenderer}Uses:184 174 186 188 190 192 193 195 197Used by:256
Symbol 199 GraphicUsed by:200 229 232 236 246
Symbol 200 MovieClip {HeaderSortArrow_ascIcon}Uses:199Used by:256
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClip {HeaderSortArrow_descIcon}Uses:201Used by:256
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClip {CellRenderer_upSkin}Uses:203Used by:219
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClip {CellRenderer_disabledSkin}Uses:205Used by:219
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip {CellRenderer_downSkin}Uses:207Used by:219
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClip {CellRenderer_overSkin}Uses:209Used by:219
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClip {CellRenderer_selectedDisabledSkin}Uses:211Used by:219
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClip {CellRenderer_selectedDownSkin}Uses:213Used by:219
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClip {CellRenderer_selectedOverSkin}Uses:215Used by:219
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClip {CellRenderer_selectedUpSkin}Uses:217Used by:219
Symbol 219 MovieClip {fl.controls.listClasses.CellRenderer}Uses:204 174 206 208 210 212 214 216 218Used by:256
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClip {focusRectSkin}Uses:220Used by:253 256
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClip {ColumnStretch_cursor}Uses:222Used by:256
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClip {DataGrid_skin}Uses:224Used by:256
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClip {ScrollTrack_skin}Uses:226Used by:253
Symbol 228 GraphicUsed by:230
Symbol 229 MovieClipUses:199Used by:230 240 242
Symbol 230 MovieClip {ScrollArrowUp_downSkin}Uses:228 229Used by:253
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClip {ScrollArrowDown_downSkin}Uses:231 199Used by:253
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip {ScrollThumb_downSkin}Uses:233Used by:253
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClip {ScrollArrowDown_overSkin}Uses:235 199Used by:253
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClip {ScrollThumb_overSkin}Uses:237Used by:253
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClip {ScrollArrowUp_overSkin}Uses:239 229Used by:253
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClip {ScrollArrowUp_upSkin}Uses:241 229Used by:253
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClip {ScrollThumb_upSkin}Uses:243Used by:253
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClip {ScrollArrowDown_upSkin}Uses:245 199Used by:253
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClip {ScrollArrowDown_disabledSkin}Uses:247Used by:253
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClip {ScrollArrowUp_disabledSkin}Uses:249Used by:253
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClip {ScrollBar_thumbIcon}Uses:251Used by:253
Symbol 253 MovieClip {fl.controls.ScrollBar}Uses:227 174 221 230 232 234 236 238 240 242 244 246 248 250 252Used by:256
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClip {DataGridCellEditor_skin}Uses:254Used by:256
Symbol 256 MovieClip {fl.controls.DataGrid}Uses:173 174 198 200 202 219 221 223 225 253 255Used by:258
Symbol 257 EditableTextUses:152Used by:258
Symbol 258 MovieClip {td_fla.mcSendingData_67}Uses:164 143 171 181 182 256 257Used by:259
Symbol 259 MovieClip {mcFinish}Uses:139 141 143 145 146 147 148 149 150 151 153 154 155 156 157 158 159 167 168 169 170 258Used by:307
Symbol 260 BitmapUsed by:261 418
Symbol 261 GraphicUses:260Used by:262
Symbol 262 MovieClipUses:261Used by:263
Symbol 263 MovieClip {mcEfxAmplify}Uses:262Used by:307
Symbol 264 BitmapUsed by:265 428
Symbol 265 GraphicUses:264Used by:266
Symbol 266 MovieClipUses:265Used by:267
Symbol 267 MovieClip {mcEfxBoost}Uses:266Used by:307
Symbol 268 BitmapUsed by:269 423
Symbol 269 GraphicUses:268Used by:270
Symbol 270 MovieClipUses:269Used by:271
Symbol 271 MovieClip {mcEfxMoney}Uses:270Used by:307
Symbol 272 BitmapUsed by:273 426
Symbol 273 GraphicUses:272Used by:274
Symbol 274 MovieClipUses:273Used by:275
Symbol 275 MovieClip {mcEfxSlow}Uses:274Used by:307
Symbol 276 MovieClip {mcEmpty}Used by:307 446
Symbol 277 MovieClip {mcTile0}Used by:307
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClip {mcTile1}Uses:278Used by:307
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClip {mcTile2}Uses:280Used by:307
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:284
Symbol 284 MovieClip {mcTile3}Uses:283Used by:307
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:287
Symbol 287 MovieClip {mcTile4}Uses:286Used by:307
Symbol 288 BitmapUsed by:289
Symbol 289 GraphicUses:288Used by:290
Symbol 290 MovieClip {mcTile5}Uses:289Used by:307
Symbol 291 GraphicUsed by:292
Symbol 292 ButtonUses:291Used by:295
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:143 293Used by:295
Symbol 295 MovieClip {mcTile30}Uses:292 294 8Used by:307
Symbol 296 GraphicUsed by:297
Symbol 297 ButtonUses:296Used by:300
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClipUses:143 298Used by:300
Symbol 300 MovieClip {mcTile31}Uses:297 299 8Used by:307
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClip {mcTile1000}Uses:301Used by:307
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClip {mcTile1001}Uses:303Used by:307
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClip {mcTile1002}Uses:305Used by:307
Symbol 307 MovieClipUses:14 21 30 38 43 51 58 62 5 69 74 76 80 83 86 88 91 93 96 99 102 105 108 111 114 117 119 122 125 127 130 133 136 138 259 263 267 271 275 276 277 279 281 284 287 290 295 300 302 304 306Used by:Timeline
Symbol 308 MovieClip {td_fla.mcCreepControl_137}Used by:330 438 460 492  Timeline
Symbol 309 MovieClip {td_fla.mcTowerControl_138}Used by:321 336 452 488 497  Timeline
Symbol 310 MovieClip {td_fla.mcFireTowerAll_139}Used by:324 333 440 462 492  Timeline
Symbol 311 TextUses:140Used by:314
Symbol 312 TextUses:152Used by:314
Symbol 313 TextUses:144Used by:314
Symbol 314 MovieClipUses:143 311 312 313Used by:321
Symbol 315 FontUsed by:316
Symbol 316 TextUses:315Used by:317
Symbol 317 MovieClipUses:316Used by:321
Symbol 318 BitmapUsed by:319
Symbol 319 GraphicUses:318Used by:320
Symbol 320 MovieClipUses:143 319Used by:321
Symbol 321 MovieClip {td_fla.mcTitlePage_140}Uses:309 314 317 320Used by:Timeline
Symbol 322 GraphicUsed by:Timeline
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:310 323Used by:Timeline
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:327
Symbol 327 MovieClip {td_fla.mcBtnArrowTower_145}Uses:326 161 166Used by:Timeline
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:330
Symbol 330 MovieClip {td_fla.mcBtnSniperTower_146}Uses:329 161 308 166Used by:Timeline
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:333
Symbol 333 MovieClip {td_fla.mcBtnRapidTower_147}Uses:332 161 310 166Used by:Timeline
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClip {td_fla.mcBtnIceTower_148}Uses:335 309 161 166Used by:Timeline
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:339
Symbol 339 MovieClip {td_fla.mcBtnFireTower_149}Uses:338 161 166Used by:Timeline
Symbol 340 BitmapUsed by:341
Symbol 341 GraphicUses:340Used by:342
Symbol 342 MovieClip {td_fla.mcBtnSkyTower_150}Uses:341 161 166Used by:Timeline
Symbol 343 GraphicUsed by:434
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClipUses:344Used by:434
Symbol 346 TextUses:144Used by:434
Symbol 347 TextUses:144Used by:434
Symbol 348 TextUses:144Used by:434
Symbol 349 TextUses:144Used by:434
Symbol 350 GraphicUsed by:434
Symbol 351 TextUses:144Used by:434
Symbol 352 TextUses:144Used by:434
Symbol 353 TextUses:144Used by:434
Symbol 354 TextUses:144Used by:434
Symbol 355 TextUses:144Used by:434
Symbol 356 GraphicUsed by:434
Symbol 357 TextUses:144Used by:434
Symbol 358 TextUses:144Used by:434
Symbol 359 TextUses:144Used by:434
Symbol 360 TextUses:144Used by:434
Symbol 361 GraphicUsed by:434
Symbol 362 TextUses:144Used by:434
Symbol 363 TextUses:144Used by:434
Symbol 364 TextUses:144Used by:434
Symbol 365 TextUses:144Used by:434
Symbol 366 GraphicUsed by:434
Symbol 367 TextUses:144Used by:434
Symbol 368 TextUses:144Used by:434
Symbol 369 TextUses:144Used by:434
Symbol 370 TextUses:144Used by:434
Symbol 371 GraphicUsed by:434
Symbol 372 TextUses:144Used by:434
Symbol 373 TextUses:144Used by:434
Symbol 374 TextUses:144Used by:434
Symbol 375 TextUses:144Used by:434
Symbol 376 TextUses:144Used by:389
Symbol 377 TextUses:144Used by:389
Symbol 378 EditableTextUses:144Used by:389
Symbol 379 TextUses:144Used by:389
Symbol 380 EditableTextUses:144Used by:389
Symbol 381 FontUsed by:382
Symbol 382 TextUses:381Used by:389
Symbol 383 TextUses:144Used by:384
Symbol 384 ButtonUses:161 383 166 163Used by:389
Symbol 385 TextUses:144Used by:386
Symbol 386 ButtonUses:161 385 166 163Used by:389
Symbol 387 EditableTextUses:144Used by:389
Symbol 388 TextUses:144Used by:389
Symbol 389 MovieClip {td_fla.mcBankInfo_153}Uses:143 376 377 378 379 380 382 384 386 387 388Used by:434
Symbol 390 EditableTextUses:144Used by:408
Symbol 391 TextUses:152Used by:408
Symbol 392 TextUses:152Used by:408
Symbol 393 TextUses:144Used by:408
Symbol 394 EditableTextUses:144Used by:408
Symbol 395 TextUses:144Used by:408
Symbol 396 EditableTextUses:144Used by:408
Symbol 397 TextUses:144Used by:398
Symbol 398 MovieClip {td_fla.btnUpgrade_157}Uses:161 397 164 166Used by:408
Symbol 399 TextUses:144Used by:400
Symbol 400 MovieClip {td_fla.btnSell_158}Uses:161 399 164 166Used by:408 417
Symbol 401 EditableTextUses:144Used by:408
Symbol 402 EditableTextUses:144Used by:408
Symbol 403 EditableTextUses:144Used by:408
Symbol 404 EditableTextUses:144Used by:408
Symbol 405 TextUses:152Used by:408
Symbol 406 EditableTextUses:144Used by:408
Symbol 407 EditableTextUses:144Used by:408
Symbol 408 MovieClip {td_fla.mcTowerInfo_156}Uses:390 391 392 393 394 395 396 398 400 401 402 403 404 405 406 407Used by:434
Symbol 409 EditableTextUses:144Used by:417
Symbol 410 TextUses:144Used by:417
Symbol 411 TextUses:144Used by:417
Symbol 412 TextUses:144Used by:417
Symbol 413 EditableTextUses:152Used by:417
Symbol 414 EditableTextUses:152Used by:417
Symbol 415 TextUses:144Used by:417
Symbol 416 EditableTextUses:152Used by:417
Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159}Uses:409 410 411 412 400 413 414 415 416Used by:434
Symbol 418 GraphicUses:260Used by:419
Symbol 419 MovieClip {td_fla.mcBtnAmplifyDamage_160}Uses:418 164 161 166Used by:434
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:422
Symbol 422 MovieClip {td_fla.mcBtnLife_161}Uses:421 164 161 166Used by:434
Symbol 423 GraphicUses:268Used by:425
Symbol 424 MovieClipUses:163Used by:425
Symbol 425 MovieClip {td_fla.mcBtnRewards_162}Uses:423 424 164 161 166Used by:434
Symbol 426 GraphicUses:272Used by:427
Symbol 427 MovieClip {td_fla.mcBtnSlow_164}Uses:426 164 161 166Used by:434
Symbol 428 GraphicUses:264Used by:429
Symbol 429 MovieClip {td_fla.mcBtnTowerBoost_165}Uses:428 164 161 166Used by:434
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:432
Symbol 432 MovieClip {td_fla.mcBtnTowerUltimate_166}Uses:431 164 161 166Used by:434
Symbol 433 TextUses:144Used by:434
Symbol 434 MovieClip {td_fla.mcTdInfo_151}Uses:343 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 389 408 417 419 422 425 427 429 432 433Used by:Timeline
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:Timeline
Symbol 437 TextUses:144Used by:438
Symbol 438 MovieClip {td_fla.mcBtnNextWave_168}Uses:161 308 437 164 166Used by:Timeline
Symbol 439 TextUses:144Used by:440
Symbol 440 MovieClip {td_fla.mcBtnPause_169}Uses:163 161 439 310 164 166Used by:Timeline
Symbol 441 TextUses:144Used by:446
Symbol 442 TextUses:144Used by:443
Symbol 443 MovieClipUses:442Used by:446
Symbol 444 EditableTextUses:144Used by:446
Symbol 445 EditableTextUses:144Used by:446
Symbol 446 MovieClip {td_fla.mcWaveInfo_170}Uses:441 443 161 276 444 445Used by:Timeline
Symbol 447 GraphicUsed by:452
Symbol 448 BitmapUsed by:449 450
Symbol 449 GraphicUses:448Used by:451
Symbol 450 GraphicUses:448Used by:451
Symbol 451 MovieClip {td_fla.mcGlitter_173}Uses:449 450Used by:452 460
Symbol 452 MovieClipUses:447 451 309Used by:Timeline
Symbol 453 EditableTextUses:144Used by:Timeline
Symbol 454 EditableTextUses:152Used by:Timeline
Symbol 455 EditableTextUses:144Used by:Timeline
Symbol 456 EditableTextUses:144Used by:Timeline
Symbol 457 EditableTextUses:144Used by:Timeline
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:458Used by:460
Symbol 460 MovieClipUses:459 308 451Used by:Timeline
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClip {td_fla.mcClock_176}Uses:461 310Used by:Timeline
Symbol 463 TextUses:144Used by:Timeline
Symbol 464 GraphicUsed by:488
Symbol 465 TextUses:144Used by:488
Symbol 466 TextUses:144Used by:488
Symbol 467 FontUsed by:468 472 475 479 483 487
Symbol 468 TextUses:467Used by:488
Symbol 469 GraphicUsed by:488
Symbol 470 TextUses:144Used by:488
Symbol 471 TextUses:144Used by:488
Symbol 472 TextUses:467Used by:488
Symbol 473 GraphicUsed by:488
Symbol 474 TextUses:144Used by:488
Symbol 475 TextUses:467Used by:488
Symbol 476 GraphicUsed by:488
Symbol 477 TextUses:144Used by:488
Symbol 478 TextUses:144Used by:488
Symbol 479 TextUses:467Used by:488
Symbol 480 GraphicUsed by:488
Symbol 481 TextUses:144Used by:488
Symbol 482 TextUses:144Used by:488
Symbol 483 TextUses:467Used by:488
Symbol 484 GraphicUsed by:488
Symbol 485 TextUses:144Used by:488
Symbol 486 TextUses:144Used by:488
Symbol 487 TextUses:467Used by:488
Symbol 488 MovieClip {td_fla.mcToolTip_177}Uses:464 309 465 466 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487Used by:Timeline
Symbol 489 ButtonUses:163Used by:492 497
Symbol 490 TextUses:144Used by:492
Symbol 491 TextUses:152Used by:492
Symbol 492 MovieClip {td_fla.mcPause_178}Uses:489 308 310 490 491Used by:Timeline
Symbol 493 GraphicUsed by:494
Symbol 494 MovieClipUses:143 493Used by:497
Symbol 495 GraphicUsed by:496
Symbol 496 MovieClipUses:143 495Used by:497
Symbol 497 MovieClip {td_fla.mcWinLose_180}Uses:494 489 309 496Used by:Timeline

Instance Names

"lib_mc"Frame 2Symbol 307 MovieClip
"continue_btn"Frame 6Symbol 164 Button
"rightBarArea_mc"Frame 11Symbol 324 MovieClip
"tdArrow_mc"Frame 11Symbol 327 MovieClip {td_fla.mcBtnArrowTower_145}
"tdSniper_mc"Frame 11Symbol 330 MovieClip {td_fla.mcBtnSniperTower_146}
"tdRapid_mc"Frame 11Symbol 333 MovieClip {td_fla.mcBtnRapidTower_147}
"tdIce_mc"Frame 11Symbol 336 MovieClip {td_fla.mcBtnIceTower_148}
"tdFire_mc"Frame 11Symbol 339 MovieClip {td_fla.mcBtnFireTower_149}
"tdSky_mc"Frame 11Symbol 342 MovieClip {td_fla.mcBtnSkyTower_150}
"tdFire_btn"Frame 11Symbol 164 Button
"tdRapid_btn"Frame 11Symbol 164 Button
"tdIce_btn"Frame 11Symbol 164 Button
"tdSky_btn"Frame 11Symbol 164 Button
"tdSniper_btn"Frame 11Symbol 164 Button
"tdArrow_btn"Frame 11Symbol 164 Button
"rbInfo_mc"Frame 11Symbol 434 MovieClip {td_fla.mcTdInfo_151}
"nxtWave_mc"Frame 11Symbol 438 MovieClip {td_fla.mcBtnNextWave_168}
"pause_mc"Frame 11Symbol 440 MovieClip {td_fla.mcBtnPause_169}
"waveInfo_mc"Frame 11Symbol 446 MovieClip {td_fla.mcWaveInfo_170}
"gold_txt"Frame 11Symbol 453 EditableText
"hp_txt"Frame 11Symbol 455 EditableText
"time_txt"Frame 11Symbol 456 EditableText
"pts_txt"Frame 11Symbol 457 EditableText
"tooltip_mc"Frame 11Symbol 488 MovieClip {td_fla.mcToolTip_177}
"pauseBg_mc"Frame 11Symbol 492 MovieClip {td_fla.mcPause_178}
"end_mc"Frame 11Symbol 497 MovieClip {td_fla.mcWinLose_180}
"firing_mc"Symbol 14 MovieClip {mcArrowTower} Frame 1Symbol 3 MovieClip {td_fla.mcArrowTowerFiring_3}
"range_mc"Symbol 14 MovieClip {mcArrowTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"pointer_mc"Symbol 14 MovieClip {mcArrowTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 14 MovieClip {mcArrowTower} Frame 1Symbol 10 Button
"hotspot_mc"Symbol 14 MovieClip {mcArrowTower} Frame 1Symbol 13 Button
"range_mc"Symbol 21 MovieClip {mcFireTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"firing_mc"Symbol 21 MovieClip {mcFireTower} Frame 1Symbol 17 MovieClip {td_fla.mcFireTowerFiring_9}
"pointer_mc"Symbol 21 MovieClip {mcFireTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 21 MovieClip {mcFireTower} Frame 1Symbol 19 MovieClip
"hotspot_mc"Symbol 21 MovieClip {mcFireTower} Frame 1Symbol 20 Button
"firing_mc"Symbol 30 MovieClip {mcIceTower} Frame 1Symbol 24 MovieClip {td_fla.mcIceTowerFiring_13}
"range_mc"Symbol 30 MovieClip {mcIceTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"pointer_mc"Symbol 30 MovieClip {mcIceTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 30 MovieClip {mcIceTower} Frame 1Symbol 26 Button
"hotspot_mc"Symbol 30 MovieClip {mcIceTower} Frame 1Symbol 29 Button
"firing_mc"Symbol 38 MovieClip {mcRapidTower} Frame 1Symbol 33 MovieClip {td_fla.mcRapidTowerFiring_17}
"range_mc"Symbol 38 MovieClip {mcRapidTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"pointer_mc"Symbol 38 MovieClip {mcRapidTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 38 MovieClip {mcRapidTower} Frame 1Symbol 35 MovieClip
"hotspot_mc"Symbol 38 MovieClip {mcRapidTower} Frame 1Symbol 37 Button
"range_mc"Symbol 51 MovieClip {mcSkyTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"firing_mc"Symbol 51 MovieClip {mcSkyTower} Frame 1Symbol 46 MovieClip {td_fla.mcSkyTowerFiring_24}
"pointer_mc"Symbol 51 MovieClip {mcSkyTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 51 MovieClip {mcSkyTower} Frame 1Symbol 48 MovieClip
"hotspot_mc"Symbol 51 MovieClip {mcSkyTower} Frame 1Symbol 50 Button
"firing_mc"Symbol 58 MovieClip {mcSniperTower} Frame 1Symbol 54 MovieClip {td_fla.mcSniperTowerFiring_28}
"range_mc"Symbol 58 MovieClip {mcSniperTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"pointer_mc"Symbol 58 MovieClip {mcSniperTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 58 MovieClip {mcSniperTower} Frame 1Symbol 56 MovieClip
"hotspot_mc"Symbol 58 MovieClip {mcSniperTower} Frame 1Symbol 57 Button
"hpRed_mc"Symbol 62 MovieClip {mcTowerBar} Frame 1Symbol 60 MovieClip
"hpGreen_mc"Symbol 62 MovieClip {mcTowerBar} Frame 1Symbol 60 MovieClip
"firing_mc"Symbol 74 MovieClip {mcUltimateTower} Frame 1Symbol 3 MovieClip {td_fla.mcArrowTowerFiring_3}
"range_mc"Symbol 74 MovieClip {mcUltimateTower} Frame 1Symbol 5 MovieClip {mcTowerRange}
"pointer_mc"Symbol 74 MovieClip {mcUltimateTower} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"active_mc"Symbol 74 MovieClip {mcUltimateTower} Frame 1Symbol 72 MovieClip
"hotspot_mc"Symbol 74 MovieClip {mcUltimateTower} Frame 1Symbol 73 Button
"hpGreen_mc"Symbol 79 MovieClip {mcHPBar} Frame 1Symbol 60 MovieClip
"hp_mc"Symbol 99 MovieClip {mcCreepEvasion} Frame 1Symbol 79 MovieClip {mcHPBar}
"hp_mc"Symbol 111 MovieClip {mcCreepMultiply} Frame 1Symbol 79 MovieClip {mcHPBar}
"click_btn"Symbol 258 MovieClip {td_fla.mcSendingData_67} Frame 1Symbol 164 Button
"top_dg"Symbol 258 MovieClip {td_fla.mcSendingData_67} Frame 2Symbol 256 MovieClip {fl.controls.DataGrid}
"result_txt"Symbol 258 MovieClip {td_fla.mcSendingData_67} Frame 2Symbol 257 EditableText
"gamePts_txt"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 146 EditableText
"endPts_txt"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 147 EditableText
"pts_txt"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 148 EditableText
"final_txt"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 159 EditableText
"submit_btn"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 167 Button
"name_txt"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 168 EditableText
"nameVal_txt"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 169 EditableText
"send_mc"Symbol 259 MovieClip {mcFinish} Frame 1Symbol 258 MovieClip {td_fla.mcSendingData_67}
"shop"Symbol 295 MovieClip {mcTile30} Frame 1Symbol 292 Button
"labelShop"Symbol 295 MovieClip {mcTile30} Frame 1Symbol 294 MovieClip
"pointer_mc"Symbol 295 MovieClip {mcTile30} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"bank"Symbol 300 MovieClip {mcTile31} Frame 1Symbol 297 Button
"labelbank"Symbol 300 MovieClip {mcTile31} Frame 1Symbol 299 MovieClip
"pointer_mc"Symbol 300 MovieClip {mcTile31} Frame 1Symbol 8 MovieClip {td_fla.mcTowerCaption_5}
"border_mc"Symbol 327 MovieClip {td_fla.mcBtnArrowTower_145} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 327 MovieClip {td_fla.mcBtnArrowTower_145} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 330 MovieClip {td_fla.mcBtnSniperTower_146} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 330 MovieClip {td_fla.mcBtnSniperTower_146} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 333 MovieClip {td_fla.mcBtnRapidTower_147} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 333 MovieClip {td_fla.mcBtnRapidTower_147} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 336 MovieClip {td_fla.mcBtnIceTower_148} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 336 MovieClip {td_fla.mcBtnIceTower_148} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 339 MovieClip {td_fla.mcBtnFireTower_149} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 339 MovieClip {td_fla.mcBtnFireTower_149} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 342 MovieClip {td_fla.mcBtnSkyTower_150} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 342 MovieClip {td_fla.mcBtnSkyTower_150} Frame 2Symbol 166 MovieClip
"balance_txt"Symbol 389 MovieClip {td_fla.mcBankInfo_153} Frame 1Symbol 378 EditableText
"onhand_txt"Symbol 389 MovieClip {td_fla.mcBankInfo_153} Frame 1Symbol 380 EditableText
"deposit_btn"Symbol 389 MovieClip {td_fla.mcBankInfo_153} Frame 1Symbol 384 Button
"withdraw_btn"Symbol 389 MovieClip {td_fla.mcBankInfo_153} Frame 1Symbol 386 Button
"bank_txt"Symbol 389 MovieClip {td_fla.mcBankInfo_153} Frame 1Symbol 387 EditableText
"border_mc"Symbol 398 MovieClip {td_fla.btnUpgrade_157} Frame 1Symbol 161 MovieClip
"click_btn"Symbol 398 MovieClip {td_fla.btnUpgrade_157} Frame 1Symbol 164 Button
"border_mc"Symbol 398 MovieClip {td_fla.btnUpgrade_157} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 400 MovieClip {td_fla.btnSell_158} Frame 1Symbol 161 MovieClip
"click_btn"Symbol 400 MovieClip {td_fla.btnSell_158} Frame 1Symbol 164 Button
"border_mc"Symbol 400 MovieClip {td_fla.btnSell_158} Frame 2Symbol 166 MovieClip
"name_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 390 EditableText
"name2_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 394 EditableText
"price_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 396 EditableText
"upgrade_btn"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 398 MovieClip {td_fla.btnUpgrade_157}
"sell_btn"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 400 MovieClip {td_fla.btnSell_158}
"dmg_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 401 EditableText
"range_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 402 EditableText
"dmg2_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 403 EditableText
"range2_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 404 EditableText
"speed_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 406 EditableText
"speed2_txt"Symbol 408 MovieClip {td_fla.mcTowerInfo_156} Frame 1Symbol 407 EditableText
"name_txt"Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159} Frame 1Symbol 409 EditableText
"sell_btn"Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159} Frame 1Symbol 400 MovieClip {td_fla.btnSell_158}
"dmg_txt"Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159} Frame 1Symbol 413 EditableText
"range_txt"Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159} Frame 1Symbol 414 EditableText
"speed_txt"Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159} Frame 1Symbol 416 EditableText
"click_btn"Symbol 419 MovieClip {td_fla.mcBtnAmplifyDamage_160} Frame 1Symbol 164 Button
"border_mc"Symbol 419 MovieClip {td_fla.mcBtnAmplifyDamage_160} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 419 MovieClip {td_fla.mcBtnAmplifyDamage_160} Frame 2Symbol 166 MovieClip
"click_btn"Symbol 422 MovieClip {td_fla.mcBtnLife_161} Frame 1Symbol 164 Button
"border_mc"Symbol 422 MovieClip {td_fla.mcBtnLife_161} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 422 MovieClip {td_fla.mcBtnLife_161} Frame 2Symbol 166 MovieClip
"timer_mc"Symbol 425 MovieClip {td_fla.mcBtnRewards_162} Frame 1Symbol 424 MovieClip
"click_btn"Symbol 425 MovieClip {td_fla.mcBtnRewards_162} Frame 1Symbol 164 Button
"border_mc"Symbol 425 MovieClip {td_fla.mcBtnRewards_162} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 425 MovieClip {td_fla.mcBtnRewards_162} Frame 2Symbol 166 MovieClip
"click_btn"Symbol 427 MovieClip {td_fla.mcBtnSlow_164} Frame 1Symbol 164 Button
"border_mc"Symbol 427 MovieClip {td_fla.mcBtnSlow_164} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 427 MovieClip {td_fla.mcBtnSlow_164} Frame 2Symbol 166 MovieClip
"click_btn"Symbol 429 MovieClip {td_fla.mcBtnTowerBoost_165} Frame 1Symbol 164 Button
"border_mc"Symbol 429 MovieClip {td_fla.mcBtnTowerBoost_165} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 429 MovieClip {td_fla.mcBtnTowerBoost_165} Frame 2Symbol 166 MovieClip
"click_btn"Symbol 432 MovieClip {td_fla.mcBtnTowerUltimate_166} Frame 1Symbol 164 Button
"border_mc"Symbol 432 MovieClip {td_fla.mcBtnTowerUltimate_166} Frame 1Symbol 161 MovieClip
"border_mc"Symbol 432 MovieClip {td_fla.mcBtnTowerUltimate_166} Frame 2Symbol 166 MovieClip
"bankInfo_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 8Symbol 389 MovieClip {td_fla.mcBankInfo_153}
"towerInfo_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 9Symbol 408 MovieClip {td_fla.mcTowerInfo_156}
"towerInfoEnd_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 9Symbol 417 MovieClip {td_fla.mcTowerInfoEnd_159}
"amplify_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10Symbol 419 MovieClip {td_fla.mcBtnAmplifyDamage_160}
"life_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10Symbol 422 MovieClip {td_fla.mcBtnLife_161}
"money_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10Symbol 425 MovieClip {td_fla.mcBtnRewards_162}
"slow_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10Symbol 427 MovieClip {td_fla.mcBtnSlow_164}
"boost_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10Symbol 429 MovieClip {td_fla.mcBtnTowerBoost_165}
"ultimate_mc"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10Symbol 432 MovieClip {td_fla.mcBtnTowerUltimate_166}
"border_mc"Symbol 438 MovieClip {td_fla.mcBtnNextWave_168} Frame 1Symbol 161 MovieClip
"click_btn"Symbol 438 MovieClip {td_fla.mcBtnNextWave_168} Frame 1Symbol 164 Button
"border_mc"Symbol 438 MovieClip {td_fla.mcBtnNextWave_168} Frame 2Symbol 166 MovieClip
"border_mc"Symbol 440 MovieClip {td_fla.mcBtnPause_169} Frame 1Symbol 161 MovieClip
"click_btn"Symbol 440 MovieClip {td_fla.mcBtnPause_169} Frame 1Symbol 164 Button
"border_mc"Symbol 440 MovieClip {td_fla.mcBtnPause_169} Frame 2Symbol 166 MovieClip
"nxtWave_mc"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 443 MovieClip
"border_mc"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 161 MovieClip
"pic1_mc"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 276 MovieClip {mcEmpty}
"border2_mc"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 161 MovieClip
"pic2_mc"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 276 MovieClip {mcEmpty}
"name1_txt"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 444 EditableText
"name2_txt"Symbol 446 MovieClip {td_fla.mcWaveInfo_170} Frame 1Symbol 445 EditableText
"pauseBg_btn"Symbol 492 MovieClip {td_fla.mcPause_178} Frame 1Symbol 489 Button
"bg_btn"Symbol 497 MovieClip {td_fla.mcWinLose_180} Frame 1Symbol 489 Button

Special Tags

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

Labels

"preloader"Frame 1
"title"Frame 6
"main"Frame 11
"up"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 1
"arrow"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 2
"fire"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 3
"sniper"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 4
"rapid"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 5
"sky"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 6
"ice"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 7
"bank"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 8
"towerInfo"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 9
"shop"Symbol 434 MovieClip {td_fla.mcTdInfo_151} Frame 10
"slow"Symbol 488 MovieClip {td_fla.mcToolTip_177} Frame 1
"amplify"Symbol 488 MovieClip {td_fla.mcToolTip_177} Frame 2
"boost"Symbol 488 MovieClip {td_fla.mcToolTip_177} Frame 3
"life"Symbol 488 MovieClip {td_fla.mcToolTip_177} Frame 4
"rewards"Symbol 488 MovieClip {td_fla.mcToolTip_177} Frame 5
"ultimate"Symbol 488 MovieClip {td_fla.mcToolTip_177} Frame 6




http://swfchan.com/10/47672/info.shtml
Created: 1/5 -2019 09:46:53 Last modified: 1/5 -2019 09:46:53 Server time: 14/11 -2024 17:35:33