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

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

Zero Bullets - retrieve the black stone from enemy robots.swf

This is the info page for
Flash #92547

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


Text
<p align="left"><font face="Impact" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">1500000000</font></p>

<p align="left"><font face="Impact" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">12</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="18" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

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

<p align="right"><font face="Impact" size="15" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">1500</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">5</font></p>

t

s

o

C

l

e

v

L

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">1500</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">5</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">1500</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">5</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">1500</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">5</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">1500</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">5</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">1500</font></p>

<p align="right"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="Impact" size="10" color="#cccccc" letterSpacing="0.000000" kerning="1">5</font></p>

<p align="left"><font face="Impact" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">5000</font></p>

<p align="left"><font face="Impact" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">0</font></p>

ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.events.*; import flash.display.*; import flash.net.*; import flash.system.*; public class AdLoader extends Sprite { private var cpmstarLoader:Loader; private var contentspotid:String; public function AdLoader(_arg1:String){ this.contentspotid = _arg1; addEventListener(Event.ADDED, addedHandler); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } private function addedHandler(_arg1:Event):void{ removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid))); addChild(cpmstarLoader); } } }//package CPMStar
Section 2
//achievement1_96 (ZeroBullets_fla.achievement1_96) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement1_96 extends MovieClip { public function achievement1_96(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 3
//achievement10_105 (ZeroBullets_fla.achievement10_105) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement10_105 extends MovieClip { public function achievement10_105(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 4
//achievement2_97 (ZeroBullets_fla.achievement2_97) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement2_97 extends MovieClip { public function achievement2_97(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 5
//achievement3_98 (ZeroBullets_fla.achievement3_98) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement3_98 extends MovieClip { public function achievement3_98(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 6
//achievement4_99 (ZeroBullets_fla.achievement4_99) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement4_99 extends MovieClip { public function achievement4_99(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 7
//achievement5_100 (ZeroBullets_fla.achievement5_100) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement5_100 extends MovieClip { public function achievement5_100(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 8
//achievement6_101 (ZeroBullets_fla.achievement6_101) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement6_101 extends MovieClip { public function achievement6_101(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 9
//achievement7_102 (ZeroBullets_fla.achievement7_102) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement7_102 extends MovieClip { public function achievement7_102(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 10
//achievement8_103 (ZeroBullets_fla.achievement8_103) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement8_103 extends MovieClip { public function achievement8_103(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 11
//achievement9_104 (ZeroBullets_fla.achievement9_104) package ZeroBullets_fla { import flash.display.*; public dynamic class achievement9_104 extends MovieClip { public function achievement9_104(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 12
//Bonus_info_136 (ZeroBullets_fla.Bonus_info_136) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_info_136 extends MovieClip { public function Bonus_info_136(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 13
//Bonus_maxInfo1_138 (ZeroBullets_fla.Bonus_maxInfo1_138) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_maxInfo1_138 extends MovieClip { public function Bonus_maxInfo1_138(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 14
//Bonus_maxInfo2_140 (ZeroBullets_fla.Bonus_maxInfo2_140) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_maxInfo2_140 extends MovieClip { public function Bonus_maxInfo2_140(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 15
//Bonus_maxInfo3_142 (ZeroBullets_fla.Bonus_maxInfo3_142) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_maxInfo3_142 extends MovieClip { public function Bonus_maxInfo3_142(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 16
//Bonus_maxInfo4_144 (ZeroBullets_fla.Bonus_maxInfo4_144) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_maxInfo4_144 extends MovieClip { public function Bonus_maxInfo4_144(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 17
//Bonus_maxInfo5_146 (ZeroBullets_fla.Bonus_maxInfo5_146) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_maxInfo5_146 extends MovieClip { public function Bonus_maxInfo5_146(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 18
//Bonus_maxInfo6_148 (ZeroBullets_fla.Bonus_maxInfo6_148) package ZeroBullets_fla { import flash.display.*; public dynamic class Bonus_maxInfo6_148 extends MovieClip { public function Bonus_maxInfo6_148(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 19
//Bonus1_137 (ZeroBullets_fla.Bonus1_137) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Bonus1_137 extends MovieClip { public var this_levelMax:TextField; public var this_Level:TextField; public var this_Price:TextField; public var thisCost:Array; public var active:Boolean; public var heroParameter:Array; public var this_maxInfo:MovieClip; public function Bonus1_137(){ addFrameScript(0, frame1); } public function enterframe2(_arg1:Event){ if (MovieClip(root).bonus1_i > 0){ }; if ((((MovieClip(root).money >= thisCost[MovieClip(root).bonus1_i])) && ((MovieClip(root).bonus1_i < MovieClip(root).bonus1_imax)))){ active = true; } else { active = false; }; } public function showInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(2); MovieClip(root).upgradeInfo.gotoAndStop(1); } function frame1(){ thisCost = [1000, 3000, 7500, 16000, 30000]; heroParameter = [45, 65, 90, 120, 155]; active = false; this_Level.text = MovieClip(root).bonus1_i; if (MovieClip(root).bonus1_i >= MovieClip(root).bonus1_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus1_i]; }; this_levelMax.text = String(MovieClip(root).bonus1_imax); this_maxInfo.addEventListener(MouseEvent.CLICK, clickbtn); this_maxInfo.buttonMode = true; this.addEventListener(Event.ENTER_FRAME, enterframe2); this_maxInfo.addEventListener(MouseEvent.ROLL_OVER, showInfo); this_maxInfo.addEventListener(MouseEvent.ROLL_OUT, hideInfo); } public function clickbtn(_arg1:MouseEvent){ if (active){ MovieClip(root).money = (MovieClip(root).money - thisCost[MovieClip(root).bonus1_i]); MovieClip(root).var1_Hero = heroParameter[MovieClip(root).bonus1_i]; MovieClip(root).bonus1_i = (MovieClip(root).bonus1_i + 1); this_Level.text = MovieClip(root).bonus1_i; if (MovieClip(root).bonus1_i >= MovieClip(root).bonus1_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus1_i]; }; if (MovieClip(root).sfxActive){ MovieClip(root).soundclick.play(); }; active = false; }; } public function hideInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(1); MovieClip(root).upgradeInfo.gotoAndStop(7); } public function removeEvent(){ this.removeEventListener(Event.ENTER_FRAME, enterframe2); } } }//package ZeroBullets_fla
Section 20
//Bonus2_139 (ZeroBullets_fla.Bonus2_139) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Bonus2_139 extends MovieClip { public var this_levelMax:TextField; public var this_Level:TextField; public var this_Price:TextField; public var thisCost:Array; public var active:Boolean; public var heroParameter:Array; public var this_maxInfo:MovieClip; public function Bonus2_139(){ addFrameScript(0, frame1); } public function enterframe2(_arg1:Event){ if (MovieClip(root).bonus2_i > 0){ }; if ((((MovieClip(root).money >= thisCost[MovieClip(root).bonus2_i])) && ((MovieClip(root).bonus2_i < MovieClip(root).bonus2_imax)))){ active = true; } else { active = false; }; } public function showInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(2); MovieClip(root).upgradeInfo.gotoAndStop(2); } function frame1(){ thisCost = [1000, 3000, 7500, 16000, 30000]; heroParameter = [35, 40, 45, 50, 60]; active = false; this_Level.text = MovieClip(root).bonus2_i; if (MovieClip(root).bonus2_i >= MovieClip(root).bonus2_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus2_i]; }; this_levelMax.text = String(MovieClip(root).bonus2_imax); this_maxInfo.addEventListener(MouseEvent.CLICK, clickbtn); this_maxInfo.buttonMode = true; this.addEventListener(Event.ENTER_FRAME, enterframe2); this_maxInfo.addEventListener(MouseEvent.ROLL_OVER, showInfo); this_maxInfo.addEventListener(MouseEvent.ROLL_OUT, hideInfo); } public function clickbtn(_arg1:MouseEvent){ if (active){ MovieClip(root).money = (MovieClip(root).money - thisCost[MovieClip(root).bonus2_i]); MovieClip(root).var2_Hero = heroParameter[MovieClip(root).bonus2_i]; MovieClip(root).bonus2_i = (MovieClip(root).bonus2_i + 1); this_Level.text = MovieClip(root).bonus2_i; if (MovieClip(root).bonus2_i >= MovieClip(root).bonus2_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus2_i]; }; if (MovieClip(root).sfxActive){ MovieClip(root).soundclick.play(); }; active = false; }; } public function hideInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(1); MovieClip(root).upgradeInfo.gotoAndStop(7); } public function removeEvent(){ this.removeEventListener(Event.ENTER_FRAME, enterframe2); } } }//package ZeroBullets_fla
Section 21
//Bonus3_141 (ZeroBullets_fla.Bonus3_141) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Bonus3_141 extends MovieClip { public var this_levelMax:TextField; public var this_Level:TextField; public var this_Price:TextField; public var thisCost:Array; public var active:Boolean; public var heroParameter:Array; public var this_maxInfo:MovieClip; public function Bonus3_141(){ addFrameScript(0, frame1); } public function enterframe2(_arg1:Event){ if (MovieClip(root).bonus3_i > 0){ }; if ((((MovieClip(root).money >= thisCost[MovieClip(root).bonus3_i])) && ((MovieClip(root).bonus3_i < MovieClip(root).bonus3_imax)))){ active = true; } else { active = false; }; } public function showInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(2); MovieClip(root).upgradeInfo.gotoAndStop(3); } function frame1(){ thisCost = [1000, 3000, 7500, 16000, 30000]; heroParameter = [50, 60, 70, 80, 90]; active = false; this_Level.text = MovieClip(root).bonus3_i; if (MovieClip(root).bonus3_i >= MovieClip(root).bonus3_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus3_i]; }; this_levelMax.text = String(MovieClip(root).bonus3_imax); this_maxInfo.addEventListener(MouseEvent.CLICK, clickbtn); this_maxInfo.buttonMode = true; this.addEventListener(Event.ENTER_FRAME, enterframe2); this_maxInfo.addEventListener(MouseEvent.ROLL_OVER, showInfo); this_maxInfo.addEventListener(MouseEvent.ROLL_OUT, hideInfo); } public function clickbtn(_arg1:MouseEvent){ if (active){ MovieClip(root).money = (MovieClip(root).money - thisCost[MovieClip(root).bonus3_i]); MovieClip(root).var3_Hero = heroParameter[MovieClip(root).bonus3_i]; MovieClip(root).bonus3_i = (MovieClip(root).bonus3_i + 1); this_Level.text = MovieClip(root).bonus3_i; if (MovieClip(root).bonus3_i >= MovieClip(root).bonus3_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus3_i]; }; if (MovieClip(root).sfxActive){ MovieClip(root).soundclick.play(); }; active = false; }; } public function hideInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(1); MovieClip(root).upgradeInfo.gotoAndStop(7); } public function removeEvent(){ this.removeEventListener(Event.ENTER_FRAME, enterframe2); } } }//package ZeroBullets_fla
Section 22
//Bonus4_143 (ZeroBullets_fla.Bonus4_143) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Bonus4_143 extends MovieClip { public var this_levelMax:TextField; public var this_Level:TextField; public var this_Price:TextField; public var thisCost:Array; public var active:Boolean; public var heroParameter:Array; public var this_maxInfo:MovieClip; public function Bonus4_143(){ addFrameScript(0, frame1); } public function enterframe2(_arg1:Event){ if (MovieClip(root).bonus4_i > 0){ }; if ((((MovieClip(root).money >= thisCost[MovieClip(root).bonus4_i])) && ((MovieClip(root).bonus4_i < MovieClip(root).bonus4_imax)))){ active = true; } else { active = false; }; } public function showInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(2); MovieClip(root).upgradeInfo.gotoAndStop(4); } function frame1(){ thisCost = [1000, 3000, 7500, 16000, 30000]; heroParameter = [2, 3, 4, 4.5, 5.5]; active = false; this_Level.text = MovieClip(root).bonus4_i; if (MovieClip(root).bonus4_i >= MovieClip(root).bonus4_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus4_i]; }; this_levelMax.text = String(MovieClip(root).bonus4_imax); this_maxInfo.addEventListener(MouseEvent.CLICK, clickbtn); this_maxInfo.buttonMode = true; this.addEventListener(Event.ENTER_FRAME, enterframe2); this_maxInfo.addEventListener(MouseEvent.ROLL_OVER, showInfo); this_maxInfo.addEventListener(MouseEvent.ROLL_OUT, hideInfo); } public function clickbtn(_arg1:MouseEvent){ if (active){ MovieClip(root).money = (MovieClip(root).money - thisCost[MovieClip(root).bonus4_i]); MovieClip(root).var4_Hero = heroParameter[MovieClip(root).bonus4_i]; MovieClip(root).bonus4_i = (MovieClip(root).bonus4_i + 1); this_Level.text = MovieClip(root).bonus4_i; if (MovieClip(root).bonus4_i >= MovieClip(root).bonus4_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus4_i]; }; if (MovieClip(root).sfxActive){ MovieClip(root).soundclick.play(); }; active = false; }; } public function hideInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(1); MovieClip(root).upgradeInfo.gotoAndStop(7); } public function removeEvent(){ this.removeEventListener(Event.ENTER_FRAME, enterframe2); } } }//package ZeroBullets_fla
Section 23
//Bonus5_145 (ZeroBullets_fla.Bonus5_145) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Bonus5_145 extends MovieClip { public var this_levelMax:TextField; public var this_Level:TextField; public var this_Price:TextField; public var thisCost:Array; public var active:Boolean; public var heroParameter:Array; public var this_maxInfo:MovieClip; public function Bonus5_145(){ addFrameScript(0, frame1); } public function enterframe2(_arg1:Event){ if (MovieClip(root).bonus5_i > 0){ }; if ((((MovieClip(root).money >= thisCost[MovieClip(root).bonus5_i])) && ((MovieClip(root).bonus5_i < MovieClip(root).bonus5_imax)))){ active = true; } else { active = false; }; } public function showInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(2); MovieClip(root).upgradeInfo.gotoAndStop(5); } function frame1(){ thisCost = [1000, 3000, 7500, 16000, 30000]; heroParameter = [4, 5, 6, 7, 8]; active = false; this_Level.text = MovieClip(root).bonus5_i; if (MovieClip(root).bonus5_i >= MovieClip(root).bonus5_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus5_i]; }; this_levelMax.text = String(MovieClip(root).bonus5_imax); this_maxInfo.addEventListener(MouseEvent.CLICK, clickbtn); this_maxInfo.buttonMode = true; this.addEventListener(Event.ENTER_FRAME, enterframe2); this_maxInfo.addEventListener(MouseEvent.ROLL_OVER, showInfo); this_maxInfo.addEventListener(MouseEvent.ROLL_OUT, hideInfo); } public function clickbtn(_arg1:MouseEvent){ if (active){ MovieClip(root).money = (MovieClip(root).money - thisCost[MovieClip(root).bonus5_i]); MovieClip(root).var5_Hero = heroParameter[MovieClip(root).bonus5_i]; MovieClip(root).bonus5_i = (MovieClip(root).bonus5_i + 1); this_Level.text = MovieClip(root).bonus5_i; if (MovieClip(root).bonus5_i >= MovieClip(root).bonus5_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus5_i]; }; if (MovieClip(root).sfxActive){ MovieClip(root).soundclick.play(); }; active = false; }; } public function hideInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(1); MovieClip(root).upgradeInfo.gotoAndStop(7); } public function removeEvent(){ this.removeEventListener(Event.ENTER_FRAME, enterframe2); } } }//package ZeroBullets_fla
Section 24
//Bonus6_147 (ZeroBullets_fla.Bonus6_147) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Bonus6_147 extends MovieClip { public var this_levelMax:TextField; public var this_Level:TextField; public var this_Price:TextField; public var thisCost:Array; public var active:Boolean; public var heroParameter:Array; public var this_maxInfo:MovieClip; public function Bonus6_147(){ addFrameScript(0, frame1); } public function enterframe2(_arg1:Event){ if (MovieClip(root).bonus6_i > 0){ }; if ((((MovieClip(root).money >= thisCost[MovieClip(root).bonus6_i])) && ((MovieClip(root).bonus6_i < MovieClip(root).bonus6_imax)))){ active = true; } else { active = false; }; } public function showInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(2); MovieClip(root).upgradeInfo.gotoAndStop(6); } function frame1(){ thisCost = [1000, 3000, 7500, 16000, 30000]; heroParameter = [6, 7, 8, 9, 10]; active = false; this_Level.text = MovieClip(root).bonus6_i; if (MovieClip(root).bonus6_i >= MovieClip(root).bonus6_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus6_i]; }; this_levelMax.text = String(MovieClip(root).bonus6_imax); this_maxInfo.addEventListener(MouseEvent.CLICK, clickbtn); this_maxInfo.buttonMode = true; this.addEventListener(Event.ENTER_FRAME, enterframe2); this_maxInfo.addEventListener(MouseEvent.ROLL_OVER, showInfo); this_maxInfo.addEventListener(MouseEvent.ROLL_OUT, hideInfo); } public function clickbtn(_arg1:MouseEvent){ if (active){ MovieClip(root).money = (MovieClip(root).money - thisCost[MovieClip(root).bonus6_i]); MovieClip(root).var6_Hero = heroParameter[MovieClip(root).bonus6_i]; MovieClip(root).bonus6_i = (MovieClip(root).bonus6_i + 1); this_Level.text = MovieClip(root).bonus6_i; if (MovieClip(root).bonus6_i >= MovieClip(root).bonus6_imax){ this_Price.text = "MAX"; } else { this_Price.text = thisCost[MovieClip(root).bonus6_i]; }; if (MovieClip(root).sfxActive){ MovieClip(root).soundclick.play(); }; active = false; }; } public function hideInfo(_arg1:MouseEvent){ this_maxInfo.gotoAndStop(1); MovieClip(root).upgradeInfo.gotoAndStop(7); } public function removeEvent(){ this.removeEventListener(Event.ENTER_FRAME, enterframe2); } } }//package ZeroBullets_fla
Section 25
//container_9 (ZeroBullets_fla.container_9) package ZeroBullets_fla { import flash.display.*; public dynamic class container_9 extends MovieClip { public function container_9(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 26
//DisplayHelp_95 (ZeroBullets_fla.DisplayHelp_95) package ZeroBullets_fla { import flash.display.*; public dynamic class DisplayHelp_95 extends MovieClip { public function DisplayHelp_95(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame1(){ stop(); } function frame2(){ stop(); } function frame3(){ stop(); } } }//package ZeroBullets_fla
Section 27
//DisplayHint_sub_69 (ZeroBullets_fla.DisplayHint_sub_69) package ZeroBullets_fla { import flash.display.*; public dynamic class DisplayHint_sub_69 extends MovieClip { public function DisplayHint_sub_69(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 28
//inBetween_92 (ZeroBullets_fla.inBetween_92) package ZeroBullets_fla { import flash.display.*; public dynamic class inBetween_92 extends MovieClip { public function inBetween_92(){ addFrameScript(2, frame3); } function frame3(){ stop(); } } }//package ZeroBullets_fla
Section 29
//Level_1_106 (ZeroBullets_fla.Level_1_106) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_1_106 extends MovieClip { public var efek:MovieClip; public var aktif:Boolean; public function Level_1_106(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 1){ aktif = true; } else { aktif = false; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 30
//Level_10_125 (ZeroBullets_fla.Level_10_125) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_10_125 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_10_125(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 10){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 31
//Level_10sub_126 (ZeroBullets_fla.Level_10sub_126) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_10sub_126 extends MovieClip { public function Level_10sub_126(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 32
//Level_11_127 (ZeroBullets_fla.Level_11_127) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_11_127 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_11_127(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 11){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 33
//Level_11sub_128 (ZeroBullets_fla.Level_11sub_128) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_11sub_128 extends MovieClip { public function Level_11sub_128(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 34
//Level_12_129 (ZeroBullets_fla.Level_12_129) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_12_129 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_12_129(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 12){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 35
//Level_12sub_130 (ZeroBullets_fla.Level_12sub_130) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_12sub_130 extends MovieClip { public function Level_12sub_130(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 36
//Level_13_131 (ZeroBullets_fla.Level_13_131) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_13_131 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_13_131(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).noLock){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 37
//Level_13sub_132 (ZeroBullets_fla.Level_13sub_132) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_13sub_132 extends MovieClip { public function Level_13sub_132(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 38
//Level_1sub_107 (ZeroBullets_fla.Level_1sub_107) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_1sub_107 extends MovieClip { public function Level_1sub_107(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 39
//Level_2_108 (ZeroBullets_fla.Level_2_108) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_2_108 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_2_108(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 2){ sub.visible = false; aktif = true; } else { sub.visible = true; aktif = false; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 40
//Level_2sub_109 (ZeroBullets_fla.Level_2sub_109) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_2sub_109 extends MovieClip { public function Level_2sub_109(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 41
//Level_3_111 (ZeroBullets_fla.Level_3_111) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_3_111 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_3_111(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 3){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 42
//Level_3sub_112 (ZeroBullets_fla.Level_3sub_112) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_3sub_112 extends MovieClip { public function Level_3sub_112(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 43
//Level_4_113 (ZeroBullets_fla.Level_4_113) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_4_113 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_4_113(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 4){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 44
//Level_4sub_114 (ZeroBullets_fla.Level_4sub_114) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_4sub_114 extends MovieClip { public function Level_4sub_114(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 45
//Level_5_115 (ZeroBullets_fla.Level_5_115) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_5_115 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_5_115(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 5){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 46
//Level_5sub_116 (ZeroBullets_fla.Level_5sub_116) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_5sub_116 extends MovieClip { public function Level_5sub_116(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 47
//Level_6_117 (ZeroBullets_fla.Level_6_117) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_6_117 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_6_117(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 6){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 48
//Level_6sub_118 (ZeroBullets_fla.Level_6sub_118) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_6sub_118 extends MovieClip { public function Level_6sub_118(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 49
//Level_7_119 (ZeroBullets_fla.Level_7_119) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_7_119 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_7_119(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 7){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 50
//Level_7sub_120 (ZeroBullets_fla.Level_7sub_120) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_7sub_120 extends MovieClip { public function Level_7sub_120(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 51
//Level_8_121 (ZeroBullets_fla.Level_8_121) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_8_121 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_8_121(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 8){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 52
//Level_8sub_122 (ZeroBullets_fla.Level_8sub_122) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_8sub_122 extends MovieClip { public function Level_8sub_122(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 53
//Level_9_123 (ZeroBullets_fla.Level_9_123) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Level_9_123 extends MovieClip { public var sub:MovieClip; public var efek:MovieClip; public var aktif:Boolean; public function Level_9_123(){ addFrameScript(0, frame1); } public function clickbtn(_arg1:MouseEvent){ } public function thisf1(_arg1:MouseEvent){ if (aktif){ efek.gotoAndStop(2); }; } public function thisf2(_arg1:MouseEvent){ efek.gotoAndStop(1); } function frame1(){ if (MovieClip(root).levelReached >= 9){ aktif = true; sub.visible = false; } else { aktif = false; sub.visible = true; }; this.buttonMode = true; this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); this.addEventListener(MouseEvent.CLICK, clickbtn); } } }//package ZeroBullets_fla
Section 54
//Level_9sub_124 (ZeroBullets_fla.Level_9sub_124) package ZeroBullets_fla { import flash.display.*; public dynamic class Level_9sub_124 extends MovieClip { public function Level_9sub_124(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 55
//loader_1 (ZeroBullets_fla.loader_1) package ZeroBullets_fla { import flash.display.*; public dynamic class loader_1 extends MovieClip { public function loader_1(){ addFrameScript(0, frame1, 99, frame100); } function frame100(){ stop(); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 56
//main_loader_6 (ZeroBullets_fla.main_loader_6) package ZeroBullets_fla { import flash.display.*; public dynamic class main_loader_6 extends MovieClip { public function main_loader_6(){ addFrameScript(236, frame237); } function frame237(){ MovieClip(root).gotoAndStop("menu"); } } }//package ZeroBullets_fla
Section 57
//padloooc_135 (ZeroBullets_fla.padloooc_135) package ZeroBullets_fla { import flash.display.*; public dynamic class padloooc_135 extends MovieClip { public function padloooc_135(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ZeroBullets_fla
Section 58
//Symbol12_134 (ZeroBullets_fla.Symbol12_134) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Symbol12_134 extends MovieClip { public var pad:MovieClip; public function Symbol12_134(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(MouseEvent.ROLL_OVER, thisf1); this.addEventListener(MouseEvent.ROLL_OUT, thisf2); } public function thisf1(_arg1:MouseEvent){ MovieClip(root).upgradeInfo.gotoAndStop(8); } public function thisf2(_arg1:MouseEvent){ MovieClip(root).upgradeInfo.gotoAndStop(7); } } }//package ZeroBullets_fla
Section 59
//Timeline_93 (ZeroBullets_fla.Timeline_93) package ZeroBullets_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Timeline_93 extends MovieClip { public function Timeline_93(){ addFrameScript(26, frame27); } function frame27(){ stop(); if (MovieClip(root).currentLabel == "stats"){ MovieClip(parent).inb.visible = true; MovieClip(parent).inb.gotoAndPlay(1); }; } } }//package ZeroBullets_fla
Section 60
//background (background) package { import flash.display.*; public dynamic class background extends MovieClip { public function background(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 61
//Ball (Ball) package { import flash.display.*; public dynamic class Ball extends MovieClip { } }//package
Section 62
//BlackStone (BlackStone) package { import flash.display.*; public class BlackStone extends MovieClip { public function BlackStone(){ addFrameScript(174, frame175); } function frame175(){ stop(); parent.removeChild(this); } } }//package
Section 63
//Block (Block) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Block extends MovieClip { public function Block(){ addFrameScript(0, frame1); } public function thisf(_arg1:Event){ var _local2:Number; if (this.hitTestPoint(MovieClip(root).ball.x, MovieClip(root).ball.y, true)){ _local2 = (2 * Math.PI); MovieClip(root).ball.rotation = ((360 * Math.atan2((MovieClip(root).circle.y - MovieClip(root).ball.y), (MovieClip(root).circle.x - MovieClip(root).ball.x))) / _local2); deleteThis(); }; } public function deleteThis(){ MovieClip(root).blockHits++; MovieClip(root).removeChild(this); this.removeEventListener(Event.ENTER_FRAME, thisf); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, thisf); } } }//package
Section 64
//btn__play (btn__play) package { import flash.display.*; public dynamic class btn__play extends SimpleButton { } }//package
Section 65
//BtnMusic (BtnMusic) package { import flash.events.*; import flash.display.*; import flash.media.*; public class BtnMusic extends MovieClip { public function BtnMusic(){ addFrameScript(0, frame1); this.buttonMode = true; this.addEventListener(MouseEvent.CLICK, clickMusic); } function frame1(){ stop(); } private function clickMusic(_arg1:MouseEvent):void{ if (this.currentFrame == 2){ this.gotoAndStop(1); if (MovieClip(root).currentLabel == "play"){ MovieClip(root).channel = MovieClip(root).soundGame.play(0, 50); } else { if (MovieClip(root).currentLabel == "stats"){ } else { MovieClip(root).channel = MovieClip(root).soundMenu.play(0, 100); }; }; MovieClip(root).musicActive = true; } else { this.gotoAndStop(2); MovieClip(root).channel.stop(); MovieClip(root).musicActive = false; }; } } }//package
Section 66
//BtnSfx (BtnSfx) package { import flash.events.*; import flash.display.*; import flash.media.*; public class BtnSfx extends MovieClip { public function BtnSfx(){ addFrameScript(0, frame1); this.buttonMode = true; this.addEventListener(MouseEvent.CLICK, clickSfx); } function frame1(){ stop(); } private function clickSfx(_arg1:MouseEvent):void{ if (this.currentFrame == 2){ MovieClip(root).sfxActive = true; this.gotoAndStop(1); } else { MovieClip(root).sfxActive = false; this.gotoAndStop(2); }; } } }//package
Section 67
//Bullet (Bullet) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Bullet extends MovieClip { public var lastTime:int; private var dxb; private var dx; private var dy; public var dbulletDegree:Number; public var stuck; public var canHitEnemy:Boolean; public var speedBullet:int; private var dyb:Number; public var xbullet; public var ybullet:Number; public function Bullet(_arg1, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int){ addFrameScript(0, frame1); this.x = _arg1; this.y = _arg2; this.rotation = _arg3; speedBullet = _arg4; canHitEnemy = false; dx = (speedBullet * Math.cos((((2 * Math.PI) * _arg3) / 360))); dy = (speedBullet * Math.sin((((2 * Math.PI) * _arg3) / 360))); lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveBullet); } public function shootBullet(_arg1){ var _local2:Number; var _local3:Number; if (MovieClip(parent).pausegame){ } else { canHitEnemy = true; _local2 = (2 * Math.PI); _local3 = ((360 * Math.atan2((this.y - MovieClip(parent).shield.y), (this.x - MovieClip(parent).shield.x))) / _local2); dxb = (_arg1 * Math.cos((((2 * Math.PI) * _local3) / 360))); dyb = (_arg1 * Math.sin((((2 * Math.PI) * _local3) / 360))); lastTime = getTimer(); removeEventListener(Event.ENTER_FRAME, movestuckBullet); addEventListener(Event.ENTER_FRAME, moveagainBullet); }; } public function deleteBullet(){ MovieClip(parent).removeBullet(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveBullet); removeEventListener(Event.ENTER_FRAME, movestuckBullet); removeEventListener(Event.ENTER_FRAME, moveagainBullet); } public function moveagainBullet(_arg1:Event){ var _local2:int; if (MovieClip(parent).pausegame){ } else { _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.x = (this.x + ((dxb * _local2) / 1000)); this.y = (this.y + ((dyb * _local2) / 1000)); if ((((((((this.x < 0)) || ((this.x > 600)))) || ((this.y < 0)))) || ((this.y > 500)))){ deleteBullet(); }; }; } function frame1(){ stop(); } public function movestuckBullet(_arg1:Event){ var _local2:Number = (MovieClip(parent).shield.rotation - this.dbulletDegree); xbullet = (33 * Math.cos((((2 * Math.PI) * _local2) / 360))); ybullet = (33 * Math.sin((((2 * Math.PI) * _local2) / 360))); this.rotation = _local2; this.x = (MovieClip(parent).shield.x + xbullet); this.y = (MovieClip(parent).shield.y + ybullet); } public function moveBullet(_arg1:Event){ var _local2:int; if (MovieClip(parent).pausegame){ } else { _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.x = (this.x + ((dx * _local2) / 1000)); this.y = (this.y + ((dy * _local2) / 1000)); if ((((((((this.x < 0)) || ((this.x > 600)))) || ((this.y < 0)))) || ((this.y > 500)))){ deleteBullet(); }; }; } public function stuckBullet(){ stuck = 5; var _local1:Number = (2 * Math.PI); var _local2:Number = ((360 * Math.atan2((this.y - MovieClip(parent).shield.y), (this.x - MovieClip(parent).shield.x))) / _local1); dbulletDegree = (MovieClip(parent).shield.rotation - _local2); removeEventListener(Event.ENTER_FRAME, moveBullet); addEventListener(Event.ENTER_FRAME, movestuckBullet); } } }//package
Section 68
//BulletX (BulletX) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class BulletX extends MovieClip { public var ybullet:Number; public var lastTime:int; public var speedBullet:int; private var dx; private var dy:Number; public var xbullet; public function BulletX(_arg1, _arg2:Number, _arg3:Number, _arg4:Number){ this.x = _arg1; this.y = _arg2; this.rotation = _arg3; speedBullet = _arg4; dx = (speedBullet * Math.cos((((2 * Math.PI) * _arg3) / 360))); dy = (speedBullet * Math.sin((((2 * Math.PI) * _arg3) / 360))); lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveBullet); } public function moveBullet(_arg1:Event){ var _local2:int; if (MovieClip(parent).pausegame){ } else { _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.x = (this.x + ((dx * _local2) / 1000)); this.y = (this.y + ((dy * _local2) / 1000)); if ((((((((this.x < 0)) || ((this.x > 600)))) || ((this.y < 0)))) || ((this.y > 500)))){ deleteBullet(); }; }; } public function deleteBullet(){ MovieClip(parent).removeBulletX(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveBullet); } } }//package
Section 69
//Circle (Circle) package { import flash.display.*; public dynamic class Circle extends MovieClip { } }//package
Section 70
//Cursor (Cursor) package { import flash.display.*; public dynamic class Cursor extends MovieClip { public function Cursor(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 71
//DisplayHeader (DisplayHeader) package { import flash.display.*; import flash.text.*; public dynamic class DisplayHeader extends MovieClip { public var magicloader:MovieClip; public var money_txt:TextField; public var level_txt:TextField; public var sfxBtn:BtnSfx; public var health:MovieClip; public var musicBtn:BtnMusic; } }//package
Section 72
//DisplayHint (DisplayHint) package { import flash.display.*; public dynamic class DisplayHint extends MovieClip { public var sub:MovieClip; public var nextBtn:SimpleButton; public var prevBtn:SimpleButton; public var playBtn:btn__play; } }//package
Section 73
//DisplayPause (DisplayPause) package { import flash.display.*; public dynamic class DisplayPause extends MovieClip { public var noBtn:SimpleButton; public var yesBtn:SimpleButton; } }//package
Section 74
//Enemy (Enemy) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy extends MovieClip { public var shadow:MovieClip; private var littleExpotion:Boolean; private var speed:int; public var sub:MovieClip; public var lastTime:int; private var dx; private var dy; private var healthstep:int; private var rots:Number; public function Enemy(){ this.x = 300; this.y = 450; speed = 120; rots = 10; dx = (speed * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed * Math.sin((((2 * Math.PI) * rots) / 360))); healthstep = 5; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy); } public function deleteEnemy(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy); } public function removeMoveEnemy(){ removeEventListener(Event.ENTER_FRAME, moveEnemy); } public function moveEnemy(_arg1:Event){ var _local2:int; var _local3:int; var _local4:Number; var _local5:int; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; _local4 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local4); this.shadow.rotation = this.sub.rotation; if (Math.floor((Math.random() * 20)) == 4){ MovieClip(parent).newBullet(this.x, this.y, this.sub.rotation, 250, 1); }; _local5 = (getTimer() - lastTime); lastTime = (lastTime + _local5); if (MovieClip(root).level == 1){ rots = (rots - ((35 * _local5) / 1000)); speed = 120; }; if (MovieClip(root).level >= 5){ rots = (rots - ((43 * _local5) / 1000)); speed = 150; }; dx = (speed * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local5) / 1000)); this.y = (this.y + ((dy * _local5) / 1000)); if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth--; healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 100); } else { MovieClip(root).skor = (MovieClip(root).skor + 100); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy(); }; }; } } }//package
Section 75
//Enemy10 (Enemy10) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy10 extends MovieClip { private var rots:Number; public var lastTime:int; public var sub:MovieClip; private var littleExpotion:Boolean; private var istepDie:int; private var dx; private var dy; private var healthstep:int; private var stepDie; public var health:MovieClip; public function Enemy10(){ this.x = 300; this.y = 50; dx = 100; dy = 100; healthstep = 650; stepDie = 0; istepDie = 1; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy10); } public function slowEnemy10(_arg1:Event){ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local2:int = (getTimer() - lastTime); lastTime = (lastTime + _local2); this.x = (this.x + ((dx * _local2) / 1000)); this.y = (this.y + ((dy * _local2) / 1000)); if ((((this.x < 50)) || ((this.x > 550)))){ dx = -(dx); this.x = (this.x + ((dx * _local2) / 1000)); }; if ((((this.y < 50)) || ((this.y > 450)))){ dy = -(dy); this.y = (this.y + ((dy * _local2) / 1000)); }; stepDie++; if (stepDie >= (istepDie * 5)){ if (istepDie < 20){ littleExpotion = true; if (Math.floor((Math.random() * 2)) == 1){ _local5 = Math.floor((Math.random() * 50)); } else { _local5 = Math.floor((Math.random() * -50)); }; if (Math.floor((Math.random() * 2)) == 1){ _local6 = Math.floor((Math.random() * 50)); } else { _local6 = Math.floor((Math.random() * -50)); }; _local3 = (this.x + _local5); _local4 = (this.y + _local6); MovieClip(parent).addExplotion(_local3, _local4, this.littleExpotion); }; istepDie++; }; if (istepDie == 20){ MovieClip(parent).bigExplosion = true; littleExpotion = false; MovieClip(parent).addExplotion((this.x - 40), (this.y - 40), this.littleExpotion); MovieClip(parent).bossKill1 = false; littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); this.visible = false; }; if (istepDie > 35){ deleteEnemy10(); removeEventListener(Event.ENTER_FRAME, slowEnemy10); }; } public function moveEnemy10(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; littleExpotion = true; MovieClip(parent).addExplotion(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, this.littleExpotion); MovieClip(parent).bullets[_local2].deleteBullet(); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; littleExpotion = true; MovieClip(parent).addExplotion(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, this.littleExpotion); MovieClip(parent).bulletsX[_local3].deleteBullet(); break; }; _local3--; }; if (Math.floor((Math.random() * 15)) == 4){ _local5 = 0; while (_local5 < 32) { MovieClip(parent).newBullet(this.x, this.y, (this.rotation + (_local5 * 11.25)), 250, 10); _local5++; }; _local6 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local6); MovieClip(parent).newBullet(this.x, this.y, rots, 250, 10); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); if ((((this.x < 50)) || ((this.x > 550)))){ dx = -(dx); this.x = (this.x + ((dx * _local4) / 1000)); }; if ((((this.y < 50)) || ((this.y > 450)))){ dy = -(dy); this.y = (this.y + ((dy * _local4) / 1000)); }; if (((this.sub.hitTestPoint(MovieClip(parent).hero.x, MovieClip(parent).hero.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 1); }; health.scaleX = (healthstep / 650); health.scaleY = (healthstep / 650); if (healthstep <= 0){ MovieClip(parent).shake = true; MovieClip(root).money = (MovieClip(root).money + 5000); MovieClip(parent).sumEnemy--; trace(MovieClip(parent).sumEnemy); littleExpotion = false; MovieClip(parent).bossKill1 = true; deleteEnemy10(); }; }; } public function removeMoveEnemy10(){ removeEventListener(Event.ENTER_FRAME, moveEnemy10); } public function deleteEnemy10(){ if (MovieClip(parent).bossKill1){ dx = (dx / 3); dy = (dy / 3); stepDie = 0; istepDie = 1; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, slowEnemy10); } else { MovieClip(parent).removeEnemy10(this); parent.removeChild(this); }; removeEventListener(Event.ENTER_FRAME, moveEnemy10); } } }//package
Section 76
//Enemy11 (Enemy11) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy11 extends MovieClip { public var lastTime:int; private var tempX; private var tempY:Number; public var sub:MovieClip; private var istepDie:int; private var newX; private var dx; private var dy; private var pi2; private var stepDie; public var health:MovieClip; private var ibulletStep:int; public var shadow:MovieClip; private var littleExpotion:Boolean; private var NextXY:Timer; private var bulletStep; private var healthstep; private var newY; private var rots; public function Enemy11(){ tempX = 300; tempY = 50; this.x = 300; this.y = 50; newX = 0; newY = 0; bulletStep = 0; ibulletStep = 1; healthstep = 1400; stepDie = 0; istepDie = 1; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy11); setNextXY(); } public function newXY(_arg1:TimerEvent){ tempX = (Math.floor((Math.random() * 590)) + 10); tempY = (Math.floor((Math.random() * 490)) + 10); setNextXY(); } public function moveEnemy11(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; littleExpotion = true; MovieClip(parent).addExplotion(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, this.littleExpotion); MovieClip(parent).bullets[_local2].deleteBullet(); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; littleExpotion = true; MovieClip(parent).addExplotion(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, this.littleExpotion); MovieClip(parent).bulletsX[_local3].deleteBullet(); break; }; _local3--; }; bulletStep++; if (bulletStep == (ibulletStep * 4)){ _local8 = 0; while (_local8 < 6) { MovieClip(parent).newBullet(this.x, this.y, ((this.sub.rotation + (_local8 * 60)) + bulletStep), 250, 11); _local8++; }; ibulletStep++; }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); _local5 = (tempX - this.x); _local6 = (tempY - this.y); newX = ((newX * 0.5) + (_local5 * 0.05)); newY = ((newY * 0.5) + (_local6 * 0.05)); this.x = (this.x + (((newX * 12) * _local4) / 1000)); this.y = (this.y + (((newY * 12) * _local4) / 1000)); _local7 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local7); this.shadow.rotation = this.sub.rotation; if (((this.sub.hitTestPoint(MovieClip(parent).hero.x, MovieClip(parent).hero.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 2); }; health.scaleX = (healthstep / 1400); health.scaleY = (healthstep / 1400); if (healthstep <= 0){ MovieClip(parent).shake = true; MovieClip(root).money = (MovieClip(root).money + 10000); MovieClip(parent).sumEnemy--; trace(MovieClip(parent).sumEnemy); littleExpotion = false; MovieClip(parent).bossKill2 = true; deleteEnemy11(); }; }; } public function slowEnemy11(_arg1:Event){ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local2:int = (getTimer() - lastTime); lastTime = (lastTime + _local2); _local3 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local3); dx = (20 * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (20 * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local2) / 1000)); this.y = (this.y + ((dy * _local2) / 1000)); _local3 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local3); this.shadow.rotation = this.sub.rotation; stepDie++; if (stepDie >= (istepDie * 5)){ if (istepDie < 20){ littleExpotion = true; if (Math.floor((Math.random() * 2)) == 1){ _local6 = Math.floor((Math.random() * 50)); } else { _local6 = Math.floor((Math.random() * -50)); }; if (Math.floor((Math.random() * 2)) == 1){ _local7 = Math.floor((Math.random() * 50)); } else { _local7 = Math.floor((Math.random() * -50)); }; _local4 = (this.x + _local6); _local5 = (this.y + _local7); trace(_local6); MovieClip(parent).addExplotion(_local4, _local5, this.littleExpotion); }; istepDie++; }; if (istepDie == 20){ MovieClip(parent).bigExplosion = true; littleExpotion = false; MovieClip(parent).addExplotion((this.x - 40), (this.y - 40), this.littleExpotion); MovieClip(parent).bossKill2 = false; littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); this.visible = false; }; if (istepDie > 35){ deleteEnemy11(); removeEventListener(Event.ENTER_FRAME, slowEnemy11); }; } public function setNextXY(){ NextXY = new Timer((400 + (Math.random() * 1000)), 1); NextXY.addEventListener(TimerEvent.TIMER_COMPLETE, newXY); NextXY.start(); } public function removeMoveEnemy11(){ removeEventListener(Event.ENTER_FRAME, moveEnemy11); } public function deleteEnemy11(){ if (MovieClip(parent).bossKill2){ stepDie = 0; istepDie = 1; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, slowEnemy11); } else { NextXY.stop(); NextXY = null; MovieClip(parent).removeEnemy11(this); parent.removeChild(this); }; removeEventListener(Event.ENTER_FRAME, moveEnemy11); } } }//package
Section 77
//Enemy12 (Enemy12) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy12 extends MovieClip { private var kejar:Boolean; public var lastTime:int; private var tempX; private var tempY; public var sub:MovieClip; private var istepDie:int; private var stepDie; private var speed; private var dx; private var dy; private var pi2; private var steplurus:Number; public var health:MovieClip; private var ibulletStep:int; public var shadow:MovieClip; private var littleExpotion; private var mulai; private var bulletStep; private var healthstep; private var newX; private var newY; private var rots; public function Enemy12(){ tempX = 300; tempY = 50; this.x = 300; this.y = 50; bulletStep = 0; ibulletStep = 1; newX = 0; newY = 0; speed = 140; healthstep = 2500; mulai = true; kejar = false; stepDie = 0; istepDie = 1; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy12); } public function moveEnemy12(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:int; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; littleExpotion = true; MovieClip(parent).addExplotion(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, this.littleExpotion); MovieClip(parent).bullets[_local2].deleteBullet(); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; littleExpotion = true; MovieClip(parent).addExplotion(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, this.littleExpotion); MovieClip(parent).bulletsX[_local3].deleteBullet(); break; }; _local3--; }; if (Math.floor((Math.random() * 20)) == 4){ }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); bulletStep++; if (bulletStep == (ibulletStep * 8)){ _local6 = 0; while (_local6 < 10) { _local7 = (2 * Math.PI); _local8 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local7); MovieClip(parent).newBullet(this.x, this.y, ((_local8 - 60) + (_local6 * 12)), 250, 12); _local6++; }; ibulletStep++; }; if (mulai){ _local9 = (tempX - this.x); _local10 = (tempY - this.y); newX = ((newX * 0.5) + (_local9 * 0.05)); newY = ((newY * 0.5) + (_local10 * 0.05)); this.x = (this.x + (((newX * 35) * _local4) / 1000)); this.y = (this.y + (((newY * 35) * _local4) / 1000)); if ((((Math.abs(_local9) < 2)) && ((Math.abs(_local10) < 2)))){ kejar = true; steplurus = 0; mulai = false; }; }; if (kejar){ steplurus = (steplurus + ((30 * _local4) / 1000)); _local5 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); dx = (speed * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); if (steplurus > 150){ tempX = (Math.floor((Math.random() * 590)) + 10); tempY = (Math.floor((Math.random() * 490)) + 10); mulai = true; kejar = false; }; }; _local5 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); this.shadow.rotation = this.sub.rotation; if (((this.sub.hitTestPoint(MovieClip(parent).hero.x, MovieClip(parent).hero.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 3); }; health.scaleX = (healthstep / 2300); health.scaleY = (healthstep / 2300); if (healthstep <= 0){ MovieClip(parent).shake = true; MovieClip(root).money = (MovieClip(root).money + 15000); MovieClip(parent).sumEnemy--; trace(MovieClip(parent).sumEnemy); littleExpotion = false; MovieClip(parent).bossKill3 = true; deleteEnemy12(); }; }; } public function slowEnemy12(_arg1:Event){ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local2:int = (getTimer() - lastTime); lastTime = (lastTime + _local2); _local3 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local3); dx = (20 * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (20 * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local2) / 1000)); this.y = (this.y + ((dy * _local2) / 1000)); _local3 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local3); this.shadow.rotation = this.sub.rotation; stepDie++; if (stepDie >= (istepDie * 5)){ if (istepDie < 20){ littleExpotion = true; if (Math.floor((Math.random() * 2)) == 1){ _local6 = Math.floor((Math.random() * 50)); } else { _local6 = Math.floor((Math.random() * -50)); }; if (Math.floor((Math.random() * 2)) == 1){ _local7 = Math.floor((Math.random() * 50)); } else { _local7 = Math.floor((Math.random() * -50)); }; _local4 = (this.x + _local6); _local5 = (this.y + _local7); MovieClip(parent).addExplotion(_local4, _local5, this.littleExpotion); }; istepDie++; }; if (istepDie == 20){ MovieClip(parent).addStone(this.x, this.y); MovieClip(parent).bigExplosion = true; littleExpotion = false; MovieClip(parent).addExplotion((this.x - 40), (this.y - 40), this.littleExpotion); MovieClip(parent).bossKill3 = false; littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); this.visible = false; }; if (istepDie > 55){ deleteEnemy12(); removeEventListener(Event.ENTER_FRAME, slowEnemy12); }; } public function removeMoveEnemy12(){ removeEventListener(Event.ENTER_FRAME, moveEnemy12); } public function deleteEnemy12(){ if (MovieClip(parent).bossKill3){ stepDie = 0; istepDie = 1; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, slowEnemy12); } else { MovieClip(parent).removeEnemy12(this); parent.removeChild(this); }; removeEventListener(Event.ENTER_FRAME, moveEnemy12); } } }//package
Section 78
//Enemy2 (Enemy2) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy2 extends MovieClip { public var shadow:MovieClip; private var littleExpotion:Boolean; public var sub:MovieClip; public var lastTime:int; public var dx; public var dy; private var healthstep:int; public var rots:Number; public function Enemy2(){ this.x = 300; this.y = 50; healthstep = 7; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy2); } public function deleteEnemy2(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy2(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy2); } public function removeMoveEnemy2(){ removeEventListener(Event.ENTER_FRAME, moveEnemy2); } public function moveEnemy2(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 20)) == 4){ _local5 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); MovieClip(parent).newBullet(this.x, this.y, rots, 250, 2); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); this.sub.rotation = (this.sub.rotation + ((200 * _local4) / 1000)); this.shadow.rotation = this.sub.rotation; if ((((this.x < 10)) || ((this.x > 590)))){ dx = -(dx); this.x = (this.x + ((dx * _local4) / 1000)); }; if ((((this.y < 10)) || ((this.y > 490)))){ dy = -(dy); this.y = (this.y + ((dy * _local4) / 1000)); }; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 2); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 150); } else { MovieClip(root).skor = (MovieClip(root).skor + 150); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy2(); }; }; } } }//package
Section 79
//Enemy3 (Enemy3) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy3 extends MovieClip { public var lastTime:int; public var speed3:int; private var arahbelok; public var sub:MovieClip; private var dx; private var dy; private var stepbelok; private var steplurus; private var littleExpotion; public var shadow:MovieClip; private var stepmaxbelok:int; private var gerakbelok:Boolean; private var geraklurus; private var belokrandom; private var pi2:Number; private var healthstep:int; private var rots; public function Enemy3(){ this.x = 300; this.y = 450; geraklurus = true; gerakbelok = false; steplurus = 0; rots = (Math.floor((Math.random() * 360)) + 0); healthstep = 20; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy3); } public function removeMoveEnemy3(){ removeEventListener(Event.ENTER_FRAME, moveEnemy3); } public function moveEnemy3(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if ((((((((this.x < 0)) || ((this.x > 600)))) || ((this.y < 0)))) || ((this.y > 500)))){ pi2 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / pi2); gerakbelok = false; geraklurus = true; steplurus = 0; }; if (Math.floor((Math.random() * 30)) == 4){ _local5 = (2 * Math.PI); _local6 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); MovieClip(parent).newBullet(this.x, this.y, _local6, 250, 3); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); if (geraklurus){ steplurus = (steplurus + ((30 * _local4) / 1000)); stepbelok = 0; if (steplurus > 75){ arahbelok = Math.floor((Math.random() * 2)); belokrandom = Math.floor((Math.random() * 3)); if (belokrandom == 0){ stepmaxbelok = 40; }; if (belokrandom == 1){ stepmaxbelok = 20; }; if (belokrandom == 2){ stepmaxbelok = 25; } else { stepmaxbelok = 30; }; gerakbelok = true; geraklurus = false; }; }; if (gerakbelok){ steplurus = 0; stepbelok = (stepbelok + ((30 * _local4) / 1000)); if (arahbelok == 0){ rots = (rots + ((100 * _local4) / 1000)); } else { rots = (rots - ((100 * _local4) / 1000)); }; if (stepbelok > stepmaxbelok){ geraklurus = true; gerakbelok = false; }; }; dx = (speed3 * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed3 * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); this.sub.rotation = rots; this.shadow.rotation = this.sub.rotation; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 3); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 200); } else { MovieClip(root).skor = (MovieClip(root).skor + 200); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy3(); }; }; } public function deleteEnemy3(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy3(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy3); } } }//package
Section 80
//Enemy4 (Enemy4) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy4 extends MovieClip { public var lastTime:int; private var tempX; private var tempY:Number; public var sub:MovieClip; private var dx; private var dy; private var littleExpotion:Boolean; public var shadow:MovieClip; private var healthstep:int; private var newY; private var newX; public function Enemy4(){ tempX = (Math.floor((Math.random() * 550)) + 10); tempY = (Math.floor((Math.random() * 450)) + 10); this.x = 300; this.y = 50; newX = 0; newY = 0; healthstep = 25; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy4); } public function removeMoveEnemy4(){ removeEventListener(Event.ENTER_FRAME, moveEnemy4); } public function moveEnemy4(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 90)) == 4){ tempX = (Math.floor((Math.random() * 600)) + 0); tempY = (Math.floor((Math.random() * 500)) + 0); }; if (Math.floor((Math.random() * 30)) == 4){ _local8 = (2 * Math.PI); _local9 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local8); MovieClip(parent).newBullet(this.x, this.y, _local9, 250, 4); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); _local5 = (tempX - this.x); _local6 = (tempY - this.y); newX = ((newX * 0.5) + (_local5 * 0.05)); newY = ((newY * 0.5) + (_local6 * 0.05)); if (MovieClip(root).level == 3){ this.x = (this.x + (((newX * 8) * _local4) / 1000)); this.y = (this.y + (((newY * 8) * _local4) / 1000)); } else { if (MovieClip(root).level == 5){ this.x = (this.x + (((newX * 10) * _local4) / 1000)); this.y = (this.y + (((newY * 10) * _local4) / 1000)); } else { if (MovieClip(root).level > 5){ this.x = (this.x + (((newX * 13) * _local4) / 1000)); this.y = (this.y + (((newY * 13) * _local4) / 1000)); }; }; }; _local7 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((tempY - this.y), (tempX - this.x))) / _local7); this.shadow.rotation = this.sub.rotation; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 4); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 250); } else { MovieClip(root).skor = (MovieClip(root).skor + 250); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy4(); }; }; } public function deleteEnemy4(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy4(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy4); } } }//package
Section 81
//Enemy5 (Enemy5) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy5 extends MovieClip { public var shadow:MovieClip; private var littleExpotion:Boolean; public var speed5:int; public var sub:MovieClip; public var lastTime:int; private var dx; private var dy; private var healthstep:int; private var rots:Number; public function Enemy5(){ this.x = 300; this.y = 450; rots = (Math.floor((Math.random() * 360)) + 0); healthstep = 30; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy5); } public function removeMoveEnemy5(){ removeEventListener(Event.ENTER_FRAME, moveEnemy5); } public function deleteEnemy5(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy5(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy5); } public function moveEnemy5(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 30)) == 4){ _local5 = (2 * Math.PI); _local6 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); MovieClip(parent).newBullet(this.x, this.y, _local6, 250, 5); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); dx = (speed5 * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed5 * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); this.sub.rotation = (this.sub.rotation + ((100 * _local4) / 1000)); this.shadow.rotation = this.sub.rotation; if (this.x < 0){ this.x = 600; } else { if (this.x > 600){ this.x = 0; } else { if (this.y < 0){ this.y = 500; } else { if (this.y > 500){ this.y = 0; }; }; }; }; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 5); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 300); } else { MovieClip(root).skor = (MovieClip(root).skor + 300); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy5(); }; }; } } }//package
Section 82
//Enemy6 (Enemy6) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy6 extends MovieClip { public var lastTime:int; private var tempX; private var tempY:Number; public var sub:MovieClip; private var dx; private var dy; private var littleExpotion:Boolean; public var shadow:MovieClip; private var healthstep:int; private var newY; private var newX; public function Enemy6(){ tempX = (Math.floor((Math.random() * 600)) + 0); tempY = (Math.floor((Math.random() * 500)) + 0); this.x = 300; this.y = 50; newX = 0; newY = 0; healthstep = 35; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy6); } public function deleteEnemy6(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy6(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy6); } public function removeMoveEnemy6(){ removeEventListener(Event.ENTER_FRAME, moveEnemy6); } public function moveEnemy6(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 70)) == 4){ tempX = (Math.floor((Math.random() * 600)) + 0); tempY = (Math.floor((Math.random() * 500)) + 0); }; if (Math.floor((Math.random() * 30)) == 4){ _local8 = (2 * Math.PI); _local9 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local8); MovieClip(parent).newBullet(this.x, this.y, _local9, 250, 6); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); _local5 = (tempX - this.x); _local6 = (tempY - this.y); newX = ((newX * 0.5) + (_local5 * 0.05)); newY = ((newY * 0.5) + (_local6 * 0.05)); if (MovieClip(root).level == 6){ this.x = (this.x + (((newX * 9) * _local4) / 1000)); this.y = (this.y + (((newY * 9) * _local4) / 1000)); } else { if (MovieClip(root).level == 7){ this.x = (this.x + (((newX * 11) * _local4) / 1000)); this.y = (this.y + (((newY * 11) * _local4) / 1000)); } else { if (MovieClip(root).level == 8){ this.x = (this.x + (((newX * 13) * _local4) / 1000)); this.y = (this.y + (((newY * 13) * _local4) / 1000)); } else { if (MovieClip(root).level > 8){ this.x = (this.x + (((newX * 18) * _local4) / 1000)); this.y = (this.y + (((newY * 18) * _local4) / 1000)); }; }; }; }; _local7 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local7); this.shadow.rotation = this.sub.rotation; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 6); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 350); } else { MovieClip(root).skor = (MovieClip(root).skor + 350); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy6(); }; }; } } }//package
Section 83
//Enemy7 (Enemy7) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy7 extends MovieClip { public var lastTime:int; public var sub:MovieClip; public var speed7:int; private var dx; private var dy; private var stepbelok:Number; private var littleExpotion; public var shadow:MovieClip; private var rotstep:int; private var gerakbelok:Boolean; private var geraklurus; private var pi2; private var healthstep:int; private var rots; public function Enemy7(){ this.x = 300; this.y = 450; healthstep = 40; rots = (Math.floor((Math.random() * 360)) + 0); rotstep = 80; stepbelok = 0; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy7); } public function moveEnemy7(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 30)) == 4){ _local5 = (2 * Math.PI); _local6 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); MovieClip(parent).newBullet(this.x, this.y, _local6, 250, 7); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); stepbelok = (stepbelok + ((30 * _local4) / 1000)); if (stepbelok > 100){ rotstep = -(rotstep); stepbelok = 0; }; rots = (rots + ((rotstep * _local4) / 1000)); dx = (speed7 * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed7 * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); this.sub.rotation = rots; this.shadow.rotation = this.sub.rotation; if (this.x < 0){ this.x = 600; } else { if (this.x > 600){ this.x = 0; } else { if (this.y < 0){ this.y = 500; } else { if (this.y > 500){ this.y = 0; }; }; }; }; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 7); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 400); } else { MovieClip(root).skor = (MovieClip(root).skor + 400); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy7(); }; }; } public function removeMoveEnemy7(){ removeEventListener(Event.ENTER_FRAME, moveEnemy7); } public function deleteEnemy7(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy7(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy7); } } }//package
Section 84
//Enemy8 (Enemy8) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy8 extends MovieClip { private var kejar:Boolean; public var lastTime:int; private var tempX; private var tempY; private var speed:int; public var sub:MovieClip; private var dx; private var dy; private var pi2; private var steplurus:Number; private var littleExpotion; public var shadow:MovieClip; private var mulai; private var healthstep:int; private var newY; private var rots; private var newX; public function Enemy8(){ tempX = (Math.floor((Math.random() * 550)) + 10); tempY = (Math.floor((Math.random() * 450)) + 10); this.x = 300; this.y = 50; newX = 0; newY = 0; speed = 100; healthstep = 50; mulai = true; kejar = false; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy8); } public function removeMoveEnemy8(){ removeEventListener(Event.ENTER_FRAME, moveEnemy8); } public function moveEnemy8(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 30)) == 4){ _local5 = (2 * Math.PI); _local6 = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / _local5); MovieClip(parent).newBullet(this.x, this.y, _local6, 250, 8); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); if (mulai){ _local7 = (tempX - this.x); _local8 = (tempY - this.y); newX = ((newX * 0.5) + (_local7 * 0.05)); newY = ((newY * 0.5) + (_local8 * 0.05)); this.x = (this.x + (((newX * 13) * _local4) / 1000)); this.y = (this.y + (((newY * 13) * _local4) / 1000)); if ((((Math.abs(_local7) < 2)) && ((Math.abs(_local8) < 2)))){ kejar = true; steplurus = 0; mulai = false; }; }; if (kejar){ steplurus = (steplurus + ((30 * _local4) / 1000)); pi2 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / pi2); dx = (speed * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); if (steplurus > 100){ tempX = (Math.floor((Math.random() * 550)) + 10); tempY = (Math.floor((Math.random() * 450)) + 10); mulai = true; kejar = false; }; }; pi2 = (2 * Math.PI); this.sub.rotation = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / pi2); this.shadow.rotation = this.sub.rotation; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 8); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 450); } else { MovieClip(root).skor = (MovieClip(root).skor + 450); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy8(); }; }; } public function deleteEnemy8(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy8(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy8); } } }//package
Section 85
//Enemy9 (Enemy9) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Enemy9 extends MovieClip { public var lastTime:int; private var arahbelok; private var speed; public var sub:MovieClip; private var dx; private var pi2:Number; private var steplurus; private var dy; public var shadow:MovieClip; private var littleExpotion; private var stepmaxbelok:int; private var gerakbelok:Boolean; private var geraklurus; private var belokrandom; private var stepbelok; private var healthstep:int; private var rots; public function Enemy9(){ this.x = 300; this.y = 450; speed = 150; rots = 200; geraklurus = true; steplurus = 30; dx = ((Math.random() * 130) + 80); dy = ((Math.random() * 130) + 80); healthstep = 60; lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, moveEnemy9); } public function deleteEnemy9(){ littleExpotion = false; if (MovieClip(parent).winStatus == 2){ } else { MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); }; MovieClip(parent).removeEnemy9(this); parent.removeChild(this); removeEventListener(Event.ENTER_FRAME, moveEnemy9); } public function removeMoveEnemy9(){ removeEventListener(Event.ENTER_FRAME, moveEnemy9); } public function moveEnemy9(_arg1:Event){ var _local2:int; var _local3:int; var _local4:int; if (MovieClip(parent).pausegame){ } else { _local2 = (MovieClip(parent).bullets.length - 1); while (_local2 >= 0) { if (((((this.sub.hitTestPoint(MovieClip(parent).bullets[_local2].x, MovieClip(parent).bullets[_local2].y, true)) && ((MovieClip(parent).bullets[_local2].stuck == 5)))) && (MovieClip(parent).bullets[_local2].canHitEnemy))){ switch (MovieClip(parent).bullets[_local2].currentFrame){ case 1: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 2: healthstep = (healthstep - (1 + MovieClip(root).var4_Hero)); break; case 3: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 4: healthstep = (healthstep - (2 + MovieClip(root).var4_Hero)); break; case 5: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 6: healthstep = (healthstep - (3 + MovieClip(root).var4_Hero)); break; case 7: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 8: healthstep = (healthstep - (4 + MovieClip(root).var4_Hero)); break; case 9: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 10: healthstep = (healthstep - (5 + MovieClip(root).var4_Hero)); break; case 11: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; case 12: healthstep = (healthstep - (6 + MovieClip(root).var4_Hero)); break; }; MovieClip(parent).bullets[_local2].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local2--; }; _local3 = (MovieClip(parent).bulletsX.length - 1); while (_local3 >= 0) { if (this.sub.hitTestPoint(MovieClip(parent).bulletsX[_local3].x, MovieClip(parent).bulletsX[_local3].y, true)){ healthstep--; MovieClip(parent).bulletsX[_local3].deleteBullet(); littleExpotion = true; MovieClip(parent).addExplotion(this.x, this.y, this.littleExpotion); break; }; _local3--; }; if (Math.floor((Math.random() * 30)) == 4){ pi2 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / pi2); MovieClip(parent).newBullet(this.x, this.y, rots, 250, 9); }; _local4 = (getTimer() - lastTime); lastTime = (lastTime + _local4); if ((((((((this.x < -50)) || ((this.x > 650)))) || ((this.y < -50)))) || ((this.y > 550)))){ pi2 = (2 * Math.PI); rots = ((360 * Math.atan2((MovieClip(parent).hero.y - this.y), (MovieClip(parent).hero.x - this.x))) / pi2); gerakbelok = false; geraklurus = true; steplurus = 10; }; if (geraklurus){ steplurus = (steplurus + ((30 * _local4) / 1000)); stepbelok = 0; speed = 150; if (steplurus > 50){ arahbelok = Math.floor((Math.random() * 2)); belokrandom = Math.floor((Math.random() * 3)); if (belokrandom == 0){ stepmaxbelok = 40; }; if (belokrandom == 1){ stepmaxbelok = 20; }; if (belokrandom == 2){ stepmaxbelok = 25; }; gerakbelok = true; geraklurus = false; }; }; if (gerakbelok){ steplurus = 0; stepbelok = (stepbelok + ((30 * _local4) / 1000)); speed = 150; if (arahbelok == 0){ rots = (rots + ((150 * _local4) / 1000)); } else { rots = (rots - ((150 * _local4) / 1000)); }; if (stepbelok > stepmaxbelok){ geraklurus = true; gerakbelok = false; }; }; dx = (speed * Math.cos((((2 * Math.PI) * rots) / 360))); dy = (speed * Math.sin((((2 * Math.PI) * rots) / 360))); this.x = (this.x + ((dx * _local4) / 1000)); this.y = (this.y + ((dy * _local4) / 1000)); this.sub.rotation = rots; this.shadow.rotation = this.sub.rotation; if (((MovieClip(parent).shield.sub_shield.hitTestPoint(this.x, this.y, true)) && ((MovieClip(parent).step > 50)))){ MovieClip(parent).maxHealth = (MovieClip(parent).maxHealth - 9); healthstep = 0; }; if (healthstep <= 0){ MovieClip(parent).shake = true; if (MovieClip(root).level < 13){ MovieClip(root).money = (MovieClip(root).money + 500); } else { MovieClip(root).skor = (MovieClip(root).skor + 500); }; MovieClip(parent).sumEnemy--; littleExpotion = false; deleteEnemy9(); }; }; } } }//package
Section 86
//EnemyHole (EnemyHole) package { import flash.display.*; public dynamic class EnemyHole extends MovieClip { } }//package
Section 87
//Explode (Explode) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class Explode extends MovieClip { public function Explode(){ addFrameScript(12, frame13, 16, frame17); } function frame17(){ stop(); parent.removeChild(this); } function frame13(){ MovieClip(parent).shake = false; } } }//package
Section 88
//Hero (Hero) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Hero extends MovieClip { public var newwX; public var light:MovieClip; public var newwY:Number; public var Hero_sub:MovieClip; public function Hero(){ x = mouseX; y = mouseY; addEventListener(Event.ENTER_FRAME, moveHero); } public function moveHero(_arg1:Event){ var _local2:int; var _local3:Number; var _local4:Number; if (MovieClip(parent).winStatus == 1){ _local2 = (getTimer() - MovieClip(parent).herolastTime); MovieClip(parent).herolastTime = (MovieClip(parent).herolastTime + _local2); _local3 = (MovieClip(parent).mouseX - this.x); _local4 = (MovieClip(parent).mouseY - this.y); newwX = ((newwX * 0.2) + (_local3 * 0.15)); newwY = ((newwY * 0.2) + (_local4 * 0.15)); this.x = (this.x + (((newwX * 3) * _local2) / 1000)); this.y = (this.y + (((newwY * 3) * _local2) / 1000)); MovieClip(parent).shield.x = this.x; MovieClip(parent).shield.y = this.y; }; } public function removeHero(){ removeEventListener(Event.ENTER_FRAME, moveHero); } } }//package
Section 89
//inBetween2 (inBetween2) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class inBetween2 extends MovieClip { public function inBetween2(){ addFrameScript(39, frame40, 69, frame70); } function frame40(){ if (MovieClip(root).currentLabel == "play"){ stop(); }; } function frame70(){ if (MovieClip(root).currentLabel == "stats"){ stop(); MovieClip(parent).statsMc.visible = true; if (MovieClip(root).level == 13){ MovieClip(parent).submitBtn.visible = true; }; }; } } }//package
Section 90
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:MochiBot = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); var _local4 = "http://core.mochibot.com/my/core.swf"; var _local5:URLVariables = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; var _local6:String = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; var _local7:URLRequest = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; var _local8:Loader = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 91
//Shield (Shield) package { import flash.display.*; public dynamic class Shield extends MovieClip { public var sub_shield:MovieClip; } }//package
Section 92
//soundClick (soundClick) package { import flash.media.*; public dynamic class soundClick extends Sound { } }//package
Section 93
//soundDeeb2 (soundDeeb2) package { import flash.media.*; public dynamic class soundDeeb2 extends Sound { } }//package
Section 94
//soundExplode (soundExplode) package { import flash.media.*; public dynamic class soundExplode extends Sound { } }//package
Section 95
//SoundGame (SoundGame) package { import flash.media.*; public dynamic class SoundGame extends Sound { } }//package
Section 96
//SoundMenu (SoundMenu) package { import flash.media.*; public dynamic class SoundMenu extends Sound { } }//package
Section 97
//soundShot (soundShot) package { import flash.media.*; public dynamic class soundShot extends Sound { } }//package
Section 98
//SoundXBullet (SoundXBullet) package { import flash.media.*; public dynamic class SoundXBullet extends Sound { } }//package
Section 99
//StatsMc (StatsMc) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; public dynamic class StatsMc extends MovieClip { public var enemy_txt:TextField; public var hit_txt:TextField; public var nextBtn:SimpleButton; public var credit_txt:TextField; public var total_txt:TextField; public var name_txt:TextField; public function StatsMc(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame2(){ stop(); enemy_txt.text = String(MovieClip(root).enemyCreated); credit_txt.text = String(MovieClip(root).money); hit_txt.text = String(MovieClip(root).shipHit); total_txt.text = String((MovieClip(root).money - MovieClip(root).shipHit)); } function frame3(){ stop(); enemy_txt.text = String(MovieClip(root).enemyCreated); credit_txt.text = String(MovieClip(root).money); hit_txt.text = String(MovieClip(root).shipHit); total_txt.text = String((MovieClip(root).money - MovieClip(root).shipHit)); } function frame4(){ stop(); enemy_txt.text = String(MovieClip(root).enemyCreated); credit_txt.text = String(MovieClip(root).money); hit_txt.text = String(MovieClip(root).shipHit); total_txt.text = String((MovieClip(root).money - MovieClip(root).shipHit)); } function frame1(){ stop(); enemy_txt.text = String(MovieClip(root).enemyCreated); credit_txt.text = String(MovieClip(root).money); hit_txt.text = String(MovieClip(root).shipHit); total_txt.text = String((MovieClip(root).money - MovieClip(root).shipHit)); } function frame5(){ stop(); enemy_txt.text = String(MovieClip(root).enemyCreated); credit_txt.text = String(MovieClip(root).skor); hit_txt.text = String(MovieClip(root).shipHit); total_txt.text = String((MovieClip(root).skor - MovieClip(root).shipHit)); } } }//package
Section 100
//SubmitBtn (SubmitBtn) package { import flash.display.*; public dynamic class SubmitBtn extends SimpleButton { } }//package
Section 101
//ZeroBullets (ZeroBullets) package { import flash.events.*; import flash.display.*; import flash.media.*; import CPMStar.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.ui.*; public class ZeroBullets extends MovieClip { public var hero:Hero; public var helpText:MovieClip; public var Bonus1:MovieClip; public var loader:MovieClip; public var Bonus3:MovieClip; public var Bonus4:MovieClip; public var Bonus5:MovieClip; public var Bonus6:MovieClip; public var Bonus2:MovieClip; private var useSecretWeapon:Boolean; public var ad:DisplayObject; public var xbullet_; public var stuckBallMove; private var NextEnemy; public var masuq:int; public var istepSecretWeapon; public var prevTextBtn:SimpleButton; public var padlock:MovieClip; public var hiddenBtn:MovieClip; public var towerLogo:SimpleButton; public var leftArrow; public var leftArrow_; public var rotSecretWeapon; public var h:int; public var i:int; public var var6_Hero:int; public var enemyHole:EnemyHole; public var displayWarning:MovieClip; public var menuBtn:SimpleButton; public var downArrow:Boolean;// = false public var bonus1_imax:int; private var soundshot:soundShot; public var herolastTime:int; public var block:Block; public var creditBtn:SimpleButton; public var newX_; public var CPMStarContentSpotID:String; public var listWave; public var money:int; public var newY_; public var restStep; public var circle:Circle; public var maxHealth; public var explode:Explode; public var back:background; public var upgradeInfo:MovieClip; private var secretWeapon; private var soundexplode:soundExplode; public var playBGM; public var levelnow:int; private var bullet:Bullet; public var channel:SoundChannel; public var ybullet_:Number; public var backSimpleGame:MovieClip; public var bossKill1; public var bonus2_imax:int; public var bossKill3; public var levelReached:int; public var dBallDegree:Number; public var bossKill2; public var var1_Hero:int; public var listSumWave; public var blockHits:int; public var musicActive; public var achievement10:Boolean; public var soundGame:SoundGame; private var enemy2:Enemy2; private var enemy3:Enemy3; private var enemy4:Enemy4; private var enemy5:Enemy5; private var enemy6:Enemy6; private var enemy9:Enemy9; public var acv10:MovieClip; public var maxBulletStuck; private var enemy8:Enemy8; public var secretBool:Boolean; private var enemy7:Enemy7; public var bonus3_imax:int; public var stepSecretWeapon; public var soundclick:soundClick; public var firstplay:Boolean; public var levelBtn_1:MovieClip; public var levelBtn_2:MovieClip; public var levelBtn_3:MovieClip; public var levelBtn_4:MovieClip; public var levelBtn_5:MovieClip; public var levelBtn_6:MovieClip; public var levelBtn_7:MovieClip; public var levelBtn_8:MovieClip; public var levelBtn_9:MovieClip; private var iNextEnemy:int; public var bigExplosion:Boolean; private var displayHeader:DisplayHeader; public var musicBtn:BtnMusic; public var addBtn:SimpleButton; public var ball:Ball; public var pi:Number; public var po; public var var2_Hero:int; public var acv1:MovieClip; public var acv2:MovieClip; public var acv3:MovieClip; public var acv4:MovieClip; public var acv5:MovieClip; public var acv6:MovieClip; public var acv7:MovieClip; public var acv8:MovieClip; public var acv9:MovieClip; public var enemies; public var bonus6_i:int; public var upArrow; private var startstep; public var displayWarningScore:MovieClip; public var skor:int; public var lastTime_; public var enemyCreated:int; public var hitCircle; public var achieveBtn:SimpleButton; public var signn:int; public var dx_; private var displayPause:DisplayPause; public var health:MovieClip; public var bonus5_i:int; public var bonus4_imax:int; private var displayHint:DisplayHint; public var scoreBtn:SimpleButton; public var stepBGM:int; public var intro:MovieClip; public var money_txt:TextField; public var listHole:Array; public var dy_:Number; public var lastTime:int; public var nama:String; public var playBtn:SimpleButton; public var noLock:Boolean; public var var3_Hero:int; public var score; public var statsMc:StatsMc; public var bonus4_i:int; public var adBox:MovieClip; public var loop; public var rightArrow_:Boolean; public var totalEnemy; private var newY:Number; private var newX; public var enemies10; public var enemies11; public var moreBtn:SimpleButton; public var enemies2; public var enemies3; public var enemies4; public var enemies5; public var enemies6; public var enemies7; public var enemies9; public var enemies12; public var enemies8; public var bonus3_i:int; public var bulletsX:Array; public var loadplayBtn:btn__play; public var achievement2:Boolean; public var achievement3:Boolean; public var achievement4:Boolean; public var achievement5:Boolean; public var achievement6:Boolean; public var achievement7:Boolean; public var achievement8:Boolean; public var achievement9:Boolean; public var winStatus; public var pausegame; public var achievement1:Boolean; public var wave; private var cursorDegrees:Number; public var bonus5_imax:int; public var shake; public var soundMenu:SoundMenu; public var bonus2_i:int; public var step; public var submitBtn:SubmitBtn; public var var4_Hero:int; public var level_txt:TextField; private var cursorAngle; public var rightArrow:Boolean;// = false public var playMusic; private var cursor:Cursor; public var helpBtn:SimpleButton; public var bonus1_i:int; private var sounddeeb2:soundDeeb2; public var shield:Shield; public var myData:SharedObject; public var towerLog:SimpleButton; public var nextTextBtn:SimpleButton; public var level; public var levelBtn_10:MovieClip; public var levelBtn_11:MovieClip; public var levelBtn_12:MovieClip; public var levelBtn_13:MovieClip; private var soundXBullet:SoundXBullet; private var enemy:Enemy; public var shieldDegree:Number; public var loadBtn:SimpleButton; public var sfxBtn:BtnSfx; public var bonus6_imax:int; private var bulletX:BulletX; public var blackStone:BlackStone; private var enemy10:Enemy10; private var enemy11:Enemy11; private var enemy12:Enemy12; public var bullets; public var shipHit:int; public var sumeachwave; public var var5_Hero:int; public var inb:inBetween2; public var newEnemyStillActive; public var menuFX1:MovieClip; public var sfxActive; public var diem; public var menuFX2:MovieClip; public var menuFX3:inBetween2; public var sumEnemy; public function ZeroBullets(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } public function frameupgrade(_arg1:Event){ money_txt.text = String(money); } public function levelBtn_4f(_arg1:MouseEvent){ if (levelBtn_4.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 4; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function levelBtn_5f(_arg1:MouseEvent){ if (levelBtn_5.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 5; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function towerLogf(_arg1:MouseEvent){ var event = _arg1; var url = "http://www.playtowerdefensegames.com"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function levelBtn_6f(_arg1:MouseEvent){ if (levelBtn_6.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 6; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } function frame10(){ stop(); startZeroBullets(); if (musicActive){ displayHeader.musicBtn.gotoAndStop(1); } else { displayHeader.musicBtn.gotoAndStop(2); }; if (sfxActive){ displayHeader.sfxBtn.gotoAndStop(1); } else { displayHeader.sfxBtn.gotoAndStop(2); }; if ((((level >= 1)) && ((level <= 4)))){ back.gotoAndStop(1); } else { if ((((level > 4)) && ((level <= 8)))){ back.gotoAndStop(2); } else { if ((((level > 8)) && ((level <= 12)))){ back.gotoAndStop(3); } else { if (level == 13){ if (Math.floor(((Math.random() * 2) + 1)) == 1){ back.gotoAndStop(2); } else { back.gotoAndStop(3); }; }; }; }; }; if (firstplay){ displayHint.nextBtn.addEventListener(MouseEvent.CLICK, displayHintnextBtn); displayHint.prevBtn.addEventListener(MouseEvent.CLICK, displayHintprevBtn); displayHint.playBtn.addEventListener(MouseEvent.CLICK, displayHintf); }; } public function ClickCircle(_arg1:MouseEvent){ stuckBallMove = false; diem = true; hitCircle = true; } function frame1(){ stop(); if (is_domain_allowed(this.root.loaderInfo.url.split("/")[2], "playtowerdefensegames.com")){ noLock = true; } else { noLock = false; }; addEventListener(Event.ENTER_FRAME, loadProgress); channel = new SoundChannel(); sfxActive = true; musicActive = true; playMusic = true; firstplay = true; loadplayBtn.visible = false; loadplayBtn.addEventListener(MouseEvent.CLICK, loadplayBtnf); diem = true; hitCircle = true; blockHits = 0; h = 0; while (h < 4) { i = 0; while (i < 9) { block = new Block(); addChild(block); block.x = (335 + (i * 27)); block.y = (160 + (h * 12)); i++; }; h++; }; circle = new Circle(); addChild(circle); circle.x = 400; circle.y = 300; circle.rotation = 0; ball = new Ball(); addChild(ball); ball.x = 350; ball.y = 220; pi = (2 * Math.PI); ball.rotation = ((360 * Math.atan2((circle.y - ball.y), (circle.x - ball.x))) / pi); stage.addEventListener(KeyboardEvent.KEY_DOWN, DownFunction); stage.addEventListener(KeyboardEvent.KEY_UP, UpFunction); stage.addEventListener(MouseEvent.CLICK, ClickCircle); stage.addEventListener(Event.ENTER_FRAME, S_enterframe); lastTime_ = getTimer(); newX_ = 0; newY_ = 0; Mouse.show(); towerLog.addEventListener(MouseEvent.CLICK, towerLogf); MochiBot.track(this, "d0e76cc8"); CPMStarContentSpotID = "1431QE1F4F660"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); } function frame2(){ stop(); intro.buttonMode = true; intro.addEventListener(MouseEvent.CLICK, introf); } public function addStone(_arg1, _arg2:Number){ blackStone = new BlackStone(); addChild(blackStone); blackStone.x = _arg1; blackStone.y = _arg2; } function frame4(){ stop(); displayWarning.visible = false; displayWarningScore.visible = false; soundMenu = new SoundMenu(); soundGame = new SoundGame(); if ((((musicBtn.currentFrame == 1)) && (playMusic))){ channel = soundMenu.play(0, 100); }; menuFX2.gotoAndPlay(1); soundclick = new soundClick(); myData = SharedObject.getLocal("Hey_You"); signn = 1; masuq = myData.data.infmasuq; if (masuq == 73059824){ levelReached = myData.data.inflevelReached; money = myData.data.infmoney; achievement1 = myData.data.ac1; achievement2 = myData.data.ac2; achievement3 = myData.data.ac3; achievement4 = myData.data.ac4; achievement5 = myData.data.ac5; achievement6 = myData.data.ac6; achievement7 = myData.data.ac7; achievement8 = myData.data.ac8; achievement9 = myData.data.ac9; achievement10 = myData.data.ac10; bonus1_i = myData.data.infbonus1_i; bonus2_i = myData.data.infbonus2_i; bonus3_i = myData.data.infbonus3_i; bonus4_i = myData.data.infbonus4_i; bonus5_i = myData.data.infbonus5_i; bonus6_i = myData.data.infbonus6_i; bonus1_imax = myData.data.infbonus1_imax; bonus2_imax = myData.data.infbonus2_imax; bonus3_imax = myData.data.infbonus3_imax; bonus4_imax = myData.data.infbonus4_imax; bonus5_imax = myData.data.infbonus5_imax; bonus6_imax = myData.data.infbonus6_imax; var1_Hero = myData.data.infvar1_Hero; var2_Hero = myData.data.infvar2_Hero; var3_Hero = myData.data.infvar3_Hero; var4_Hero = myData.data.infvar4_Hero; var5_Hero = myData.data.infvar5_Hero; var6_Hero = myData.data.infvar6_Hero; }; playBtn.addEventListener(MouseEvent.CLICK, goto1); helpBtn.addEventListener(MouseEvent.CLICK, goto2); scoreBtn.addEventListener(MouseEvent.ROLL_OVER, scoreBtnf1); scoreBtn.addEventListener(MouseEvent.ROLL_OUT, scoreBtnf15); scoreBtn.addEventListener(MouseEvent.CLICK, scoreBtnf2); achieveBtn.addEventListener(MouseEvent.CLICK, goto3a); creditBtn.addEventListener(MouseEvent.CLICK, goto3); displayWarning.yesBtn.addEventListener(MouseEvent.CLICK, yesBtnff); displayWarning.noBtn.addEventListener(MouseEvent.CLICK, noBtnff); loadBtn.addEventListener(MouseEvent.CLICK, loadBtnf); moreBtn.addEventListener(MouseEvent.CLICK, moreBtnf); towerLogo.addEventListener(MouseEvent.CLICK, towerLogof); addBtn.addEventListener(MouseEvent.CLICK, addBtnf); } function frame9(){ stop(); removeChild(displayHeader); displayHeader = null; masuq = 73059824; level_txt.text = String(level); health.scaleY = (maxHealth / 155); channel.stop(); if (musicActive){ musicBtn.gotoAndStop(1); } else { musicBtn.gotoAndStop(2); }; if (sfxActive){ sfxBtn.gotoAndStop(1); } else { sfxBtn.gotoAndStop(2); }; if (signn == 2){ removeChild(enemyHole); signn = 1; }; shipHit = ((var1_Hero - maxHealth) * 55); if (level < 13){ money_txt.text = String((money - shipHit)); } else { money_txt.text = String((skor - shipHit)); }; inb = new inBetween2(); inb.stop(); inb.visible = false; addChild(inb); statsMc = new StatsMc(); statsMc.x = 300; statsMc.y = 250; statsMc.visible = false; addChild(statsMc); if (level == 13){ submitBtn = new SubmitBtn(); submitBtn.x = 205; submitBtn.y = 382; submitBtn.visible = false; addChild(submitBtn); }; if (winStatus == 1){ if ((((level < levelReached)) || ((level >= 12)))){ } else { levelReached++; }; trace(("LEVEL = " + level)); statsMc.gotoAndStop(1); if (level == 12){ if (noLock){ statsMc.gotoAndStop(4); } else { statsMc.gotoAndStop(3); }; myData.data.ac9 = true; }; } else { if ((((winStatus == 2)) || ((winStatus == 3)))){ trace(("LEVEL = " + level)); statsMc.gotoAndStop(2); if (level == 13){ statsMc.gotoAndStop(5); }; }; }; Mouse.show(); if (winStatus == 2){ hero.removeHero(); removeChild(hero); hero = null; removeChild(shield); shield = null; }; statsMc.nextBtn.addEventListener(MouseEvent.CLICK, clicknextBtn); trace(("LEVELxxxxx = " + level)); if (level == 13){ submitBtn.addEventListener(MouseEvent.CLICK, submitBtnf); }; if (winStatus == 2){ myData.data.ac1 = true; }; if (money > 50000){ myData.data.ac2 = true; }; if (money > 100000){ myData.data.ac3 = true; }; if (levelReached > 4){ myData.data.ac7 = true; }; if (levelReached > 8){ myData.data.ac8 = true; }; } function frame3(){ stop(); gotoAndStop(1); } public function nextTextBtnf(_arg1:MouseEvent){ if (helpText.currentFrame == 1){ if (sfxActive){ soundclick.play(); }; helpText.gotoAndStop(2); } else { if (helpText.currentFrame == 2){ if (sfxActive){ soundclick.play(); }; helpText.gotoAndStop(3); }; }; } function frame8(){ stop(); if (noLock){ padlock.visible = false; } else { padlock.visible = true; }; padlock.buttonMode = true; padlock.addEventListener(MouseEvent.CLICK, padlockf); upgradeInfo.gotoAndStop(7); levelBtn_1.addEventListener(MouseEvent.CLICK, levelBtn_1f); levelBtn_2.addEventListener(MouseEvent.CLICK, levelBtn_2f); levelBtn_3.addEventListener(MouseEvent.CLICK, levelBtn_3f); levelBtn_4.addEventListener(MouseEvent.CLICK, levelBtn_4f); levelBtn_5.addEventListener(MouseEvent.CLICK, levelBtn_5f); levelBtn_6.addEventListener(MouseEvent.CLICK, levelBtn_6f); levelBtn_7.addEventListener(MouseEvent.CLICK, levelBtn_7f); levelBtn_8.addEventListener(MouseEvent.CLICK, levelBtn_8f); levelBtn_9.addEventListener(MouseEvent.CLICK, levelBtn_9f); levelBtn_10.addEventListener(MouseEvent.CLICK, levelBtn_10f); levelBtn_11.addEventListener(MouseEvent.CLICK, levelBtn_11f); levelBtn_12.addEventListener(MouseEvent.CLICK, levelBtn_12f); levelBtn_13.addEventListener(MouseEvent.CLICK, levelBtn_13f); menuFX2.gotoAndPlay(1); menuBtn.addEventListener(MouseEvent.CLICK, goto02); addEventListener(Event.ENTER_FRAME, frameupgrade); myData.data.infmasuq = masuq; myData.data.inflevelReached = levelReached; myData.data.infmoney = money; myData.data.infbonus1_i = bonus1_i; myData.data.infbonus2_i = bonus2_i; myData.data.infbonus3_i = bonus3_i; myData.data.infbonus4_i = bonus4_i; myData.data.infbonus5_i = bonus5_i; myData.data.infbonus6_i = bonus6_i; myData.data.infbonus1_imax = bonus1_imax; myData.data.infbonus2_imax = bonus2_imax; myData.data.infbonus3_imax = bonus3_imax; myData.data.infbonus4_imax = bonus4_imax; myData.data.infbonus5_imax = bonus5_imax; myData.data.infbonus6_imax = bonus6_imax; myData.data.infvar1_Hero = var1_Hero; myData.data.infvar2_Hero = var2_Hero; myData.data.infvar3_Hero = var3_Hero; myData.data.infvar4_Hero = var4_Hero; myData.data.infvar5_Hero = var5_Hero; myData.data.infvar6_Hero = var6_Hero; } public function scoreBtnf1(_arg1:MouseEvent){ if (displayWarning.visible){ } else { displayWarningScore.visible = true; }; } function frame5(){ stop(); menuFX2.gotoAndPlay(1); menuBtn.addEventListener(MouseEvent.CLICK, goto0); nextTextBtn.addEventListener(MouseEvent.CLICK, nextTextBtnf); prevTextBtn.addEventListener(MouseEvent.CLICK, prevTextBtnf); } function frame6(){ stop(); if (achievement1){ acv1.gotoAndStop(2); } else { acv1.gotoAndStop(1); }; if (achievement2){ acv2.gotoAndStop(2); } else { acv2.gotoAndStop(1); }; if (achievement3){ acv3.gotoAndStop(2); } else { acv3.gotoAndStop(1); }; if (achievement4){ acv4.gotoAndStop(2); } else { acv4.gotoAndStop(1); }; if (achievement5){ acv5.gotoAndStop(2); } else { acv5.gotoAndStop(1); }; if (achievement6){ acv6.gotoAndStop(2); } else { acv6.gotoAndStop(1); }; if (achievement7){ acv7.gotoAndStop(2); } else { acv7.gotoAndStop(1); }; if (achievement8){ acv8.gotoAndStop(2); } else { acv8.gotoAndStop(1); }; if (achievement9){ acv9.gotoAndStop(2); } else { acv9.gotoAndStop(1); }; if (achievement10){ acv10.gotoAndStop(2); } else { acv10.gotoAndStop(1); }; menuFX2.gotoAndPlay(1); menuBtn.addEventListener(MouseEvent.CLICK, goto01a); } public function scoreBtnf2(_arg1:MouseEvent){ var event = _arg1; if (sfxActive){ soundclick.play(); }; var url2 = "http://www.playtowerdefensegames.com/index.php?action=highscores&gameid=893"; var request2:URLRequest = new URLRequest(url2); try { navigateToURL(request2, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function levelBtn_8f(_arg1:MouseEvent){ if (levelBtn_8.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 8; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } function frame7(){ stop(); menuFX2.gotoAndPlay(1); menuBtn.addEventListener(MouseEvent.CLICK, goto01); } public function levelBtn_7f(_arg1:MouseEvent){ if (levelBtn_7.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 7; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function displayHintprevBtn(_arg1:MouseEvent){ displayHint.sub.gotoAndStop(1); } public function levelBtn_9f(_arg1:MouseEvent){ if (levelBtn_9.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 9; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function is_domain_allowed(_arg1:String, _arg2:String):Boolean{ return (array_has_prefix(reversed_domain_parts(_arg1), reversed_domain_parts(_arg2))); } public function S_enterframe(_arg1:Event){ var _local5:int; var _local6:int; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local2:int = (getTimer() - lastTime_); lastTime_ = (lastTime_ + _local2); if ((((((((mouseX < 325)) || ((mouseX > 585)))) || ((mouseY < 230)))) || ((mouseY > 366)))){ Mouse.show(); } else { Mouse.hide(); }; if (blockHits > 35){ _local5 = 0; while (_local5 < 4) { _local6 = 0; while (_local6 < 9) { block = new Block(); addChild(block); block.x = (335 + (_local6 * 27)); block.y = (160 + (_local5 * 12)); _local6++; }; _local5++; }; blockHits = 0; }; if (leftArrow_){ circle.rotation = (circle.rotation - ((150 * _local2) / 1000)); }; if (rightArrow_){ circle.rotation = (circle.rotation + ((150 * _local2) / 1000)); }; var _local3:Number = (mouseX - circle.x); var _local4:Number = (mouseY - circle.y); newX_ = ((newX_ * 0.2) + (_local3 * 0.15)); newY_ = ((newY_ * 0.2) + (_local4 * 0.15)); circle.x = (circle.x + (((newX_ * 40) * _local2) / 1000)); circle.y = (circle.y + (((newY_ * 40) * _local2) / 1000)); if (circle.x < 340){ circle.x = 340; }; if (circle.x > 570){ circle.x = 570; }; if (circle.y < 0xFF){ circle.y = 0xFF; }; if (circle.y > 351){ circle.y = 351; }; if (diem){ dx_ = (350 * Math.cos((((2 * Math.PI) * ball.rotation) / 360))); dy_ = (350 * Math.sin((((2 * Math.PI) * ball.rotation) / 360))); ball.x = (ball.x + ((dx_ * _local2) / 1000)); ball.y = (ball.y + ((dy_ * _local2) / 1000)); }; if (circle.hitTestPoint(ball.x, ball.y, true)){ if (hitCircle){ diem = false; _local7 = (2 * Math.PI); dBallDegree = (circle.rotation - ((360 * Math.atan2((ball.y - circle.y), (ball.x - circle.x))) / _local7)); stuckBallMove = true; hitCircle = false; }; }; if (stuckBallMove){ _local8 = (circle.rotation - dBallDegree); xbullet_ = (15 * Math.cos((((2 * Math.PI) * _local8) / 360))); ybullet_ = (15 * Math.sin((((2 * Math.PI) * _local8) / 360))); ball.rotation = _local8; ball.x = (circle.x + xbullet_); ball.y = (circle.y + ybullet_); }; if (stuckBallMove){ } else { if (ball.x < 335){ _local9 = (2 * Math.PI); ball.rotation = ((360 * Math.atan2((circle.y - ball.y), (circle.x - ball.x))) / _local9); }; if (ball.x > 575){ _local10 = (2 * Math.PI); ball.rotation = ((360 * Math.atan2((circle.y - ball.y), (circle.x - ball.x))) / _local10); }; if (ball.y < 160){ _local11 = (2 * Math.PI); ball.rotation = ((360 * Math.atan2((circle.y - ball.y), (circle.x - ball.x))) / _local11); }; if (ball.y > 356){ _local12 = (2 * Math.PI); ball.rotation = ((360 * Math.atan2((circle.y - ball.y), (circle.x - ball.x))) / _local12); }; }; } public function yesBtnf(_arg1:MouseEvent){ var _local2:Boolean; addExplotion(hero.x, hero.y, _local2); if (newEnemyStillActive){ NextEnemy = 0; wave = 0; newEnemyStillActive = false; }; restStep = 0; winStatus = 3; step = 0; endGame(); } public function loadProgress(_arg1:Event){ var _local2:int = this.root.loaderInfo.bytesLoaded; var _local3:int = this.root.loaderInfo.bytesTotal; var _local4:int = int(((_local2 / _local3) * 100)); loader.gotoAndStop(int(_local4)); var _local5:int = (_local2 / 0x0400); var _local6:int = (_local3 / 0x0400); if (_local2 >= _local3){ Mouse.show(); loader.visible = false; loadplayBtn.visible = true; }; } public function removeEnemy(_arg1:Enemy){ var _local2:*; for (_local2 in enemies) { if (enemies[_local2] == _arg1){ enemies.splice(_local2, 1); break; }; }; } public function yesBtnff(_arg1:MouseEvent){ if (displayWarning.visible){ masuq = 34569876; levelReached = 1; money = 0; bonus1_i = 0; bonus2_i = 0; bonus3_i = 0; bonus4_i = 0; bonus5_i = 0; bonus6_i = 0; bonus1_imax = 5; bonus2_imax = 5; bonus3_imax = 5; bonus4_imax = 5; bonus5_imax = 5; bonus6_imax = 5; var1_Hero = 32; var2_Hero = 30; var3_Hero = 40; var4_Hero = 1.5; var5_Hero = 3; var6_Hero = 5; if (sfxActive){ soundclick.play(); }; gotoAndStop("levelupgrade"); }; } public function array_has_prefix(_arg1:Array, _arg2:Array):Boolean{ var _local3:uint = _arg2.length; if (_arg1.length < _local3){ return (false); }; var _local4:uint; while (_local4 < _local3) { if (_arg1[_local4] !== _arg2[_local4]){ return (false); }; _local4++; }; return (true); } public function levelBtn_10f(_arg1:MouseEvent){ if (levelBtn_10.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 10; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function levelBtn_11f(_arg1:MouseEvent){ if (levelBtn_11.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 11; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function submitBtnf(_arg1:MouseEvent){ var j:int; var k:int; var l:int; var m:int; var n:int; var o:int; var p:int; var q:int; var r:int; var s:int; var t:int; var u:int; var event = _arg1; if (sfxActive){ soundclick.play(); }; score = (skor - shipHit); nama = statsMc.name_txt.text; var url = "http://playtowerdefensegames.com/highscores/submit/play4scores.php"; var request:URLRequest = new URLRequest(url); request.method = URLRequestMethod.POST; var lv:* = new URLVariables(); lv.game_id = 893; lv.user_id = nama.substr(0, 15); lv.score = score; request.data = lv; sendToURL(request); var url2 = "http://www.playtowerdefensegames.com/index.php?action=highscores&gameid=893"; var request2:URLRequest = new URLRequest(url2); try { navigateToURL(request2, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; if (winStatus == 2){ j = (enemies.length - 1); while (j >= 0) { enemies[j].deleteEnemy(); j = (j - 1); }; k = (enemies2.length - 1); while (k >= 0) { enemies2[k].deleteEnemy2(); k = (k - 1); }; l = (enemies3.length - 1); while (l >= 0) { enemies3[l].deleteEnemy3(); l = (l - 1); }; m = (enemies4.length - 1); while (m >= 0) { enemies4[m].deleteEnemy4(); m = (m - 1); }; n = (enemies5.length - 1); while (n >= 0) { enemies5[n].deleteEnemy5(); n = (n - 1); }; o = (enemies6.length - 1); while (o >= 0) { enemies6[o].deleteEnemy6(); o = (o - 1); }; p = (enemies7.length - 1); while (p >= 0) { enemies7[p].deleteEnemy7(); p = (p - 1); }; q = (enemies8.length - 1); while (q >= 0) { enemies8[q].deleteEnemy8(); q = (q - 1); }; r = (enemies9.length - 1); while (r >= 0) { enemies9[r].deleteEnemy9(); r = (r - 1); }; s = (enemies10.length - 1); while (s >= 0) { enemies10[s].deleteEnemy10(); s = (s - 1); }; t = (enemies11.length - 1); while (t >= 0) { enemies11[t].deleteEnemy11(); t = (t - 1); }; u = (enemies12.length - 1); while (u >= 0) { enemies12[u].deleteEnemy12(); u = (u - 1); }; enemies = null; enemies2 = null; enemies3 = null; enemies4 = null; enemies5 = null; enemies6 = null; enemies7 = null; enemies8 = null; enemies9 = null; enemies10 = null; enemies11 = null; enemies12 = null; }; removeChild(inb); removeChild(statsMc); if (level == 13){ removeChild(submitBtn); }; if (musicBtn.currentFrame == 1){ channel = soundMenu.play(0, 100); }; gotoAndStop("levelupgrade"); } public function loadplayBtnf(_arg1:MouseEvent){ removeEventListener(Event.ENTER_FRAME, loadProgress); stage.removeEventListener(KeyboardEvent.KEY_DOWN, DownFunction); stage.removeEventListener(KeyboardEvent.KEY_UP, UpFunction); stage.removeEventListener(MouseEvent.CLICK, ClickCircle); stage.removeEventListener(Event.ENTER_FRAME, S_enterframe); gotoAndStop(2); } public function newEnemy(){ if (restStep == 5){ if (listWave[wave] == 1){ enemy = new Enemy(); addChild(enemy); cursorAngle = Math.atan2((hero.y - enemy.y), (hero.x - enemy.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy.sub.rotation = cursorDegrees; enemies.push(enemy); }; if (listWave[wave] == 2){ if (myData.data.ac4){ } else { myData.data.ac4 = true; }; enemy2 = new Enemy2(); addChild(enemy2); cursorAngle = Math.atan2((hero.y - enemy2.y), (hero.x - enemy2.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy2.sub.rotation = cursorDegrees; if (level == 1){ if (Math.floor((Math.random() * 2)) == 1){ enemy2.dx = ((Math.random() * 10) - 65); enemy2.dy = ((Math.random() * 10) + 55); } else { enemy2.dx = ((Math.random() * 10) + 55); enemy2.dy = ((Math.random() * 10) + 55); }; } else { if (level == 2){ if (Math.floor((Math.random() * 2)) == 1){ enemy2.dx = ((Math.random() * 10) - 70); enemy2.dy = ((Math.random() * 10) + 60); } else { enemy2.dx = ((Math.random() * 10) + 60); enemy2.dy = ((Math.random() * 10) + 60); }; } else { if (level == 4){ if (Math.floor((Math.random() * 2)) == 1){ enemy2.dx = ((Math.random() * 20) - 100); enemy2.dy = ((Math.random() * 20) + 80); } else { enemy2.dx = ((Math.random() * 20) + 80); enemy2.dy = ((Math.random() * 20) + 80); }; } else { if (level > 4){ if (Math.floor((Math.random() * 2)) == 1){ enemy2.dx = ((Math.random() * 30) - 120); enemy2.dy = ((Math.random() * 30) + 90); } else { enemy2.dx = ((Math.random() * 30) + 90); enemy2.dy = ((Math.random() * 30) + 90); }; }; }; }; }; enemies2.push(enemy2); }; if (listWave[wave] == 3){ enemy3 = new Enemy3(); addChild(enemy3); cursorAngle = Math.atan2((hero.y - enemy3.y), (hero.x - enemy3.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy3.sub.rotation = cursorDegrees; if (level == 2){ enemy3.speed3 = 100; } else { if (level == 3){ enemy3.speed3 = 110; } else { if (level == 7){ enemy3.speed3 = 120; } else { if (level > 7){ enemy3.speed3 = 150; }; }; }; }; enemies3.push(enemy3); }; if (listWave[wave] == 4){ enemy4 = new Enemy4(); addChild(enemy4); cursorAngle = Math.atan2((hero.y - enemy4.y), (hero.x - enemy4.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy4.sub.rotation = cursorDegrees; enemies4.push(enemy4); }; if (listWave[wave] == 5){ enemy5 = new Enemy5(); addChild(enemy5); cursorAngle = Math.atan2((hero.y - enemy5.y), (hero.x - enemy5.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy5.sub.rotation = cursorDegrees; if (level == 5){ enemy5.speed5 = 130; } else { if (level == 6){ enemy5.speed5 = 145; } else { if (level > 6){ enemy5.speed5 = 160; }; }; }; enemies5.push(enemy5); }; if (listWave[wave] == 6){ if (myData.data.ac5){ } else { myData.data.ac5 = true; }; enemy6 = new Enemy6(); addChild(enemy6); cursorAngle = Math.atan2((hero.y - enemy6.y), (hero.x - enemy6.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy6.sub.rotation = cursorDegrees; enemies6.push(enemy6); }; if (listWave[wave] == 7){ enemy7 = new Enemy7(); addChild(enemy7); cursorAngle = Math.atan2((hero.y - enemy7.y), (hero.x - enemy7.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy7.sub.rotation = cursorDegrees; if (level == 7){ enemy7.speed7 = 110; } else { if (level > 7){ enemy7.speed7 = 140; }; }; enemies7.push(enemy7); }; if (listWave[wave] == 8){ enemy8 = new Enemy8(); addChild(enemy8); cursorAngle = Math.atan2((hero.y - enemy8.y), (hero.x - enemy8.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy8.sub.rotation = cursorDegrees; enemies8.push(enemy8); }; if (listWave[wave] == 9){ if (myData.data.ac6){ } else { myData.data.ac6 = true; }; enemy9 = new Enemy9(); addChild(enemy9); cursorAngle = Math.atan2((hero.y - enemy9.y), (hero.x - enemy9.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy9.sub.rotation = cursorDegrees; enemies9.push(enemy9); }; if (listWave[wave] == 10){ enemy10 = new Enemy10(); addChild(enemy10); cursorAngle = Math.atan2((hero.y - enemy10.y), (hero.x - enemy10.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemies10.push(enemy10); }; if (listWave[wave] == 11){ enemy11 = new Enemy11(); addChild(enemy11); cursorAngle = Math.atan2((hero.y - enemy11.y), (hero.x - enemy11.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy11.sub.rotation = cursorDegrees; enemies11.push(enemy11); }; if (listWave[wave] == 12){ enemy12 = new Enemy12(); addChild(enemy12); cursorAngle = Math.atan2((hero.y - enemy12.y), (hero.x - enemy12.x)); cursorDegrees = (((360 * cursorAngle) / 2) * Math.PI); enemy12.sub.rotation = cursorDegrees; enemies12.push(enemy12); }; enemyCreated++; po++; sumeachwave++; trace(sumeachwave); if (sumeachwave >= listSumWave[wave]){ removeChild(enemyHole); signn = 1; trace("kkkkkkkkkkkkkkkkkkkkkkkkkkkkk"); wave++; restStep = 0; sumeachwave = 0; }; } else { restStep++; }; if (wave >= listWave.length){ loop++; if ((((((level == 4)) || ((level == 8)))) || ((level == 12)))){ loop = 5; }; newEnemyStillActive = false; wave = 0; }; } public function newBulletX(_arg1, _arg2:Number, _arg3:Number, _arg4:Number){ bulletX = new BulletX(_arg1, _arg2, _arg3, 700); addChild(bulletX); bulletsX.push(bulletX); } public function addBtnf(_arg1:MouseEvent){ var event = _arg1; if (sfxActive){ soundclick.play(); }; var url = "http://www.playtowerdefensegames.com/download-games.html"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function levelBtn_12f(_arg1:MouseEvent){ if (levelBtn_12.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 12; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function enterframe(_arg1:Event){ var _local2:int; var _local3:Number; var _local4:Number; var _local5:Number; if (shake){ MovieClip(root).x = (Math.random() * 10); displayHeader.x = (15 - MovieClip(root).x); MovieClip(root).y = (Math.random() * 10); displayHeader.y = (15 - MovieClip(root).y); } else { MovieClip(root).x = 0; MovieClip(root).y = 0; displayHeader.x = 15; displayHeader.y = 15; }; if (pausegame){ } else { if (newEnemyStillActive){ NextEnemy++; if (level < 13){ if (NextEnemy == (iNextEnemy * 40)){ if (restStep == 3){ enemyHole = new EnemyHole(); addChild(enemyHole); if (listHole[wave] == 1){ enemyHole.x = 300; enemyHole.y = 450; } else { if (listHole[wave] == 2){ enemyHole.x = 300; enemyHole.y = 50; }; }; signn = 2; }; newEnemy(); iNextEnemy++; }; } else { if (level == 13){ if (NextEnemy == (iNextEnemy * 30)){ if (restStep == 3){ enemyHole = new EnemyHole(); addChild(enemyHole); if (listHole[wave] == 1){ enemyHole.x = 300; enemyHole.y = 450; } else { if (listHole[wave] == 2){ enemyHole.x = 300; enemyHole.y = 50; }; }; signn = 2; }; newEnemy(); iNextEnemy++; }; }; }; }; if (startstep){ step++; }; if (step > 52){ startstep = false; }; _local2 = (getTimer() - lastTime); lastTime = (lastTime + _local2); _local3 = (2 * Math.PI); shieldDegree = ((360 * Math.atan2((mouseY - hero.y), (mouseX - hero.x))) / _local3); _local4 = (mouseX - hero.x); _local5 = (mouseY - hero.y); newX = ((newX * 0.2) + (_local4 * 0.15)); newY = ((newY * 0.2) + (_local5 * 0.15)); hero.x = (hero.x + (((newX * var3_Hero) * _local2) / 1000)); hero.y = (hero.y + (((newY * var3_Hero) * _local2) / 1000)); shield.x = hero.x; shield.y = hero.y; if (leftArrow){ shield.rotation = (shield.rotation - ((200 * _local2) / 1000)); }; if (rightArrow){ shield.rotation = (shield.rotation + ((200 * _local2) / 1000)); }; }; } public function levelBtn_13f(_arg1:MouseEvent){ if (levelBtn_13.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 13; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function startZeroBullets(){ levelnow = level; po = 0; enemyCreated = 0; soundexplode = new soundExplode(); soundshot = new soundShot(); sounddeeb2 = new soundDeeb2(); soundXBullet = new SoundXBullet(); newX = 0; newY = 0; rotSecretWeapon = 0; stepSecretWeapon = 0; istepSecretWeapon = 1; useSecretWeapon = false; secretWeapon = false; pausegame = false; shake = false; bossKill1 = false; bossKill2 = false; bossKill3 = false; bigExplosion = false; step = 52; winStatus = 0; hero = new Hero(); addChild(hero); shield = new Shield(); addChild(shield); shield.x = hero.x; shield.y = hero.y; displayHeader = new DisplayHeader(); addChild(displayHeader); displayHeader.x = 15; displayHeader.y = 15; displayHeader.level_txt.text = String(level); displayHeader.magicloader.scaleY = 1; if (firstplay){ displayHint = new DisplayHint(); addChild(displayHint); displayHint.x = 300; displayHint.y = 250; }; displayPause = new DisplayPause(); addChild(displayPause); displayPause.x = 300; displayPause.y = 250; displayPause.visible = false; enemies = new Array(); enemies2 = new Array(); enemies3 = new Array(); enemies4 = new Array(); enemies5 = new Array(); enemies6 = new Array(); enemies7 = new Array(); enemies8 = new Array(); enemies9 = new Array(); enemies10 = new Array(); enemies11 = new Array(); enemies12 = new Array(); bullets = new Array(); bulletsX = new Array(); maxHealth = var1_Hero; maxBulletStuck = 0; addEventListener(Event.ENTER_FRAME, cekHit); addEventListener(Event.ENTER_FRAME, enterframe); stage.addEventListener(MouseEvent.CLICK, clickstage); stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownFunction); stage.addEventListener(KeyboardEvent.KEY_UP, keyUpFunction); displayPause.yesBtn.addEventListener(MouseEvent.CLICK, yesBtnf); displayPause.noBtn.addEventListener(MouseEvent.CLICK, noBtnf); if (level == 1){ listWave = [1, 2]; listSumWave = [5, 5]; listHole = [1, 2]; sumEnemy = 20; totalEnemy = 20; } else { if (level == 2){ listWave = [3, 2]; listSumWave = [10, 10]; listHole = [1, 2]; sumEnemy = 40; totalEnemy = 40; } else { if (level == 3){ listWave = [4, 3]; listSumWave = [10, 13]; listHole = [2, 1]; sumEnemy = 46; totalEnemy = 46; } else { if (level == 4){ listWave = [10, 2]; listSumWave = [1, 15]; listHole = [2, 2]; sumEnemy = 16; totalEnemy = 16; } else { if (level == 5){ listWave = [5, 4, 1]; listSumWave = [11, 13, 15]; listHole = [1, 2, 1]; sumEnemy = 78; totalEnemy = 78; } else { if (level == 6){ listWave = [6, 5, 2]; listSumWave = [11, 13, 15]; listHole = [2, 1, 2]; sumEnemy = 78; totalEnemy = 78; } else { if (level == 7){ listWave = [7, 6, 3]; listSumWave = [11, 13, 15]; listHole = [1, 2, 1]; sumEnemy = 78; totalEnemy = 78; } else { if (level == 8){ listWave = [11, 6]; listSumWave = [1, 15]; listHole = [2, 2]; sumEnemy = 16; totalEnemy = 16; } else { if (level == 9){ listWave = [8, 7, 4, 5]; listSumWave = [12, 13, 13, 15]; listHole = [2, 1, 2, 1]; sumEnemy = 106; totalEnemy = 106; } else { if (level == 10){ listWave = [9, 2, 8, 6]; listSumWave = [12, 15, 13, 15]; listHole = [1, 2, 2, 2]; sumEnemy = 110; totalEnemy = 110; } else { if (level == 11){ listWave = [3, 8, 7, 9]; listSumWave = [15, 13, 15, 13]; listHole = [1, 2, 1, 1]; sumEnemy = 112; totalEnemy = 112; } else { if (level == 12){ listWave = [12, 7]; listSumWave = [1, 15]; listHole = [2, 1]; sumEnemy = 16; totalEnemy = 16; } else { if (level == 13){ listWave = [2, 5, 1]; listSumWave = [13, 13, 13]; listHole = [2, 1, 1]; sumEnemy = 39; totalEnemy = 39; skor = 0; }; }; }; }; }; }; }; }; }; }; }; }; }; wave = 0; loop = 1; sumeachwave = 0; restStep = 1; if (firstplay){ } else { stepBGM = 0; playBGM = true; lastTime = getTimer(); NextEnemy = 0; iNextEnemy = 1; newEnemyStillActive = true; }; } public function goto01a(_arg1:MouseEvent){ playMusic = false; if (sfxActive){ soundclick.play(); }; gotoAndStop("menu"); } public function scoreBtnf15(_arg1:MouseEvent){ displayWarningScore.visible = false; } public function removeBulletX(_arg1:BulletX){ var _local2:*; for (_local2 in bulletsX) { if (bulletsX[_local2] == _arg1){ bulletsX.splice(_local2, 1); break; }; }; } public function clickstage(_arg1:MouseEvent){ var _local2:int; var _local3:int; if (step > 10){ _local2 = (bullets.length - 1); while (_local2 >= 0) { if (((shield.sub_shield.hitTestPoint(bullets[_local2].x, bullets[_local2].y, true)) && ((bullets[_local2].stuck == 5)))){ if (sfxActive){ if (pausegame){ } else { soundshot.play(); }; }; break; }; _local2--; }; maxBulletStuck = 0; _local3 = (bullets.length - 1); while (_local3 >= 0) { if (bullets[_local3].stuck == 5){ bullets[_local3].alpha = 1; bullets[_local3].scaleX = 1; bullets[_local3].scaleY = 1; bullets[_local3].shootBullet(500); }; _local3--; }; }; } public function moreBtnf(_arg1:MouseEvent){ var event = _arg1; if (sfxActive){ soundclick.play(); }; var url = "http://www.playtowerdefensegames.com"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function removeEnemy11(_arg1:Enemy11){ var _local2:*; for (_local2 in enemies11) { if (enemies11[_local2] == _arg1){ enemies11.splice(_local2, 1); break; }; }; gotoAndStop("stats"); } public function removeEnemy12(_arg1:Enemy12){ var _local2:*; for (_local2 in enemies12) { if (enemies12[_local2] == _arg1){ enemies12.splice(_local2, 1); break; }; }; gotoAndStop("stats"); } public function removeEnemy10(_arg1:Enemy10){ var _local2:*; for (_local2 in enemies10) { if (enemies10[_local2] == _arg1){ enemies10.splice(_local2, 1); break; }; }; gotoAndStop("stats"); } public function cekHit(_arg1:Event){ var _local2:Number; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:Number; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:Boolean; if (pausegame){ } else { if (playBGM){ stepBGM++; if (stepBGM == 120){ MovieClip(root).channel.stop(); }; if (stepBGM > 200){ if (displayHeader.musicBtn.currentFrame == 1){ MovieClip(root).channel = MovieClip(root).soundGame.play(0, 100); }; playBGM = false; }; }; if (level < 13){ displayHeader.money_txt.text = String(money); } else { displayHeader.money_txt.text = String(skor); }; displayHeader.health.scaleY = (maxHealth / 155); _local2 = (var1_Hero / 155); hero.light.scaleX = (displayHeader.health.scaleY / _local2); hero.light.scaleY = (displayHeader.health.scaleY / _local2); if (((firstplay) || (pausegame))){ } else { if (hiddenBtn.hitTestObject(hero)){ Mouse.show(); } else { Mouse.hide(); }; }; if (useSecretWeapon){ stepSecretWeapon++; rotSecretWeapon = (rotSecretWeapon + 7); _local4 = 1; while (_local4 < (var5_Hero + 1)) { newBulletX(hero.x, hero.y, (rotSecretWeapon + ((_local4 * 360) / var5_Hero)), 200); _local4++; }; if (stepSecretWeapon == (istepSecretWeapon * 5)){ istepSecretWeapon++; if (sfxActive){ soundXBullet.play(); }; }; if (stepSecretWeapon > 200){ useSecretWeapon = false; }; }; if (displayHeader.magicloader.scaleY >= 1){ stepSecretWeapon = 0; istepSecretWeapon = 1; secretWeapon = true; } else { displayHeader.magicloader.scaleY = (displayHeader.magicloader.scaleY + (var6_Hero * 0.0001)); secretWeapon = false; }; _local3 = (bullets.length - 1); while (_local3 >= 0) { if (((((shield.sub_shield.hitTestPoint(bullets[_local3].x, bullets[_local3].y, true)) && ((bullets[_local3].stuck == null)))) && ((maxBulletStuck < var2_Hero)))){ bullets[_local3].alpha = 0.7; bullets[_local3].scaleX = 0.6; bullets[_local3].scaleY = 0.6; bullets[_local3].stuckBullet(); maxBulletStuck++; if (sfxActive){ sounddeeb2.play(); }; break; }; _local3--; }; if (level < 13){ if ((((sumEnemy < ((totalEnemy / 2) + 3))) && ((loop == 2)))){ wave = 0; sumeachwave = 0; restStep = 3; newEnemyStillActive = true; loop = 3; }; } else { if ((((sumEnemy < 5)) && ((sumeachwave == 0)))){ trace(("ooooooooo " + sumEnemy)); _local5 = ((Math.random() * 6) + 4); _local6 = _local5; _local7 = (_local6 / 2); _local8 = (_local6 / 2); if ((_local7 - _local8) == 0.5){ _local11 = 1; } else { _local11 = 2; }; _local9 = ((Math.random() * 6) + 4); _local6 = _local9; _local7 = (_local6 / 2); _local8 = (_local6 / 2); if ((_local7 - _local8) == 0.5){ _local12 = 1; } else { _local12 = 2; }; _local10 = ((Math.random() * 3) + 1); _local6 = _local10; _local7 = (_local6 / 2); _local8 = (_local6 / 2); if ((_local7 - _local8) == 0.5){ _local13 = 1; } else { _local13 = 2; }; listWave = [_local5, _local9, _local10]; listSumWave = [13, 13, 13]; listHole = [_local11, _local12, _local13]; wave = 0; sumeachwave = 0; restStep = 3; newEnemyStillActive = true; sumEnemy = (sumEnemy + 39); trace(("ooooooooo " + sumEnemy)); }; }; if ((((((((((sumEnemy <= 0)) || (bossKill1))) || (bossKill2))) || (bossKill3))) && ((level < 13)))){ if (newEnemyStillActive){ NextEnemy = 0; wave = 0; newEnemyStillActive = false; }; restStep = 0; winStatus = 1; hero.newwX = 0; hero.newwY = 0; herolastTime = getTimer(); endGame(); } else { if (maxHealth <= 0){ _local14 = false; addExplotion(hero.x, hero.y, _local14); if (newEnemyStillActive){ NextEnemy = 0; wave = 0; newEnemyStillActive = false; }; restStep = 0; winStatus = 2; endGame(); }; }; }; } public function towerLogof(_arg1:MouseEvent){ var event = _arg1; if (sfxActive){ soundclick.play(); }; var url = "http://www.playtowerdefensegames.com"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function keyDownFunction(_arg1:KeyboardEvent){ if (_arg1.keyCode == 27){ pausegame = true; Mouse.show(); setChildIndex(displayPause, (numChildren - 1)); displayPause.visible = true; }; if (pausegame){ } else { if (secretWeapon){ if (_arg1.keyCode == 32){ stepSecretWeapon = 0; rotSecretWeapon = 0; displayHeader.magicloader.scaleY = 0; useSecretWeapon = true; }; }; }; if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){ leftArrow = true; } else { if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){ rightArrow = true; } else { if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))){ upArrow = true; } else { if ((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))){ downArrow = true; }; }; }; }; } public function goto01(_arg1:MouseEvent){ playMusic = false; if (sfxActive){ soundclick.play(); }; gotoAndStop("menu"); } public function goto02(_arg1:MouseEvent){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); playMusic = false; var _local2:int = (((((bonus1_i + bonus2_i) + bonus3_i) + bonus4_i) + bonus5_i) + bonus6_i); if (_local2 == 30){ myData.data.ac10 = true; }; if (sfxActive){ soundclick.play(); }; myData.data.infmasuq = masuq; myData.data.inflevelReached = levelReached; myData.data.infmoney = money; myData.data.infbonus1_i = bonus1_i; myData.data.infbonus2_i = bonus2_i; myData.data.infbonus3_i = bonus3_i; myData.data.infbonus4_i = bonus4_i; myData.data.infbonus5_i = bonus5_i; myData.data.infbonus6_i = bonus6_i; myData.data.infbonus1_imax = bonus1_imax; myData.data.infbonus2_imax = bonus2_imax; myData.data.infbonus3_imax = bonus3_imax; myData.data.infbonus4_imax = bonus4_imax; myData.data.infbonus5_imax = bonus5_imax; myData.data.infbonus6_imax = bonus6_imax; myData.data.infvar1_Hero = var1_Hero; myData.data.infvar2_Hero = var2_Hero; myData.data.infvar3_Hero = var3_Hero; myData.data.infvar4_Hero = var4_Hero; myData.data.infvar5_Hero = var5_Hero; myData.data.infvar6_Hero = var6_Hero; gotoAndStop("menu"); } public function removeBullet(_arg1:Bullet){ var _local2:*; for (_local2 in bullets) { if (bullets[_local2] == _arg1){ bullets.splice(_local2, 1); break; }; }; } public function DownFunction(_arg1:KeyboardEvent){ if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){ leftArrow_ = true; } else { if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){ rightArrow_ = true; }; }; } public function newBullet(_arg1, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int){ if (level == 1){ _arg4 = 500; } else { if (level == 2){ _arg4 = 525; } else { if (level == 3){ _arg4 = 550; } else { if (level == 4){ _arg4 = 575; } else { if (level == 5){ _arg4 = 600; } else { if (level == 6){ _arg4 = 625; } else { if (level == 7){ _arg4 = 650; } else { if (level == 8){ _arg4 = 675; } else { if (level >= 9){ _arg4 = 700; }; }; }; }; }; }; }; }; }; bullet = new Bullet(_arg1, _arg2, _arg3, _arg4, _arg5); bullet.gotoAndStop(_arg5); addChild(bullet); bullets.push(bullet); } public function noBtnff(_arg1:MouseEvent){ if (displayWarning.visible){ if (sfxActive){ soundclick.play(); }; displayWarning.visible = false; }; } public function noBtnf(_arg1:MouseEvent){ var _local2:int = (bullets.length - 1); while (_local2 >= 0) { bullets[_local2].lastTime = getTimer(); _local2--; }; var _local3:int = (bulletsX.length - 1); while (_local3 >= 0) { bulletsX[_local3].lastTime = getTimer(); _local3--; }; var _local4:int = (enemies.length - 1); while (_local4 >= 0) { enemies[_local4].lastTime = getTimer(); _local4--; }; var _local5:int = (enemies2.length - 1); while (_local5 >= 0) { enemies2[_local5].lastTime = getTimer(); _local5--; }; var _local6:int = (enemies3.length - 1); while (_local6 >= 0) { enemies3[_local6].lastTime = getTimer(); _local6--; }; var _local7:int = (enemies4.length - 1); while (_local7 >= 0) { enemies4[_local7].lastTime = getTimer(); _local7--; }; var _local8:int = (enemies5.length - 1); while (_local8 >= 0) { enemies5[_local8].lastTime = getTimer(); _local8--; }; var _local9:int = (enemies6.length - 1); while (_local9 >= 0) { enemies6[_local9].lastTime = getTimer(); _local9--; }; var _local10:int = (enemies7.length - 1); while (_local10 >= 0) { enemies7[_local10].lastTime = getTimer(); _local10--; }; var _local11:int = (enemies8.length - 1); while (_local11 >= 0) { enemies8[_local11].lastTime = getTimer(); _local11--; }; var _local12:int = (enemies9.length - 1); while (_local12 >= 0) { enemies9[_local12].lastTime = getTimer(); _local12--; }; var _local13:int = (enemies10.length - 1); while (_local13 >= 0) { enemies10[_local13].lastTime = getTimer(); _local13--; }; var _local14:int = (enemies11.length - 1); while (_local14 >= 0) { enemies11[_local14].lastTime = getTimer(); _local14--; }; var _local15:int = (enemies12.length - 1); while (_local15 >= 0) { enemies12[_local15].lastTime = getTimer(); _local15--; }; lastTime = getTimer(); step = 0; startstep = true; pausegame = false; displayPause.visible = false; } public function reversed_domain_parts(_arg1:String):Array{ var _local2:Array = _arg1.split("."); _local2.reverse(); return (_local2); } public function goto0(_arg1:MouseEvent){ playMusic = false; if (sfxActive){ soundclick.play(); }; gotoAndStop("menu"); } public function goto2(_arg1:MouseEvent){ if (displayWarning.visible){ } else { if (sfxActive){ soundclick.play(); }; gotoAndStop("help"); }; } public function goto3(_arg1:MouseEvent){ if (displayWarning.visible){ } else { if (sfxActive){ soundclick.play(); }; gotoAndStop("credit"); }; } public function goto3a(_arg1:MouseEvent){ if (displayWarning.visible){ } else { if (sfxActive){ soundclick.play(); }; gotoAndStop("achieve"); }; } public function goto1(_arg1:MouseEvent){ if (sfxActive){ soundclick.play(); }; displayWarning.visible = true; } public function displayHintf(_arg1:MouseEvent){ removeChild(displayHint); displayHint = null; stepBGM = 0; playBGM = true; lastTime = getTimer(); NextEnemy = 0; iNextEnemy = 1; newEnemyStillActive = true; firstplay = false; if (sfxActive){ soundclick.play(); }; } public function removeEnemy3(_arg1:Enemy3){ var _local2:*; for (_local2 in enemies3) { if (enemies3[_local2] == _arg1){ enemies3.splice(_local2, 1); break; }; }; } public function removeEnemy7(_arg1:Enemy7){ var _local2:*; for (_local2 in enemies7) { if (enemies7[_local2] == _arg1){ enemies7.splice(_local2, 1); break; }; }; } public function removeEnemy2(_arg1:Enemy2){ var _local2:*; for (_local2 in enemies2) { if (enemies2[_local2] == _arg1){ enemies2.splice(_local2, 1); break; }; }; } public function removeEnemy4(_arg1:Enemy4){ var _local2:*; for (_local2 in enemies4) { if (enemies4[_local2] == _arg1){ enemies4.splice(_local2, 1); break; }; }; } public function removeEnemy6(_arg1:Enemy6){ var _local2:*; for (_local2 in enemies6) { if (enemies6[_local2] == _arg1){ enemies6.splice(_local2, 1); break; }; }; } public function keyUpFunction(_arg1:KeyboardEvent){ if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){ leftArrow = false; } else { if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){ rightArrow = false; } else { if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))){ upArrow = false; } else { if ((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))){ downArrow = false; }; }; }; }; } public function removeEnemy9(_arg1:Enemy9){ var _local2:*; for (_local2 in enemies9) { if (enemies9[_local2] == _arg1){ enemies9.splice(_local2, 1); break; }; }; } public function endGame(){ var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; var _local15:int; var _local16:int; var _local17:int; var _local18:int; var _local19:int; var _local20:int; var _local21:int; var _local22:int; var _local23:int; var _local24:int; var _local25:int; var _local26:int; var _local27:int; var _local28:int; var _local29:int; var _local30:int; var _local31:int; var _local32:int; var _local33:int; var _local34:int; var _local35:int; var _local1:int = (bullets.length - 1); while (_local1 >= 0) { bullets[_local1].deleteBullet(); _local1--; }; var _local2:int = (bulletsX.length - 1); while (_local2 >= 0) { bulletsX[_local2].deleteBullet(); _local2--; }; bullets = null; bulletsX = null; if (winStatus == 1){ _local3 = (enemies.length - 1); while (_local3 >= 0) { enemies[_local3].deleteEnemy(); _local3--; }; _local4 = (enemies2.length - 1); while (_local4 >= 0) { enemies2[_local4].deleteEnemy2(); _local4--; }; _local5 = (enemies3.length - 1); while (_local5 >= 0) { enemies3[_local5].deleteEnemy3(); _local5--; }; _local6 = (enemies4.length - 1); while (_local6 >= 0) { enemies4[_local6].deleteEnemy4(); _local6--; }; _local7 = (enemies5.length - 1); while (_local7 >= 0) { enemies5[_local7].deleteEnemy5(); _local7--; }; _local8 = (enemies6.length - 1); while (_local8 >= 0) { enemies6[_local8].deleteEnemy6(); _local8--; }; _local9 = (enemies7.length - 1); while (_local9 >= 0) { enemies7[_local9].deleteEnemy7(); _local9--; }; _local10 = (enemies8.length - 1); while (_local10 >= 0) { enemies8[_local10].deleteEnemy8(); _local10--; }; _local11 = (enemies9.length - 1); while (_local11 >= 0) { enemies9[_local11].deleteEnemy9(); _local11--; }; enemies = null; enemies2 = null; enemies3 = null; enemies4 = null; enemies5 = null; enemies6 = null; enemies7 = null; enemies8 = null; enemies9 = null; enemies10 = null; enemies11 = null; enemies12 = null; } else { if (winStatus == 2){ _local12 = (enemies.length - 1); while (_local12 >= 0) { enemies[_local12].removeMoveEnemy(); _local12--; }; _local13 = (enemies2.length - 1); while (_local13 >= 0) { enemies2[_local13].removeMoveEnemy2(); _local13--; }; _local14 = (enemies3.length - 1); while (_local14 >= 0) { enemies3[_local14].removeMoveEnemy3(); _local14--; }; _local15 = (enemies4.length - 1); while (_local15 >= 0) { enemies4[_local15].removeMoveEnemy4(); _local15--; }; _local16 = (enemies5.length - 1); while (_local16 >= 0) { enemies5[_local16].removeMoveEnemy5(); _local16--; }; _local17 = (enemies6.length - 1); while (_local17 >= 0) { enemies6[_local17].removeMoveEnemy6(); _local17--; }; _local18 = (enemies7.length - 1); while (_local18 >= 0) { enemies7[_local18].removeMoveEnemy7(); _local18--; }; _local19 = (enemies8.length - 1); while (_local19 >= 0) { enemies8[_local19].removeMoveEnemy8(); _local19--; }; _local20 = (enemies9.length - 1); while (_local20 >= 0) { enemies9[_local20].removeMoveEnemy9(); _local20--; }; _local21 = (enemies10.length - 1); while (_local21 >= 0) { enemies10[_local21].removeMoveEnemy10(); _local21--; }; _local22 = (enemies11.length - 1); while (_local22 >= 0) { enemies11[_local22].removeMoveEnemy11(); _local22--; }; _local23 = (enemies12.length - 1); while (_local23 >= 0) { enemies12[_local23].removeMoveEnemy12(); _local23--; }; }; }; if (winStatus == 3){ hero.removeHero(); removeChild(hero); hero = null; removeChild(shield); shield = null; _local24 = (enemies.length - 1); while (_local24 >= 0) { enemies[_local24].deleteEnemy(); _local24--; }; _local25 = (enemies2.length - 1); while (_local25 >= 0) { enemies2[_local25].deleteEnemy2(); _local25--; }; _local26 = (enemies3.length - 1); while (_local26 >= 0) { enemies3[_local26].deleteEnemy3(); _local26--; }; _local27 = (enemies4.length - 1); while (_local27 >= 0) { enemies4[_local27].deleteEnemy4(); _local27--; }; _local28 = (enemies5.length - 1); while (_local28 >= 0) { enemies5[_local28].deleteEnemy5(); _local28--; }; _local29 = (enemies6.length - 1); while (_local29 >= 0) { enemies6[_local29].deleteEnemy6(); _local29--; }; _local30 = (enemies7.length - 1); while (_local30 >= 0) { enemies7[_local30].deleteEnemy7(); _local30--; }; _local31 = (enemies8.length - 1); while (_local31 >= 0) { enemies8[_local31].deleteEnemy8(); _local31--; }; _local32 = (enemies9.length - 1); while (_local32 >= 0) { enemies9[_local32].deleteEnemy9(); _local32--; }; _local33 = (enemies10.length - 1); while (_local33 >= 0) { enemies10[_local33].deleteEnemy10(); _local33--; }; _local34 = (enemies11.length - 1); while (_local34 >= 0) { enemies11[_local34].deleteEnemy11(); _local34--; }; _local35 = (enemies12.length - 1); while (_local35 >= 0) { enemies12[_local35].deleteEnemy12(); _local35--; }; enemies = null; enemies2 = null; enemies3 = null; enemies4 = null; enemies5 = null; enemies6 = null; enemies7 = null; enemies8 = null; enemies9 = null; enemies10 = null; enemies11 = null; enemies12 = null; pausegame = false; }; displayPause.yesBtn.removeEventListener(MouseEvent.CLICK, yesBtnf); stage.removeEventListener(MouseEvent.CLICK, clickstage); stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownFunction); stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpFunction); removeEventListener(Event.ENTER_FRAME, cekHit); removeEventListener(Event.ENTER_FRAME, enterframe); leftArrow = false; rightArrow = false; shake = false; removeChild(displayPause); displayPause = null; if (((((bossKill1) || (bossKill2))) || (bossKill3))){ } else { gotoAndStop("stats"); }; } public function removeEnemy5(_arg1:Enemy5){ var _local2:*; for (_local2 in enemies5) { if (enemies5[_local2] == _arg1){ enemies5.splice(_local2, 1); break; }; }; } public function introf(_arg1:MouseEvent){ var event = _arg1; var url = "http://www.playtowerdefensegames.com"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function removeEnemy8(_arg1:Enemy8){ var _local2:*; for (_local2 in enemies8) { if (enemies8[_local2] == _arg1){ enemies8.splice(_local2, 1); break; }; }; } public function loadBtnf(_arg1:MouseEvent){ if (displayWarning.visible){ } else { if (masuq == 73059824){ if (sfxActive){ soundclick.play(); }; gotoAndStop("levelupgrade"); }; }; } public function prevTextBtnf(_arg1:MouseEvent){ if (helpText.currentFrame == 2){ if (sfxActive){ soundclick.play(); }; helpText.gotoAndStop(1); } else { if (helpText.currentFrame == 3){ if (sfxActive){ soundclick.play(); }; helpText.gotoAndStop(2); }; }; } public function UpFunction(_arg1:KeyboardEvent){ if ((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))){ leftArrow_ = false; } else { if ((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))){ rightArrow_ = false; }; }; } public function levelBtn_1f(_arg1:MouseEvent){ if (levelBtn_1.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 1; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function addExplotion(_arg1, _arg2:Number, _arg3:Boolean){ explode = new Explode(); explode.x = (_arg1 - 20); explode.y = (_arg2 - 20); if (_arg3){ explode.scaleX = 0.5; explode.scaleY = 0.5; } else { if (bigExplosion){ explode.scaleX = 2; explode.scaleY = 2; }; if (sfxActive){ soundexplode.play(); }; }; addChild(explode); } public function levelBtn_2f(_arg1:MouseEvent){ if (levelBtn_2.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 2; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } public function displayHintnextBtn(_arg1:MouseEvent){ displayHint.sub.gotoAndStop(2); } public function clicknextBtn(_arg1:MouseEvent){ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; if (sfxActive){ soundclick.play(); }; if (level < 13){ money = (money - shipHit); }; if (winStatus == 1){ hero.removeHero(); removeChild(hero); hero = null; removeChild(shield); shield = null; } else { if (winStatus == 2){ _local2 = (enemies.length - 1); while (_local2 >= 0) { enemies[_local2].deleteEnemy(); _local2--; }; _local3 = (enemies2.length - 1); while (_local3 >= 0) { enemies2[_local3].deleteEnemy2(); _local3--; }; _local4 = (enemies3.length - 1); while (_local4 >= 0) { enemies3[_local4].deleteEnemy3(); _local4--; }; _local5 = (enemies4.length - 1); while (_local5 >= 0) { enemies4[_local5].deleteEnemy4(); _local5--; }; _local6 = (enemies5.length - 1); while (_local6 >= 0) { enemies5[_local6].deleteEnemy5(); _local6--; }; _local7 = (enemies6.length - 1); while (_local7 >= 0) { enemies6[_local7].deleteEnemy6(); _local7--; }; _local8 = (enemies7.length - 1); while (_local8 >= 0) { enemies7[_local8].deleteEnemy7(); _local8--; }; _local9 = (enemies8.length - 1); while (_local9 >= 0) { enemies8[_local9].deleteEnemy8(); _local9--; }; _local10 = (enemies9.length - 1); while (_local10 >= 0) { enemies9[_local10].deleteEnemy9(); _local10--; }; _local11 = (enemies10.length - 1); while (_local11 >= 0) { enemies10[_local11].deleteEnemy10(); _local11--; }; _local12 = (enemies11.length - 1); while (_local12 >= 0) { enemies11[_local12].deleteEnemy11(); _local12--; }; _local13 = (enemies12.length - 1); while (_local13 >= 0) { enemies12[_local13].deleteEnemy12(); _local13--; }; enemies = null; enemies2 = null; enemies3 = null; enemies4 = null; enemies5 = null; enemies6 = null; enemies7 = null; enemies8 = null; enemies9 = null; enemies10 = null; enemies11 = null; enemies12 = null; }; }; removeChild(inb); removeChild(statsMc); if (level == 13){ removeChild(submitBtn); }; if (musicBtn.currentFrame == 1){ channel = soundMenu.play(0, 100); }; gotoAndStop("levelupgrade"); } public function padlockf(_arg1:MouseEvent){ var event = _arg1; if (sfxActive){ soundclick.play(); }; var url = "http://www.playtowerdefensegames.com/games/894/play.html"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } public function levelBtn_3f(_arg1:MouseEvent){ if (levelBtn_3.aktif){ removeEventListener(Event.ENTER_FRAME, frameupgrade); Bonus1.removeEvent(); Bonus2.removeEvent(); Bonus3.removeEvent(); Bonus4.removeEvent(); Bonus5.removeEvent(); Bonus6.removeEvent(); level = 3; if (sfxActive){ soundclick.play(); }; gotoAndStop("play"); }; } } }//package

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 GraphicUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip {Cursor}Uses:1 2 3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip {Block}Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip {Circle}Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip {Ball}Uses:9
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13 194 195
Symbol 13 MovieClip {ZeroBullets_fla.loader_1}Uses:11 12Used by:Timeline
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:16
Symbol 16 ButtonUses:15Used by:Timeline
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:Timeline
Symbol 19 GraphicUsed by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 BitmapUsed by:23 24
Symbol 23 GraphicUses:22Used by:25
Symbol 24 GraphicUses:22Used by:25
Symbol 25 Button {btn__play}Uses:23 24Used by:261 285  Timeline
Symbol 26 GraphicUsed by:33
Symbol 27 GraphicUsed by:33
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:33
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 ShapeTweeningUsed by:33
Symbol 33 MovieClip {ZeroBullets_fla.main_loader_6}Uses:26 27 29 31 32Used by:Timeline
Symbol 34 SoundUsed by:Timeline
Symbol 35 GraphicUsed by:285
Symbol 36 GraphicUsed by:48
Symbol 37 GraphicUsed by:48
Symbol 38 GraphicUsed by:48
Symbol 39 GraphicUsed by:48
Symbol 40 GraphicUsed by:48
Symbol 41 GraphicUsed by:48
Symbol 42 GraphicUsed by:48
Symbol 43 GraphicUsed by:48
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClip {Bullet}Uses:36 37 38 39 40 41 42 43 44 45 46 47Used by:285
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:57
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:53
Symbol 53 MovieClipUses:52Used by:57
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:57
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip {Hero}Uses:50 53 55 56Used by:285
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:62
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:62
Symbol 62 MovieClip {Shield}Uses:59 61Used by:285
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:65
Symbol 65 MovieClipUses:64Used by:69
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClipUses:67Used by:69
Symbol 69 MovieClip {Enemy}Uses:65 68Used by:285
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:72
Symbol 72 MovieClipUses:71Used by:76
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:75
Symbol 75 MovieClipUses:74Used by:76
Symbol 76 MovieClip {Enemy2}Uses:72 75Used by:285
Symbol 77 BitmapUsed by:78 90
Symbol 78 GraphicUses:77Used by:107
Symbol 79 BitmapUsed by:80 87
Symbol 80 GraphicUses:79Used by:107
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:107
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:107
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:107
Symbol 87 GraphicUses:79Used by:107
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:107
Symbol 90 GraphicUses:77Used by:107
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:107
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:107
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:107
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:107
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:107
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:107
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:107
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:107
Symbol 107 MovieClip {Explode}Uses:78 80 82 84 86 87 89 90 92 94 96 98 100 102 104 106Used by:285
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:110
Symbol 110 MovieClipUses:109Used by:114
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:113
Symbol 113 MovieClipUses:112Used by:114
Symbol 114 MovieClip {Enemy3}Uses:110 113Used by:285
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClipUses:116Used by:121
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClip {Enemy9}Uses:117 120Used by:285
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:124
Symbol 124 MovieClipUses:123Used by:128
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClipUses:126Used by:128
Symbol 128 MovieClip {Enemy4}Uses:124 127Used by:285
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:131
Symbol 131 MovieClipUses:130Used by:135
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClipUses:133Used by:135
Symbol 135 MovieClip {Enemy6}Uses:131 134Used by:285
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:144
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:140
Symbol 140 MovieClipUses:139Used by:144
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:143
Symbol 143 MovieClipUses:142Used by:144 172 179
Symbol 144 MovieClip {Enemy10}Uses:137 140 143Used by:285
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClipUses:146Used by:151
Symbol 148 BitmapUsed by:149
Symbol 149 GraphicUses:148Used by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClip {Enemy8}Uses:147 150Used by:285
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:154
Symbol 154 MovieClipUses:153Used by:158
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:158
Symbol 158 MovieClip {Enemy7}Uses:154 157Used by:285
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:161
Symbol 161 MovieClipUses:160Used by:165
Symbol 162 BitmapUsed by:163
Symbol 163 GraphicUses:162Used by:164
Symbol 164 MovieClipUses:163Used by:165
Symbol 165 MovieClip {Enemy5}Uses:161 164Used by:285
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClipUses:167Used by:172
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:171
Symbol 171 MovieClipUses:170Used by:172
Symbol 172 MovieClip {Enemy11}Uses:168 171 143Used by:285
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:175
Symbol 175 MovieClipUses:174Used by:179
Symbol 176 BitmapUsed by:177
Symbol 177 GraphicUses:176Used by:178
Symbol 178 MovieClipUses:177Used by:179
Symbol 179 MovieClip {Enemy12}Uses:175 178 143Used by:285
Symbol 180 GraphicUsed by:182
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClip {inBetween2}Uses:180 181Used by:285  Timeline
Symbol 183 FontUsed by:184 185 212 213 214 215 223 224 225 226 228 229 230 231 232 427 441 442 443 445 446 447 448 449 450 451 452 457 458 459 465 466 467 473 474 475 480 481 482 488 489 490 503 504
Symbol 184 EditableTextUses:183Used by:197
Symbol 185 EditableTextUses:183Used by:197
Symbol 186 GraphicUsed by:197
Symbol 187 GraphicUsed by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClip {BtnMusic}Uses:187 188Used by:197  Timeline
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClip {BtnSfx}Uses:190 191Used by:197  Timeline
Symbol 193 GraphicUsed by:197
Symbol 194 MovieClipUses:12Used by:197  Timeline
Symbol 195 MovieClipUses:12Used by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClip {DisplayHeader}Uses:184 185 186 189 192 193 194 195 196Used by:285
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClip {EnemyHole}Uses:198Used by:285
Symbol 200 BitmapUsed by:201 202
Symbol 201 GraphicUses:200Used by:203
Symbol 202 GraphicUses:200Used by:203
Symbol 203 Button {SubmitBtn}Uses:201 202Used by:285
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:204Used by:234
Symbol 206 GraphicUsed by:234
Symbol 207 GraphicUsed by:234
Symbol 208 BitmapUsed by:209 210
Symbol 209 GraphicUses:208Used by:211
Symbol 210 GraphicUses:208Used by:211
Symbol 211 ButtonUses:209 210Used by:234
Symbol 212 EditableTextUses:183Used by:234
Symbol 213 EditableTextUses:183Used by:234
Symbol 214 EditableTextUses:183Used by:234
Symbol 215 EditableTextUses:183Used by:234
Symbol 216 GraphicUsed by:234
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217Used by:234 261  Timeline
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:234 274
Symbol 221 GraphicUsed by:234
Symbol 222 GraphicUsed by:234
Symbol 223 EditableTextUses:183Used by:234
Symbol 224 EditableTextUses:183Used by:234
Symbol 225 EditableTextUses:183Used by:234
Symbol 226 EditableTextUses:183Used by:234
Symbol 227 GraphicUsed by:234
Symbol 228 EditableTextUses:183Used by:234
Symbol 229 EditableTextUses:183Used by:234
Symbol 230 EditableTextUses:183Used by:234
Symbol 231 EditableTextUses:183Used by:234
Symbol 232 EditableTextUses:183Used by:234
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip {StatsMc}Uses:205 206 207 211 212 213 214 215 216 218 220 221 222 223 224 225 226 227 228 229 230 231 232 233Used by:285
Symbol 235 GraphicUsed by:261
Symbol 236 BitmapUsed by:237 339
Symbol 237 GraphicUses:236Used by:252
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:247
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:247
Symbol 242 BitmapUsed by:243 251
Symbol 243 GraphicUses:242Used by:247
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:247
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:239 241 243 245 246Used by:252 344
Symbol 248 GraphicUsed by:252 344
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:252 344
Symbol 251 GraphicUses:242Used by:252
Symbol 252 MovieClip {ZeroBullets_fla.DisplayHint_sub_69}Uses:237 247 248 250 251Used by:261
Symbol 253 GraphicUsed by:256 259
Symbol 254 GraphicUsed by:256
Symbol 255 GraphicUsed by:256
Symbol 256 ButtonUses:253 254 255Used by:261  Timeline
Symbol 257 GraphicUsed by:259
Symbol 258 GraphicUsed by:259
Symbol 259 ButtonUses:253 257 258Used by:261  Timeline
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClip {DisplayHint}Uses:218 25 235 252 256 259 260Used by:285
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:262Used by:273 315 321
Symbol 264 BitmapUsed by:265 266
Symbol 265 GraphicUses:264Used by:267
Symbol 266 GraphicUses:264Used by:267
Symbol 267 ButtonUses:265 266Used by:273 315
Symbol 268 BitmapUsed by:269 270
Symbol 269 GraphicUses:268Used by:271
Symbol 270 GraphicUses:268Used by:271
Symbol 271 ButtonUses:269 270Used by:273 315
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClip {DisplayPause}Uses:263 267 271 272Used by:285
Symbol 274 MovieClip {BlackStone}Uses:220Used by:285
Symbol 275 GraphicUsed by:285
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClip {BulletX}Uses:276Used by:285
Symbol 278 Sound {soundShot}Used by:285
Symbol 279 Sound {soundExplode}Used by:285
Symbol 280 Sound {soundDeeb2}Used by:285
Symbol 281 Sound {SoundMenu}Used by:285
Symbol 282 Sound {SoundGame}Used by:285
Symbol 283 Sound {SoundXBullet}Used by:285
Symbol 284 Sound {soundClick}Used by:285
Symbol 285 MovieClip {ZeroBullets_fla.container_9}Uses:35 48 57 62 69 76 107 114 121 128 135 144 151 158 165 172 179 182 197 25 199 203 234 261 273 274 275 277 278 279 280 281 282 283 284Used by:Timeline
Symbol 286 BitmapUsed by:287
Symbol 287 GraphicUses:286Used by:Timeline
Symbol 288 BitmapUsed by:289
Symbol 289 GraphicUses:288Used by:290
Symbol 290 MovieClipUses:289Used by:Timeline
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:Timeline
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:295
Symbol 295 ButtonUses:294Used by:Timeline
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:298
Symbol 298 ButtonUses:297Used by:Timeline
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:301
Symbol 301 ButtonUses:300Used by:Timeline
Symbol 302 BitmapUsed by:303
Symbol 303 GraphicUses:302Used by:304
Symbol 304 ButtonUses:303Used by:Timeline
Symbol 305 BitmapUsed by:306 307
Symbol 306 GraphicUses:305Used by:308
Symbol 307 GraphicUses:305Used by:308
Symbol 308 ButtonUses:306 307Used by:Timeline
Symbol 309 BitmapUsed by:310 311
Symbol 310 GraphicUses:309Used by:312
Symbol 311 GraphicUses:309Used by:312
Symbol 312 ButtonUses:310 311Used by:Timeline
Symbol 313 GraphicUsed by:315
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:263 313 267 271 314Used by:Timeline
Symbol 316 BitmapUsed by:317 318
Symbol 317 GraphicUses:316Used by:319
Symbol 318 GraphicUses:316Used by:319
Symbol 319 ButtonUses:317 318Used by:Timeline
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:263 320Used by:Timeline
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:Timeline
Symbol 324 BitmapUsed by:325 326
Symbol 325 GraphicUses:324Used by:327
Symbol 326 GraphicUses:324Used by:327
Symbol 327 ButtonUses:325 326Used by:Timeline
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClip {ZeroBullets_fla.inBetween_92}Uses:328Used by:Timeline
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClip {ZeroBullets_fla.Timeline_93}Uses:330Used by:Timeline
Symbol 332 BitmapUsed by:333 494
Symbol 333 GraphicUses:332Used by:Timeline
Symbol 334 BitmapUsed by:335 336
Symbol 335 GraphicUses:334Used by:337
Symbol 336 GraphicUses:334Used by:337
Symbol 337 ButtonUses:335 336Used by:Timeline
Symbol 338 GraphicUsed by:344
Symbol 339 GraphicUses:236Used by:344
Symbol 340 GraphicUsed by:344
Symbol 341 GraphicUsed by:344
Symbol 342 GraphicUsed by:344
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClip {ZeroBullets_fla.DisplayHelp_95}Uses:338 339 247 340 341 248 250 342 343Used by:Timeline
Symbol 345 GraphicUsed by:Timeline
Symbol 346 GraphicUsed by:350 353 356 359 362 365 368 371 374 377 382 385 390 393 396 399 402 405 408 411 414 417 420
Symbol 347 GraphicUsed by:350
Symbol 348 GraphicUsed by:350
Symbol 349 GraphicUsed by:350 353 356 359 362 365 368 371 374 377 382 385 390 393 396 399 402 405 408 411 414 417 420
Symbol 350 MovieClip {ZeroBullets_fla.achievement1_96}Uses:346 347 348 349Used by:Timeline
Symbol 351 GraphicUsed by:353
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClip {ZeroBullets_fla.achievement2_97}Uses:346 351 352 349Used by:Timeline
Symbol 354 GraphicUsed by:356
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClip {ZeroBullets_fla.achievement3_98}Uses:346 354 355 349Used by:Timeline
Symbol 357 GraphicUsed by:359
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClip {ZeroBullets_fla.achievement4_99}Uses:346 357 358 349Used by:Timeline
Symbol 360 GraphicUsed by:362
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClip {ZeroBullets_fla.achievement5_100}Uses:346 360 361 349Used by:Timeline
Symbol 363 GraphicUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClip {ZeroBullets_fla.achievement6_101}Uses:346 363 364 349Used by:Timeline
Symbol 366 GraphicUsed by:368
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClip {ZeroBullets_fla.achievement7_102}Uses:346 366 367 349Used by:Timeline
Symbol 369 GraphicUsed by:371
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClip {ZeroBullets_fla.achievement8_103}Uses:346 369 370 349Used by:Timeline
Symbol 372 GraphicUsed by:374
Symbol 373 GraphicUsed by:374
Symbol 374 MovieClip {ZeroBullets_fla.achievement9_104}Uses:346 372 373 349Used by:Timeline
Symbol 375 GraphicUsed by:377
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClip {ZeroBullets_fla.achievement10_105}Uses:346 375 376 349Used by:Timeline
Symbol 378 GraphicUsed by:Timeline
Symbol 379 GraphicUsed by:Timeline
Symbol 380 GraphicUsed by:Timeline
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClip {ZeroBullets_fla.Level_1sub_107}Uses:346 381 349Used by:383
Symbol 383 MovieClip {ZeroBullets_fla.Level_1_106}Uses:382Used by:Timeline
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClip {ZeroBullets_fla.Level_2sub_109}Uses:346 384 349Used by:388
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:386Used by:388 391 394 397 400 403 406 409 412 415 418 421
Symbol 388 MovieClip {ZeroBullets_fla.Level_2_108}Uses:385 387Used by:Timeline
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClip {ZeroBullets_fla.Level_3sub_112}Uses:346 389 349Used by:391
Symbol 391 MovieClip {ZeroBullets_fla.Level_3_111}Uses:390 387Used by:Timeline
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClip {ZeroBullets_fla.Level_4sub_114}Uses:346 392 349Used by:394
Symbol 394 MovieClip {ZeroBullets_fla.Level_4_113}Uses:393 387Used by:Timeline
Symbol 395 GraphicUsed by:396
Symbol 396 MovieClip {ZeroBullets_fla.Level_5sub_116}Uses:346 395 349Used by:397
Symbol 397 MovieClip {ZeroBullets_fla.Level_5_115}Uses:396 387Used by:Timeline
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClip {ZeroBullets_fla.Level_6sub_118}Uses:346 398 349Used by:400
Symbol 400 MovieClip {ZeroBullets_fla.Level_6_117}Uses:399 387Used by:Timeline
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClip {ZeroBullets_fla.Level_7sub_120}Uses:346 401 349Used by:403
Symbol 403 MovieClip {ZeroBullets_fla.Level_7_119}Uses:402 387Used by:Timeline
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClip {ZeroBullets_fla.Level_8sub_122}Uses:346 404 349Used by:406
Symbol 406 MovieClip {ZeroBullets_fla.Level_8_121}Uses:405 387Used by:Timeline
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClip {ZeroBullets_fla.Level_9sub_124}Uses:346 407 349Used by:409
Symbol 409 MovieClip {ZeroBullets_fla.Level_9_123}Uses:408 387Used by:Timeline
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClip {ZeroBullets_fla.Level_10sub_126}Uses:346 410 349Used by:412
Symbol 412 MovieClip {ZeroBullets_fla.Level_10_125}Uses:411 387Used by:Timeline
Symbol 413 GraphicUsed by:414
Symbol 414 MovieClip {ZeroBullets_fla.Level_11sub_128}Uses:346 413 349Used by:415
Symbol 415 MovieClip {ZeroBullets_fla.Level_11_127}Uses:414 387Used by:Timeline
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClip {ZeroBullets_fla.Level_12sub_130}Uses:346 416 349Used by:418
Symbol 418 MovieClip {ZeroBullets_fla.Level_12_129}Uses:417 387Used by:Timeline
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClip {ZeroBullets_fla.Level_13sub_132}Uses:346 419 349Used by:421
Symbol 421 MovieClip {ZeroBullets_fla.Level_13_131}Uses:420 387Used by:Timeline
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:422Used by:Timeline
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClip {ZeroBullets_fla.padloooc_135}Uses:424Used by:426
Symbol 426 MovieClip {ZeroBullets_fla.Symbol12_134}Uses:425Used by:Timeline
Symbol 427 EditableTextUses:183Used by:Timeline
Symbol 428 GraphicUsed by:437
Symbol 429 GraphicUsed by:437
Symbol 430 GraphicUsed by:437
Symbol 431 GraphicUsed by:437
Symbol 432 GraphicUsed by:437
Symbol 433 GraphicUsed by:437
Symbol 434 GraphicUsed by:437
Symbol 435 GraphicUsed by:437
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClip {ZeroBullets_fla.Bonus_info_136}Uses:428 429 430 431 432 433 434 435 436Used by:Timeline
Symbol 438 GraphicUsed by:440
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClip {ZeroBullets_fla.Bonus_maxInfo1_138}Uses:438 439Used by:453
Symbol 441 EditableTextUses:183Used by:453
Symbol 442 EditableTextUses:183Used by:453
Symbol 443 EditableTextUses:183Used by:453
Symbol 444 GraphicUsed by:453
Symbol 445 TextUses:183Used by:453
Symbol 446 TextUses:183Used by:453
Symbol 447 TextUses:183Used by:453
Symbol 448 TextUses:183Used by:453
Symbol 449 TextUses:183Used by:453
Symbol 450 TextUses:183Used by:453
Symbol 451 TextUses:183Used by:453
Symbol 452 TextUses:183Used by:453
Symbol 453 MovieClip {ZeroBullets_fla.Bonus1_137}Uses:440 441 442 443 444 445 446 447 448 449 450 451 452Used by:Timeline
Symbol 454 GraphicUsed by:456
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClip {ZeroBullets_fla.Bonus_maxInfo2_140}Uses:454 455Used by:461
Symbol 457 EditableTextUses:183Used by:461
Symbol 458 EditableTextUses:183Used by:461
Symbol 459 EditableTextUses:183Used by:461
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClip {ZeroBullets_fla.Bonus2_139}Uses:456 457 458 459 460Used by:Timeline
Symbol 462 GraphicUsed by:464
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClip {ZeroBullets_fla.Bonus_maxInfo3_142}Uses:462 463Used by:469
Symbol 465 EditableTextUses:183Used by:469
Symbol 466 EditableTextUses:183Used by:469
Symbol 467 EditableTextUses:183Used by:469
Symbol 468 GraphicUsed by:469 476
Symbol 469 MovieClip {ZeroBullets_fla.Bonus3_141}Uses:464 465 466 467 468Used by:Timeline
Symbol 470 GraphicUsed by:472
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClip {ZeroBullets_fla.Bonus_maxInfo4_144}Uses:470 471Used by:476
Symbol 473 EditableTextUses:183Used by:476
Symbol 474 EditableTextUses:183Used by:476
Symbol 475 EditableTextUses:183Used by:476
Symbol 476 MovieClip {ZeroBullets_fla.Bonus4_143}Uses:472 473 474 475 468Used by:Timeline
Symbol 477 GraphicUsed by:479
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClip {ZeroBullets_fla.Bonus_maxInfo5_146}Uses:477 478Used by:484
Symbol 480 EditableTextUses:183Used by:484
Symbol 481 EditableTextUses:183Used by:484
Symbol 482 EditableTextUses:183Used by:484
Symbol 483 GraphicUsed by:484
Symbol 484 MovieClip {ZeroBullets_fla.Bonus5_145}Uses:479 480 481 482 483Used by:Timeline
Symbol 485 GraphicUsed by:487
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClip {ZeroBullets_fla.Bonus_maxInfo6_148}Uses:485 486Used by:492
Symbol 488 EditableTextUses:183Used by:492
Symbol 489 EditableTextUses:183Used by:492
Symbol 490 EditableTextUses:183Used by:492
Symbol 491 GraphicUsed by:492
Symbol 492 MovieClip {ZeroBullets_fla.Bonus6_147}Uses:487 488 489 490 491Used by:Timeline
Symbol 493 GraphicUsed by:Timeline
Symbol 494 GraphicUses:332Used by:500
Symbol 495 GraphicUsed by:500
Symbol 496 BitmapUsed by:497
Symbol 497 GraphicUses:496Used by:500
Symbol 498 BitmapUsed by:499
Symbol 499 GraphicUses:498Used by:500
Symbol 500 MovieClip {background}Uses:494 495 497 499Used by:Timeline
Symbol 501 GraphicUsed by:Timeline
Symbol 502 GraphicUsed by:Timeline
Symbol 503 EditableTextUses:183Used by:Timeline
Symbol 504 EditableTextUses:183Used by:Timeline
Symbol 505 GraphicUsed by:506
Symbol 506 MovieClipUses:505Used by:Timeline

Instance Names

"loader"Frame 1Symbol 13 MovieClip {ZeroBullets_fla.loader_1}
"towerLog"Frame 1Symbol 16 Button
"backSimpleGame"Frame 1Symbol 18 MovieClip
"adBox"Frame 1Symbol 21 MovieClip
"loadplayBtn"Frame 1Symbol 25 Button {btn__play}
"intro"Frame 2Symbol 33 MovieClip {ZeroBullets_fla.main_loader_6}
"helpBtn"Frame 4Symbol 295 Button
"creditBtn"Frame 4Symbol 298 Button
"moreBtn"Frame 4Symbol 301 Button
"scoreBtn"Frame 4Symbol 304 Button
"playBtn"Frame 4Symbol 308 Button
"loadBtn"Frame 4Symbol 312 Button
"displayWarning"Frame 4Symbol 315 MovieClip
"achieveBtn"Frame 4Symbol 319 Button
"displayWarningScore"Frame 4Symbol 321 MovieClip
"towerLogo"Frame 4Symbol 16 Button
"addBtn"Frame 4Symbol 327 Button
"menuFX1"Frame 4Symbol 329 MovieClip {ZeroBullets_fla.inBetween_92}
"musicBtn"Frame 4Symbol 189 MovieClip {BtnMusic}
"sfxBtn"Frame 4Symbol 192 MovieClip {BtnSfx}
"menuFX2"Frame 4Symbol 331 MovieClip {ZeroBullets_fla.Timeline_93}
"menuBtn"Frame 5Symbol 337 Button
"helpText"Frame 5Symbol 344 MovieClip {ZeroBullets_fla.DisplayHelp_95}
"prevTextBtn"Frame 5Symbol 259 Button
"nextTextBtn"Frame 5Symbol 256 Button
"acv1"Frame 6Symbol 350 MovieClip {ZeroBullets_fla.achievement1_96}
"acv2"Frame 6Symbol 353 MovieClip {ZeroBullets_fla.achievement2_97}
"acv3"Frame 6Symbol 356 MovieClip {ZeroBullets_fla.achievement3_98}
"acv4"Frame 6Symbol 359 MovieClip {ZeroBullets_fla.achievement4_99}
"acv5"Frame 6Symbol 362 MovieClip {ZeroBullets_fla.achievement5_100}
"acv6"Frame 6Symbol 365 MovieClip {ZeroBullets_fla.achievement6_101}
"acv7"Frame 6Symbol 368 MovieClip {ZeroBullets_fla.achievement7_102}
"acv8"Frame 6Symbol 371 MovieClip {ZeroBullets_fla.achievement8_103}
"acv9"Frame 6Symbol 374 MovieClip {ZeroBullets_fla.achievement9_104}
"acv10"Frame 6Symbol 377 MovieClip {ZeroBullets_fla.achievement10_105}
"levelBtn_1"Frame 8Symbol 383 MovieClip {ZeroBullets_fla.Level_1_106}
"levelBtn_2"Frame 8Symbol 388 MovieClip {ZeroBullets_fla.Level_2_108}
"levelBtn_3"Frame 8Symbol 391 MovieClip {ZeroBullets_fla.Level_3_111}
"levelBtn_4"Frame 8Symbol 394 MovieClip {ZeroBullets_fla.Level_4_113}
"levelBtn_5"Frame 8Symbol 397 MovieClip {ZeroBullets_fla.Level_5_115}
"levelBtn_6"Frame 8Symbol 400 MovieClip {ZeroBullets_fla.Level_6_117}
"levelBtn_7"Frame 8Symbol 403 MovieClip {ZeroBullets_fla.Level_7_119}
"levelBtn_8"Frame 8Symbol 406 MovieClip {ZeroBullets_fla.Level_8_121}
"levelBtn_9"Frame 8Symbol 409 MovieClip {ZeroBullets_fla.Level_9_123}
"levelBtn_10"Frame 8Symbol 412 MovieClip {ZeroBullets_fla.Level_10_125}
"levelBtn_11"Frame 8Symbol 415 MovieClip {ZeroBullets_fla.Level_11_127}
"levelBtn_12"Frame 8Symbol 418 MovieClip {ZeroBullets_fla.Level_12_129}
"levelBtn_13"Frame 8Symbol 421 MovieClip {ZeroBullets_fla.Level_13_131}
"padlock"Frame 8Symbol 426 MovieClip {ZeroBullets_fla.Symbol12_134}
"money_txt"Frame 8Symbol 427 EditableText
"upgradeInfo"Frame 8Symbol 437 MovieClip {ZeroBullets_fla.Bonus_info_136}
"Bonus1"Frame 8Symbol 453 MovieClip {ZeroBullets_fla.Bonus1_137}
"Bonus2"Frame 8Symbol 461 MovieClip {ZeroBullets_fla.Bonus2_139}
"Bonus3"Frame 8Symbol 469 MovieClip {ZeroBullets_fla.Bonus3_141}
"Bonus4"Frame 8Symbol 476 MovieClip {ZeroBullets_fla.Bonus4_143}
"Bonus5"Frame 8Symbol 484 MovieClip {ZeroBullets_fla.Bonus5_145}
"Bonus6"Frame 8Symbol 492 MovieClip {ZeroBullets_fla.Bonus6_147}
"back"Frame 9Symbol 500 MovieClip {background}
"health"Frame 9Symbol 194 MovieClip
"money_txt"Frame 9Symbol 503 EditableText
"level_txt"Frame 9Symbol 504 EditableText
"hiddenBtn"Frame 10Symbol 506 MovieClip
"menuFX3"Frame 10Symbol 182 MovieClip {inBetween2}
"light"Symbol 57 MovieClip {Hero} Frame 1Symbol 53 MovieClip
"Hero_sub"Symbol 57 MovieClip {Hero} Frame 1Symbol 55 MovieClip
"sub_shield"Symbol 62 MovieClip {Shield} Frame 1Symbol 61 MovieClip
"sub"Symbol 69 MovieClip {Enemy} Frame 1Symbol 65 MovieClip
"shadow"Symbol 69 MovieClip {Enemy} Frame 1Symbol 68 MovieClip
"shadow"Symbol 76 MovieClip {Enemy2} Frame 1Symbol 72 MovieClip
"sub"Symbol 76 MovieClip {Enemy2} Frame 1Symbol 75 MovieClip
"sub"Symbol 114 MovieClip {Enemy3} Frame 1Symbol 110 MovieClip
"shadow"Symbol 114 MovieClip {Enemy3} Frame 1Symbol 113 MovieClip
"sub"Symbol 121 MovieClip {Enemy9} Frame 1Symbol 117 MovieClip
"shadow"Symbol 121 MovieClip {Enemy9} Frame 1Symbol 120 MovieClip
"sub"Symbol 128 MovieClip {Enemy4} Frame 1Symbol 124 MovieClip
"shadow"Symbol 128 MovieClip {Enemy4} Frame 1Symbol 127 MovieClip
"sub"Symbol 135 MovieClip {Enemy6} Frame 1Symbol 131 MovieClip
"shadow"Symbol 135 MovieClip {Enemy6} Frame 1Symbol 134 MovieClip
"sub"Symbol 144 MovieClip {Enemy10} Frame 1Symbol 140 MovieClip
"health"Symbol 144 MovieClip {Enemy10} Frame 1Symbol 143 MovieClip
"sub"Symbol 151 MovieClip {Enemy8} Frame 1Symbol 147 MovieClip
"shadow"Symbol 151 MovieClip {Enemy8} Frame 1Symbol 150 MovieClip
"sub"Symbol 158 MovieClip {Enemy7} Frame 1Symbol 154 MovieClip
"shadow"Symbol 158 MovieClip {Enemy7} Frame 1Symbol 157 MovieClip
"sub"Symbol 165 MovieClip {Enemy5} Frame 1Symbol 161 MovieClip
"shadow"Symbol 165 MovieClip {Enemy5} Frame 1Symbol 164 MovieClip
"shadow"Symbol 172 MovieClip {Enemy11} Frame 1Symbol 168 MovieClip
"sub"Symbol 172 MovieClip {Enemy11} Frame 1Symbol 171 MovieClip
"health"Symbol 172 MovieClip {Enemy11} Frame 1Symbol 143 MovieClip
"shadow"Symbol 179 MovieClip {Enemy12} Frame 1Symbol 175 MovieClip
"sub"Symbol 179 MovieClip {Enemy12} Frame 1Symbol 178 MovieClip
"health"Symbol 179 MovieClip {Enemy12} Frame 1Symbol 143 MovieClip
"money_txt"Symbol 197 MovieClip {DisplayHeader} Frame 1Symbol 184 EditableText
"level_txt"Symbol 197 MovieClip {DisplayHeader} Frame 1Symbol 185 EditableText
"musicBtn"Symbol 197 MovieClip {DisplayHeader} Frame 1Symbol 189 MovieClip {BtnMusic}
"sfxBtn"Symbol 197 MovieClip {DisplayHeader} Frame 1Symbol 192 MovieClip {BtnSfx}
"health"Symbol 197 MovieClip {DisplayHeader} Frame 1Symbol 194 MovieClip
"magicloader"Symbol 197 MovieClip {DisplayHeader} Frame 1Symbol 195 MovieClip
"nextBtn"Symbol 234 MovieClip {StatsMc} Frame 1Symbol 211 Button
"enemy_txt"Symbol 234 MovieClip {StatsMc} Frame 1Symbol 212 EditableText
"credit_txt"Symbol 234 MovieClip {StatsMc} Frame 1Symbol 213 EditableText
"hit_txt"Symbol 234 MovieClip {StatsMc} Frame 1Symbol 214 EditableText
"total_txt"Symbol 234 MovieClip {StatsMc} Frame 1Symbol 215 EditableText
"enemy_txt"Symbol 234 MovieClip {StatsMc} Frame 3Symbol 223 EditableText
"credit_txt"Symbol 234 MovieClip {StatsMc} Frame 3Symbol 224 EditableText
"hit_txt"Symbol 234 MovieClip {StatsMc} Frame 3Symbol 225 EditableText
"total_txt"Symbol 234 MovieClip {StatsMc} Frame 3Symbol 226 EditableText
"enemy_txt"Symbol 234 MovieClip {StatsMc} Frame 5Symbol 228 EditableText
"credit_txt"Symbol 234 MovieClip {StatsMc} Frame 5Symbol 229 EditableText
"hit_txt"Symbol 234 MovieClip {StatsMc} Frame 5Symbol 230 EditableText
"total_txt"Symbol 234 MovieClip {StatsMc} Frame 5Symbol 231 EditableText
"name_txt"Symbol 234 MovieClip {StatsMc} Frame 5Symbol 232 EditableText
"playBtn"Symbol 261 MovieClip {DisplayHint} Frame 1Symbol 25 Button {btn__play}
"sub"Symbol 261 MovieClip {DisplayHint} Frame 1Symbol 252 MovieClip {ZeroBullets_fla.DisplayHint_sub_69}
"nextBtn"Symbol 261 MovieClip {DisplayHint} Frame 1Symbol 256 Button
"prevBtn"Symbol 261 MovieClip {DisplayHint} Frame 1Symbol 259 Button
"yesBtn"Symbol 273 MovieClip {DisplayPause} Frame 1Symbol 267 Button
"noBtn"Symbol 273 MovieClip {DisplayPause} Frame 1Symbol 271 Button
"yesBtn"Symbol 315 MovieClip Frame 1Symbol 267 Button
"noBtn"Symbol 315 MovieClip Frame 1Symbol 271 Button
"efek"Symbol 383 MovieClip {ZeroBullets_fla.Level_1_106} Frame 1Symbol 382 MovieClip {ZeroBullets_fla.Level_1sub_107}
"efek"Symbol 388 MovieClip {ZeroBullets_fla.Level_2_108} Frame 1Symbol 385 MovieClip {ZeroBullets_fla.Level_2sub_109}
"sub"Symbol 388 MovieClip {ZeroBullets_fla.Level_2_108} Frame 1Symbol 387 MovieClip
"efek"Symbol 391 MovieClip {ZeroBullets_fla.Level_3_111} Frame 1Symbol 390 MovieClip {ZeroBullets_fla.Level_3sub_112}
"sub"Symbol 391 MovieClip {ZeroBullets_fla.Level_3_111} Frame 1Symbol 387 MovieClip
"efek"Symbol 394 MovieClip {ZeroBullets_fla.Level_4_113} Frame 1Symbol 393 MovieClip {ZeroBullets_fla.Level_4sub_114}
"sub"Symbol 394 MovieClip {ZeroBullets_fla.Level_4_113} Frame 1Symbol 387 MovieClip
"efek"Symbol 397 MovieClip {ZeroBullets_fla.Level_5_115} Frame 1Symbol 396 MovieClip {ZeroBullets_fla.Level_5sub_116}
"sub"Symbol 397 MovieClip {ZeroBullets_fla.Level_5_115} Frame 1Symbol 387 MovieClip
"efek"Symbol 400 MovieClip {ZeroBullets_fla.Level_6_117} Frame 1Symbol 399 MovieClip {ZeroBullets_fla.Level_6sub_118}
"sub"Symbol 400 MovieClip {ZeroBullets_fla.Level_6_117} Frame 1Symbol 387 MovieClip
"efek"Symbol 403 MovieClip {ZeroBullets_fla.Level_7_119} Frame 1Symbol 402 MovieClip {ZeroBullets_fla.Level_7sub_120}
"sub"Symbol 403 MovieClip {ZeroBullets_fla.Level_7_119} Frame 1Symbol 387 MovieClip
"efek"Symbol 406 MovieClip {ZeroBullets_fla.Level_8_121} Frame 1Symbol 405 MovieClip {ZeroBullets_fla.Level_8sub_122}
"sub"Symbol 406 MovieClip {ZeroBullets_fla.Level_8_121} Frame 1Symbol 387 MovieClip
"efek"Symbol 409 MovieClip {ZeroBullets_fla.Level_9_123} Frame 1Symbol 408 MovieClip {ZeroBullets_fla.Level_9sub_124}
"sub"Symbol 409 MovieClip {ZeroBullets_fla.Level_9_123} Frame 1Symbol 387 MovieClip
"efek"Symbol 412 MovieClip {ZeroBullets_fla.Level_10_125} Frame 1Symbol 411 MovieClip {ZeroBullets_fla.Level_10sub_126}
"sub"Symbol 412 MovieClip {ZeroBullets_fla.Level_10_125} Frame 1Symbol 387 MovieClip
"efek"Symbol 415 MovieClip {ZeroBullets_fla.Level_11_127} Frame 1Symbol 414 MovieClip {ZeroBullets_fla.Level_11sub_128}
"sub"Symbol 415 MovieClip {ZeroBullets_fla.Level_11_127} Frame 1Symbol 387 MovieClip
"efek"Symbol 418 MovieClip {ZeroBullets_fla.Level_12_129} Frame 1Symbol 417 MovieClip {ZeroBullets_fla.Level_12sub_130}
"sub"Symbol 418 MovieClip {ZeroBullets_fla.Level_12_129} Frame 1Symbol 387 MovieClip
"efek"Symbol 421 MovieClip {ZeroBullets_fla.Level_13_131} Frame 1Symbol 420 MovieClip {ZeroBullets_fla.Level_13sub_132}
"sub"Symbol 421 MovieClip {ZeroBullets_fla.Level_13_131} Frame 1Symbol 387 MovieClip
"pad"Symbol 426 MovieClip {ZeroBullets_fla.Symbol12_134} Frame 1Symbol 425 MovieClip {ZeroBullets_fla.padloooc_135}
"this_maxInfo"Symbol 453 MovieClip {ZeroBullets_fla.Bonus1_137} Frame 1Symbol 440 MovieClip {ZeroBullets_fla.Bonus_maxInfo1_138}
"this_Price"Symbol 453 MovieClip {ZeroBullets_fla.Bonus1_137} Frame 1Symbol 441 EditableText
"this_Level"Symbol 453 MovieClip {ZeroBullets_fla.Bonus1_137} Frame 1Symbol 442 EditableText
"this_levelMax"Symbol 453 MovieClip {ZeroBullets_fla.Bonus1_137} Frame 1Symbol 443 EditableText
"this_maxInfo"Symbol 461 MovieClip {ZeroBullets_fla.Bonus2_139} Frame 1Symbol 456 MovieClip {ZeroBullets_fla.Bonus_maxInfo2_140}
"this_Price"Symbol 461 MovieClip {ZeroBullets_fla.Bonus2_139} Frame 1Symbol 457 EditableText
"this_Level"Symbol 461 MovieClip {ZeroBullets_fla.Bonus2_139} Frame 1Symbol 458 EditableText
"this_levelMax"Symbol 461 MovieClip {ZeroBullets_fla.Bonus2_139} Frame 1Symbol 459 EditableText
"this_maxInfo"Symbol 469 MovieClip {ZeroBullets_fla.Bonus3_141} Frame 1Symbol 464 MovieClip {ZeroBullets_fla.Bonus_maxInfo3_142}
"this_Price"Symbol 469 MovieClip {ZeroBullets_fla.Bonus3_141} Frame 1Symbol 465 EditableText
"this_Level"Symbol 469 MovieClip {ZeroBullets_fla.Bonus3_141} Frame 1Symbol 466 EditableText
"this_levelMax"Symbol 469 MovieClip {ZeroBullets_fla.Bonus3_141} Frame 1Symbol 467 EditableText
"this_maxInfo"Symbol 476 MovieClip {ZeroBullets_fla.Bonus4_143} Frame 1Symbol 472 MovieClip {ZeroBullets_fla.Bonus_maxInfo4_144}
"this_Price"Symbol 476 MovieClip {ZeroBullets_fla.Bonus4_143} Frame 1Symbol 473 EditableText
"this_Level"Symbol 476 MovieClip {ZeroBullets_fla.Bonus4_143} Frame 1Symbol 474 EditableText
"this_levelMax"Symbol 476 MovieClip {ZeroBullets_fla.Bonus4_143} Frame 1Symbol 475 EditableText
"this_maxInfo"Symbol 484 MovieClip {ZeroBullets_fla.Bonus5_145} Frame 1Symbol 479 MovieClip {ZeroBullets_fla.Bonus_maxInfo5_146}
"this_Price"Symbol 484 MovieClip {ZeroBullets_fla.Bonus5_145} Frame 1Symbol 480 EditableText
"this_Level"Symbol 484 MovieClip {ZeroBullets_fla.Bonus5_145} Frame 1Symbol 481 EditableText
"this_levelMax"Symbol 484 MovieClip {ZeroBullets_fla.Bonus5_145} Frame 1Symbol 482 EditableText
"this_maxInfo"Symbol 492 MovieClip {ZeroBullets_fla.Bonus6_147} Frame 1Symbol 487 MovieClip {ZeroBullets_fla.Bonus_maxInfo6_148}
"this_Price"Symbol 492 MovieClip {ZeroBullets_fla.Bonus6_147} Frame 1Symbol 488 EditableText
"this_Level"Symbol 492 MovieClip {ZeroBullets_fla.Bonus6_147} Frame 1Symbol 489 EditableText
"this_levelMax"Symbol 492 MovieClip {ZeroBullets_fla.Bonus6_147} Frame 1Symbol 490 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11284 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."
Protect (24)Timeline Frame 131 bytes "..$1$6J$qHKVocv24mqq9JXnhLpnJ.."

Labels

"menu"Frame 4
"help"Frame 5
"achieve"Frame 6
"credit"Frame 7
"levelupgrade"Frame 8
"stats"Frame 9
"play"Frame 10




http://swfchan.com/19/92547/info.shtml
Created: 27/3 -2019 09:24:24 Last modified: 27/3 -2019 09:24:24 Server time: 02/05 -2024 14:28:06