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

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

Bunny Charm 1.2.swf

This is the info page for
Flash #73267

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


Text
1

2

3

4

5

RIP

Congratulations!

GAME OVER

TRY AGAIN

TRY AGAIN

TRY AGAIN

BACK

BACK

BACK

Did you like the game? YOU can
decide it's features! Just...

JOIN US HERE!

JOIN US HERE!

YOU WIN!

Easy

New

Enemy

Normal

Boss

1

Hard

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

New

Boss

31

32

33

34

35

36

37

38

39

40

30

40

CURRENT WAVE

<p align="right"><font face="Arial Black" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>10</b></font></p>

<p align="center"><font face="Arial Black" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>10</b></font></p>

<p align="right"><font face="Arial Black" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>10</b></font></p>

Jugador

Points Availble:

Speed:

<p align="center"><font face="Arial Black" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1"><b>10</b></font></p>

Damage:

Rate of Fire:

Range:

UP

<p align="center"><font face="Arial Black" size="26" color="#000000" letterSpacing="0.000000" kerning="1">8</font></p>

UP

22

Level Up

B

B

T

T

M

M

$

continue

NEXT WAVE

main menu

pause

TRAPS

WEAPONS

Click to unlock

Explosive Mine

$5

High damage, small
blast effect area.

Poisson Mine

Periodic damage,
medium blast effect
area.

$15

Freeze Trap

Freezes enemies for
5 seconds.

$10

Dynamite

After 2 sec, high
damage and blast
effect area.

Blocking Box

Lets you build your
own enviorment.

Upgrade Points

Use them to
improove your stats.

Speed

Each point spent
adds 1 point to your
base running speed.

Damage

Each point spent
adds 1 point to your
base firing damage.

Range

Each point spent adds
10 points to your base
firing range.

Beretta

Damage:
Speed:
Range:
Rate of Fire:

Uzi

2 UP

M16

Shotgun

4 UP

Sniper Rifle

RPG

6 UP

$

Dom:

10

$

2332

Score

1 lvl

Choose an option...

ACHIEVEMENTS

ACHIEVEMENTS

ACHIEVEMENTS

EASY

MAP:
Three easy ways

EASY

MAP:
Three easy ways

EASY

MAP:
Three easy ways

HARD

MAP:
All mighty bunny

HARD

MAP:
All mighty bunny

HARD

MAP:
All mighty bunny

Normal

MAP:
Five corners

Normal

MAP:
Five corners

Normal

MAP:
Five corners

CHALLENGE

MAP:
No way, Jose!

CHALLENGE

MAP:
No way, Jose!

CHALLENGE

MAP:
No way, Jose!

SANDBOX

Easy

SANDBOX

Easy

SANDBOX

Easy

Normal

SANDBOX

Normal

Normal

SANDBOX

Hard

SANDBOX

Hard

SANDBOX

Hard

how to play

BACK

BACK

BACK

MOVE

SHOOT & AIM

CONQUEST

UPGRADE POINTS

W

S

A

D

Get them by leveling.
Use your points to
upgrade you special
abilities and unlock
weapons.

You gain experience
this way.

SET TRAPS

Use the money you
earn from killing
enemies to buy traps.
You can drag from the
menu at your right and
drop them anywhere in
the game field.

Achievements

UP

UP

UP

DOWN

DOWN

DOWN

asd

Suasd

Ach. Score:

Progress:

100

Progress:

Beat Easy Mode

Survive through all 30 levels in easy mode.

Completed

100

Beat Easy Mode

Survive through all 30 levels in easy mode.

100

PLAY

PLAY

PLAY

achievements

achievements

Highscores

Highscores

Highscores

Name

Achievements:

Level:

300

1

MOVE

AIM & SHOOT

W

S

A

D

Welcome

Achieves Level

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

Achieves Score

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

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

Skip (enter)

Welcome back

What is your name ?

Name

OK

OK

Enjoy the experience of FUN

www.cuaticgames.com

R.I.P.

Congratulations!

You have ascended to level        !

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

NEW LEVEL REACHED:

Achievement Acomplished!

Beat Classic Easy Mode!

Achievement Accomplished: Beat Easy Mode!

Beat Classic Normal Mode!

Achievement Accomplished: Beat Normal Mode!

Beat Classic Hard Mode!

Achievement Accomplished: Beat Hard Mode!

Beat Millionare Mode!

Beat Creep Run Mode!

Beat Challenge Mode!

Kill 5000 Foes using your gun!

survive the enemy attacks!

UNDER
CONTROL

LOSING POINT

CONTROLING

PAUSE

<p align="center"><font face="Arial Black" size="19" color="#ffffff" letterSpacing="0.000000" kerning="1">23</font></p>

EVERYTHING,
BY EVERYONE.

ActionScript [AS3]

Section 1
//Action_4 (BunnyCharm_fla.Action_4) package BunnyCharm_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Action_4 extends MovieClip { public function Action_4(){ super(); addFrameScript(0, frame1); } public function onComplete(event:Event):void{ MovieClip(parent).gotoAndPlay("loaded"); } public function progressHandler(event:ProgressEvent):void{ var PercentLoaded:int; PercentLoaded = Math.round(((event.target.bytesLoaded / event.target.bytesTotal) * 100)); MovieClip(parent).gotoAndStop(PercentLoaded); } function frame1(){ MovieClip(root).stop(); if (root.loaderInfo.bytesLoaded == root.loaderInfo.bytesTotal){ MovieClip(parent).gotoAndPlay("loaded"); }; root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); root.loaderInfo.addEventListener(Event.COMPLETE, onComplete); } } }//package BunnyCharm_fla
Section 2
//akButton_314 (BunnyCharm_fla.akButton_314) package BunnyCharm_fla { import flash.display.*; public dynamic class akButton_314 extends MovieClip { public var block:MovieClip; public var selected:MovieClip; public var marcoBoton:MovieClip; public function akButton_314(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 3
//animacion_GAMAGA_11 (BunnyCharm_fla.animacion_GAMAGA_11) package BunnyCharm_fla { import flash.display.*; import com.kongregate.as3.client.*; public dynamic class animacion_GAMAGA_11 extends MovieClip { public var uiCanvas:UICanvas; public var kongregate:KongregateAPI; public function animacion_GAMAGA_11(){ super(); addFrameScript(226, frame227); } function frame227(){ kongregate = new KongregateAPI(); this.addChild(kongregate); uiCanvas = new UICanvas(kongregate); parent.addChild(uiCanvas); stop(); } } }//package BunnyCharm_fla
Section 4
//axionConquista_mc_50 (BunnyCharm_fla.axionConquista_mc_50) package BunnyCharm_fla { import flash.display.*; public dynamic class axionConquista_mc_50 extends MovieClip { public function axionConquista_mc_50(){ super(); addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package BunnyCharm_fla
Section 5
//baseButton_291 (BunnyCharm_fla.baseButton_291) package BunnyCharm_fla { import flash.display.*; public dynamic class baseButton_291 extends MovieClip { public var marcoBoton:MovieClip; public function baseButton_291(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 6
//berettaButton_316 (BunnyCharm_fla.berettaButton_316) package BunnyCharm_fla { import flash.display.*; public dynamic class berettaButton_316 extends MovieClip { public var block:MovieClip; public var selected:MovieClip; public var marcoBoton:MovieClip; public function berettaButton_316(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 7
//boxButton_309 (BunnyCharm_fla.boxButton_309) package BunnyCharm_fla { import flash.display.*; public dynamic class boxButton_309 extends MovieClip { public var marcoBoton:MovieClip; public function boxButton_309(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 8
//Cuatic_178 (BunnyCharm_fla.Cuatic_178) package BunnyCharm_fla { import flash.display.*; public dynamic class Cuatic_178 extends MovieClip { public var slogan:MovieClip; public function Cuatic_178(){ super(); addFrameScript(84, frame85); } function frame85(){ stop(); } } }//package BunnyCharm_fla
Section 9
//DamageIcon_279 (BunnyCharm_fla.DamageIcon_279) package BunnyCharm_fla { import flash.display.*; import flash.text.*; public dynamic class DamageIcon_279 extends MovieClip { public var damagePoints:TextField; public function DamageIcon_279(){ super(); } } }//package BunnyCharm_fla
Section 10
//dedoMuerte1_mc_66 (BunnyCharm_fla.dedoMuerte1_mc_66) package BunnyCharm_fla { import flash.display.*; public dynamic class dedoMuerte1_mc_66 extends MovieClip { public function dedoMuerte1_mc_66(){ super(); addFrameScript(82, frame83); } function frame83(){ stop(); } } }//package BunnyCharm_fla
Section 11
//dedoMuerte3_mc_136 (BunnyCharm_fla.dedoMuerte3_mc_136) package BunnyCharm_fla { import flash.display.*; public dynamic class dedoMuerte3_mc_136 extends MovieClip { public function dedoMuerte3_mc_136(){ super(); addFrameScript(82, frame83); } function frame83(){ stop(); } } }//package BunnyCharm_fla
Section 12
//dedoMuerteDedal_mccopy_118 (BunnyCharm_fla.dedoMuerteDedal_mccopy_118) package BunnyCharm_fla { import flash.display.*; public dynamic class dedoMuerteDedal_mccopy_118 extends MovieClip { public function dedoMuerteDedal_mccopy_118(){ super(); addFrameScript(82, frame83); } function frame83(){ stop(); } } }//package BunnyCharm_fla
Section 13
//dedoMuerteIndice_86 (BunnyCharm_fla.dedoMuerteIndice_86) package BunnyCharm_fla { import flash.display.*; public dynamic class dedoMuerteIndice_86 extends MovieClip { public function dedoMuerteIndice_86(){ super(); addFrameScript(82, frame83); } function frame83(){ stop(); } } }//package BunnyCharm_fla
Section 14
//dedoMuerteRunner_153 (BunnyCharm_fla.dedoMuerteRunner_153) package BunnyCharm_fla { import flash.display.*; public dynamic class dedoMuerteRunner_153 extends MovieClip { public function dedoMuerteRunner_153(){ super(); addFrameScript(82, frame83); } function frame83(){ stop(); } } }//package BunnyCharm_fla
Section 15
//dedoMuerteShooter_105 (BunnyCharm_fla.dedoMuerteShooter_105) package BunnyCharm_fla { import flash.display.*; public dynamic class dedoMuerteShooter_105 extends MovieClip { public function dedoMuerteShooter_105(){ super(); addFrameScript(82, frame83); } function frame83(){ stop(); } } }//package BunnyCharm_fla
Section 16
//desertButton_311 (BunnyCharm_fla.desertButton_311) package BunnyCharm_fla { import flash.display.*; public dynamic class desertButton_311 extends MovieClip { public var block:MovieClip; public var selected:MovieClip; public var marcoBoton:MovieClip; public function desertButton_311(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 17
//DinamyteButton_301 (BunnyCharm_fla.DinamyteButton_301) package BunnyCharm_fla { import flash.display.*; public dynamic class DinamyteButton_301 extends MovieClip { public var marcoBoton:MovieClip; public function DinamyteButton_301(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 18
//ExpBar_281 (BunnyCharm_fla.ExpBar_281) package BunnyCharm_fla { import flash.display.*; public dynamic class ExpBar_281 extends MovieClip { public var barMask:MovieClip; public function ExpBar_281(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 19
//flameButton_317 (BunnyCharm_fla.flameButton_317) package BunnyCharm_fla { import flash.display.*; public dynamic class flameButton_317 extends MovieClip { public var block:MovieClip; public var selected:MovieClip; public var marcoBoton:MovieClip; public function flameButton_317(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 20
//HealthBar_284 (BunnyCharm_fla.HealthBar_284) package BunnyCharm_fla { import flash.display.*; public dynamic class HealthBar_284 extends MovieClip { public var barMask:MovieClip; public function HealthBar_284(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 21
//impactoEnergia_mc_31 (BunnyCharm_fla.impactoEnergia_mc_31) package BunnyCharm_fla { import flash.display.*; public dynamic class impactoEnergia_mc_31 extends MovieClip { public function impactoEnergia_mc_31(){ super(); addFrameScript(9, frame10); } function frame10(){ stop(); parent.removeChild(this); } } }//package BunnyCharm_fla
Section 22
//informacionJugador_195 (BunnyCharm_fla.informacionJugador_195) package BunnyCharm_fla { import flash.display.*; import flash.text.*; public dynamic class informacionJugador_195 extends MovieClip { public var playerName:TextField; public var playerLevel:TextField; public var playerScore:TextField; public function informacionJugador_195(){ super(); } } }//package BunnyCharm_fla
Section 23
//loadED_5 (BunnyCharm_fla.loadED_5) package BunnyCharm_fla { import flash.display.*; public dynamic class loadED_5 extends MovieClip { public function loadED_5(){ super(); addFrameScript(39, frame40); } function frame40(){ stop(); } } }//package BunnyCharm_fla
Section 24
//MainTimeline (BunnyCharm_fla.MainTimeline) package BunnyCharm_fla { import flash.events.*; import flash.display.*; import com.kongregate.as3.client.*; import flash.net.*; public dynamic class MainTimeline extends MovieClip { public var uiCanvas:UICanvas; public var introButton:SimpleButton; public var kongregate:KongregateAPI; public function MainTimeline(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); introButton.addEventListener(MouseEvent.CLICK, click); } function frame1(){ MochiBot.track(this, "9277cb99"); NewgroundsAPI.linkAPI(this); NewgroundsAPI.connectMovie(7808); stage.showDefaultContextMenu = false; stop(); } function frame4(){ kongregate = new KongregateAPI(); this.addChild(kongregate); uiCanvas = new UICanvas(kongregate); addChild(uiCanvas); stage.showDefaultContextMenu = false; stop(); } function frame2(){ } public function click(e:MouseEvent):void{ navigateToURL(new URLRequest("http://www.gamelaunchproject.com"), "_blank"); introButton.removeEventListener(MouseEvent.CLICK, click); } } }//package BunnyCharm_fla
Section 25
//mano2Muerte01_mc_168 (BunnyCharm_fla.mano2Muerte01_mc_168) package BunnyCharm_fla { import flash.display.*; public dynamic class mano2Muerte01_mc_168 extends MovieClip { public function mano2Muerte01_mc_168(){ super(); addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package BunnyCharm_fla
Section 26
//manoMuerte01_mc_160 (BunnyCharm_fla.manoMuerte01_mc_160) package BunnyCharm_fla { import flash.display.*; public dynamic class manoMuerte01_mc_160 extends MovieClip { public function manoMuerte01_mc_160(){ super(); addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package BunnyCharm_fla
Section 27
//mineButton_299 (BunnyCharm_fla.mineButton_299) package BunnyCharm_fla { import flash.display.*; public dynamic class mineButton_299 extends MovieClip { public var marcoBoton:MovieClip; public function mineButton_299(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 28
//mineButtonfreeze_305 (BunnyCharm_fla.mineButtonfreeze_305) package BunnyCharm_fla { import flash.display.*; public dynamic class mineButtonfreeze_305 extends MovieClip { public var marcoBoton:MovieClip; public function mineButtonfreeze_305(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 29
//MisilButton_294 (BunnyCharm_fla.MisilButton_294) package BunnyCharm_fla { import flash.display.*; public dynamic class MisilButton_294 extends MovieClip { public var marcoBoton:MovieClip; public function MisilButton_294(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 30
//navBer_204 (BunnyCharm_fla.navBer_204) package BunnyCharm_fla { import flash.display.*; public dynamic class navBer_204 extends MovieClip { public var downWindow:SimpleButton; public var upWindow:SimpleButton; public function navBer_204(){ super(); } } }//package BunnyCharm_fla
Section 31
//NG_AD_OBJECT_WITH_PRELOADER_1 (BunnyCharm_fla.NG_AD_OBJECT_WITH_PRELOADER_1) package BunnyCharm_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class NG_AD_OBJECT_WITH_PRELOADER_1 extends MovieClip { public var ng_ad:MovieClip; public var NG_Button:SimpleButton; public function NG_AD_OBJECT_WITH_PRELOADER_1(){ super(); addFrameScript(0, frame1); } public function loadNGSite(event:Event){ NewgroundsAPI.loadNewgrounds(); } public function startAd(ngad_url){ var ad_loader:URLLoader; ad_loader = new URLLoader(new URLRequest(ngad_url)); ad_loader.addEventListener(Event.COMPLETE, ad_Loaded); } function frame1(){ Security.allowDomain("70.87.128.99"); Security.allowInsecureDomain("70.87.128.99"); Security.allowDomain("ads.shizmoo.com"); Security.allowInsecureDomain("ads.shizmoo.com"); Security.allowDomain("www.cpmstar.com"); Security.allowInsecureDomain("www.cpmstar.com"); Security.allowDomain("server.cpmstar.com"); Security.allowInsecureDomain("server.cpmstar.com"); if (NewgroundsAPI.getAdURL()){ startAd(NewgroundsAPI.getAdURL()); }; NewgroundsAPI.addEventListener(NewgroundsAPI.ADS_APPROVED, startAd); NG_Button.addEventListener(MouseEvent.CLICK, loadNGSite); stop(); } public function ad_Loaded(event:Event){ var url:*; var ad_loader:Loader; url = String(event.target.data); ad_loader = new Loader(); ad_loader.load(new URLRequest(url)); ng_ad.addChild(ad_loader); } } }//package BunnyCharm_fla
Section 32
//NG_TANK_9 (BunnyCharm_fla.NG_TANK_9) package BunnyCharm_fla { import flash.events.*; import flash.display.*; public dynamic class NG_TANK_9 extends MovieClip { public var NG_Logo:SimpleButton; public function NG_TANK_9(){ super(); addFrameScript(0, frame1); } public function loadNGSite(event:Event){ NewgroundsAPI.loadNewgrounds(); } function frame1(){ NG_Logo.addEventListener(MouseEvent.CLICK, loadNGSite); } } }//package BunnyCharm_fla
Section 33
//obj01_289 (BunnyCharm_fla.obj01_289) package BunnyCharm_fla { import flash.display.*; import flash.text.*; public dynamic class obj01_289 extends MovieClip { public var actualLevel:TextField; public function obj01_289(){ super(); } } }//package BunnyCharm_fla
Section 34
//RangeIcon_280 (BunnyCharm_fla.RangeIcon_280) package BunnyCharm_fla { import flash.display.*; import flash.text.*; public dynamic class RangeIcon_280 extends MovieClip { public var rangePoints:TextField; public function RangeIcon_280(){ super(); } } }//package BunnyCharm_fla
Section 35
//rocketButton_318 (BunnyCharm_fla.rocketButton_318) package BunnyCharm_fla { import flash.display.*; public dynamic class rocketButton_318 extends MovieClip { public var block:MovieClip; public var selected:MovieClip; public var marcoBoton:MovieClip; public function rocketButton_318(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 36
//SpeedIcon_278 (BunnyCharm_fla.SpeedIcon_278) package BunnyCharm_fla { import flash.display.*; import flash.text.*; public dynamic class SpeedIcon_278 extends MovieClip { public var healthPoints:TextField; public function SpeedIcon_278(){ super(); } } }//package BunnyCharm_fla
Section 37
//TextInfo_319 (BunnyCharm_fla.TextInfo_319) package BunnyCharm_fla { import flash.display.*; public dynamic class TextInfo_319 extends MovieClip { public var unlockable:MovieClip; public function TextInfo_319(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ unlockable.alpha = 0; stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ unlockable.alpha = 0; stop(); } } }//package BunnyCharm_fla
Section 38
//towerButton_293 (BunnyCharm_fla.towerButton_293) package BunnyCharm_fla { import flash.display.*; public dynamic class towerButton_293 extends MovieClip { public var marcoBoton:MovieClip; public function towerButton_293(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 39
//toxicButton_303 (BunnyCharm_fla.toxicButton_303) package BunnyCharm_fla { import flash.display.*; public dynamic class toxicButton_303 extends MovieClip { public var marcoBoton:MovieClip; public function toxicButton_303(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 40
//UPPoints_288 (BunnyCharm_fla.UPPoints_288) package BunnyCharm_fla { import flash.display.*; import flash.text.*; public dynamic class UPPoints_288 extends MovieClip { public var totalPoints:TextField; public function UPPoints_288(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package BunnyCharm_fla
Section 41
//uziButton_315 (BunnyCharm_fla.uziButton_315) package BunnyCharm_fla { import flash.display.*; public dynamic class uziButton_315 extends MovieClip { public var block:MovieClip; public var selected:MovieClip; public var marcoBoton:MovieClip; public function uziButton_315(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 42
//WaveBar_170 (BunnyCharm_fla.WaveBar_170) package BunnyCharm_fla { import flash.display.*; public dynamic class WaveBar_170 extends MovieClip { public function WaveBar_170(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package BunnyCharm_fla
Section 43
//X_LOAD_2 (BunnyCharm_fla.X_LOAD_2) package BunnyCharm_fla { import flash.events.*; import flash.display.*; public dynamic class X_LOAD_2 extends MovieClip { public var NGButton:SimpleButton; public function X_LOAD_2(){ super(); addFrameScript(100, frame101, 150, frame151, 164, frame165); } function frame151(){ NGButton.addEventListener(MouseEvent.CLICK, PlayMovie); } function frame165(){ stop(); } public function PlayMovie(event:Event){ gotoAndStop("end"); MovieClip(root).play(); } function frame101(){ play(); } } }//package BunnyCharm_fla
Section 44
//KongregateEvent (com.kongregate.as3.client.events.KongregateEvent) package com.kongregate.as3.client.events { import flash.events.*; public class KongregateEvent extends Event { public static const COMPLETE:String = "component_api_available"; public function KongregateEvent(_arg1:String){ super(_arg1); } } }//package com.kongregate.as3.client.events
Section 45
//AbstractShadowService (com.kongregate.as3.client.services.AbstractShadowService) package com.kongregate.as3.client.services { import flash.events.*; public class AbstractShadowService extends EventDispatcher { protected function alert(_arg1:String, _arg2:String, _arg3="", _arg4:String=""):void{ trace(((((((("Kongregate API: " + _arg1) + ".") + _arg2) + "(") + _arg3) + ") ") + _arg4)); } } }//package com.kongregate.as3.client.services
Section 46
//HighScoreServiceShadow (com.kongregate.as3.client.services.HighScoreServiceShadow) package com.kongregate.as3.client.services { public class HighScoreServiceShadow extends AbstractShadowService implements IHighScoreServices { private var mode:String; public function HighScoreServiceShadow(){ mode = ""; } public function submit(_arg1:Number, _arg2:String=null):void{ alert("IHighScoreServices", "submit", arguments); } public function connect():Boolean{ alert("IKongregateServices", "connect"); return (true); } public function requestList(_arg1:Function):void{ alert("IHighScoreServices", "requestList", "", (("[Mode: " + mode) + "]")); _arg1({success:false}); } public function setMode(_arg1:String):void{ alert("IHighScoreServices", "setMode", arguments); this.mode = _arg1; } } }//package com.kongregate.as3.client.services
Section 47
//IHighScoreServices (com.kongregate.as3.client.services.IHighScoreServices) package com.kongregate.as3.client.services { public interface IHighScoreServices { function setMode(_arg1:String):void; function submit(_arg1:Number, _arg2:String=null):void; function requestList(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 48
//IKongregateServices (com.kongregate.as3.client.services.IKongregateServices) package com.kongregate.as3.client.services { import flash.events.*; public interface IKongregateServices extends IEventDispatcher { function getPlayerInfo(_arg1:Function):void; function connect(_arg1:Number=-1):Boolean; } }//package com.kongregate.as3.client.services
Section 49
//IStatServices (com.kongregate.as3.client.services.IStatServices) package com.kongregate.as3.client.services { public interface IStatServices { function submitArray(_arg1:Array):void; function submit(_arg1:String, _arg2:Number):void; } }//package com.kongregate.as3.client.services
Section 50
//IUserServices (com.kongregate.as3.client.services.IUserServices) package com.kongregate.as3.client.services { public interface IUserServices { function getName():String; function getPlayerInfo(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 51
//KongregateServiceShadow (com.kongregate.as3.client.services.KongregateServiceShadow) package com.kongregate.as3.client.services { public class KongregateServiceShadow extends AbstractShadowService implements IKongregateServices { public function getName():String{ alert("IKongregateServices", "getName"); return ("Guest"); } public function connect(_arg1:Number=-1):Boolean{ alert("IKongregateServices", "connect", arguments); return (true); } public function getPlayerInfo(_arg1:Function):void{ alert("IKongregateServices", "getPlayerInfo"); _arg1(new Object()); } } }//package com.kongregate.as3.client.services
Section 52
//StatServiceShadow (com.kongregate.as3.client.services.StatServiceShadow) package com.kongregate.as3.client.services { public class StatServiceShadow extends AbstractShadowService implements IStatServices { public function submitArray(_arg1:Array):void{ alert("IStatServices", "submitArray", arguments); } public function submit(_arg1:String, _arg2:Number):void{ alert("IStatServices", "submitStat", arguments); } } }//package com.kongregate.as3.client.services
Section 53
//UserServiceShadow (com.kongregate.as3.client.services.UserServiceShadow) package com.kongregate.as3.client.services { public class UserServiceShadow extends AbstractShadowService implements IUserServices { public function getName():String{ alert("UserService", "getName"); return ("Guest"); } public function getPlayerInfo(_arg1:Function):void{ alert("UserService", "getPlayerInfo"); _arg1({isGuest:true, name:"Guest", points:0, level:0, isMode:false, isAdmin:false, isDeveloper:false, avatarPath:"", chatAvatarPath:""}); } } }//package com.kongregate.as3.client.services
Section 54
//IAPIBootstrap (com.kongregate.as3.client.IAPIBootstrap) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; public interface IAPIBootstrap { function init(_arg1:Event=null, _arg2:Stage=null):void; function hideLog():void; function showLog(_arg1:int=0):void; } }//package com.kongregate.as3.client
Section 55
//KongregateAPI (com.kongregate.as3.client.KongregateAPI) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; import com.kongregate.as3.client.services.*; import flash.utils.*; import com.kongregate.as3.client.events.*; import flash.system.*; import flash.net.*; import flash.errors.*; public class KongregateAPI extends Sprite { private const VERSION:Number = 1; private var loader:Loader; private var loadedDomain:ApplicationDomain; private static const CLASS_USER:String = "com.kongregate.as3.client.services.UserServices"; private static const CLASS_STATS:String = "com.kongregate.as3.client.services.StatServices"; private static const CLASS_SERVICES:String = "com.kongregate.as3.client.services.KongregateServices"; private static const CLASS_SCORES:String = "com.kongregate.as3.client.services.HighScoreServices"; private static const DEBUG_API_URL:String = "//Linuxpc/kongregate/public/flash/API_AS3.swf"; private static var _connected:Boolean; private static var kUser:IUserServices; private static var _loaded:Boolean; private static var kServices:IKongregateServices; private static var kScores:IHighScoreServices; private static var mInstance:KongregateAPI; private static var kStats:IStatServices; private static var kAPI:IAPIBootstrap; public function KongregateAPI(){ if (mInstance != null){ throw (new Error("Warning: KongregateAPI has been added to stage more than once or accessed improperly. Use getInstance() or a stage reference to access.")); }; mInstance = this; this.addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); } public function get loaded():Boolean{ return (_loaded); } public function get connected():Boolean{ return (_connected); } private function alertConnected(_arg1:TimerEvent=null):void{ var _local2:KongregateEvent; var _local3:Boolean; _local2 = new KongregateEvent(KongregateEvent.COMPLETE); _local3 = this.dispatchEvent(_local2); } private function init(_arg1:Event):void{ var _local2:Object; var _local3:String; var _local4:URLRequest; var _local5:LoaderContext; this.removeEventListener(Event.ADDED_TO_STAGE, init); _loaded = false; _connected = false; _local2 = LoaderInfo(root.loaderInfo).parameters; _local3 = _local2.api_path; if (_local3 == null){ trace("Alert: Kongregate API could not be loaded, due to local testing. API will load when the game is uploaded."); createShadowServices(); return; }; Security.allowDomain("*.kongregate.com"); Security.allowDomain("kongregatetrunk.com"); _local4 = new URLRequest(_local3); _local5 = new LoaderContext(false); _local5.applicationDomain = ApplicationDomain.currentDomain; _local5.securityDomain = SecurityDomain.currentDomain; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); loader.load(_local4, _local5); } public function get api():IAPIBootstrap{ return (kAPI); } private function loadComplete(_arg1:Event):void{ getServices(); } public function get scores():IHighScoreServices{ return (kScores); } private function ioErrorHandler(_arg1:IOErrorEvent):void{ throw (new IOError(("API file not found. " + _arg1))); } public function get services():IKongregateServices{ return (kServices); } public function get stats():IStatServices{ return (kStats); } private function createShadowServices():void{ var _local1:Timer; trace(">>> Kongregate Shadow Services instantiated for local development.."); kServices = new KongregateServiceShadow(); kScores = new HighScoreServiceShadow(); kStats = new StatServiceShadow(); kUser = new UserServiceShadow(); _local1 = new Timer(200, 1); _local1.addEventListener(TimerEvent.TIMER_COMPLETE, alertConnected); _local1.start(); _connected = true; } public function get user():IUserServices{ return (kUser); } private function getServices():void{ var _local1:ApplicationDomain; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = ApplicationDomain.currentDomain; kAPI = IAPIBootstrap(loader.getChildAt(0)); this.addChild(loader); _local2 = _local1.getDefinition(CLASS_SERVICES); trace(_local2); kServices = _local2.getInstance(); _local3 = _local1.getDefinition(CLASS_SCORES); kScores = _local3.getInstance(); _local4 = _local1.getDefinition(CLASS_STATS); kStats = _local4.getInstance(); _local5 = _local1.getDefinition(CLASS_USER); kUser = _local5.getInstance(); kServices.connect(VERSION); _loaded = true; _connected = true; alertConnected(); } public static function getInstance():KongregateAPI{ if (!mInstance){ throw (new IllegalOperationError("You must add the Kongregate API component to the stage before attempting to access it.")); }; return (mInstance); } } }//package com.kongregate.as3.client
Section 56
//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public function MochiScores(){ super(); } public static function showLeaderboard(options:Object=null):void{ var options = options; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(callbackObj:Object, callbackMethod:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod); } public static function requestList(callbackObj:Object, callbackMethod:Object=null):void{ MochiServices.send("scores_requestList", null, callbackObj, callbackMethod); } public static function scoresArrayToObjects(scores:Object):Object{ var so:Object; var i:Number; var j:Number; var o:Object; var row_obj:Object; var item:String; var param:String; so = {}; for (item in scores) { if (typeof(scores[item]) == "object"){ if (((!((scores[item].cols == null))) && (!((scores[item].rows == null))))){ so[item] = []; o = scores[item]; j = 0; while (j < o.rows.length) { row_obj = {}; i = 0; while (i < o.cols.length) { row_obj[o.cols[i]] = o.rows[j][i]; i++; }; so[item].push(row_obj); j++; }; } else { so[item] = {}; for (param in scores[item]) { so[item][param] = scores[item][param]; }; }; } else { so[item] = scores[item]; }; }; return (so); } public static function submit(score:Number, name:String, callbackObj:Object=null, callbackMethod:Object=null):void{ MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod); } public static function onClose(args:Object=null):void{ if (args != null){ if (args.error != null){ if (args.error == true){ if (onErrorHandler != null){ if (args.errorCode == null){ args.errorCode = "IOError"; }; onErrorHandler(args.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(boardID:String):void{ MochiScores.boardID = boardID; MochiServices.send("scores_setBoardID", {boardID:boardID}); } } }//package mochi
Section 57
//MochiServices (mochi.MochiServices) package mochi { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.system.*; import flash.net.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public function MochiServices(){ super(); } public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function send(methodName:String, args:Object=null, callbackObject:Object=null, callbackMethod:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(args, callbackObject, callbackMethod); flush(true); return; }; _clip._queue.push({methodName:methodName, args:args, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _clip._nextcallbackID++; }; }; } public static function get connected():Boolean{ return (_connected); } private static function flush(error:Boolean):void{ var request:Object; var callback:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { request = _clip._queue.shift(); callback = null; if (request != null){ if (request.callbackID != null){ callback = _clip._callbacks[request.callbackID]; }; delete _clip._callbacks[request.callbackID]; if (((error) && (!((callback == null))))){ handleError(request.args, callback.callbackObject, callback.callbackMethod); }; }; }; }; }; } private static function clickMovie(url:String, cb:Function):MovieClip{ var avm1_bytecode:Array; var b:int; var header:Array; var footer:Array; var mc:MovieClip; var lc:LocalConnection; var lc_name:String; var ba:ByteArray; var cpool:ByteArray; var actionLength:uint; var fileLength:uint; var loader:Loader; avm1_bytecode = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; header = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; footer = [0, 64, 0, 0, 0]; mc = new MovieClip(); lc = new LocalConnection(); lc_name = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().getTime())); lc = new LocalConnection(); mc.lc = lc; mc.click = cb; lc.client = mc; lc.connect(lc_name); ba = new ByteArray(); cpool = new ByteArray(); cpool.endian = Endian.LITTLE_ENDIAN; cpool.writeShort(1); cpool.writeUTFBytes(((url + " ") + lc_name)); cpool.writeByte(0); actionLength = ((avm1_bytecode.length + cpool.length) + 4); fileLength = (actionLength + 35); ba.endian = Endian.LITTLE_ENDIAN; ba.writeUTFBytes("FWS"); ba.writeByte(8); ba.writeUnsignedInt(fileLength); for each (b in header) { ba.writeByte(b); }; ba.writeUnsignedInt(actionLength); ba.writeByte(136); ba.writeShort(cpool.length); ba.writeBytes(cpool); for each (b in avm1_bytecode) { ba.writeByte(b); }; for each (b in footer) { ba.writeByte(b); }; loader = new Loader(); loader.loadBytes(ba); mc.addChild(loader); return (mc); } private static function init(id:String, clip:Object):void{ _id = id; if (clip != null){ _container = clip; loadCommunicator(id, _container); }; } public static function get childClip():Object{ return (_clip); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function addLinkEvent(url:String, burl:String, btn:DisplayObjectContainer, onClick:Function=null):void{ var netup:Boolean; var vars:Object; var s:String; var i:Number; var x:String; var req:URLRequest; var loader:Loader; var err:Function; var complete:Function; var setURL:Function; var url = url; var burl = burl; var btn = btn; var onClick = onClick; vars = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); s = "?"; i = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://x.mochiads.com/linkping.swf"); loader = new Loader(); err = function (ev:Object):void{ netup = false; ev.target.removeEventListener(ev.type, arguments.callee); }; complete = function (ev:Object):void{ netup = true; ev.target.removeEventListener(ev.type, arguments.callee); }; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); setURL = function ():void{ var u:String; var avm1Click:DisplayObject; if (netup){ u = (url + s); } else { u = burl; }; avm1Click = clickMovie(u, onClick); btn.addChild(avm1Click); avm1Click.scaleX = (0.01 * btn.width); avm1Click.scaleY = (0.01 * btn.height); }; setTimeout(setURL, 1500); } public static function getVersion():String{ return ("1.35"); } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); _listenChannel.close(); _rcvChannel.close(); //unresolved jump var _slot1 = error; }; if (_timer != null){ _timer.stop(); //unresolved jump var _slot1 = error; }; } public static function allowDomains(server:String):String{ var hostname:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (server.indexOf("http://") != -1){ hostname = server.split("/")[2].split(":")[0]; Security.allowDomain(hostname); Security.allowInsecureDomain(hostname); }; return (hostname); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } public static function setContainer(container:Object=null, doAdd:Boolean=true):void{ if (container != null){ if ((container is Sprite)){ _container = container; }; }; if (doAdd){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function onStatus(event:StatusEvent):void{ switch (event.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (pkg:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = pkg; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ method.apply(obj, pkg.args); //unresolved jump var _slot1 = error; trace(((("Error invoking callback method '" + methodName) + "': ") + pkg.toString())); } else { if (obj != null){ obj(pkg.args); //unresolved jump var _slot1 = error; trace(("Error invoking method on object: " + pkg.toString())); }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (args:Object):void{ MochiServices.comChannelName = args.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } private static function handleError(args:Object, callbackObject:Object, callbackMethod:Object):void{ var args = args; var callbackObject = callbackObject; var callbackMethod = callbackMethod; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ var _local5 = callbackObject; _local5[callbackMethod](args); //unresolved jump var _slot1 = error; } else { if (callbackMethod != null){ callbackMethod.apply(args); //unresolved jump var _slot1 = error; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(val:String):void{ if (val != null){ if (val.length > 3){ _sendChannelName = (val + "_fromgame"); _rcvChannelName = val; initComChannels(); }; }; } private static function loadCommunicator(id:String, clip:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var id = id; var clip = clip; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); f = function (ev:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } public static function bringToTop(e:Event):void{ var e = e; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; //unresolved jump var _slot1 = errorObject; trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; } public static function connect(id:String, clip:Object, onError:Object=null):void{ var id = id; var clip = clip; var onError = onError; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (errorCode:String):void{ trace(errorCode); }; }; }; } public static function createEmptyMovieClip(parent:Object, name:String, depth:Number, doAdd:Boolean=true):MovieClip{ var mc:MovieClip; var parent = parent; var name = name; var depth = depth; var doAdd = doAdd; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; parent[name] = mc; //unresolved jump var _slot1 = e; throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); mc["_name"] = name; return (mc); } public static function connectWait(e:TimerEvent):void{ if ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//package mochi
Section 58
//achBar (achBar) package { import flash.display.*; import flash.text.*; public dynamic class achBar extends MovieClip { public var scoreS:TextField; public var titleC:TextField; public var titleS:TextField; public var progressC:TextField; public var descriptionC:TextField; public var descriptionS:TextField; public var scoreC:TextField; public function achBar(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 59
//AchievesWindow (AchievesWindow) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class AchievesWindow extends MovieClip { public var masc:MovieClip; public var padre:UICanvas; public var okButton:SimpleButton; public var navLevel:int;// = 0 public var oSelected:Number; public var downButton:SimpleButton; public var achieves:Array; public var upButton:SimpleButton; var interval:Timer; public var achProgress:Array; public var back:SimpleButton; public var navBar:MovieClip; public function AchievesWindow(padre:UICanvas){ var i:int; navLevel = 0; achieves = new Array(); achProgress = new Array(); super(); this.padre = padre; i = 1; while (i < 13) { achieves.push(generateAchievement(i)); achProgress.push(achieves[(i - 1)].progressC); i++; }; okButton = back; upButton = navBar.upWindow; downButton = navBar.downWindow; x = 275; y = 200; interval = new Timer((1000 / 24), 0); okButton.addEventListener(MouseEvent.CLICK, backClick); okButton.addEventListener(MouseEvent.ROLL_OVER, backOver); okButton.addEventListener(MouseEvent.ROLL_OUT, backOut); okButton.enabled = false; upButton.addEventListener(MouseEvent.CLICK, upClick); downButton.addEventListener(MouseEvent.CLICK, downClick); alpha = 0; } public function backOut(event:MouseEvent):void{ } public function downClick(event:MouseEvent):void{ var i:*; if (navLevel < 20){ navLevel++; i = 0; while (i < achieves.length) { achieves[i].y = (achieves[i].y - (achieves[i].height / 2)); i++; }; }; } function fadeOut(event:TimerEvent):void{ alpha = (alpha - 0.1); okButton.enabled = false; if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.addMainMenu(); padre.removeChild(this); }; } public function backOver(event:MouseEvent):void{ } public function initAchievements(){ var i:*; i = 0; while (i < achieves.length) { if (padre.local_data.data.achScoreList[i] > 0){ achieves[i].gotoAndStop("on"); achProgress[i].text = "Completed"; } else { achieves[i].gotoAndStop("off"); if (padre.achieveSystem.achObjective[i] < 1000){ achProgress[i].text = ((padre.local_data.data.achCount[i] + "/") + padre.achieveSystem.achObjective[i]); } else { achProgress[i].text = (((padre.local_data.data.achCount[i] + "/") + (padre.achieveSystem.achObjective[i] / 1000)) + "k"); }; }; i++; }; } public function generateAchievement(value:Number){ var newAchieveBar:MovieClip; newAchieveBar = new achBar(); if (value < 10){ newAchieveBar.titleC.text = Text[("AchieveTitle0" + value)]; newAchieveBar.titleS.text = Text[("AchieveTitle0" + value)]; newAchieveBar.descriptionC.text = Text[("AchieveDescription0" + value)]; } else { newAchieveBar.titleC.text = Text[("AchieveTitle" + value)]; newAchieveBar.titleS.text = Text[("AchieveTitle" + value)]; newAchieveBar.descriptionC.text = Text[("AchieveDescription" + value)]; }; newAchieveBar.scoreC.text = (padre.local_data.data.achScoreList[(value - 1)] + ""); newAchieveBar.progressC.text = (padre.local_data.data.achCount[(value - 1)] + ""); newAchieveBar.descriptionS.text = "Achievement Completed!"; newAchieveBar.scoreS.text = (padre.achieveSystem.achActualScore[(value - 1)] + ""); newAchieveBar.y = (-57.5 + (62.5 * (value - 1))); this.masc.addChild(newAchieveBar); return (newAchieveBar); } function exitWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeOut); } function fadeIn(event:TimerEvent):void{ alpha = (alpha + 0.1); if (alpha >= 1){ okButton.enabled = true; interval.removeEventListener(TimerEvent.TIMER, fadeIn); }; } public function upClick(event:MouseEvent):void{ var i:*; if (navLevel > 0){ navLevel--; i = 0; while (i < achieves.length) { achieves[i].y = (achieves[i].y + (achieves[i].height / 2)); i++; }; }; } public function backClick(event:MouseEvent):void{ exitWindow(); } function enterWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeIn); interval.start(); } } }//package
Section 60
//AchieveSystem (AchieveSystem) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class AchieveSystem { public var interval:Timer; public var padre:UICanvas; public var achieveScore:Number;// = 0 public var achObjective:Array; public var madeIt:Boolean; public var achCount:Array; public var achScoreList:Array; public var nivelEscalar:Array; public var achieveLevel:Number;// = 1 public var achMes:MovieClip; public var contador:int;// = 20 public var achActualScore:Array; public function AchieveSystem(){ achScoreList = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; achCount = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; achObjective = [1, 1, 1, 1, 5000, 3000, 3000, 3000, 3000, 3000, 3000, 25000]; achActualScore = [100, 200, 300, 600, 200, 400, 500, 600, 700, 800, 900, 1200]; nivelEscalar = [500, 1500, 3500, 6500, 10000]; achieveLevel = 1; achieveScore = 0; contador = 20; super(); } public function initAchievements(){ interval = new Timer((1000 / 24), 0); if (padre.local_data.data.achScoreList == undefined){ padre.local_data.data.achScoreList = achScoreList; padre.local_data.data.achieveScore = achieveScore; padre.local_data.data.achieveLevel = achieveLevel; padre.local_data.data.achCount = achCount; padre.local_data.flush(); }; } public function achMessage(value:int, nextLevel:Boolean){ exitWindow(); } public function exitWindow(){ interval.delay = (1000 / 24); interval.addEventListener(TimerEvent.TIMER, fadeOut); contador = (1500 / 24); interval.start(); } public function saveAchievement(value:Number){ padre.local_data.data.achScoreList[value] = achActualScore[value]; padre.local_data.data.achieveScore = (padre.local_data.data.achieveScore + achActualScore[value]); if ((((padre.local_data.data.achieveScore < nivelEscalar[0])) && ((padre.local_data.data.achieveLevel == 1)))){ padre.local_data.data.achieveLevel = 1; }; if ((((((padre.local_data.data.achieveScore >= nivelEscalar[0])) && ((padre.local_data.data.achieveScore < nivelEscalar[1])))) && ((padre.local_data.data.achieveLevel < 2)))){ padre.local_data.data.achieveLevel = 2; achMessage(0, true); }; if ((((((padre.local_data.data.achieveScore >= nivelEscalar[1])) && ((padre.local_data.data.achieveScore < nivelEscalar[2])))) && ((padre.local_data.data.achieveLevel < 3)))){ padre.local_data.data.achieveLevel = 3; achMessage(0, true); }; if ((((((padre.local_data.data.achieveScore >= nivelEscalar[2])) && ((padre.local_data.data.achieveScore < nivelEscalar[3])))) && ((padre.local_data.data.achieveLevel < 4)))){ padre.local_data.data.achieveLevel = 4; achMessage(0, true); }; if ((((((padre.local_data.data.achieveScore >= nivelEscalar[3])) && ((padre.local_data.data.achieveScore < nivelEscalar[4])))) && ((padre.local_data.data.achieveLevel < 5)))){ padre.local_data.data.achieveLevel = 5; achMessage(0, true); }; padre.local_data.flush(); } public function achControl(value:int){ var _local2 = padre.local_data.data.achCount; var _local3 = value; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; if (padre.local_data.data.achCount[value] >= achObjective[value]){ if (padre.local_data.data.achScoreList[value] == 0){ saveAchievement(value); padre.scoreSystem.submitScore(5, padre.local_data.data.achieveScore); achMessage(value, false); }; padre.local_data.data.achCount[value] = achObjective[value]; }; } function fadeOut(event:TimerEvent):void{ contador--; if (contador <= 0){ achMes.alpha = (achMes.alpha - 0.1); if (achMes.alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.main.removeChild(achMes); }; }; } } }//package
Section 61
//AchMessageMC (AchMessageMC) package { import flash.display.*; import flash.text.*; public dynamic class AchMessageMC extends MovieClip { public var levelStatus:TextField; public function AchMessageMC(){ super(); } } }//package
Section 62
//AStar (AStar) package { public class AStar { public static const PENDIENTE:int = 0; public static const IMPOSIBLE:int = 3; public static const CERRADO:int = 2; public static const ABIERTO:int = 1; private static var bases:Array; public static var lista:AStarNode; public static var levelData:Array; public static var isRoad:Boolean = false; private static var camino:Array; public function AStar(){ super(); } private static function agregarVecinos(i:int, j:int, costo:int, baseDestino:int){ var n:AStarNode; if ((i - 1) >= 0){ n = levelData[(i - 1)][j]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 32), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 32)){ n.updateData((costo + 10), i, j, baseDestino); }; }; }; }; if ((i + 1) < levelData[0].length){ n = levelData[(i + 1)][j]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 32), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 32)){ n.updateData((costo + 32), i, j, baseDestino); }; }; }; }; if ((j - 1) >= 0){ n = levelData[i][(j - 1)]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 32), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 32)){ n.updateData((costo + 32), i, j, baseDestino); }; }; }; }; if ((j + 1) < levelData[0].length){ n = levelData[i][(j + 1)]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 32), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 32)){ n.updateData((costo + 32), i, j, baseDestino); }; }; }; }; if (((((i - 1) >= 0)) && (((j - 1) >= 0)))){ if (((!((levelData[(i - 1)][j].estado == IMPOSIBLE))) && (!((levelData[i][(j - 1)].estado == IMPOSIBLE))))){ n = levelData[(i - 1)][(j - 1)]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 45), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 45)){ n.updateData((costo + 45), i, j, baseDestino); }; }; }; }; }; if (((((i - 1) >= 0)) && (((j + 1) < levelData[0].length)))){ if (((!((levelData[(i - 1)][j].estado == IMPOSIBLE))) && (!((levelData[i][(j + 1)].estado == IMPOSIBLE))))){ n = levelData[(i - 1)][(j + 1)]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 45), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 45)){ n.updateData((costo + 45), i, j, baseDestino); }; }; }; }; }; if (((((i + 1) < levelData.length)) && (((j + 1) < levelData[0].length)))){ if (((!((levelData[(i + 1)][j].estado == IMPOSIBLE))) && (!((levelData[i][(j + 1)].estado == IMPOSIBLE))))){ n = levelData[(i + 1)][(j + 1)]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 45), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 45)){ n.updateData((costo + 45), i, j, baseDestino); }; }; }; }; }; if (((((i + 1) < levelData.length)) && (((j - 1) >= 0)))){ if (((!((levelData[(i + 1)][j].estado == IMPOSIBLE))) && (!((levelData[i][(j - 1)].estado == IMPOSIBLE))))){ n = levelData[(i + 1)][(j - 1)]; if (n.estado == PENDIENTE){ addNode(n, i, j, (costo + 45), baseDestino); } else { if (n.estado == ABIERTO){ if (n.costoHastaAqui > (costo + 45)){ n.updateData((costo + 45), i, j, baseDestino); }; }; }; }; }; } private static function findLowestAndRemoveIt():AStarNode{ var n:AStarNode; var minimo:int; var minNode:AStarNode; n = null; n = lista; minimo = int.MAX_VALUE; minNode = null; while (n != null) { if (n.total <= minimo){ if ((((Math.random() < 0.5)) || ((minimo == int.MAX_VALUE)))){ minimo = n.total; minNode = n; }; }; n = n.nextNode; }; if (minNode != null){ if (minNode.prevNode != null){ minNode.prevNode.nextNode = minNode.nextNode; } else { lista = minNode.nextNode; }; if (minNode.nextNode != null){ minNode.nextNode.prevNode = minNode.prevNode; }; }; return (minNode); } public static function updateEstimate(estimatedBase:int, modX:int, modY:int, newI:int, newJ:int){ var i:int; var j:int; i = 0; while (i < levelData.length) { j = 0; while (j < levelData[i].length) { if (levelData[i][j].estado != IMPOSIBLE){ if ((((i == 7)) && ((j == 7)))){ }; if (j < newJ){ levelData[i][j].estimadoDesdeAqui[estimatedBase] = (levelData[i][j].estimadoDesdeAqui[estimatedBase] + modX); } else { if (j > newJ){ levelData[i][j].estimadoDesdeAqui[estimatedBase] = (levelData[i][j].estimadoDesdeAqui[estimatedBase] - modX); } else { levelData[i][j].estimadoDesdeAqui[estimatedBase] = (levelData[i][j].estimadoDesdeAqui[estimatedBase] - Math.abs(modX)); }; }; if (i < newI){ levelData[i][j].estimadoDesdeAqui[estimatedBase] = (levelData[i][j].estimadoDesdeAqui[estimatedBase] + modY); } else { if (i > newI){ levelData[i][j].estimadoDesdeAqui[estimatedBase] = (levelData[i][j].estimadoDesdeAqui[estimatedBase] - modY); } else { levelData[i][j].estimadoDesdeAqui[estimatedBase] = (levelData[i][j].estimadoDesdeAqui[estimatedBase] - Math.abs(modY)); }; }; }; j++; }; i++; }; } private static function addNode(n:AStarNode, padreI:int, padreJ:int, costo:int, baseDestino:int){ n.estado = ABIERTO; n.origenI = padreI; n.origenJ = padreJ; n.costoHastaAqui = costo; n.calcularTotal(baseDestino); n.prevNode = null; n.nextNode = lista; if (lista != null){ lista.prevNode = n; }; lista = n; } private static function initializaData(baseDestino:int){ var i:int; var j:int; i = 0; while (i < levelData.length) { j = 0; while (j < levelData[i].length) { if (levelData[i][j].estado != IMPOSIBLE){ levelData[i][j].estado = PENDIENTE; levelData[i][j].costoHastaAqui = 0; if (baseDestino == Parametros.MaximaCantidadDeBases){ }; levelData[i][j].calcularTotal(baseDestino); }; j++; }; i++; }; lista = null; } private static function search(baseDestino:int){ var nodo:AStarNode; while (lista != null) { nodo = findLowestAndRemoveIt(); if ((((nodo.i == bases[baseDestino].i)) && ((nodo.j == bases[baseDestino].j)))){ isRoad = true; return; }; agregarVecinos(nodo.i, nodo.j, nodo.costoHastaAqui, baseDestino); }; isRoad = false; return (null); } public static function buildData(nivel:Array, p:Player){ var playerI:int; var playerJ:int; var i:int; var j:int; var h:int; levelData = new Array(nivel.length); bases = p.bases; playerI = Math.floor((p.posicion.X / Parametros.TamanyoTile)); playerJ = Math.floor((p.posicion.Y / Parametros.TamanyoTile)); i = 0; while (i < nivel.length) { levelData[i] = new Array(nivel[i].length); j = 0; while (j < nivel[i].length) { levelData[i][j] = new AStarNode(i, j); if (nivel[i][j] >= 1){ levelData[i][j].estado = IMPOSIBLE; }; h = 0; while (h < bases.length) { levelData[i][j].estimadoDesdeAqui[h] = ((Math.abs((bases[h].j - j)) + Math.abs((bases[h].i - i))) * Parametros.TamanyoTile); h++; }; levelData[i][j].estimadoDesdeAqui[Parametros.MaximaCantidadDeBases] = ((Math.abs((playerI - i)) + Math.abs((playerJ - j))) * Parametros.TamanyoTile); j++; }; i++; }; } public static function findPath(x:Number, y:Number, baseDestino:int):Array{ var originI:int; var originJ:int; var n:AStarNode; originI = int((y / 32)); if (originI < 0){ originI = 0; } else { if (originI >= levelData.length){ originI = (levelData.length - 1); }; }; originJ = int((x / 32)); if (originJ < 0){ originJ = 0; } else { if (originJ >= levelData[0].length){ originJ = (levelData[0].length - 1); }; }; camino = new Array(); initializaData(baseDestino); levelData[originI][originJ].estado = ABIERTO; levelData[originI][originJ].origenI = (levelData[originI][originJ].origenJ = -1); levelData[originI][originJ].costoHastaAqui = 0; levelData[originI][originJ].calcularTotal(baseDestino); lista = levelData[originI][originJ]; lista.prevNode = (lista.nextNode = null); search(baseDestino); n = levelData[bases[baseDestino].i][bases[baseDestino].j]; while (((((!((n.origenI == -1))) && (!((n.origenJ == -1))))) && (isRoad))) { camino.push(n.i); camino.push(n.j); n = levelData[n.origenI][n.origenJ]; }; camino.push(n.i); camino.push(n.j); return (camino); } } }//package
Section 63
//AStarNode (AStarNode) package { public class AStarNode { public var total:int; public var costoHastaAqui:int; public var prevNode:AStarNode; public var estimadoDesdeAqui:Array; public var origenI:int; public var origenJ:int; public var nextNode:AStarNode; public var estado:int; public var i:int; public var j:int; public function AStarNode(i:int, j:int){ super(); this.i = i; this.j = j; estimadoDesdeAqui = new Array((Parametros.MaximaCantidadDeBases + 1)); } public function updateData(costo:int, i:int, j:int, baseDestino:int){ this.costoHastaAqui = costo; origenI = i; origenJ = j; calcularTotal(baseDestino); } public function calcularTotal(baseDestino:int){ total = (costoHastaAqui + estimadoDesdeAqui[baseDestino]); } } }//package
Section 64
//Auch (Auch) package { import flash.media.*; public dynamic class Auch extends Sound { public function Auch(){ super(); } } }//package
Section 65
//AutoBarrel (AutoBarrel) package { import flash.display.*; public dynamic class AutoBarrel extends MovieClip { public function AutoBarrel(){ super(); } } }//package
Section 66
//Bala (Bala) package { import flash.display.*; import flash.utils.*; public class Bala extends ObjetoListaEnlazada { public var level:CanvasScenario; public var padre:MovieClip; public var speed:Number;// = 15 public var radioDisparo:Number;// = 100 public var interval:Timer; public var radioObjetivo:Number; public var posicion:Vector2D; public var movieClip:MovieClip; public var tipoMuerte:int; public var killIt:Boolean;// = false public var isPlayer:Boolean;// = false public var velocidad:Vector2D; public function Bala(level:CanvasScenario, x:Number, y:Number, map:MovieClip, radio:Number, pointerX:Number, pointerY:Number, isPlayer:Boolean){ var deltaX:*; var deltaY:*; var divisor:Number; var angulo:Number; speed = 15; radioDisparo = 100; killIt = false; isPlayer = false; super(); this.level = level; padre = map; posicion = new Vector2D(); posicion.X = x; posicion.Y = y; movieClip = new bala_mc(); level.padre.layerParticle.addChild(movieClip); movieClip.x = posicion.X; movieClip.y = posicion.Y; if (isPlayer == false){ speed = 2; }; this.velocidad = new Vector2D(); deltaX = ((pointerX - padre.x) - x); deltaY = ((pointerY - padre.y) - y); divisor = Math.sqrt(((deltaX * deltaX) + (deltaY * deltaY))); this.velocidad.X = ((speed * deltaX) / divisor); this.velocidad.Y = ((speed * deltaY) / divisor); radioObjetivo = (radioDisparo = radio); this.isPlayer = isPlayer; angulo = Math.atan((velocidad.Y / velocidad.X)); if ((x + map.x) > pointerX){ movieClip.rotation = (((angulo * 180) / 3.14) + 180); } else { movieClip.rotation = ((angulo * 180) / 3.14); }; if (isPlayer == true){ switch (level.player.currentWeapon){ case 0: level.padre.padre.soundSystem.gunA.play(0, 1, level.padre.padre.soundSystem.volPrincipal); movieClip.gotoAndStop(1); break; case 1: level.padre.padre.soundSystem.gunD.play(0, 1, level.padre.padre.soundSystem.volPrincipal); movieClip.gotoAndStop(1); break; case 2: level.padre.padre.soundSystem.shotgun.play(0, 1, level.padre.padre.soundSystem.volPrincipal); movieClip.gotoAndStop(2); break; case 3: level.padre.padre.soundSystem.gunB.play(0, 1, level.padre.padre.soundSystem.volPrincipal); movieClip.gotoAndStop(3); break; case 4: level.padre.padre.soundSystem.gunC.play(0, 1, level.padre.padre.soundSystem.volPrincipal); movieClip.gotoAndStop(4); break; case 5: level.padre.padre.soundSystem.gunF.play(0, 1, level.padre.padre.soundSystem.volPrincipal); movieClip.gotoAndStop(9); break; }; } else { movieClip.gotoAndStop("enemigo1"); }; this.movieClip.x = (this.movieClip.x + (velocidad.X / 2)); this.movieClip.y = (this.movieClip.y + (velocidad.Y / 2)); } public function update(){ var animDin:MovieClip; var _local2:Number; if (level.padre.isRun){ this.movieClip.x = (this.movieClip.x + velocidad.X); this.movieClip.y = (this.movieClip.y + velocidad.Y); radioDisparo = (radioDisparo - speed); if (level.collisionMap[Math.floor((movieClip.y / 32))][Math.floor((movieClip.x / 32))] == 1){ killIt = true; if (isPlayer == true){ tipoMuerte = 1; } else { tipoMuerte = 3; }; }; if (killIt == false){ if (isPlayer == true){ } else { if (((((((((!((level.player.movieClip == null))) && ((movieClip.x > (level.player.movieClip.x - 10))))) && ((movieClip.x < (level.player.movieClip.x + 10))))) && ((movieClip.y > (level.player.movieClip.y - 16))))) && ((movieClip.y < (level.player.movieClip.y + 16))))){ level.player.sufrirDanyo(0.05); killIt = true; tipoMuerte = 3; }; }; if ((((radioDisparo <= (radioObjetivo / 1.2))) && ((killIt == false)))){ movieClip.alpha = (movieClip.alpha / 1.5); if (radioDisparo <= 0){ killIt = true; }; }; }; if (killIt){ trace(("asdsasdsad " + tipoMuerte)); switch (tipoMuerte){ case 1: switch (level.player.currentWeapon){ case 0: case 1: case 2: case 3: case 4: _local2 = Math.floor((Math.random() * 4)); switch (_local2){ case 0: level.padre.padre.soundSystem.rebote1.play(0, 1, level.padre.padre.soundSystem.volPrincipal); break; case 1: level.padre.padre.soundSystem.rebote2.play(0, 1, level.padre.padre.soundSystem.volPrincipal); break; case 2: level.padre.padre.soundSystem.rebote3.play(0, 1, level.padre.padre.soundSystem.volPrincipal); break; case 3: level.padre.padre.soundSystem.rebote4.play(0, 1, level.padre.padre.soundSystem.volPrincipal); break; case 4: level.padre.padre.soundSystem.rebote4.play(0, 1, level.padre.padre.soundSystem.volPrincipal); break; }; animDin = new muerteBalaMC(); animDin.x = movieClip.x; animDin.y = movieClip.y; padre.addChild(animDin); animDin.scaleX = (animDin.scaleX * 0.25); animDin.scaleY = (animDin.scaleY * 0.25); animDin.alpha = 1; animDin.play(); break; case 5: level.padre.padre.soundSystem.exploRocket.play(0, 1, level.padre.padre.soundSystem.volPrincipal); animDin = new explocion_mc(); animDin.x = movieClip.x; animDin.y = movieClip.y; padre.addChild(animDin); animDin.scaleX = (animDin.scaleX * 0.5); animDin.scaleY = (animDin.scaleY * 0.5); animDin.alpha = 1; animDin.play(); break; }; break; case 2: switch (level.player.currentWeapon){ case 4: trace("asdsasdsad"); animDin = new ImpactoEnEnemigo(); animDin.x = movieClip.x; animDin.y = movieClip.y; padre.addChild(animDin); animDin.alpha = 1; animDin.play(); break; case 5: level.padre.padre.soundSystem.exploRocket.play(0, 1, level.padre.padre.soundSystem.volPrincipal); animDin = new explocion_mc(); animDin.x = movieClip.x; animDin.y = movieClip.y; padre.addChild(animDin); animDin.scaleX = (animDin.scaleX * 0.5); animDin.scaleY = (animDin.scaleY * 0.5); animDin.alpha = 1; animDin.play(); break; }; break; case 3: level.padre.padre.soundSystem.impactoEnemigo1.play(0, 1, level.padre.padre.soundSystem.volPrincipal); animDin = new muerteBalaMC(); animDin.x = movieClip.x; animDin.y = movieClip.y; padre.addChild(animDin); animDin.scaleX = (animDin.scaleX * 0.25); animDin.scaleY = (animDin.scaleY * 0.25); animDin.alpha = 1; animDin.play(); break; }; this.level.padre.layerParticle.removeChild(this.movieClip); }; }; } } }//package
Section 67
//bala_mc (bala_mc) package { import flash.display.*; public dynamic class bala_mc extends MovieClip { public function bala_mc(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ stop(); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame8(){ stop(); } function frame2(){ stop(); } function frame11(){ stop(); } } }//package
Section 68
//BalaMC (BalaMC) package { import flash.display.*; public dynamic class BalaMC extends MovieClip { public function BalaMC(){ super(); } } }//package
Section 69
//Barrel (Barrel) package { import flash.display.*; public dynamic class Barrel extends MovieClip { public function Barrel(){ super(); } } }//package
Section 70
//Base (Base) package { import flash.display.*; public class Base { public var barra:MovieClip; public var rayCounter:int; public var level:CanvasScenario; public var _domMask:MovieClip; public var id:int; public var fireWeapon:Function; public var movieClip:MovieClip; public var isConquered:Boolean; public var isAttacked:Boolean; public var radioDisparoSq:Number;// = 2500 public var machineGunCounter:int;// = 0 public var rayMC:MovieClip; public var currentRotacion:Number; public var conqObjective:int;// = 200 public var energiaInicial:Number; public var domMC:MovieClip; public var posicion:Vector2D; public var i:int; public var j:int; public var deltaAim:Vector2D; public var energia:Number;// = 0 public var isConquering:Boolean; public var conqProgress:int; public function Base(id:int, i:int, j:int, level:CanvasScenario, isPlayer:Boolean){ energia = 0; radioDisparoSq = (Parametros.RadioDisparoBase * Parametros.RadioDisparoBase); machineGunCounter = 0; conqObjective = 200; super(); isConquering = false; isConquered = false; isAttacked = false; this.id = id; this.i = i; this.j = j; posicion = new Vector2D(); posicion.X = ((j * Parametros.TamanyoTile) + (Parametros.TamanyoTile / 2)); posicion.Y = ((i * Parametros.TamanyoTile) + (Parametros.TamanyoTile / 2)); this.level = level; if (isPlayer == false){ domMC = new domCircle(); domMC.x = (j * Parametros.TamanyoTile); domMC.y = (i * Parametros.TamanyoTile); level.map.addChild(domMC); domMC.visible = true; _domMask = domMC.domMask; _domMask.scaleX = (conqProgress / conqObjective); conqObjective = 2000; }; deltaAim = new Vector2D(); movieClip = new BaseMC(); movieClip.visible = false; movieClip.x = posicion.X; movieClip.y = posicion.Y; barra = new EnergyBar(); barra.visible = false; barra.y = (movieClip.y + (movieClip.height / 2)); barra.x = movieClip.x; level.map.addChild(barra); level.map.addChild(movieClip); rayMC = new Rayo(); rayMC.visible = false; level.map.addChild(rayMC); fireWeapon = fireMachineGun; } function fireRay(){ deltaAim.normalize(20); rayMC.x = (deltaAim.X + movieClip.x); rayMC.y = (deltaAim.Y + movieClip.y); currentRotacion = (90 - (Math.atan2(-(deltaAim.Y), deltaAim.X) * (180 / Math.PI))); rayMC.rotation = currentRotacion; if (currentRotacion < -22.5){ currentRotacion = (currentRotacion + 360); }; currentRotacion = (currentRotacion + 22.5); currentRotacion = ((Math.floor((currentRotacion / 45)) * 10) + 1); movieClip.gotoAndStop(currentRotacion); rayMC.visible = true; rayCounter = 2; deltaAim.X = (deltaAim.X * 5); deltaAim.Y = (deltaAim.Y * 5); } public function revivir(){ movieClip.visible = true; energia = (energiaInicial = Parametros.EnergiaInicialBase); barra.green.scaleX = 1; barra.green.visible = true; barra.visible = true; level.collisionMap[i][j] = 1; } public function update(){ if (rayCounter > 0){ rayCounter--; } else { rayMC.visible = false; }; fireWeapon(); } function fireMachineGun(){ var objetivo:Enemigo; if (machineGunCounter <= 0){ objetivo = level.getCloserEnemy(posicion, radioDisparoSq); if (objetivo != null){ deltaAim.subAndAssign(objetivo.posicion, posicion); level.newAddBullet(posicion.X, posicion.Y, 150, objetivo.posicion.X, objetivo.posicion.Y, false); machineGunCounter = Parametros.BaseMachineGunReload; }; } else { if (machineGunCounter > 0){ machineGunCounter--; }; }; } public function reset(){ isConquered = false; isConquering = false; conqProgress = 0; domMC.gotoAndStop(1); _domMask.scaleX = (conqProgress / conqObjective); } public function sufrirDanyo(danyo:Number){ energia = (energia - danyo); if (energia > 0){ barra.green.scaleX = (energia / energiaInicial); } else { barra.green.visible = false; movieClip.visible = false; rayMC.visible = false; barra.visible = false; level.collisionMap[i][j] = 0; level.torretaDestruida(id); }; } public function setPosicion(x:Number, y:Number, i:int, j:int){ this.i = i; this.j = j; this.posicion.X = x; this.posicion.Y = y; } public function conquestProgress(isPositive:Boolean){ if (isPositive){ conqProgress = (conqProgress + 10); _domMask.scaleX = (conqProgress / conqObjective); if (conqProgress >= conqObjective){ if (level.padre.player.domination == (level.baseEsperada.length - 1)){ level.padre.hudMenu.conqueringMessage(false); level.padre.hudMenu.pointControledMessage(true); } else { level.padre.hudMenu.conqueringMessage(false); level.padre.hudMenu.pointControledMessage(false); }; isConquered = true; conqProgress = conqObjective; domMC.gotoAndStop(3); level.player.updateExperience(5); level.padre.hudMenu._totalPoints.text = ("" + level.player.points); level.padre.hudMenu.upgradeUpgrade(level.player.points); } else { isConquered = false; }; } else { isConquered = false; if (conqProgress > 0){ if (conqProgress <= 0){ conqProgress = 0; }; _domMask.scaleX = (conqProgress / conqObjective); }; }; } } }//package
Section 71
//BaseMC (BaseMC) package { import flash.display.*; public dynamic class BaseMC extends MovieClip { public function BaseMC(){ super(); addFrameScript(0, frame1, 10, frame11, 20, frame21, 30, frame31, 40, frame41, 50, frame51, 60, frame61, 70, frame71); } function frame71(){ stop(); } function frame1(){ stop(); } function frame21(){ stop(); } function frame31(){ stop(); } function frame11(){ stop(); } function frame41(){ stop(); } function frame51(){ stop(); } function frame61(){ stop(); } } }//package
Section 72
//bolaFuego_mc (bolaFuego_mc) package { import flash.display.*; public dynamic class bolaFuego_mc extends MovieClip { public function bolaFuego_mc(){ super(); } } }//package
Section 73
//bombaMinaGas_mc (bombaMinaGas_mc) package { import flash.display.*; public dynamic class bombaMinaGas_mc extends MovieClip { public function bombaMinaGas_mc(){ super(); } } }//package
Section 74
//bombaMinaHielo_mc (bombaMinaHielo_mc) package { import flash.display.*; public dynamic class bombaMinaHielo_mc extends MovieClip { public function bombaMinaHielo_mc(){ super(); } } }//package
Section 75
//Bonus (Bonus) package { import flash.media.*; public dynamic class Bonus extends Sound { public function Bonus(){ super(); } } }//package
Section 76
//BonusObtained (BonusObtained) package { import flash.events.*; import flash.display.*; import flash.utils.*; public dynamic class BonusObtained extends MovieClip { public var actualTic:Number; public var interval:Timer; public function BonusObtained(){ super(); addFrameScript(0, frame1); } function frame1(){ actualTic = 3; interval = new Timer(1000, 0); interval.addEventListener(TimerEvent.TIMER, tic); interval.start(); } public function tic(event:TimerEvent):void{ this.actualTic--; if (this.actualTic == 0){ this.interval.stop(); this.interval.removeEventListener(TimerEvent.TIMER, this.tic); this.parent.removeChild(this); }; } } }//package
Section 77
//Boss (Boss) package { import flash.display.*; public dynamic class Boss extends MovieClip { public function Boss(){ super(); } } }//package
Section 78
//boxTrap_mc (boxTrap_mc) package { import flash.display.*; public dynamic class boxTrap_mc extends MovieClip { public function boxTrap_mc(){ super(); } } }//package
Section 79
//BumA (BumA) package { import flash.media.*; public dynamic class BumA extends Sound { public function BumA(){ super(); } } }//package
Section 80
//Canvas (Canvas) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.net.*; public class Canvas extends MovieClip { public var layerScenario:MovieClip; public var layerParticle:MovieClip; public var canvasScenario:CanvasScenario; public var gameOverMC:MovieClip; public var padre:UICanvas; var mouseInLevel:Vector2D; public var layerTraps:MovieClip; public var isRun:Boolean; public var dificultad:int; var difference:int;// = 33 public var cursor:MovieClip; public var isWin:Boolean; var lastDate:uint;// = 0 var newDate:Date; public var intervalo:Timer; public var layerEnemies:MovieClip; public var ingame:Boolean; public var layerPlayer:MovieClip; var mouseInScreen:Vector2D; public var FrameRate:Number;// = 30 public var player:Player; public var layerHud:MovieClip; public var hudMenu:HudMenu; public static const APPLICATION_HEIGHT:Number = 410; public static const APPLICATION_WIDTH:Number = (700 - HUD_WIDTH); public static const FRAME_RATE:int = 25; public static const HUD_WIDTH:Number = 0; public function Canvas(){ FrameRate = 30; lastDate = 0; difference = 33; super(); layerScenario = new MovieClip(); this.addChild(layerScenario); layerTraps = new MovieClip(); this.addChild(layerTraps); layerEnemies = new MovieClip(); this.addChild(layerEnemies); layerPlayer = new MovieClip(); this.addChild(layerPlayer); layerParticle = new MovieClip(); this.addChild(layerParticle); layerHud = new MovieClip(); this.addChild(layerHud); ingame = true; isWin = false; isRun = true; } public function Load(dificultad:int){ this.dificultad = dificultad; ingame = true; isWin = false; isRun = true; mouseInLevel = new Vector2D(); mouseInScreen = new Vector2D(); canvasScenario = new CanvasScenario(this, APPLICATION_WIDTH, APPLICATION_HEIGHT, dificultad); player = new Player(this, canvasScenario); canvasScenario.setPlayer(player); this.parent.stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseUpdate); hudMenu = new HudMenu(this, canvasScenario, player); this.addChild(hudMenu); difference = 33; newDate = new Date(); lastDate = newDate.time; intervalo = new Timer((1000 / this.FrameRate), 0); intervalo.addEventListener(TimerEvent.TIMER, run); intervalo.start(); player.updateEnergyCounter(); player.updateExperience(0); isWin = false; isRun = true; hudMenu.gameIntro(); hudMenu.upgradeUpgrade(player.points); } public function openGamaga(e:MouseEvent){ var request:*; request = new URLRequest("http://www.gamersmakinggames.com"); navigateToURL(request, "_blank"); } public function salidaLocal(){ intervalo.removeEventListener(TimerEvent.TIMER, run); gameOverMC.backB.removeEventListener(MouseEvent.CLICK, backClick); gameOverMC.tryB.removeEventListener(MouseEvent.CLICK, tryClick); hudMenu = null; cursor = null; player = null; mouseInLevel = null; mouseInScreen = null; padre = null; intervalo = null; canvasScenario = null; gameOverMC = null; } function run(event:TimerEvent):void{ if (ingame){ if ((((canvasScenario.currentWave >= 1)) && (!((hudMenu.inGameIntro == null))))){ this.removeChild(hudMenu.inGameIntro); hudMenu.inGameIntro = null; }; canvasScenario.toLevelCoords(mouseInScreen, mouseInLevel); canvasScenario.updateTimeCounter(); newDate = new Date(); difference = (newDate.time - lastDate); lastDate = newDate.time; update(); canvasScenario.update(difference); layerPlayer.x = canvasScenario.map.x; layerPlayer.y = canvasScenario.map.y; layerParticle.x = canvasScenario.map.x; layerParticle.y = canvasScenario.map.y; layerEnemies.x = canvasScenario.map.x; layerEnemies.y = canvasScenario.map.y; layerTraps.x = canvasScenario.map.x; layerTraps.y = canvasScenario.map.y; }; } public function tryClick(event:MouseEvent):void{ padre.exitGame(true); } public function update(){ var i:int; var k:int; player.update(mouseInLevel, difference); i = 0; while (i < canvasScenario.listOfBullets.length) { k = 0; while (k < canvasScenario.listOfEnemies.length) { if (((((layerEnemies.contains(canvasScenario.listOfEnemies[k].movieClip)) && ((canvasScenario.listOfBullets[i].killIt == false)))) && ((canvasScenario.listOfEnemies[k].isVisible == true)))){ canvasScenario.listOfEnemies[k].checkBullet(canvasScenario.listOfBullets[i]); }; k++; }; if (layerParticle.contains(canvasScenario.listOfBullets[i].movieClip)){ canvasScenario.listOfBullets[i].update(); } else { canvasScenario.listOfBullets.splice(i, 1); }; i++; }; i = 0; while (i < canvasScenario.listOfTraps.length) { if (layerTraps.contains(canvasScenario.listOfTraps[i].movieClip)){ if (canvasScenario.listOfTraps[i].isDinamita == true){ canvasScenario.activateDynamite(canvasScenario.listOfTraps[i], 30); }; } else { canvasScenario.listOfTraps.splice(i, 1); }; i++; }; i = 0; while (i < canvasScenario.listOfEnemies.length) { if (layerEnemies.contains(canvasScenario.listOfEnemies[i].movieClip)){ canvasScenario.listOfEnemies[i].update(); } else { canvasScenario.listOfEnemies.splice(i, 1); }; i++; }; if (!player.updatePlayer){ gameOverMC = new GameOverClip(); gameOverMC.x = (APPLICATION_WIDTH / 2); gameOverMC.y = (APPLICATION_HEIGHT / 2); this.addChild(gameOverMC); if (isWin == true){ gameOverMC.gotoAndStop(2); gameOverMC.button_gameover_moregames.addEventListener(MouseEvent.CLICK, padre.padre.onCLick3); padre.scoreSystem.submitScore(1, canvasScenario.player.score); padre.scoreSystem.kongregate.stats.submit("TotalScore", canvasScenario.player.score); switch (canvasScenario.dificultad){ case 1: padre.kongregate.stats.submit("EasyMode", 1); padre.kongregate.stats.submit("EasyModeScore", canvasScenario.player.score); break; case 2: padre.kongregate.stats.submit("NormalMode", 1); padre.kongregate.stats.submit("NormalModeScore", canvasScenario.player.score); break; case 3: padre.kongregate.stats.submit("HardMode", 1); padre.kongregate.stats.submit("HardModeScore", canvasScenario.player.score); break; case 4: padre.kongregate.stats.submit("Challenge", 1); padre.kongregate.stats.submit("ChallengeScore", canvasScenario.player.score); break; case 5: padre.kongregate.stats.submit("EasySandbox", 1); padre.kongregate.stats.submit("EasySandboxScore", canvasScenario.player.score); break; case 6: padre.kongregate.stats.submit("NormalSandbox", 1); padre.kongregate.stats.submit("NormalSandboxScore", canvasScenario.player.score); break; case 7: padre.kongregate.stats.submit("HardSandbox", 1); padre.kongregate.stats.submit("HardSandboxScore", canvasScenario.player.score); break; }; }; canvasScenario.player.movieClip.stage.removeEventListener(KeyboardEvent.KEY_DOWN, canvasScenario.player.onKeyDown); canvasScenario.player.movieClip.stage.removeEventListener(KeyboardEvent.KEY_UP, canvasScenario.player.onKeyUp); canvasScenario.player.movieClip.stage.removeEventListener(MouseEvent.MOUSE_DOWN, canvasScenario.player.onClick); canvasScenario.player.movieClip.stage.removeEventListener(MouseEvent.MOUSE_UP, canvasScenario.player.onUnclick); gameOverMC.backB.addEventListener(MouseEvent.CLICK, backClick); gameOverMC.tryB.addEventListener(MouseEvent.CLICK, tryClick); gameOverMC.gamagaLink.addEventListener(MouseEvent.CLICK, openGamaga); ingame = false; }; } function mouseUpdate(e:MouseEvent){ mouseInScreen.X = e.stageX; mouseInScreen.Y = e.stageY; } public function backClick(event:MouseEvent):void{ padre.exitGame(false); } } }//package
Section 81
//CanvasScenario (CanvasScenario) package { import flash.display.*; public class CanvasScenario extends MovieClip { public var numeroOleadas:int; public var padre:Canvas; public var listaDeBalas:ListaEnlazada; var currentWave:Number;// = 0 public var verticalWalls:Array; public var horizontalWalls:Array; private var spawnPoints:Array; var conqAny:Boolean;// = false public var mapDimensions:Vector2D; public var parametrosOlas:Array; private var spawnPointsRadio:int;// = 1 public var timeBetween:Number; public var baseEsperada:Array; public var halfScreenHeight:Number; public var halfScreenWidth:Number; public var posInitPX:Number;// = 0 public var posInitPY:Number;// = 0 private var mapLimits:Vector2D; public var collisionMap:Array; public var listOfTraps:Array; var timeToNextWave:Number;// = 5000 public var listOfBullets:Array; public var player:Player; public var objectBeingFollowed:MovieClip; public var listaDeEnemigosVisibles:ListaEnlazada; public var listaDeMinas:ListaEnlazada; private var spawnPointsEsperado:Array; public var healthEsperada:Array; private var basePosition:Vector2D; var enemigosRemaining:int;// = 0 public var dificultad:int; public var listOfEnemies:Array; public var map:MovieClip; public var listaDeDinamitas:ListaEnlazada; var proximoEnemigoMs:int;// = 0 public var listaDeEnemigos:ListaEnlazada; public function CanvasScenario(canvas:Canvas, screenWidth:Number, screenHeight:Number, dificultad:int){ verticalWalls = new Array(); horizontalWalls = new Array(); listOfEnemies = new Array(); listOfTraps = new Array(); listOfBullets = new Array(); spawnPointsRadio = 1; currentWave = 0; timeToNextWave = Parametros.FirstWave; enemigosRemaining = 0; proximoEnemigoMs = 0; posInitPX = 0; posInitPY = 0; conqAny = false; super(); padre = canvas; this.dificultad = dificultad; halfScreenWidth = (screenWidth / 2); halfScreenHeight = (screenHeight / 2); switch (dificultad){ case 1: map = new GatoMapStill(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[8, 4], [3, 10], [15, 14]]; setSpawnPoints(); baseEsperada = [[3, 4], [16, 3], [3, 13]]; healthEsperada = [[9, 9], [-5, -5]]; Parametros.MaximaCantidadDeBases = 3; parametrosOlas = [[0], [1000, [5, 9, 0, 1.5, 0.1], [0, 15, 0, 2, 0.1], [0, 21, 0, 2, 0.2], [0, 15, 0, 2.5, 0.3], [0, 30, 0, 2.5, 0.2], [0, 80, 0, 2, 0.25], [0, 30, 0, 3.5, 0.2], [0, 160, 0, 3, 0.25], 1], [1000, [8], [0], [0], [0], [0], [0], [0], [0], 1], [1000, [0], [5], [0], [0], [0], [0], [0], [0], 4], [1000, [10], [0], [0], [0], [0], [0], [0], [0], 1], [1000, [5], [0], [0], [0], [0], [1], [0], [0], 3], [1000, [0], [5], [0], [0], [0], [0], [0], [0], 1], [1000, [0], [8], [0], [0], [0], [0], [0], [0], 1], [1000, [5], [0], [5], [0], [0], [0], [0], [0], 4], [1000, [0], [10], [0], [0], [0], [0], [0], [0], 2], [1000, [0], [5], [0], [0], [0], [1], [0], [0], 3], [1000, [0], [0], [5], [0], [0], [0], [0], [0], 1], [1000, [0], [0], [8], [0], [0], [0], [0], [0], 1], [1000, [0], [5], [0], [5], [0], [0], [0], [0], 4], [1000, [0], [0], [10], [0], [0], [0], [0], [0], 2], [1000, [0], [0], [5], [0], [0], [2], [0], [0], 3], [1000, [0], [0], [0], [5], [0], [0], [0], [0], 1], [1000, [0], [0], [0], [8], [0], [0], [0], [0], 2], [1000, [0], [0], [5], [0], [5], [0], [0], [0], 4], [1000, [0], [0], [0], [10], [0], [0], [0], [0], 2], [1000, [0], [0], [0], [5], [0], [2], [0], [0], 3], [1000, [0], [0], [0], [0], [5], [0], [0], [0], 2], [1000, [0], [0], [0], [0], [8], [0], [0], [0], 2], [1000, [0], [0], [0], [5], [0], [0], [5], [0], 4], [1000, [0], [0], [0], [0], [10], [0], [0], [0], 2], [1000, [0], [0], [0], [0], [5], [3], [0], [0], 3], [1000, [0], [10], [0], [5], [0], [0], [0], [0], 2], [1000, [0], [0], [10], [0], [5], [0], [0], [0], 2], [1000, [0], [0], [0], [10], [0], [0], [5], [0], 5], [1000, [0], [0], [5], [0], [0], [0], [10], [0], 5], [2000, [0], [0], [0], [0], [0], [6], [0], [0], 3]]; timeBetween = 40000; numeroOleadas = 30; posInitPX = 300; posInitPY = 300; break; case 2: map = new MapaNormal(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[2, 9], [16, 3], [13, 13]]; setSpawnPoints(); baseEsperada = [[2, 3], [2, 13], [14, 9], [19, 3], [17, 14]]; healthEsperada = [[9, 3], [6, 11]]; Parametros.MaximaCantidadDeBases = 5; parametrosOlas = [[0], [750, [5, 12, 0, 1.1, 0.1], [0, 21, 0, 1.1, 0.1], [0, 30, 0, 1.1, 0.2], [0, 21, 0, 1.6, 0.3], [0, 36, 0, 1.6, 0.2], [0, 110, 0, 1.6, 0.24], [0, 45, 0, 2.1, 0.2], [0, 200, 0, 2, 0.25], 1], [750, [8], [0], [0], [0], [0], [0], [0], [0], 1], [750, [0], [5], [0], [0], [0], [0], [0], [0], 4], [750, [10], [0], [0], [0], [0], [0], [0], [0], 2], [750, [5], [0], [0], [0], [0], [1], [0], [0], 3], [750, [0], [5], [0], [0], [0], [0], [0], [0], 1], [750, [0], [8], [0], [0], [0], [0], [0], [0], 2], [750, [5], [0], [5], [0], [0], [0], [0], [0], 4], [750, [0], [10], [0], [0], [0], [0], [0], [0], 2], [750, [0], [5], [0], [0], [0], [1], [0], [0], 3], [750, [0], [0], [5], [0], [0], [0], [0], [0], 2], [750, [0], [0], [8], [0], [0], [0], [0], [0], 2], [750, [0], [5], [0], [5], [0], [0], [0], [0], 4], [750, [0], [0], [10], [0], [0], [0], [0], [0], 2], [750, [0], [0], [5], [0], [0], [2], [0], [0], 3], [750, [0], [0], [0], [5], [0], [0], [0], [0], 2], [750, [0], [0], [0], [8], [0], [0], [0], [0], 2], [750, [0], [0], [5], [0], [5], [0], [0], [0], 4], [750, [0], [0], [0], [10], [0], [0], [0], [0], 5], [750, [0], [0], [0], [5], [0], [2], [0], [0], 3], [750, [0], [0], [0], [0], [5], [0], [0], [0], 2], [750, [0], [0], [0], [0], [8], [0], [0], [0], 2], [750, [0], [0], [0], [5], [0], [0], [5], [0], 4], [750, [0], [0], [0], [0], [10], [0], [0], [0], 5], [750, [0], [0], [0], [0], [5], [3], [0], [0], 3], [750, [0], [10], [0], [5], [0], [0], [0], [0], 2], [750, [0], [0], [10], [0], [5], [0], [0], [0], 2], [750, [0], [0], [0], [10], [0], [0], [5], [0], 5], [750, [0], [0], [5], [0], [0], [0], [10], [0], 5], [1500, [0], [0], [0], [0], [0], [6], [0], [0], 3], [750, [0], [0], [0], [10], [0], [0], [5], [0], 2], [750, [0], [0], [0], [0], [5], [0], [10], [0], 2], [750, [0], [0], [0], [0], [8], [0], [10], [0], 5], [750, [0], [0], [0], [0], [10], [0], [8], [0], 5], [750, [0], [0], [0], [0], [0], [8], [0], [0], 3], [750, [40], [0], [0], [0], [0], [0], [0], [0], 2], [750, [0], [40], [0], [0], [0], [0], [0], [0], 5], [750, [0], [0], [0], [0], [20], [0], [0], [0], 5], [750, [0], [0], [0], [0], [0], [0], [20], [0], 5], [750, [0], [0], [0], [0], [0], [0], [0], [4], 6]]; timeBetween = 35000; numeroOleadas = 40; posInitPX = 288; posInitPY = 224; break; case 3: map = new MapaHard(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1], [1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[7, 7], [14, 9]]; setSpawnPoints(); baseEsperada = [[2, 3], [12, 2], [19, 3], [2, 8], [2, 13], [10, 14], [19, 14]]; healthEsperada = [[11, 5], [8, 11], [19, 9]]; Parametros.MaximaCantidadDeBases = 7; parametrosOlas = [[0], [500, [5, 16, 0, 1.4, 0.1], [0, 26, 0, 1.4, 0.1], [0, 36, 0, 1.4, 0.2], [0, 30, 0, 1.9, 0.3], [0, 42, 0, 1.9, 0.2], [0, 130, 0, 1.8, 0.25], [0, 55, 0, 2.43, 0.2], [0, 230, 0, 2.2, 0.25], 1], [500, [8], [0], [0], [0], [0], [0], [0], [0], 1], [500, [0], [5], [0], [0], [0], [0], [0], [0], 4], [500, [10], [0], [0], [0], [0], [0], [0], [0], 2], [500, [5], [0], [0], [0], [0], [1], [0], [0], 3], [500, [0], [5], [0], [0], [0], [0], [0], [0], 1], [500, [0], [8], [0], [0], [0], [0], [0], [0], 2], [500, [5], [0], [5], [0], [0], [0], [0], [0], 4], [500, [0], [10], [0], [0], [0], [0], [0], [0], 2], [500, [0], [5], [0], [0], [0], [1], [0], [0], 3], [500, [0], [0], [5], [0], [0], [0], [0], [0], 2], [500, [0], [0], [8], [0], [0], [0], [0], [0], 2], [500, [0], [5], [0], [5], [0], [0], [0], [0], 4], [500, [0], [0], [10], [0], [0], [0], [0], [0], 2], [500, [0], [0], [5], [0], [0], [2], [0], [0], 3], [500, [0], [0], [0], [5], [0], [0], [0], [0], 2], [500, [0], [0], [0], [8], [0], [0], [0], [0], 2], [500, [0], [0], [5], [0], [5], [0], [0], [0], 4], [500, [0], [0], [0], [10], [0], [0], [0], [0], 5], [500, [0], [0], [0], [5], [0], [2], [0], [0], 3], [500, [0], [0], [0], [0], [5], [0], [0], [0], 2], [500, [0], [0], [0], [0], [8], [0], [0], [0], 2], [500, [0], [0], [0], [5], [0], [0], [5], [0], 4], [500, [0], [0], [0], [0], [10], [0], [0], [0], 5], [500, [0], [0], [0], [0], [5], [3], [0], [0], 3], [500, [0], [10], [0], [5], [0], [0], [0], [0], 2], [500, [0], [0], [10], [0], [5], [0], [0], [0], 2], [500, [0], [0], [0], [10], [0], [0], [5], [0], 5], [500, [0], [0], [5], [0], [0], [0], [10], [0], 5], [1000, [0], [0], [0], [0], [0], [0], [0], [3], 3], [500, [0], [0], [0], [10], [0], [0], [5], [0], 2], [500, [0], [0], [0], [0], [5], [0], [10], [0], 2], [500, [0], [0], [0], [0], [8], [0], [10], [0], 5], [500, [0], [0], [0], [0], [10], [0], [8], [0], 5], [500, [0], [0], [0], [0], [0], [4], [0], [2], 3], [500, [40], [0], [0], [0], [0], [0], [0], [0], 2], [500, [0], [40], [0], [0], [0], [0], [0], [0], 5], [500, [0], [0], [0], [0], [20], [0], [0], [0], 5], [500, [0], [0], [0], [0], [0], [0], [20], [0], 5], [500, [0], [0], [0], [0], [0], [2], [0], [4], 6]]; timeBetween = 30000; numeroOleadas = 40; posInitPX = 362; posInitPY = 224; break; case 4: map = new MapaChallengeMC(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1], [1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1], [1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1], [1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1], [1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[1, 2], [1, 10], [13, 9]]; setSpawnPoints(); baseEsperada = [[4, 6], [6, 5], [9, 5], [9, 7], [6, 7], [9, 14]]; healthEsperada = [[2, 15], [12, 2]]; Parametros.MaximaCantidadDeBases = 6; parametrosOlas = [[0], [500, [8, 20, 0, 1.5, 0.1], [0, 32, 0, 1.5, 0.1], [0, 42, 0, 1.5, 0.2], [0, 36, 0, 2, 0.3], [0, 50, 0, 2, 0.2], [0, 150, 0, 1.6, 0.25], [0, 60, 0, 2.6, 0.2], [0, 260, 0, 2, 0.25], 1], [500, [8], [0], [0], [0], [0], [0], [0], [0], 2], [500, [0], [5], [0], [0], [0], [0], [0], [0], 4], [500, [10], [0], [0], [0], [0], [0], [0], [0], 2], [500, [5], [0], [0], [0], [0], [1], [0], [0], 3], [500, [0], [5], [0], [0], [0], [0], [0], [0], 1], [500, [0], [8], [0], [0], [0], [0], [0], [0], 2], [500, [5], [0], [5], [0], [0], [0], [0], [0], 4], [500, [0], [10], [0], [0], [0], [0], [0], [0], 5], [500, [0], [5], [0], [0], [0], [1], [0], [0], 3], [500, [0], [0], [5], [0], [0], [0], [0], [0], 2], [500, [0], [0], [8], [0], [0], [0], [0], [0], 2], [500, [0], [5], [0], [5], [0], [0], [0], [0], 4], [500, [0], [0], [10], [0], [0], [0], [0], [0], 5], [500, [0], [0], [5], [0], [0], [2], [0], [0], 3], [500, [0], [0], [0], [5], [0], [0], [0], [0], 2], [500, [0], [0], [0], [8], [0], [0], [0], [0], 5], [500, [0], [0], [5], [0], [5], [0], [0], [0], 4], [500, [0], [0], [0], [10], [0], [0], [0], [0], 5], [500, [0], [0], [0], [5], [0], [2], [0], [0], 3], [500, [0], [0], [0], [0], [5], [0], [0], [0], 5], [500, [0], [0], [0], [0], [8], [0], [0], [0], 5], [500, [0], [0], [0], [5], [0], [0], [5], [0], 4], [500, [0], [0], [0], [0], [10], [0], [0], [0], 5], [500, [0], [0], [0], [0], [5], [3], [0], [0], 3], [500, [0], [10], [0], [5], [0], [0], [0], [0], 5], [500, [0], [0], [10], [0], [5], [0], [0], [0], 5], [500, [0], [0], [0], [10], [0], [0], [5], [0], 5], [500, [0], [0], [5], [0], [0], [0], [10], [0], 5], [1000, [0], [0], [0], [0], [0], [0], [0], [3], 6], [500, [0], [0], [0], [10], [0], [0], [5], [0], 5], [500, [0], [0], [0], [0], [5], [0], [10], [0], 5], [500, [0], [0], [0], [0], [8], [0], [10], [0], 5], [500, [0], [0], [0], [0], [10], [0], [8], [0], 5], [500, [0], [0], [0], [0], [0], [4], [0], [2], 3], [500, [40], [0], [0], [0], [0], [0], [0], [0], 5], [500, [0], [40], [0], [0], [0], [0], [0], [0], 5], [500, [0], [0], [0], [0], [20], [0], [0], [0], 5], [500, [0], [0], [0], [0], [0], [0], [20], [0], 5], [500, [0], [0], [0], [0], [0], [2], [0], [4], 3]]; timeBetween = 25000; numeroOleadas = 40; posInitPX = 100; posInitPY = 100; break; case 5: map = new MapaSandBox(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[12, 2], [10, 15]]; setSpawnPoints(); baseEsperada = [[3, 3], [18, 3], [3, 12], [18, 12]]; healthEsperada = [[11, 7]]; Parametros.MaximaCantidadDeBases = 4; parametrosOlas = [[0], [1000, [5, 9, 0, 1.5, 0.1], [0, 15, 0, 2, 0.1], [0, 21, 0, 2, 0.2], [0, 15, 0, 2.5, 0.3], [0, 30, 0, 2.5, 0.2], [0, 80, 0, 2, 0.25], [0, 30, 0, 3.5, 0.2], [0, 160, 0, 3, 0.25], 1], [1000, [8], [0], [0], [0], [0], [0], [0], [0], 1], [1000, [0], [5], [0], [0], [0], [0], [0], [0], 4], [1000, [10], [0], [0], [0], [0], [0], [0], [0], 1], [1000, [5], [0], [0], [0], [0], [1], [0], [0], 3], [1000, [0], [5], [0], [0], [0], [0], [0], [0], 1], [1000, [0], [8], [0], [0], [0], [0], [0], [0], 1], [1000, [5], [0], [5], [0], [0], [0], [0], [0], 4], [1000, [0], [10], [0], [0], [0], [0], [0], [0], 2], [1000, [0], [5], [0], [0], [0], [1], [0], [0], 3], [1000, [0], [0], [5], [0], [0], [0], [0], [0], 1], [1000, [0], [0], [8], [0], [0], [0], [0], [0], 1], [1000, [0], [5], [0], [5], [0], [0], [0], [0], 4], [1000, [0], [0], [10], [0], [0], [0], [0], [0], 2], [1000, [0], [0], [5], [0], [0], [2], [0], [0], 3], [1000, [0], [0], [0], [5], [0], [0], [0], [0], 1], [1000, [0], [0], [0], [8], [0], [0], [0], [0], 2], [1000, [0], [0], [5], [0], [5], [0], [0], [0], 4], [1000, [0], [0], [0], [10], [0], [0], [0], [0], 2], [1000, [0], [0], [0], [5], [0], [2], [0], [0], 3], [1000, [0], [0], [0], [0], [5], [0], [0], [0], 2], [1000, [0], [0], [0], [0], [8], [0], [0], [0], 2], [1000, [0], [0], [0], [5], [0], [0], [5], [0], 4], [1000, [0], [0], [0], [0], [10], [0], [0], [0], 2], [1000, [0], [0], [0], [0], [5], [3], [0], [0], 3], [1000, [0], [10], [0], [5], [0], [0], [0], [0], 2], [1000, [0], [0], [10], [0], [5], [0], [0], [0], 2], [1000, [0], [0], [0], [10], [0], [0], [5], [0], 5], [1000, [0], [0], [5], [0], [0], [0], [10], [0], 5], [2000, [0], [0], [0], [0], [0], [6], [0], [0], 3]]; timeBetween = 40000; numeroOleadas = 30; posInitPX = 352; posInitPY = 277; break; case 6: map = new MapaSandBox(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[12, 2], [10, 15]]; setSpawnPoints(); baseEsperada = [[3, 3], [18, 3], [3, 12], [18, 12]]; healthEsperada = [[11, 7]]; Parametros.MaximaCantidadDeBases = 4; parametrosOlas = [[0], [750, [5, 12, 0, 1.1, 0.1], [0, 21, 0, 1.1, 0.1], [0, 30, 0, 1.1, 0.2], [0, 21, 0, 1.6, 0.3], [0, 36, 0, 1.6, 0.2], [0, 110, 0, 1.6, 0.24], [0, 45, 0, 2.1, 0.2], [0, 200, 0, 2, 0.25], 1], [750, [8], [0], [0], [0], [0], [0], [0], [0], 1], [750, [0], [5], [0], [0], [0], [0], [0], [0], 4], [750, [10], [0], [0], [0], [0], [0], [0], [0], 2], [750, [5], [0], [0], [0], [0], [1], [0], [0], 3], [750, [0], [5], [0], [0], [0], [0], [0], [0], 1], [750, [0], [8], [0], [0], [0], [0], [0], [0], 2], [750, [5], [0], [5], [0], [0], [0], [0], [0], 4], [750, [0], [10], [0], [0], [0], [0], [0], [0], 2], [750, [0], [5], [0], [0], [0], [1], [0], [0], 3], [750, [0], [0], [5], [0], [0], [0], [0], [0], 2], [750, [0], [0], [8], [0], [0], [0], [0], [0], 2], [750, [0], [5], [0], [5], [0], [0], [0], [0], 4], [750, [0], [0], [10], [0], [0], [0], [0], [0], 2], [750, [0], [0], [5], [0], [0], [2], [0], [0], 3], [750, [0], [0], [0], [5], [0], [0], [0], [0], 2], [750, [0], [0], [0], [8], [0], [0], [0], [0], 2], [750, [0], [0], [5], [0], [5], [0], [0], [0], 4], [750, [0], [0], [0], [10], [0], [0], [0], [0], 5], [750, [0], [0], [0], [5], [0], [2], [0], [0], 3], [750, [0], [0], [0], [0], [5], [0], [0], [0], 2], [750, [0], [0], [0], [0], [8], [0], [0], [0], 2], [750, [0], [0], [0], [5], [0], [0], [5], [0], 4], [750, [0], [0], [0], [0], [10], [0], [0], [0], 5], [750, [0], [0], [0], [0], [5], [3], [0], [0], 3], [750, [0], [10], [0], [5], [0], [0], [0], [0], 2], [750, [0], [0], [10], [0], [5], [0], [0], [0], 2], [750, [0], [0], [0], [10], [0], [0], [5], [0], 5], [750, [0], [0], [5], [0], [0], [0], [10], [0], 5], [1500, [0], [0], [0], [0], [0], [6], [0], [0], 3], [750, [0], [0], [0], [10], [0], [0], [5], [0], 2], [750, [0], [0], [0], [0], [5], [0], [10], [0], 2], [750, [0], [0], [0], [0], [8], [0], [10], [0], 5], [750, [0], [0], [0], [0], [10], [0], [8], [0], 5], [750, [0], [0], [0], [0], [0], [8], [0], [0], 3], [750, [40], [0], [0], [0], [0], [0], [0], [0], 2], [750, [0], [40], [0], [0], [0], [0], [0], [0], 5], [750, [0], [0], [0], [0], [20], [0], [0], [0], 5], [750, [0], [0], [0], [0], [0], [0], [20], [0], 5], [750, [0], [0], [0], [0], [0], [0], [0], [4], 6]]; timeBetween = 35000; numeroOleadas = 40; posInitPX = 352; posInitPY = 277; break; case 7: map = new MapaSandBox(); collisionMap = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; spawnPointsEsperado = [[12, 2], [10, 15]]; setSpawnPoints(); baseEsperada = [[3, 3], [18, 3], [3, 12], [18, 12]]; healthEsperada = [[11, 7]]; Parametros.MaximaCantidadDeBases = 4; parametrosOlas = [[0], [500, [5, 16, 0, 1.4, 0.1], [0, 26, 0, 1.4, 0.1], [0, 36, 0, 1.4, 0.2], [0, 30, 0, 1.9, 0.3], [0, 42, 0, 1.9, 0.2], [0, 130, 0, 1.8, 0.25], [0, 55, 0, 2.43, 0.2], [0, 230, 0, 2.2, 0.25], 1], [500, [8], [0], [0], [0], [0], [0], [0], [0], 2], [500, [0], [5], [0], [0], [0], [0], [0], [0], 4], [500, [10], [0], [0], [0], [0], [0], [0], [0], 2], [500, [5], [0], [0], [0], [0], [1], [0], [0], 3], [500, [0], [5], [0], [0], [0], [0], [0], [0], 1], [500, [0], [8], [0], [0], [0], [0], [0], [0], 2], [500, [5], [0], [5], [0], [0], [0], [0], [0], 4], [500, [0], [10], [0], [0], [0], [0], [0], [0], 5], [500, [0], [5], [0], [0], [0], [1], [0], [0], 3], [500, [0], [0], [5], [0], [0], [0], [0], [0], 2], [500, [0], [0], [8], [0], [0], [0], [0], [0], 2], [500, [0], [5], [0], [5], [0], [0], [0], [0], 4], [500, [0], [0], [10], [0], [0], [0], [0], [0], 5], [500, [0], [0], [5], [0], [0], [2], [0], [0], 3], [500, [0], [0], [0], [5], [0], [0], [0], [0], 2], [500, [0], [0], [0], [8], [0], [0], [0], [0], 5], [500, [0], [0], [5], [0], [5], [0], [0], [0], 4], [500, [0], [0], [0], [10], [0], [0], [0], [0], 5], [500, [0], [0], [0], [5], [0], [2], [0], [0], 3], [500, [0], [0], [0], [0], [5], [0], [0], [0], 5], [500, [0], [0], [0], [0], [8], [0], [0], [0], 5], [500, [0], [0], [0], [5], [0], [0], [5], [0], 4], [500, [0], [0], [0], [0], [10], [0], [0], [0], 5], [500, [0], [0], [0], [0], [5], [3], [0], [0], 3], [500, [0], [10], [0], [5], [0], [0], [0], [0], 5], [500, [0], [0], [10], [0], [5], [0], [0], [0], 5], [500, [0], [0], [0], [10], [0], [0], [5], [0], 5], [500, [0], [0], [5], [0], [0], [0], [10], [0], 5], [1000, [0], [0], [0], [0], [0], [0], [0], [3], 6], [500, [0], [0], [0], [10], [0], [0], [5], [0], 5], [500, [0], [0], [0], [0], [5], [0], [10], [0], 5], [500, [0], [0], [0], [0], [8], [0], [10], [0], 5], [500, [0], [0], [0], [0], [10], [0], [8], [0], 5], [500, [0], [0], [0], [0], [0], [4], [0], [2], 3], [500, [40], [0], [0], [0], [0], [0], [0], [0], 5], [500, [0], [40], [0], [0], [0], [0], [0], [0], 5], [500, [0], [0], [0], [0], [20], [0], [0], [0], 5], [500, [0], [0], [0], [0], [0], [0], [20], [0], 5], [500, [0], [0], [0], [0], [0], [2], [0], [4], 3]]; timeBetween = 25000; numeroOleadas = 40; posInitPX = 352; posInitPY = 277; break; }; canvas.layerScenario.addChild(map); mapLimits = new Vector2D(); mapLimits.X = -((map.width - screenWidth)); mapLimits.Y = -((map.height - screenHeight)); mapDimensions = new Vector2D(); mapDimensions.X = map.width; mapDimensions.Y = map.height; listaDeEnemigos = new ListaEnlazada(); listaDeEnemigosVisibles = new ListaEnlazada(); listaDeMinas = new ListaEnlazada(); listaDeDinamitas = new ListaEnlazada(); listaDeBalas = new ListaEnlazada(); } public function activateDynamite(dinamita:Dinamita, elapsedTime:int){ var g:int; var animDin:MovieClip; trace(dinamita); trace(elapsedTime); if (dinamita.explota(elapsedTime) == true){ collisionMap[dinamita.i][dinamita.j] = 0; padre.layerTraps.removeChild(dinamita.movieClip); g = 0; while (g < listOfEnemies.length) { if (dinamita.posicion.squaredDistanceTo(listOfEnemies[g].posicion) < (Parametros.TamanyoTile * Parametros.TamanyoTile)){ listOfEnemies[g].sufrirDanyo(Parametros.DanyoDinamita, 0, null); }; g++; }; animDin = new explocion_mc(); animDin.x = ((dinamita.j * Parametros.TamanyoTile) + Parametros.TamanyoTileMedios); animDin.y = ((dinamita.i * Parametros.TamanyoTile) + Parametros.TamanyoTileMedios); padre.layerParticle.addChild(animDin); animDin.scaleX = (animDin.scaleX * 1.5); animDin.scaleY = (animDin.scaleY * 1.5); animDin.play(); padre.padre.soundSystem.exploDinamita.play(0, 1, padre.padre.soundSystem.volPrincipal); }; } public function torretaDestruida(id:int){ var temp:Disparable; temp = Disparable(listaDeEnemigos.primerObjeto); while (temp != null) { temp.torretaDestruida(id); temp = Disparable(temp.sgte); }; } private function followObject(){ var xCorner:Number; var yCorner:Number; xCorner = (objectBeingFollowed.x - halfScreenWidth); yCorner = (objectBeingFollowed.y - halfScreenHeight); map.x = -(xCorner); map.y = -(yCorner); if (map.x < mapLimits.X){ map.x = mapLimits.X; }; if (map.x > 0){ map.x = 0; }; if (map.y < mapLimits.Y){ map.y = mapLimits.Y; }; if (map.y > 0){ map.y = 0; }; } public function spawnNewEnemy(){ var enemyArray:Array; var j:int; var tipoEnemigo:int; var enemigo:Enemigo; enemyArray = new Array(); j = 1; while (j < (parametrosOlas[currentWave].length - 1)) { if (parametrosOlas[currentWave][j][0] > 0){ enemyArray.push(j.valueOf()); }; j++; }; tipoEnemigo = Math.floor((Math.random() * enemyArray.length)); var _local5 = parametrosOlas[currentWave][enemyArray[tipoEnemigo]]; var _local6:int; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; enemigo = new Enemigo(map, ((spawnPoints[(enemigosRemaining % spawnPoints.length)].X - spawnPointsRadio) + (2 * (Math.random() * spawnPointsRadio))), ((spawnPoints[(enemigosRemaining % spawnPoints.length)].Y - spawnPointsRadio) + (2 * (Math.random() * spawnPointsRadio))), mapDimensions, enemyArray[tipoEnemigo], currentWave, player, padre); listOfEnemies.push(enemigo); } public function tilePasable(i:int, j:int):Boolean{ if ((((((((i >= 0)) && ((i <= collisionMap.length)))) && ((j >= 0)))) && ((j < collisionMap[0].length)))){ if (collisionMap[i][j] != 1){ return (true); }; }; return (false); } private function setSpawnPoints(){ var v:Vector2D; var i:int; var newSpawn:MovieClip; spawnPoints = new Array(); i = 0; while (i < spawnPointsEsperado.length) { v = new Vector2D(); v.X = (spawnPointsEsperado[i][0] * Parametros.TamanyoTile); v.Y = (spawnPointsEsperado[i][1] * Parametros.TamanyoTile); newSpawn = new DeathMatk(); newSpawn.x = v.X; newSpawn.y = v.Y; map.addChild(newSpawn); switch (spawnPointsEsperado[i][0]){ case 0: v.X = (v.X - spawnPointsRadio); break; case (map.width / Parametros.TamanyoTile): v.X = (v.X + spawnPointsRadio); break; }; switch (spawnPointsEsperado[i][1]){ case 0: v.Y = (v.Y - spawnPointsRadio); break; case (map.height / Parametros.TamanyoTile): v.Y = (v.Y + spawnPointsRadio); break; }; spawnPoints.push(v); i++; }; } public function addMina(x:Number, y:Number, tipo:int, muviClip:MovieClip){ var i:int; var j:int; x = (x - map.x); y = (y - map.y); i = Math.floor((y / Parametros.TamanyoTile)); j = Math.floor((x / Parametros.TamanyoTile)); if (collisionMap[i][j] == 0){ collisionMap[i][j] = tipo; listOfTraps.push(new Mina(i, j, map, this, tipo, muviClip)); }; } public function newFireBullet(origin:Vector2D, ray:Vector2D, mouse:Vector2D, rotation:Number, danyo:int, checkParedes:Boolean):Boolean{ var check:Boolean; var disparado:Disparable; var temp:DisparableVisible; var p:Vector2D; var paredVerticalCercana:int; var distancia:Number; var estaDistancia:Number; var j:int; var paredHorizontalCercana:int; disparado = null; temp = DisparableVisible(listaDeEnemigosVisibles.primerObjeto); while (temp != null) { check = false; if (!temp.disparable.muerto){ if ((((rotation >= 45)) && ((rotation <= 135)))){ if (temp.disparable.posicion.X > origin.X){ check = true; }; } else { if ((((rotation >= -45)) && ((rotation <= 45)))){ if (temp.disparable.posicion.Y < origin.Y){ check = true; }; } else { if ((((rotation >= -135)) && ((rotation <= -45)))){ if (temp.disparable.posicion.X < origin.X){ check = true; }; } else { if (temp.disparable.posicion.Y > origin.Y){ check = true; }; }; }; }; }; if (check){ p = temp.disparable.posicion; if ((((((((mouse.X > (p.X - 16))) && ((mouse.X < (p.X + 16))))) && ((mouse.Y > (p.Y - 20))))) && ((mouse.Y < (p.Y + 20))))){ disparado = temp.disparable; break; }; }; temp = DisparableVisible(temp.sgte); }; if (disparado != null){ if (checkParedes){ paredVerticalCercana = -1; distancia = Number.MAX_VALUE; ray.add(origin); j = 0; while (j < verticalWalls.length) { if (Utils.intersect(origin.X, origin.Y, ray.X, ray.Y, verticalWalls[j][1], verticalWalls[j][0], verticalWalls[j][1], verticalWalls[j][2])){ estaDistancia = Math.abs((origin.X - verticalWalls[j][1])); if (estaDistancia < distancia){ distancia = estaDistancia; paredVerticalCercana = j; }; }; j++; }; if (Math.abs((disparado.posicion.X - origin.X)) > distancia){ disparado = null; } else { paredHorizontalCercana = -1; distancia = Number.MAX_VALUE; j = 0; while (j < horizontalWalls.length) { if (Utils.intersect(origin.X, origin.Y, ray.X, ray.Y, horizontalWalls[j][0], horizontalWalls[j][1], horizontalWalls[j][2], horizontalWalls[j][1])){ estaDistancia = Math.abs((origin.Y - horizontalWalls[j][1])); if (estaDistancia < distancia){ distancia = estaDistancia; paredHorizontalCercana = j; }; }; j++; }; if (Math.abs((disparado.posicion.Y - origin.Y)) > distancia){ disparado = null; }; }; }; if (disparado != null){ return (true); }; return (false); //unresolved jump }; return (false); } public function activateTrap(i:int, j:int, enemigo:Enemigo){ var k:int; var animDin:MovieClip; var g:int; if (collisionMap[i][j] != 0){ k = 0; while (k < listOfTraps.length) { if ((((listOfTraps[k].i == i)) && ((listOfTraps[k].j == j)))){ padre.layerTraps.removeChild(listOfTraps[k].movieClip); padre.padre.soundSystem.exploMina.play(0, 1, padre.padre.soundSystem.volPrincipal); switch (collisionMap[i][j]){ case HudMenu.MINE_TRAP: g = 0; while (g < listOfEnemies.length) { if (listOfTraps[k].posicion.squaredDistanceTo(listOfEnemies[g].posicion) < (Parametros.TamanyoTile * Parametros.TamanyoTile)){ listOfEnemies[g].sufrirDanyo(Parametros.DanyoMina, HudMenu.MINE_TRAP, null); }; g++; }; animDin = new explocion_mc(); animDin.x = listOfTraps[k].movieClip.x; animDin.y = listOfTraps[k].movieClip.y; padre.layerParticle.addChild(animDin); animDin.play(); break; case HudMenu.TOXIC_MINE_TRAP: g = 0; while (g < listOfEnemies.length) { if (listOfTraps[k].posicion.squaredDistanceTo(listOfEnemies[g].posicion) < (Parametros.TamanyoTile * Parametros.TamanyoTile)){ listOfEnemies[g].sufrirDanyo(Parametros.DanyoMina, HudMenu.TOXIC_MINE_TRAP, null); }; g++; }; animDin = new ExploGas(); animDin.x = listOfTraps[k].movieClip.x; animDin.y = listOfTraps[k].movieClip.y; padre.layerParticle.addChild(animDin); animDin.play(); break; case HudMenu.FREEZE_MINE_TRAP: g = 0; while (g < listOfEnemies.length) { if (listOfTraps[k].posicion.squaredDistanceTo(listOfEnemies[g].posicion) < (Parametros.TamanyoTile * Parametros.TamanyoTile)){ listOfEnemies[g].sufrirDanyo(Parametros.DanyoMina, HudMenu.FREEZE_MINE_TRAP, null); }; g++; }; animDin = new explocion_mc(); animDin.x = listOfTraps[k].movieClip.x; animDin.y = listOfTraps[k].movieClip.y; padre.layerParticle.addChild(animDin); animDin.play(); break; }; collisionMap[listOfTraps[k].i][listOfTraps[k].j] = 0; break; }; k++; }; }; } public function update(elapsedTime:int){ var l:int; if (currentWave < (parametrosOlas.length - 1)){ timeToNextWave = (timeToNextWave - elapsedTime); if (timeToNextWave < 0){ currentWave++; timeToNextWave = timeBetween; spawnWave(currentWave); }; if (listOfEnemies.length > 0){ padre.hudMenu._nextWaveButton.visible = false; padre.hudMenu._nextWaveButton.alpha = 0; padre.hudMenu._nextWaveButton.enabled = false; } else { padre.hudMenu._nextWaveButton.visible = true; padre.hudMenu._nextWaveButton.alpha = 1; padre.hudMenu._nextWaveButton.enabled = true; }; } else { padre.hudMenu._nextWaveButton.visible = false; padre.hudMenu._nextWaveButton.alpha = 0; padre.hudMenu._nextWaveButton.enabled = false; }; if (enemigosRemaining > 0){ proximoEnemigoMs = (proximoEnemigoMs - elapsedTime); while (proximoEnemigoMs < 0) { proximoEnemigoMs = (proximoEnemigoMs + parametrosOlas[currentWave][0]); enemigosRemaining--; spawnNewEnemy(); }; }; followObject(); player.domination = 0; conqAny = false; l = 0; while (l < baseEsperada.length) { if (((((((baseEsperada[l][0] * Parametros.TamanyoTile) <= player.posicion.X)) && ((player.posicion.X < ((baseEsperada[l][0] + 1) * Parametros.TamanyoTile))))) && (((((baseEsperada[l][1] * Parametros.TamanyoTile) <= (player.posicion.Y + 10))) && (((player.posicion.Y + 10) < ((baseEsperada[l][1] + 1) * Parametros.TamanyoTile))))))){ if (player.bases[l].isConquered == false){ player.bases[l].isConquering = true; conqAny = true; player.bases[l].domMC.gotoAndStop(2); }; } else { player.bases[l].isConquering = false; }; if ((((player.bases[l].isConquered == false)) && ((player.bases[l].isConquering == true)))){ player.bases[l].domMC.gotoAndStop(2); } else { if ((((player.bases[l].isConquered == false)) && ((player.bases[l].isConquering == false)))){ player.bases[l].domMC.gotoAndStop(1); }; }; if (player.bases[l].isConquered == true){ player.domination++; }; l++; }; padre.hudMenu.conqueringMessage(conqAny); if ((((currentWave >= (parametrosOlas.length - 1))) && ((listOfEnemies.length == 0)))){ padre.isWin = true; player.thisWin = true; }; } public function fireBullet(origin:Vector2D, ray:Vector2D, rotation:Number, danyo:int, checkParedes:Boolean){ var a:Number; var c:Number; var check:Boolean; var disparado:Disparable; var distanceSquared:Number; var temp:DisparableVisible; var pos:Vector2D; var ds:Number; var paredVerticalCercana:int; var distancia:Number; var estaDistancia:Number; var j:int; var paredHorizontalCercana:int; a = ((ray.X * ray.X) + (ray.Y * ray.Y)); c = ((origin.X * origin.X) + (origin.Y * origin.Y)); disparado = null; distanceSquared = 99999; temp = DisparableVisible(listaDeEnemigosVisibles.primerObjeto); while (temp != null) { check = false; if (!temp.disparable.muerto){ if ((((rotation >= 45)) && ((rotation <= 135)))){ if (temp.disparable.posicion.X > origin.X){ check = true; }; } else { if ((((rotation >= -45)) && ((rotation <= 45)))){ if (temp.disparable.posicion.Y < origin.Y){ check = true; }; } else { if ((((rotation >= -135)) && ((rotation <= -45)))){ if (temp.disparable.posicion.X < origin.X){ check = true; }; } else { if (temp.disparable.posicion.Y > origin.Y){ check = true; }; }; }; }; }; if (check){ if (Utils.RayoCircunferencia(ray, a, c, origin, temp.disparable.posicion, temp.disparable.radioSquared, null)){ pos = temp.disparable.posicion; ds = (((origin.X - pos.X) * (origin.X - pos.X)) + ((origin.Y - pos.Y) * (origin.Y - pos.Y))); if (ds < distanceSquared){ distanceSquared = ds; disparado = temp.disparable; }; }; }; temp = DisparableVisible(temp.sgte); }; if (disparado != null){ if (checkParedes){ paredVerticalCercana = -1; distancia = Number.MAX_VALUE; ray.add(origin); j = 0; while (j < verticalWalls.length) { if (Utils.intersect(origin.X, origin.Y, ray.X, ray.Y, verticalWalls[j][1], verticalWalls[j][0], verticalWalls[j][1], verticalWalls[j][2])){ estaDistancia = Math.abs((origin.X - verticalWalls[j][1])); if (estaDistancia < distancia){ distancia = estaDistancia; paredVerticalCercana = j; }; }; j++; }; if (Math.abs((disparado.posicion.X - origin.X)) > distancia){ disparado = null; } else { paredHorizontalCercana = -1; distancia = Number.MAX_VALUE; j = 0; while (j < horizontalWalls.length) { if (Utils.intersect(origin.X, origin.Y, ray.X, ray.Y, horizontalWalls[j][0], horizontalWalls[j][1], horizontalWalls[j][2], horizontalWalls[j][1])){ estaDistancia = Math.abs((origin.Y - horizontalWalls[j][1])); if (estaDistancia < distancia){ distancia = estaDistancia; paredHorizontalCercana = j; }; }; j++; }; if (Math.abs((disparado.posicion.Y - origin.Y)) > distancia){ disparado = null; }; }; }; if (disparado != null){ disparado.sufrirDanyo(danyo, 0, null); }; }; } public function addTurret(x:Number, y:Number){ x = (x - map.x); y = (y - map.y); x = (x / Parametros.TamanyoTile); y = (y / Parametros.TamanyoTile); player.addTurret(x, y); } function toLevelTileCoordX(n:Number):Number{ return ((((Math.floor(((n - map.x) / Parametros.TamanyoTile)) + 0.5) * Parametros.TamanyoTile) + map.x)); } public function getCloserEnemy(centro:Vector2D, distanceSquared:Number):Enemigo{ var temp:ObjetoListaEnlazada; var e:Enemigo; temp = listaDeEnemigos.primerObjeto; while (temp != null) { if ((temp is Enemigo)){ e = Enemigo(temp); if ((((e.posicion.X - centro.X) * (e.posicion.X - centro.X)) + ((e.posicion.Y - centro.Y) * (e.posicion.Y - centro.Y))) < distanceSquared){ return (e); }; }; temp = temp.sgte; }; return (null); } public function spawnWave(waveNumber:Number){ var k:int; k = 1; while (k < (parametrosOlas[currentWave].length - 1)) { enemigosRemaining = (enemigosRemaining + parametrosOlas[waveNumber][k][0]); k++; }; proximoEnemigoMs = parametrosOlas[waveNumber][0]; spawnNewEnemy(); enemigosRemaining--; } public function newAddBullet(x:Number, y:Number, radio:Number, pointerX:Number, pointerY:Number, isPlayer:Boolean){ x = (x - map.x); y = (y - map.y); listOfBullets.push(new Bala(this, x, y, map, radio, pointerX, pointerY, isPlayer)); } function toLevelCoords(positionInScreen:Vector2D, positionInLevel:Vector2D){ positionInLevel.X = (positionInScreen.X - map.x); positionInLevel.Y = (positionInScreen.Y - map.y); } public function addBox(x:Number, y:Number){ var i:int; var j:int; var k:int; var n:int; var mc_box:MovieClip; x = (x - map.x); y = (y - map.y); AStar.buildData(collisionMap, player); i = Math.floor((y / Parametros.TamanyoTile)); j = Math.floor((x / Parametros.TamanyoTile)); if ((((((collisionMap[i][j] == 0)) && (!((Math.floor((player.posicion.X / 32)) == i))))) && (!((Math.floor((player.posicion.Y / 32)) == j))))){ collisionMap[i][j] = HudMenu.BOX; AStar.buildData(collisionMap, player); k = 0; while (k < spawnPointsEsperado.length) { AStar.findPath((spawnPointsEsperado[k][0] * 32), (spawnPointsEsperado[k][1] * 32), Parametros.MaximaCantidadDeBases); if (AStar.isRoad == false){ k = 1000; }; k++; }; if (AStar.isRoad == true){ n = 0; while (n < listOfEnemies.length) { AStar.findPath(listOfEnemies[n].posicion.X, listOfEnemies[n].posicion.Y, Parametros.MaximaCantidadDeBases); if (AStar.isRoad == false){ n = 1000; }; n++; }; }; if (AStar.isRoad){ mc_box = new boxTrap_mc(); mc_box.x = ((j + 0.5) * Parametros.TamanyoTile); mc_box.y = ((i + 0.5) * Parametros.TamanyoTile); padre.layerTraps.addChild(mc_box); player.money = (player.money - Parametros.CostoBox); } else { collisionMap[i][j] = 0; AStar.buildData(collisionMap, player); }; }; } function toLevelTileCoordY(n:Number):Number{ return ((((Math.floor(((n - map.y) / Parametros.TamanyoTile)) + 0.5) * Parametros.TamanyoTile) + map.y)); } public function addTrap(trap:Trap){ if (player.money >= Parametros.CostoBarril){ trap.posicion.X = (trap.posicion.X - map.x); trap.posicion.Y = (trap.posicion.Y - map.y); trap.movieClip.x = trap.posicion.X; trap.movieClip.y = trap.posicion.Y; trap.listaDeEnemigos = listaDeEnemigos; map.addChild(trap.movieClip); listaDeEnemigos.agregarObjeto(trap); player.money = (player.money - Parametros.CostoBarril); player.updateMoneyCounter(); }; } public function avisarNuevaTorreta(){ var temp:Disparable; temp = Disparable(listaDeEnemigos.primerObjeto); while (temp != null) { temp.encontrarDestino(); temp = Disparable(temp.sgte); }; } public function addDinamita(x:Number, y:Number){ var i:int; var j:int; x = (x - map.x); y = (y - map.y); i = Math.floor((y / Parametros.TamanyoTile)); j = Math.floor((x / Parametros.TamanyoTile)); if (collisionMap[i][j] == 0){ collisionMap[i][j] = HudMenu.DYNAMITE_TRAP; listOfTraps.push(new Dinamita(i, j, map, this)); }; } public function setPlayer(p:Player){ this.player = p; AStar.buildData(collisionMap, p); } public function updateTimeCounter(){ if (currentWave < (parametrosOlas.length - 1)){ padre.hudMenu.waveHud.waveBar.x = ((0 - ((currentWave - 1) * 80)) - (((timeBetween - timeToNextWave) / timeBetween) * 80)); }; } } }//package
Section 82
//ChallengeMap (ChallengeMap) package { import flash.display.*; public dynamic class ChallengeMap extends MovieClip { public function ChallengeMap(){ super(); } } }//package
Section 83
//clickAnalogico (clickAnalogico) package { import flash.media.*; public dynamic class clickAnalogico extends Sound { public function clickAnalogico(){ super(); } } }//package
Section 84
//clickBurbuja (clickBurbuja) package { import flash.media.*; public dynamic class clickBurbuja extends Sound { public function clickBurbuja(){ super(); } } }//package
Section 85
//Conejo (Conejo) package { import flash.display.*; public dynamic class Conejo extends MovieClip { public var particula2:MovieClip; public var particula3:MovieClip; public var particula1:MovieClip; public function Conejo(){ super(); addFrameScript(0, frame1, 1, frame2, 10, frame11, 11, frame12, 20, frame21, 21, frame22, 30, frame31, 31, frame32, 40, frame41, 41, frame42, 50, frame51, 51, frame52, 60, frame61, 61, frame62, 70, frame71, 71, frame72); } function frame72(){ stop(); } function frame71(){ stop(); } function frame12(){ stop(); } function frame1(){ stop(); } function frame22(){ stop(); } function frame21(){ stop(); } function frame2(){ stop(); } function frame31(){ stop(); } function frame11(){ stop(); } function frame41(){ stop(); } function frame32(){ stop(); } function frame42(){ stop(); } function frame51(){ stop(); } function frame52(){ stop(); } function frame61(){ stop(); } function frame62(){ stop(); } } }//package
Section 86
//Conquering (Conquering) package { import flash.display.*; public dynamic class Conquering extends MovieClip { public function Conquering(){ super(); } } }//package
Section 87
//Corazon (Corazon) package { import flash.media.*; public dynamic class Corazon extends Sound { public function Corazon(){ super(); } } }//package
Section 88
//Dead (Dead) package { import flash.display.*; public dynamic class Dead extends MovieClip { public function Dead(){ super(); } } }//package
Section 89
//DeathMatk (DeathMatk) package { import flash.display.*; public dynamic class DeathMatk extends MovieClip { public function DeathMatk(){ super(); } } }//package
Section 90
//DifficultyWindow (DifficultyWindow) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class DifficultyWindow extends MovieClip { public var hard:SimpleButton; public var challengeGame:SimpleButton; public var easy:SimpleButton; public var padre:MainMenu; public var achievements:SimpleButton; public var oSelected:Number; public var sandBoxHard:SimpleButton; public var sandBoxEasy:SimpleButton; public var sandBoxNormal:SimpleButton; public var sbEasyButton:SimpleButton; public var challengeMode:SimpleButton; public var sbHardButton:SimpleButton; public var newGame:Boolean;// = true public var AchievementScore:SimpleButton; public var interval:Timer; public var easyButton:SimpleButton; public var sbNormalButton:SimpleButton; public var normal:SimpleButton; public var normalButton:SimpleButton; public var hardButton:SimpleButton; public function DifficultyWindow(){ newGame = true; super(); addFrameScript(0, frame1); } public function sbNormalClick(event:MouseEvent):void{ oSelected = 6; exitWindow(); } public function sbEasyClick(event:MouseEvent):void{ oSelected = 5; exitWindow(); } public function hardClick(event:MouseEvent):void{ oSelected = 3; exitWindow(); } public function initDif(){ easyButton = easy; normalButton = normal; hardButton = hard; challengeGame = challengeMode; achievements = AchievementScore; sbEasyButton = sandBoxEasy; sbNormalButton = sandBoxNormal; sbHardButton = sandBoxHard; easyButton.addEventListener(MouseEvent.CLICK, easyClick); normalButton.addEventListener(MouseEvent.CLICK, normalClick); hardButton.addEventListener(MouseEvent.CLICK, hardClick); challengeGame.addEventListener(MouseEvent.CLICK, challengeGameClick); achievements.addEventListener(MouseEvent.CLICK, achievementsClick); sbEasyButton.addEventListener(MouseEvent.CLICK, sbEasyClick); sbNormalButton.addEventListener(MouseEvent.CLICK, sbNormalClick); sbHardButton.addEventListener(MouseEvent.CLICK, sbHardClick); interval = new Timer((1000 / 24), 0); alpha = 0; } function frame1(){ stop(); } public function challengeGameClick(event:MouseEvent):void{ oSelected = 4; exitWindow(); } public function easyClick(event:MouseEvent):void{ trace("dddd"); oSelected = 1; exitWindow(); } function exitWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeOut); } function fadeIn(event:TimerEvent):void{ alpha = (alpha + 0.1); if (alpha >= 1){ interval.removeEventListener(TimerEvent.TIMER, fadeIn); }; } public function achievementsClick(event:MouseEvent):void{ oSelected = 7; exitWindow(); } public function sbHardClick(event:MouseEvent):void{ oSelected = 7; exitWindow(); } function fadeOut(event:TimerEvent):void{ alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.difSelected = oSelected; if (newGame == false){ padre.oSelected = 61; } else { padre.oSelected = 62; }; padre.exitWindow(); padre.removeChild(this); }; } public function normalClick(event:MouseEvent):void{ oSelected = 2; exitWindow(); } function enterWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeIn); interval.start(); } } }//package
Section 91
//Dinamita (Dinamita) package { import flash.display.*; public class Dinamita extends ObjetoListaEnlazada { public var movieClip:MovieClip; public var i:int; public var isDinamita:Boolean;// = true public var j:int; public var posicion:Vector2D; public var counter:int; public function Dinamita(_i:int, _j:int, map:MovieClip, level:CanvasScenario){ isDinamita = true; super(); i = _i; j = _j; movieClip = new DynamiteMC(); counter = Parametros.TiempoExplosionDinamita; posicion = new Vector2D(); posicion.X = ((j + 0.5) * Parametros.TamanyoTile); posicion.Y = ((i + 0.5) * Parametros.TamanyoTile); movieClip.x = posicion.X; movieClip.y = posicion.Y; level.padre.layerTraps.addChild(movieClip); level.player.money = (level.player.money - Parametros.CostoDinamita); } public function explota(elapsedTime:int):Boolean{ if (counter > 0){ counter = (counter - elapsedTime); return (false); }; return (true); } } }//package
Section 92
//Disparable (Disparable) package { import flash.display.*; public class Disparable extends ObjetoListaEnlazada { public var energiaInicial:Number; public var muerto:Boolean; public var posicion:Vector2D; public var linkVisible:DisparableVisible; public var movieClip:MovieClip; public var energia:Number; public var radioSquared:Number; public var radio:Number; public var energiaCadaver:int; public function Disparable(){ super(); linkVisible = new DisparableVisible(this); } public function update():Boolean{ return (true); } public function sufrirDanyo(n:Number, tipo:int, empuje:Vector2D){ } public function encontrarDestino(){ } public function torretaDestruida(id:int){ } } }//package
Section 93
//DisparableVisible (DisparableVisible) package { public class DisparableVisible extends ObjetoListaEnlazada { public var enLista:Boolean; public var disparable:Disparable; public function DisparableVisible(owner:Disparable){ super(); disparable = owner; } } }//package
Section 94
//domCircle (domCircle) package { import flash.display.*; public dynamic class domCircle extends MovieClip { public var domMask:MovieClip; public var flag:MovieClip; public function domCircle(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ flag.gotoAndPlay(1); stop(); stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 95
//DynamiteMC (DynamiteMC) package { import flash.display.*; public dynamic class DynamiteMC extends MovieClip { public function DynamiteMC(){ super(); } } }//package
Section 96
//Enemigo (Enemigo) package { import flash.display.*; public class Enemigo { var barra:MovieClip; private var padre:Canvas; public var destino:Vector2D; private var atacando:Boolean; private var enfermo:Boolean; public var muerto:Boolean; private var tipoEnemigo:Number; private var basePosition:Vector2D; public var factorVelocidad:Number; private var costoAlMorir:int; public var sufrirDanyoCounter:Number;// = 500 public var velocidad:Vector2D; public var movieClip:MovieClip; private var radioAtaqueSquared:Number; private var camino:Array; public var levelLimits:Vector2D; private var congeladoRemaining:int; public var energiaCadaver:int; private var particula:MovieClip; public var currentText:String; public var currentAnimacion:int; public var energiaInicial:Number; public var caminoTrack:int; private var danyoGolpe:Number; public var posicion:Vector2D; public var shootCounter:Number;// = 0 private var player:Player; public var map:MovieClip; private var slidingRemaining:int; public var energia:Number; public var radioSquared:Number; public var isVisible:Boolean;// = false public var elapsedTime:Number;// = 33.3333333333333 private var tillDisappear:int; private var baseDestino:int; public var radio:Number; public function Enemigo(canvas:MovieClip, x:Number, y:Number, limits:Vector2D, tipo:Number, wave:int, player:Player, _padre:Canvas){ sufrirDanyoCounter = 500; shootCounter = 0; elapsedTime = (1000 / 30); isVisible = false; super(); this.posicion = new Vector2D(); this.posicion.X = x; this.posicion.Y = y; this.velocidad = new Vector2D(); this.tipoEnemigo = tipo; map = canvas; padre = _padre; this.player = player; this.muerto = false; energiaInicial = padre.canvasScenario.parametrosOlas[1][tipo][1]; energiaCadaver = padre.canvasScenario.parametrosOlas[1][tipo][2]; factorVelocidad = padre.canvasScenario.parametrosOlas[1][tipo][3]; danyoGolpe = padre.canvasScenario.parametrosOlas[1][tipo][4]; switch (tipo){ case 5: movieClip = new Indice(); costoAlMorir = Parametros.CostoAlMorirIndice; this.radio = (movieClip.width / 2); movieClip.width = (movieClip.width * 0.75); movieClip.height = (movieClip.height * 0.75); break; case 1: movieClip = new Pulgar(); costoAlMorir = Parametros.CostoAlMorirPulgar; this.radio = (movieClip.width / 2); this.radio = (movieClip.width / 2); movieClip.width = (movieClip.width * 0.75); movieClip.height = (movieClip.height * 0.75); break; case 3: movieClip = new Soldado(); costoAlMorir = Parametros.CostoAlMorirSoldado; this.radio = 100; movieClip.width = (movieClip.width * 0.75); movieClip.height = (movieClip.height * 0.75); break; case 2: movieClip = new Sargento(); costoAlMorir = Parametros.CostoAlMorirSargento; this.radio = (movieClip.width / 2); movieClip.width = (movieClip.width * 0.75); movieClip.height = (movieClip.height * 0.75); break; case 4: movieClip = new Kamikaze(); costoAlMorir = Parametros.CostoAlMorirKamikaze; this.radio = (movieClip.width / 2); movieClip.width = (movieClip.width * 0.75); movieClip.height = (movieClip.height * 0.75); break; case 6: movieClip = new Boss(); costoAlMorir = Parametros.CostoAlMorirWorm; this.radio = (movieClip.width / 2); break; case 7: movieClip = new Runner(); costoAlMorir = Parametros.CostoAlMorirRunner; this.radio = (movieClip.width / 2); movieClip.width = (movieClip.width * 0.75); movieClip.height = (movieClip.height * 0.75); break; case 8: movieClip = new Robot(); costoAlMorir = Parametros.CostoAlMorirRobot; this.radio = (movieClip.width / 2); break; }; currentAnimacion = 1; barra = new EnergyBar(); barra.y = (movieClip.height / 2); movieClip.addChild(barra); padre.layerEnemies.addChild(movieClip); this.energia = this.energiaInicial; this.levelLimits = limits; this.radioSquared = (this.radio * this.radio); this.radioAtaqueSquared = (this.radio + 16); this.radioAtaqueSquared = (this.radioAtaqueSquared * this.radioAtaqueSquared); atacando = true; movieClip.x = posicion.X; movieClip.y = posicion.Y; basePosition = new Vector2D(); destino = new Vector2D(); encontrarDestino(); enfermo = false; } public function encontrarDestino(){ var minimo:Number; var dest:int; var i:int; var x:Number; var y:Number; var distanciaSq:Number; minimo = Number.MAX_VALUE; dest = -1; i = 0; while (i < player.bases.length) { if (player.bases[i].energia > 0){ x = player.bases[i].posicion.X; y = player.bases[i].posicion.Y; distanciaSq = (((posicion.X - x) * (posicion.X - x)) + ((posicion.Y - y) * (posicion.Y - y))); if (distanciaSq < minimo){ dest = i; minimo = distanciaSq; }; }; i++; }; if (dest != -1){ baseDestino = dest; basePosition.X = player.bases[dest].posicion.X; basePosition.Y = player.bases[dest].posicion.Y; camino = AStar.findPath(posicion.X, posicion.Y, dest); caminoTrack = camino.length; caminoTrack = (caminoTrack - 2); setNewDestiny(); }; } public function sufrirDanyo(n:Number, tipo:int, empuje:Vector2D){ var nueva:*; if (tipo == HudMenu.FREEZE_MINE_TRAP){ if (particula != null){ nueva = new hielo_mc(); particula.addChildAt(nueva, 0); } else { particula = new hielo_mc(); }; particula.x = movieClip.x; particula.y = movieClip.y; padre.layerParticle.addChild(particula); congeladoRemaining = Parametros.CongeladoUpdates; movieClip.gotoAndStop(("Quieto" + currentText)); return; } else { if (tipo == HudMenu.TOXIC_MINE_TRAP){ enfermo = true; if (particula == null){ particula = new gas_mc(); particula.x = movieClip.x; particula.y = movieClip.y; padre.layerParticle.addChild(particula); }; return; }; }; if (((!((empuje == null))) && ((congeladoRemaining <= 0)))){ slidingRemaining = Parametros.SlideUpdates; velocidad.X = empuje.X; velocidad.Y = empuje.Y; }; energia = (energia - n); if (energia > 0){ barra.green.scaleX = (energia / energiaInicial); } else { barra.green.visible = false; die(); }; } public function die(){ velocidad.X = (velocidad.Y = 0); } public function torretaDestruida(id:int){ if (baseDestino == id){ encontrarDestino(); }; } public function checkBullet(bala:Bala){ if ((((((((((((bala.movieClip.x > (posicion.X - 16))) && ((bala.movieClip.x < (posicion.X + 16))))) && ((bala.movieClip.y > (posicion.Y - 20))))) && ((bala.movieClip.y < (posicion.Y + 20))))) && (!(muerto)))) && ((bala.isPlayer == true)))){ bala.velocidad.X = (bala.velocidad.X * player.pushBack); bala.velocidad.Y = (bala.velocidad.Y * player.pushBack); sufrirDanyo(player.danyoDisparo, 0, null); bala.killIt = true; bala.tipoMuerte = 2; }; } public function update(){ var animDin:MovieClip; if (!muerto){ if (Math.sqrt((((posicion.X - player.posicion.X) * (posicion.X - player.posicion.X)) + ((posicion.Y - player.posicion.Y) * (posicion.Y - player.posicion.Y)))) <= player.radio){ isVisible = true; }; if (enfermo){ sufrirDanyo(Parametros.DanyoToxicMinePorUpdate, 0, null); particula.x = movieClip.x; particula.y = movieClip.y; }; if (congeladoRemaining > 0){ congeladoRemaining--; if (congeladoRemaining <= 0){ movieClip.gotoAndStop(("Avanzar" + currentText)); if (padre.layerParticle.contains(particula)){ padre.layerParticle.removeChild(particula); }; particula = null; if (enfermo){ sufrirDanyo(0, HudMenu.TOXIC_MINE_TRAP, null); }; }; } else { posicion.X = (posicion.X + velocidad.X); posicion.Y = (posicion.Y + velocidad.Y); movieClip.x = posicion.X; movieClip.y = posicion.Y; }; if (slidingRemaining > 0){ slidingRemaining--; if (slidingRemaining <= 0){ atacando = false; encontrarDestino(); }; }; if (((!(muerto)) && ((caminoTrack <= 4)))){ if (posicion.squaredDistanceTo(player.posicion) <= radioAtaqueSquared){ atacando = true; velocidad.X = (velocidad.Y = 0); if (movieClip.currentFrame != (currentAnimacion + 4)){ movieClip.gotoAndStop((currentAnimacion + 4)); }; if ((((tipoEnemigo == 4)) && ((atacando == true)))){ player.danyarBase(baseDestino, danyoGolpe); muerto = true; energia = 0; animDin = new explocion_mc(); animDin.x = movieClip.x; animDin.y = movieClip.y; map.addChild(animDin); animDin.scaleX = (animDin.scaleX * 1); animDin.scaleY = (animDin.scaleY * 1); animDin.play(); padre.padre.soundSystem.exploDinamita.play(0, 1, padre.padre.soundSystem.volPrincipal); return (false); }; if ((((tipoEnemigo == 3)) && ((atacando == true)))){ if (shootCounter <= 0){ padre.canvasScenario.newAddBullet((movieClip.x + map.x), (movieClip.y + map.y), (radio * 10), (player.movieClip.x + map.x), (player.movieClip.y + map.y), false); shootCounter = 1500; } else { if (shootCounter > 0){ shootCounter = (shootCounter - elapsedTime); }; }; } else { setSonido(); }; } else { if ((((atacando == true)) || ((((velocidad.X == 0)) && ((velocidad.Y == 0)))))){ atacando = false; encontrarDestino(); } else { if ((((velocidad.X == 0)) && ((velocidad.Y == 0)))){ encontrarDestino(); }; }; }; }; }; if ((((((((posicion.X < (destino.X + 5))) && ((posicion.X > (destino.X - 5))))) && ((posicion.Y > (destino.Y - 5))))) && ((posicion.Y < (destino.Y + 5))))){ encontrarDestino(); padre.canvasScenario.activateTrap(camino[(caminoTrack + 2)], camino[((caminoTrack + 1) + 2)], this); } else { if ((((energia <= -(energiaCadaver))) && (!(muerto)))){ darExperiencia(); die(); player.money = (player.money + costoAlMorir); player.updateMoneyCounter(); muerto = true; tillDisappear = 70; barra.alpha = 0; movieClip.gotoAndStop(13); player.level.padre.padre.soundSystem.entierro.play(0, 1, player.level.padre.padre.soundSystem.volPrincipal); } else { if (muerto){ tillDisappear--; if (tillDisappear <= 0){ if (particula != null){ if (padre.layerParticle.contains(particula)){ padre.layerParticle.removeChild(particula); }; }; if (padre.layerEnemies.contains(movieClip)){ padre.layerEnemies.removeChild(movieClip); }; padre.padre.achieveSystem.achControl((4 + tipoEnemigo)); padre.padre.achieveSystem.achControl(4); padre.padre.achieveSystem.achControl(11); return (false); }; }; }; }; return (true); } private function setNewDestiny(){ caminoTrack = (caminoTrack - 2); if (caminoTrack < 0){ caminoTrack = 0; return; }; destino.Y = ((camino[caminoTrack] * Parametros.TamanyoTile) + (Parametros.TamanyoTile / 2)); destino.X = ((camino[(caminoTrack + 1)] * Parametros.TamanyoTile) + (Parametros.TamanyoTile / 2)); velocidad.subAndAssign(destino, posicion); velocidad.normalize(factorVelocidad); if ((((velocidad.Y < 0)) && ((velocidad.Y <= -(Math.abs(velocidad.X)))))){ currentAnimacion = 2; currentText = "Abajo"; } else { if ((((velocidad.X > 0)) && ((velocidad.X >= Math.abs(velocidad.Y))))){ currentAnimacion = 3; currentText = "Izquierda"; } else { if ((((velocidad.Y > 0)) && ((velocidad.Y >= Math.abs(velocidad.X))))){ currentAnimacion = 1; currentText = "Arriba"; } else { if ((((velocidad.X < 0)) && ((velocidad.X <= -(Math.abs(velocidad.Y)))))){ currentAnimacion = 4; currentText = "Derecha"; }; }; }; }; movieClip.gotoAndStop(("Avanzar" + currentText)); } private function setSonido(){ var ran:Number; if (sufrirDanyoCounter <= 0){ player.danyarBase(baseDestino, danyoGolpe); ran = Math.floor((Math.random() * 4)); switch (ran){ case 0: player.level.padre.padre.soundSystem.canalSecundario = player.level.padre.padre.soundSystem.golpe1.play(0, 1, padre.padre.soundSystem.volPrincipal); break; case 1: player.level.padre.padre.soundSystem.canalSecundario = player.level.padre.padre.soundSystem.golpe2.play(0, 1, padre.padre.soundSystem.volPrincipal); break; case 2: player.level.padre.padre.soundSystem.canalSecundario = player.level.padre.padre.soundSystem.golpe3.play(0, 1, padre.padre.soundSystem.volPrincipal); break; case 3: player.level.padre.padre.soundSystem.canalSecundario = player.level.padre.padre.soundSystem.golpe4.play(0, 1, padre.padre.soundSystem.volPrincipal); break; case 4: player.level.padre.padre.soundSystem.canalSecundario = player.level.padre.padre.soundSystem.golpe4.play(0, 1, padre.padre.soundSystem.volPrincipal); break; }; sufrirDanyoCounter = 500; } else { if (sufrirDanyoCounter > 0){ sufrirDanyoCounter = (sufrirDanyoCounter - (1000 / 30)); }; }; } private function darExperiencia(){ padre.padre.kongregate.stats.submit("Kill", 1); switch (tipoEnemigo){ case 1: player.updateScore(1); player.updateExperience(1); padre.padre.kongregate.stats.submit("ThumbSoldier", 1); break; case 2: player.updateScore(2); player.updateExperience(1); padre.padre.kongregate.stats.submit("Seargent", 1); break; case 3: player.updateScore(2); player.updateExperience(2); padre.padre.kongregate.stats.submit("Shooters", 1); break; case 4: player.updateScore(2); player.updateExperience(2); padre.padre.kongregate.stats.submit("Kamikaze", 1); break; case 5: player.updateScore(3); player.updateExperience(3); padre.padre.kongregate.stats.submit("IndexSoldiers", 1); break; case 6: player.updateScore(2); player.updateExperience(2); padre.padre.kongregate.stats.submit("Runners", 1); break; case 7: case 8: player.updateScore(3); player.updateExperience(3); padre.padre.kongregate.stats.submit("Boss", 1); break; }; } } }//package
Section 97
//enemy_01 (enemy_01) package { import flash.display.*; public dynamic class enemy_01 extends MovieClip { public function enemy_01(){ super(); addFrameScript(47, frame48, 95, frame96, 99, frame100); } function frame100(){ gotoAndPlay("Idle"); } function frame96(){ gotoAndPlay("Idle"); } function frame48(){ gotoAndPlay("Idle"); } } }//package
Section 98
//enemy_02 (enemy_02) package { import flash.display.*; public dynamic class enemy_02 extends MovieClip { public function enemy_02(){ super(); addFrameScript(47, frame48, 51, frame52); } function frame48(){ gotoAndPlay("Idle"); } function frame52(){ gotoAndPlay("Idle"); } } }//package
Section 99
//enemy_03 (enemy_03) package { import flash.display.*; public dynamic class enemy_03 extends MovieClip { public function enemy_03(){ super(); addFrameScript(47, frame48, 52, frame53); } function frame48(){ gotoAndPlay("Idle"); } function frame53(){ gotoAndPlay("Idle"); } } }//package
Section 100
//EnergyBar (EnergyBar) package { import flash.display.*; public dynamic class EnergyBar extends MovieClip { public var green:GreenBar; public function EnergyBar(){ super(); } } }//package
Section 101
//Entierro (Entierro) package { import flash.media.*; public dynamic class Entierro extends Sound { public function Entierro(){ super(); } } }//package
Section 102
//explocion_mc (explocion_mc) package { import flash.display.*; public dynamic class explocion_mc extends MovieClip { public function explocion_mc(){ super(); addFrameScript(14, frame15); } function frame15(){ stop(); parent.removeChild(this); } } }//package
Section 103
//ExploDinamita (ExploDinamita) package { import flash.media.*; public dynamic class ExploDinamita extends Sound { public function ExploDinamita(){ super(); } } }//package
Section 104
//ExploGas (ExploGas) package { import flash.display.*; public dynamic class ExploGas extends MovieClip { public function ExploGas(){ super(); addFrameScript(19, frame20); } function frame20(){ stop(); parent.removeChild(this); } } }//package
Section 105
//ExploMina (ExploMina) package { import flash.media.*; public dynamic class ExploMina extends Sound { public function ExploMina(){ super(); } } }//package
Section 106
//ExploRocket (ExploRocket) package { import flash.media.*; public dynamic class ExploRocket extends Sound { public function ExploRocket(){ super(); } } }//package
Section 107
//ExplosionDisparoEnemigo1 (ExplosionDisparoEnemigo1) package { import flash.media.*; public dynamic class ExplosionDisparoEnemigo1 extends Sound { public function ExplosionDisparoEnemigo1(){ super(); } } }//package
Section 108
//GameOverClip (GameOverClip) package { import flash.display.*; public dynamic class GameOverClip extends MovieClip { public var backB:SimpleButton; public var gamagaLink:SimpleButton; public var tryB:SimpleButton; public function GameOverClip(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 109
//gamePaused (gamePaused) package { import flash.display.*; public dynamic class gamePaused extends MovieClip { public function gamePaused(){ super(); } } }//package
Section 110
//gas_mc (gas_mc) package { import flash.display.*; public dynamic class gas_mc extends MovieClip { public function gas_mc(){ super(); } } }//package
Section 111
//GatoMap (GatoMap) package { import flash.display.*; public dynamic class GatoMap extends MovieClip { public function GatoMap(){ super(); } } }//package
Section 112
//GatoMapStill (GatoMapStill) package { import flash.display.*; public dynamic class GatoMapStill extends MovieClip { public function GatoMapStill(){ super(); } } }//package
Section 113
//Golpe1 (Golpe1) package { import flash.media.*; public dynamic class Golpe1 extends Sound { public function Golpe1(){ super(); } } }//package
Section 114
//Golpe2 (Golpe2) package { import flash.media.*; public dynamic class Golpe2 extends Sound { public function Golpe2(){ super(); } } }//package
Section 115
//Golpe3 (Golpe3) package { import flash.media.*; public dynamic class Golpe3 extends Sound { public function Golpe3(){ super(); } } }//package
Section 116
//Golpe4 (Golpe4) package { import flash.media.*; public dynamic class Golpe4 extends Sound { public function Golpe4(){ super(); } } }//package
Section 117
//GolpeEnemigo1 (GolpeEnemigo1) package { import flash.media.*; public dynamic class GolpeEnemigo1 extends Sound { public function GolpeEnemigo1(){ super(); } } }//package
Section 118
//GolpeEnemigo2 (GolpeEnemigo2) package { import flash.media.*; public dynamic class GolpeEnemigo2 extends Sound { public function GolpeEnemigo2(){ super(); } } }//package
Section 119
//GolpeEnemigo3 (GolpeEnemigo3) package { import flash.media.*; public dynamic class GolpeEnemigo3 extends Sound { public function GolpeEnemigo3(){ super(); } } }//package
Section 120
//GolpeEnemigo4 (GolpeEnemigo4) package { import flash.media.*; public dynamic class GolpeEnemigo4 extends Sound { public function GolpeEnemigo4(){ super(); } } }//package
Section 121
//GolpeEnemigo5 (GolpeEnemigo5) package { import flash.media.*; public dynamic class GolpeEnemigo5 extends Sound { public function GolpeEnemigo5(){ super(); } } }//package
Section 122
//GreenBar (GreenBar) package { import flash.display.*; public dynamic class GreenBar extends MovieClip { public function GreenBar(){ super(); } } }//package
Section 123
//GunFire (GunFire) package { import flash.media.*; public dynamic class GunFire extends Sound { public function GunFire(){ super(); } } }//package
Section 124
//GunFire_doble (GunFire_doble) package { import flash.media.*; public dynamic class GunFire_doble extends Sound { public function GunFire_doble(){ super(); } } }//package
Section 125
//GunFire2 (GunFire2) package { import flash.media.*; public dynamic class GunFire2 extends Sound { public function GunFire2(){ super(); } } }//package
Section 126
//GunFire2_double (GunFire2_double) package { import flash.media.*; public dynamic class GunFire2_double extends Sound { public function GunFire2_double(){ super(); } } }//package
Section 127
//HealthSpace (HealthSpace) package { import flash.display.*; public dynamic class HealthSpace extends MovieClip { public function HealthSpace(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 128
//hielo_mc (hielo_mc) package { import flash.display.*; public dynamic class hielo_mc extends MovieClip { public function hielo_mc(){ super(); } } }//package
Section 129
//HowToPlay (HowToPlay) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class HowToPlay extends MovieClip { public var conq2:domCircle; public var conq3:domCircle; public var padre:UICanvas; public var button:SimpleButton; public var backB:SimpleButton; var interval:Timer; public var conq1:domCircle; public function HowToPlay(){ super(); addFrameScript(0, frame1); backB = button; alpha = 0; interval = new Timer((1000 / 24), 0); backB.addEventListener(MouseEvent.CLICK, backClick); backB.addEventListener(MouseEvent.ROLL_OVER, backOver); backB.addEventListener(MouseEvent.ROLL_OUT, backOut); } public function backOver(event:MouseEvent):void{ } function fadeOut(event:TimerEvent):void{ alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.addMainMenu(); padre.removeChild(this); }; } function frame1(){ conq1.gotoAndStop(1); conq2.gotoAndStop(2); conq2.domMask.scaleX = 0.75; conq1.domMask.scaleX = 0; conq3.gotoAndStop(3); } function exitWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeOut); } function fadeIn(event:TimerEvent):void{ alpha = (alpha + 0.1); if (alpha >= 1){ interval.removeEventListener(TimerEvent.TIMER, fadeIn); }; } public function backClick(event:MouseEvent):void{ backB.enabled = false; exitWindow(); } function enterWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeIn); interval.start(); } public function backOut(event:MouseEvent):void{ } } }//package
Section 130
//HudMenu (HudMenu) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.ui.*; public class HudMenu extends MovieClip { public var toxicMineButton:MovieClip; public var nivel:MovieClip; public var rateCount:int;// = 0 public var healthCount:int;// = 0 public var healthBar:MovieClip; public var _mainButton:SimpleButton; public var rateButton:SimpleButton; public var _healthPoints:TextField; public var healthButtonMinus:SimpleButton; var selectedTrap:int; public var _costMisil:TextField; public var damageIcon:MovieClip; public var losingBase:LosingBase; public var nextWave:SimpleButton; public var soundButtonOff:SimpleButton; public var _speedButton:SimpleButton; public var info:MovieClip; public var conquering:Conquering; public var healthButton:SimpleButton; public var expBar:MovieClip; public var _addLevel:MovieClip; public var pauseButton:SimpleButton; public var infoDano:TextField; public var actualDom:TextField; public var _actualLevel:TextField; public var _continueButton:SimpleButton; public var boxButton:MovieClip; public var _nextWaveButton:SimpleButton; public var sniperButton:MovieClip; public var infoTipo:TextField; public var playerName:TextField; public var _rangeButton:SimpleButton; public var _rateButtonMinus:SimpleButton; public var bonusObtained:BonusObtained; public var waveHudBack:MovieClip; public var _rangeButtonMinus:SimpleButton; public var _gamePaused:gamePaused; public var baseButton:MovieClip; public var mineButton:MovieClip; public var damageButtonMinus:SimpleButton; public var speedIcon:MovieClip; public var _damageButton:SimpleButton; public var misilButton:MovieClip; public var _costBase:TextField; public var actualScore:TextField; public var dynamiteButton:MovieClip; public var levelUpCost:TextField; public var _freezeMineButton:MovieClip; public var _toxicMineButton:MovieClip; var selectedObject:MovieClip; public var _costTower:TextField; public var rangeCount:int;// = 0 public var _expBar:MovieClip; public var _rateButton:SimpleButton; public var ratePoints:TextField; public var _healthButtonMinus:SimpleButton; public var _towerButton:MovieClip; public var inGameIntro:InGameIntro; public var _waveHud:WaveHud; public var padre:Canvas; public var infoTitulo:TextField; public var mButton:MovieClip; public var _soundOn:SimpleButton; public var _actualMoney:TextField; public var pushCount:int;// = 0 public var infoCosto:TextField; public var infoRof:TextField; public var infoWindow:MovieClip; public var mainButton:SimpleButton; public var _speedPoints:TextField; public var _healthButton:SimpleButton; public var _healthBar:MovieClip; public var _playerName:TextField; public var uziButton:MovieClip; public var continueButton:SimpleButton; public var _rangePoints:TextField; public var rangeButton:SimpleButton; public var shotgunButton:MovieClip; public var soundButtonOn:SimpleButton; public var rangeButtonMinus:SimpleButton; var player:Player; public var damageCount:int;// = 0 public var _damageButtonMinus:SimpleButton; public var _costDynamite:TextField; public var _mineButton:MovieClip; public var _baseButton:MovieClip; public var pointControled:PointControled; public var _pauseButton:SimpleButton; public var _damagePoints:TextField; public var rocketButton:MovieClip; public var _costMine:TextField; public var _botonUpgrade:MovieClip; public var waveHud:MovieClip; public var _soundOff:SimpleButton; public var _actualDom:TextField; public var rangeIcon:MovieClip; public var upPoints:MovieClip; public var freezeMineButton:MovieClip; public var rateButtonMinus:SimpleButton; public var addLevel:MovieClip; public var _boxButton:MovieClip; public var berettaButton:MovieClip; public var damageButton:SimpleButton; public var _ratePoints:TextField; var level:CanvasScenario; public var _totalPoints:TextField; public var towerButton:MovieClip; public var overhud:Boolean;// = false public var _misilButton:MovieClip; public var actualMoney:TextField; public var _dynamiteButton:MovieClip; public var _actualScore:TextField; public var _levelUpCost:TextField; var posicionDiscreta:Boolean; public var _nivelStar:MovieClip; public var _speedButtonMinus:SimpleButton; public static const TOXIC_MINE_TRAP:int = -4; public static const BOX:int = 1; public static const TOWER:int = 4; public static const FREEZE_MINE_TRAP:int = -5; public static const DYNAMITE_TRAP:int = -2; public static const BASE:int = -3; public static const MINE_TRAP:int = -1; public static const MISIL:int = 5; public function HudMenu(_padre:Canvas, level:CanvasScenario, player:Player){ var i:int; var newWave:MovieClip; overhud = false; healthCount = 0; damageCount = 0; rateCount = 0; pushCount = 0; rangeCount = 0; super(); padre = _padre; padre.stage.addEventListener(MouseEvent.MOUSE_MOVE, moverCursor); padre.stage.addEventListener(MouseEvent.MOUSE_UP, soltarObjeto); padre.stage.addEventListener(KeyboardEvent.KEY_DOWN, onPressKey); this.level = level; this.player = player; _actualMoney = actualMoney; _actualMoney.text = player.money.toString(); _actualDom = actualDom; _actualDom.text = player.domination.toString(); _mineButton = mineButton; _toxicMineButton = toxicMineButton; _freezeMineButton = freezeMineButton; _dynamiteButton = dynamiteButton; _baseButton = baseButton; _towerButton = towerButton; _misilButton = misilButton; _playerName = playerName; _actualLevel = nivel.actualLevel; _actualLevel.text = player.nivel.toString(); _addLevel = addLevel; _levelUpCost = levelUpCost; _mainButton = mainButton; _expBar = expBar; _healthBar = healthBar; _nextWaveButton = nextWave; infoWindow = info; _actualScore = actualScore; _pauseButton = pauseButton; _continueButton = continueButton; _soundOn = soundButtonOn; _soundOff = soundButtonOff; _boxButton = boxButton; _boxButton.addEventListener(MouseEvent.MOUSE_DOWN, boxSelected); _mineButton.addEventListener(MouseEvent.MOUSE_DOWN, mineSelected); _toxicMineButton.addEventListener(MouseEvent.MOUSE_DOWN, toxicMineSelected); _freezeMineButton.addEventListener(MouseEvent.MOUSE_DOWN, freezeMineSelected); _dynamiteButton.addEventListener(MouseEvent.MOUSE_DOWN, dynamiteSelected); _baseButton.addEventListener(MouseEvent.MOUSE_DOWN, baseSelected); _towerButton.addEventListener(MouseEvent.MOUSE_DOWN, towerSelected); _misilButton.addEventListener(MouseEvent.MOUSE_DOWN, misilSelected); _addLevel.addEventListener(MouseEvent.MOUSE_DOWN, levelUpSelected); _mainButton.addEventListener(MouseEvent.CLICK, mainMenuAccess); _nextWaveButton.addEventListener(MouseEvent.CLICK, nextWaveOrder); _pauseButton.addEventListener(MouseEvent.CLICK, pauseGame); _continueButton.addEventListener(MouseEvent.CLICK, pauseGame); _soundOn.addEventListener(MouseEvent.CLICK, soundOn); _soundOff.addEventListener(MouseEvent.CLICK, soundOff); this.berettaButton.addEventListener(MouseEvent.CLICK, berettaClick); this.uziButton.addEventListener(MouseEvent.CLICK, uziClick); this.mButton.addEventListener(MouseEvent.CLICK, mClick); this.shotgunButton.addEventListener(MouseEvent.CLICK, shotgunClick); this.rocketButton.addEventListener(MouseEvent.CLICK, rocketClick); this.sniperButton.addEventListener(MouseEvent.CLICK, sniperClick); _playerName.text = padre.padre.local_data.data.playerName; _expBar.addEventListener(MouseEvent.ROLL_OVER, expOver); _expBar.addEventListener(MouseEvent.ROLL_OUT, expOut); _healthBar.addEventListener(MouseEvent.ROLL_OVER, healthOver); _healthBar.addEventListener(MouseEvent.ROLL_OUT, healthOut); _mineButton.addEventListener(MouseEvent.ROLL_OVER, mineOver); _dynamiteButton.addEventListener(MouseEvent.ROLL_OVER, dynamiteOver); _baseButton.addEventListener(MouseEvent.ROLL_OVER, baseOver); _toxicMineButton.addEventListener(MouseEvent.ROLL_OVER, toxicOver); _freezeMineButton.addEventListener(MouseEvent.ROLL_OVER, freezeOver); _boxButton.addEventListener(MouseEvent.ROLL_OVER, boxOver); this.upPoints.addEventListener(MouseEvent.ROLL_OVER, upOver); this.addEventListener(MouseEvent.ROLL_OVER, hudOver); this.speedIcon.addEventListener(MouseEvent.ROLL_OVER, speedOver); this.damageIcon.addEventListener(MouseEvent.ROLL_OVER, damageOver); this.rangeIcon.addEventListener(MouseEvent.ROLL_OVER, rangeOver); this.berettaButton.addEventListener(MouseEvent.ROLL_OVER, berettaOver); this.uziButton.addEventListener(MouseEvent.ROLL_OVER, uziOver); this.mButton.addEventListener(MouseEvent.ROLL_OVER, mOver); this.shotgunButton.addEventListener(MouseEvent.ROLL_OVER, shotgunOver); this.rocketButton.addEventListener(MouseEvent.ROLL_OVER, rocketOver); this.sniperButton.addEventListener(MouseEvent.ROLL_OVER, sniperOver); _mineButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); _dynamiteButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); _baseButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); _toxicMineButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); _freezeMineButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); _boxButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.upPoints.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.addEventListener(MouseEvent.ROLL_OUT, hudOut); this.speedIcon.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.damageIcon.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.rangeIcon.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.berettaButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.uziButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.mButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.shotgunButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.rocketButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); this.sniperButton.addEventListener(MouseEvent.ROLL_OUT, mineOut); _mineButton.marcoBoton.alpha = 0; _toxicMineButton.marcoBoton.alpha = 0; _freezeMineButton.marcoBoton.alpha = 0; _dynamiteButton.marcoBoton.alpha = 0; _baseButton.marcoBoton.alpha = 0; _towerButton.marcoBoton.alpha = 0; _misilButton.marcoBoton.alpha = 0; _boxButton.marcoBoton.alpha = 0; _actualScore.text = "0"; _healthButton = healthButton; _rangeButton = rangeButton; _rateButton = rateButton; _damageButton = damageButton; _healthButtonMinus = healthButtonMinus; _rangeButtonMinus = rangeButtonMinus; _rateButtonMinus = rateButtonMinus; _damageButtonMinus = damageButtonMinus; _healthButton.addEventListener(MouseEvent.CLICK, moreHealth); _rangeButton.addEventListener(MouseEvent.CLICK, moreRange); _rateButton.addEventListener(MouseEvent.CLICK, moreRate); _damageButton.addEventListener(MouseEvent.CLICK, moreDamage); _healthButtonMinus.addEventListener(MouseEvent.CLICK, lessHealth); _rangeButtonMinus.addEventListener(MouseEvent.CLICK, lessRange); _rateButtonMinus.addEventListener(MouseEvent.CLICK, lessRate); _damageButtonMinus.addEventListener(MouseEvent.CLICK, lessDamage); _healthPoints = this.speedIcon.healthPoints; _rangePoints = this.rangeIcon.rangePoints; _ratePoints = ratePoints; _damagePoints = this.damageIcon.damagePoints; _totalPoints = this.upPoints.totalPoints; _totalPoints.text = (padre.player.points + ""); _healthPoints.text = "0"; _rangePoints.text = "0"; _ratePoints.text = "0"; _damagePoints.text = "0"; upgradeUpgrade(padre.player.points); _pauseButton.visible = true; _pauseButton.alpha = 1; _pauseButton.enabled = true; _continueButton.visible = false; _continueButton.alpha = 0; _continueButton.visible = false; _expBar.gotoAndStop(1); _healthBar.gotoAndStop(1); padre.padre.soundSystem.volPrincipal.volume = 0.6; _soundOn.enabled = true; _soundOn.visible = true; _soundOn.alpha = 1; _soundOff.enabled = false; _soundOff.visible = false; _soundOff.alpha = 0; if (waveHudBack == null){ waveHudBack = _waveHud.valueOf(); }; waveHud = waveHudBack; i = 1; while (i < padre.canvasScenario.parametrosOlas.length) { newWave = new newWaveBar(); newWave.gotoAndStop(padre.canvasScenario.parametrosOlas[i][9]); newWave.wave.text = ("" + i); newWave.x = (80 * (i - 1)); waveHud.waveBar.addChild(newWave); i++; }; upgradeUpgrade(padre.player.points); } public function upgradeButtonOut(e:MouseEvent){ _botonUpgrade.gotoAndStop(1); } public function freezeOver(e:MouseEvent){ _freezeMineButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(4); } public function refreshHud(){ if (player.money >= Parametros.CostoMina){ mineButton.gotoAndStop("alcansa"); } else { mineButton.gotoAndStop("noalcansa"); }; if (player.money >= Parametros.CostoDinamita){ dynamiteButton.gotoAndStop("alcansa"); } else { dynamiteButton.gotoAndStop("noalcansa"); }; if (player.money >= Parametros.CostoBase){ baseButton.gotoAndStop("alcansa"); } else { baseButton.gotoAndStop("noalcansa"); }; if (player.money >= Parametros.CostoMinaToxica){ toxicMineButton.gotoAndStop("alcansa"); } else { toxicMineButton.gotoAndStop("noalcansa"); }; if (player.money >= Parametros.CostoMinaCongelar){ freezeMineButton.gotoAndStop("alcansa"); } else { freezeMineButton.gotoAndStop("noalcansa"); }; if (player.money >= 5){ boxButton.gotoAndStop("alcansa"); } else { boxButton.gotoAndStop("noalcansa"); }; if (player.weaponEnabled[0] == 0){ this.berettaButton.block.alpha = 100; } else { this.berettaButton.block.alpha = 0; }; if (player.weaponEnabled[1] == 0){ this.uziButton.block.alpha = 100; } else { this.uziButton.block.alpha = 0; }; if (player.weaponEnabled[2] == 0){ this.shotgunButton.block.alpha = 100; } else { this.shotgunButton.block.alpha = 0; }; if (player.weaponEnabled[3] == 0){ this.mButton.block.alpha = 100; } else { this.mButton.block.alpha = 0; }; if (player.weaponEnabled[4] == 0){ this.sniperButton.block.alpha = 100; } else { this.sniperButton.block.alpha = 0; }; if (player.weaponEnabled[5] == 0){ this.rocketButton.block.alpha = 100; } else { this.rocketButton.block.alpha = 0; }; if (player.currentWeapon == 0){ this.berettaButton.selected.alpha = 100; } else { this.berettaButton.selected.alpha = 0; }; if (player.currentWeapon == 1){ this.uziButton.selected.alpha = 100; } else { this.uziButton.selected.alpha = 0; }; if (player.currentWeapon == 2){ this.shotgunButton.selected.alpha = 100; } else { this.shotgunButton.selected.alpha = 0; }; if (player.currentWeapon == 3){ this.mButton.selected.alpha = 100; } else { this.mButton.selected.alpha = 0; }; if (player.currentWeapon == 4){ this.sniperButton.selected.alpha = 100; } else { this.sniperButton.selected.alpha = 0; }; if (player.currentWeapon == 5){ this.rocketButton.selected.alpha = 100; } else { this.rocketButton.selected.alpha = 0; }; _actualMoney.text = player.money.toString(); _actualDom.text = player.domination.toString(); _actualLevel.text = player.nivel.toString(); } public function mineSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoMina)) && (padre.isRun))){ selectedObject = new MineMC(); this.padre.addChild(selectedObject); selectedTrap = MINE_TRAP; posicionDiscreta = true; }; } public function freezeMineSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoMina)) && (padre.isRun))){ selectedObject = new bombaMinaHielo_mc(); this.padre.addChild(selectedObject); selectedTrap = FREEZE_MINE_TRAP; posicionDiscreta = true; }; } public function conqueringMessage(isConquering:Boolean){ if ((((conquering == null)) && (isConquering))){ conquering = new Conquering(); conquering.x = (Canvas.APPLICATION_WIDTH / 2); conquering.y = 25; padre.addChild(conquering); padre.padre.soundSystem.sonidoMenuB.play(0, 1, padre.padre.soundSystem.volPrincipal); } else { if (((!((conquering == null))) && (!(isConquering)))){ padre.removeChild(conquering); conquering = null; }; }; } public function upgradeUpgrade(value:Number){ if (player.points == 0){ this.upPoints.gotoAndStop(1); } else { this.upPoints.gotoAndStop(2); }; if (healthCount > 0){ _healthButtonMinus.alpha = 1; _healthButtonMinus.enabled = true; _healthButtonMinus.visible = true; } else { _healthButtonMinus.alpha = 0; _healthButtonMinus.enabled = false; _healthButtonMinus.visible = false; }; if (rangeCount > 0){ _rangeButtonMinus.alpha = 1; _rangeButtonMinus.enabled = true; _rangeButtonMinus.visible = true; } else { _rangeButtonMinus.alpha = 0; _rangeButtonMinus.enabled = false; _rangeButtonMinus.visible = false; }; if (rateCount > 0){ _rateButtonMinus.alpha = 1; _rateButtonMinus.enabled = true; _rateButtonMinus.visible = true; } else { _rateButtonMinus.alpha = 0; _rateButtonMinus.enabled = false; _rateButtonMinus.visible = false; }; if (damageCount > 0){ _damageButtonMinus.alpha = 1; _damageButtonMinus.enabled = true; _damageButtonMinus.visible = true; } else { _damageButtonMinus.alpha = 0; _damageButtonMinus.enabled = false; _damageButtonMinus.visible = false; }; if ((((value > 0)) && ((value < 10)))){ _healthButton.alpha = 1; _healthButton.enabled = true; _healthButton.visible = true; _rangeButton.alpha = 1; _rangeButton.enabled = true; _rangeButton.visible = true; _rateButton.alpha = 1; _rateButton.enabled = true; _rateButton.visible = true; _damageButton.alpha = 1; _damageButton.enabled = true; _damageButton.visible = true; } else { _healthButton.alpha = 0; _healthButton.enabled = false; _healthButton.visible = false; _rangeButton.alpha = 0; _rangeButton.enabled = false; _rangeButton.visible = false; _rateButton.alpha = 0; _rateButton.enabled = false; _rateButton.visible = false; _damageButton.alpha = 0; _damageButton.enabled = false; _damageButton.visible = false; }; refreshHud(); } public function dynamiteOver(e:MouseEvent){ _dynamiteButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(5); } public function expOver(e:MouseEvent){ _expBar.gotoAndStop(2); } public function baseSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoBase)) && (padre.isRun))){ selectedObject = new BaseMC(); this.padre.addChild(selectedObject); selectedTrap = BASE; posicionDiscreta = true; }; } public function toxicOver(e:MouseEvent){ _toxicMineButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(3); } public function towerSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoTorreta)) && (padre.isRun))){ this.padre.addChild(selectedObject); selectedTrap = TOWER; posicionDiscreta = true; }; } public function damageOver(e:MouseEvent){ infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(9); } public function toxicMineSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoMina)) && (padre.isRun))){ selectedObject = new bombaMinaGas_mc(); this.padre.addChild(selectedObject); selectedTrap = TOXIC_MINE_TRAP; posicionDiscreta = true; }; } public function levelUpSelected(e:MouseEvent){ player.levelUp(); if ((player.nivel + 1) < Parametros.ParametrosPlayerPorNivel.length){ _actualLevel.text = player.nivel.toString(); _levelUpCost.text = Parametros.ParametrosPlayerPorNivel[(player.nivel + 1)][4].toString(); } else { _addLevel.visible = false; _addLevel.enabled = false; }; refreshHud(); } public function losingMessage(isLosing:Boolean){ if ((((losingBase == null)) && (isLosing))){ losingBase = new LosingBase(); losingBase.x = (Canvas.APPLICATION_WIDTH / 2); losingBase.y = 25; padre.addChild(losingBase); padre.padre.soundSystem.sonidoMenuB.play(0, 1, padre.padre.soundSystem.volPrincipal); } else { if (((!((losingBase == null))) && ((isLosing == false)))){ padre.removeChild(losingBase); losingBase = null; }; }; } public function mClick(e:MouseEvent){ if (player.weaponEnabled[3] == 0){ if (player.points >= 2){ player.weaponEnabled[3] = 1; player.points = (player.points - 2); _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); this.mButton.block.alpha = 0; player.setWeapon(3); infoWindow.unlockable.alpha = 0; }; } else { this.mButton.block.alpha = 0; player.setWeapon(3); }; refreshHud(); } public function shotgunClick(e:MouseEvent){ if (player.weaponEnabled[2] == 0){ if (player.points >= 4){ player.weaponEnabled[2] = 1; player.points = (player.points - 4); _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); this.shotgunButton.block.alpha = 0; player.setWeapon(2); infoWindow.unlockable.alpha = 0; }; } else { this.shotgunButton.block.alpha = 0; player.setWeapon(2); }; refreshHud(); } public function boxOver(e:MouseEvent){ _boxButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(6); } public function healthOver(e:MouseEvent){ _healthBar.gotoAndStop(2); } public function lessHealth(e:MouseEvent){ if (healthCount > 0){ healthCount--; player.setWeapon(player.currentWeapon); _healthPoints.text = (healthCount + ""); player.points++; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); }; } public function uziOver(e:MouseEvent){ this.uziButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(12); if (player.weaponEnabled[1] == 0){ infoWindow.unlockable.alpha = 1; } else { infoWindow.unlockable.alpha = 0; }; } public function moverCursor(e:MouseEvent){ if (((!((selectedObject == null))) && (padre.isRun))){ if (posicionDiscreta){ selectedObject.x = level.toLevelTileCoordX(e.stageX); selectedObject.y = level.toLevelTileCoordY(e.stageY); } else { selectedObject.x = e.stageX; selectedObject.y = e.stageY; }; }; } public function uziClick(e:MouseEvent){ if (player.weaponEnabled[1] == 0){ if (player.points >= 2){ player.weaponEnabled[1] = 1; player.points = (player.points - 2); _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); this.uziButton.block.alpha = 0; player.setWeapon(1); infoWindow.unlockable.alpha = 0; }; } else { this.uziButton.block.alpha = 0; player.setWeapon(1); }; refreshHud(); } public function boxSelected(e:MouseEvent){ if ((((player.money >= 5)) && (padre.isRun))){ selectedObject = new boxTrap_mc(); this.addChild(selectedObject); selectedTrap = BOX; posicionDiscreta = true; }; } public function gameIntro(){ inGameIntro = new InGameIntro(); inGameIntro.x = (Canvas.APPLICATION_WIDTH / 2); inGameIntro.y = (Canvas.APPLICATION_HEIGHT - 75); padre.addChild(inGameIntro); } public function soltarObjeto(e:MouseEvent){ if (((!((selectedObject == null))) && (padre.isRun))){ if (selectedTrap != BOX){ padre.removeChild(selectedObject); } else { this.removeChild(selectedObject); }; if (e.stageX < Canvas.APPLICATION_WIDTH){ switch (selectedTrap){ case MINE_TRAP: case TOXIC_MINE_TRAP: case FREEZE_MINE_TRAP: level.addMina(selectedObject.x, selectedObject.y, selectedTrap, selectedObject); break; case DYNAMITE_TRAP: level.addDinamita(selectedObject.x, selectedObject.y); break; case BASE: level.addTurret(selectedObject.x, selectedObject.y); break; case TOWER: break; case MISIL: break; case BOX: level.addBox(selectedObject.x, selectedObject.y); break; }; }; selectedObject = null; }; refreshHud(); } public function rocketOver(e:MouseEvent){ this.rocketButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(16); if (player.weaponEnabled[5] == 0){ infoWindow.unlockable.alpha = 1; } else { infoWindow.unlockable.alpha = 0; }; } public function speedOver(e:MouseEvent){ infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(8); } public function sniperClick(e:MouseEvent){ if (player.weaponEnabled[4] == 0){ if (player.points >= 4){ player.weaponEnabled[4] = 1; player.points = (player.points - 4); _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); this.sniperButton.block.alpha = 0; player.setWeapon(4); infoWindow.unlockable.alpha = 0; }; } else { this.sniperButton.block.alpha = 0; player.setWeapon(4); }; refreshHud(); } public function moreRate(e:MouseEvent){ rateCount++; player.setWeapon(player.currentWeapon); _ratePoints.text = (rateCount + ""); if (player.points > 0){ padre.player.points--; _totalPoints.text = (padre.player.points + ""); upgradeUpgrade(padre.player.points); }; } public function getUpgrade(e:MouseEvent){ if ((((padre.isWin == false)) && (padre.player.update(padre.mouseInLevel, (1000 / padre.FrameRate))))){ if (padre.isRun == true){ }; }; } public function soundOff(e:MouseEvent){ padre.padre.soundSystem.volPrincipal.volume = 0.6; _soundOn.enabled = true; _soundOn.visible = true; _soundOn.alpha = 1; _soundOff.enabled = false; _soundOff.visible = false; _soundOff.alpha = 0; } public function shotgunOver(e:MouseEvent){ this.shotgunButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(14); if (player.weaponEnabled[3] == 0){ infoWindow.unlockable.alpha = 1; } else { infoWindow.unlockable.alpha = 0; }; } public function mineOut(e:MouseEvent){ _mineButton.marcoBoton.alpha = 0; _dynamiteButton.marcoBoton.alpha = 0; _baseButton.marcoBoton.alpha = 0; _toxicMineButton.marcoBoton.alpha = 0; _freezeMineButton.marcoBoton.alpha = 0; _boxButton.marcoBoton.alpha = 0; this.berettaButton.marcoBoton.alpha = 0; this.uziButton.marcoBoton.alpha = 0; this.mButton.marcoBoton.alpha = 0; this.shotgunButton.marcoBoton.alpha = 0; this.rocketButton.marcoBoton.alpha = 0; this.sniperButton.marcoBoton.alpha = 0; infoWindow.stopDrag(); infoWindow.gotoAndStop(1); infoWindow.unlockable.alpha = 0; } public function upOver(e:MouseEvent){ infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(7); } public function onPressKey(event:KeyboardEvent){ switch (event.keyCode){ case Keyboard.SPACE: case 85: break; case 80: if ((((padre.isWin == false)) && (padre.player.update(padre.mouseInLevel, (1000 / padre.FrameRate))))){ if (padre.isRun == false){ padre.intervalo.start(); padre.isRun = true; padre.removeChild(_gamePaused); _gamePaused = null; _pauseButton.visible = true; _pauseButton.alpha = 1; _pauseButton.enabled = true; _continueButton.visible = false; _continueButton.alpha = 0; _continueButton.visible = false; } else { padre.intervalo.stop(); padre.isRun = false; _gamePaused = new gamePaused(); _gamePaused.x = (Canvas.APPLICATION_WIDTH / 2); _gamePaused.y = (Canvas.APPLICATION_HEIGHT / 2); padre.addChild(_gamePaused); _pauseButton.visible = false; _pauseButton.alpha = 0; _pauseButton.enabled = false; _continueButton.visible = true; _continueButton.alpha = 1; _continueButton.visible = true; }; }; break; }; } public function lessRate(e:MouseEvent){ if (rateCount > 0){ rateCount--; player.setWeapon(player.currentWeapon); _ratePoints.text = (rateCount + ""); padre.player.points++; _totalPoints.text = (padre.player.points + ""); upgradeUpgrade(padre.player.points); }; } public function nextWaveOrder(e:MouseEvent){ padre.canvasScenario.timeToNextWave = 0; padre.canvasScenario.updateTimeCounter(); } public function moreHealth(e:MouseEvent){ healthCount++; player.setWeapon(player.currentWeapon); _healthPoints.text = (healthCount + ""); if (player.points > 0){ player.points--; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); }; } public function mainMenuAccess(e:MouseEvent){ padre.player.movieClip.stage.removeEventListener(KeyboardEvent.KEY_DOWN, padre.player.onKeyDown); padre.player.movieClip.stage.removeEventListener(KeyboardEvent.KEY_UP, padre.player.onKeyUp); padre.player.movieClip.stage.removeEventListener(MouseEvent.MOUSE_DOWN, padre.player.onClick); padre.player.movieClip.stage.removeEventListener(MouseEvent.MOUSE_UP, padre.player.onUnclick); padre.padre.exitGame(false); } public function upgradeButtonOver(e:MouseEvent){ _botonUpgrade.gotoAndStop(2); } public function sniperOver(e:MouseEvent){ this.sniperButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(15); if (player.weaponEnabled[4] == 0){ infoWindow.unlockable.alpha = 1; } else { infoWindow.unlockable.alpha = 0; }; } public function lessDamage(e:MouseEvent){ if (damageCount > 0){ damageCount--; player.setWeapon(player.currentWeapon); _damagePoints.text = (damageCount + ""); player.points++; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); }; } public function hudOver(e:MouseEvent){ overhud = true; } public function misilSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoMisil)) && (padre.isRun))){ this.addChild(selectedObject); selectedTrap = MISIL; posicionDiscreta = true; }; } public function hudOut(e:MouseEvent){ overhud = false; } public function moreRange(e:MouseEvent){ rangeCount++; player.setWeapon(player.currentWeapon); _rangePoints.text = (rangeCount + ""); if (player.points > 0){ player.points--; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); }; } public function mOver(e:MouseEvent){ this.mButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(13); if (player.weaponEnabled[2] == 0){ infoWindow.unlockable.alpha = 1; } else { infoWindow.unlockable.alpha = 0; }; } public function rocketClick(e:MouseEvent){ if (player.weaponEnabled[5] == 0){ if (player.points >= 6){ player.weaponEnabled[5] = 1; player.points = (player.points - 6); _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); this.sniperButton.block.alpha = 0; player.setWeapon(5); infoWindow.unlockable.alpha = 0; }; } else { this.sniperButton.block.alpha = 0; player.setWeapon(5); }; refreshHud(); } public function pauseGame(e:MouseEvent){ if ((((padre.isWin == false)) && (padre.player.updatePlayer))){ if (padre.isRun == false){ padre.intervalo.start(); padre.ingame = true; padre.newDate = new Date(); padre.lastDate = padre.newDate.time; padre.difference = 33; padre.isRun = true; padre.removeChild(_gamePaused); _gamePaused = null; _pauseButton.visible = true; _pauseButton.alpha = 1; _pauseButton.enabled = true; _continueButton.visible = false; _continueButton.alpha = 0; _continueButton.visible = false; } else { padre.intervalo.stop(); padre.ingame = false; padre.isRun = false; _gamePaused = new gamePaused(); _gamePaused.x = (Canvas.APPLICATION_WIDTH / 2); _gamePaused.y = (Canvas.APPLICATION_HEIGHT / 2); padre.addChild(_gamePaused); _pauseButton.visible = false; _pauseButton.alpha = 0; _pauseButton.enabled = false; _continueButton.visible = true; _continueButton.alpha = 1; _continueButton.visible = true; }; }; } public function lessRange(e:MouseEvent){ if (rangeCount > 0){ rangeCount--; player.setWeapon(player.currentWeapon); _rangePoints.text = (rangeCount + ""); player.points++; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); }; } public function moreDamage(e:MouseEvent){ damageCount++; player.setWeapon(player.currentWeapon); _damagePoints.text = (damageCount + ""); if (player.points > 0){ player.points--; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); }; } public function baseOver(e:MouseEvent){ _baseButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(4); } public function healthOut(e:MouseEvent){ _healthBar.gotoAndStop(1); } public function pointControledMessage(value:Boolean){ if (value == false){ padre.padre.soundSystem.sonidoMenuB.play(0, 1, padre.padre.soundSystem.volPrincipal); pointControled = new PointControled(); pointControled.x = (Canvas.APPLICATION_WIDTH / 2); pointControled.y = 25; padre.addChild(pointControled); } else { padre.padre.soundSystem.bonus.play(0, 1, padre.padre.soundSystem.volPrincipal); bonusObtained = new BonusObtained(); bonusObtained.x = (Canvas.APPLICATION_WIDTH / 2); bonusObtained.y = 25; padre.addChild(bonusObtained); padre.padre.soundSystem.bonus.play(0, 1, padre.padre.soundSystem.volPrincipal); }; } public function soundOn(e:MouseEvent){ padre.padre.soundSystem.volPrincipal.volume = 0; _soundOn.enabled = false; _soundOn.visible = false; _soundOn.alpha = 0; _soundOff.enabled = true; _soundOff.visible = true; _soundOff.alpha = 1; } public function rangeOver(e:MouseEvent){ infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(10); } public function mineOver(e:MouseEvent){ _mineButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.gotoAndStop(2); } public function dynamiteSelected(e:MouseEvent){ if ((((player.money >= Parametros.CostoDinamita)) && (padre.isRun))){ selectedObject = new DynamiteMC(); this.padre.addChild(selectedObject); selectedTrap = DYNAMITE_TRAP; posicionDiscreta = true; }; } public function berettaClick(e:MouseEvent){ if (player.weaponEnabled[0] == 0){ if (player.points > 0){ player.weaponEnabled[0] = 1; _totalPoints.text = (player.points + ""); upgradeUpgrade(player.points); player.setWeapon(0); infoWindow.unlockable.alpha = 0; }; } else { this.berettaButton.block.alpha = 0; player.setWeapon(0); infoWindow.unlockable.alpha = 0; }; refreshHud(); } public function berettaOver(e:MouseEvent){ this.berettaButton.marcoBoton.alpha = 1; infoWindow.startDrag(); infoWindow.x = (padre.mouseInScreen.X + 5); infoWindow.y = (padre.mouseInScreen.Y - 5); infoWindow.gotoAndStop(11); if (player.weaponEnabled[0] == 0){ infoWindow.unlockable.alpha = 1; } else { infoWindow.unlockable.alpha = 0; }; } public function expOut(e:MouseEvent){ _expBar.gotoAndStop(1); } } }//package
Section 131
//ImpactoEnEnemigo (ImpactoEnEnemigo) package { import flash.display.*; public dynamic class ImpactoEnEnemigo extends MovieClip { public function ImpactoEnEnemigo(){ super(); addFrameScript(5, frame6); } function frame6(){ stop(); parent.removeChild(this); } } }//package
Section 132
//ImpactoEnEnemigo_ (ImpactoEnEnemigo_) package { import flash.display.*; public dynamic class ImpactoEnEnemigo_ extends MovieClip { public function ImpactoEnEnemigo_(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 133
//Indice (Indice) package { import flash.display.*; public dynamic class Indice extends MovieClip { public var mc:MovieClip; public function Indice(){ super(); } } }//package
Section 134
//InGameIntro (InGameIntro) package { import flash.display.*; public dynamic class InGameIntro extends MovieClip { public function InGameIntro(){ super(); } } }//package
Section 135
//InsertNameWindow (InsertNameWindow) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.ui.*; public class InsertNameWindow extends MovieClip { public var insertName:TextField; public var padre:UICanvas; public var playerName:TextField; public var okIt:SimpleButton; public var okButton:SimpleButton; public var playerString:String; public var interval:Timer; public function InsertNameWindow(pad:UICanvas){ super(); okButton = okIt; playerName = insertName; padre = pad; okButton.addEventListener(MouseEvent.CLICK, okClick); padre.addEventListener(KeyboardEvent.KEY_DOWN, onEnter); playerName.text = "Enter your name."; playerName.selectable = true; playerName.maxChars = 12; x = 350; y = 250; interval = new Timer((1000 / 24), 0); } function fadeOut(event:TimerEvent):void{ alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.achieveSystem = new AchieveSystem(); padre.achieveSystem.padre = padre; padre.achieveSystem.initAchievements(); if (padre.local_data.data.playerName == playerString){ } else { padre.local_data.data.playerName = playerString; }; padre.gotoAndStop("MainMenu"); padre.removeChild(this); }; } public function onEnter(event:KeyboardEvent){ switch (event.keyCode){ case Keyboard.ENTER: if ((((playerName.text == "")) || ((playerName.text == "Type your name.")))){ playerName.text = "Type your name."; } else { padre.openData(playerName.text); exitWindow(); }; break; }; } public function okClick(event:MouseEvent):void{ if ((((playerName.text == "")) || ((playerName.text == "Type your name.")))){ playerName.text = "Type your name."; } else { padre.openData(playerName.text); exitWindow(); }; } function exitWindow(){ padre.removeEventListener(KeyboardEvent.KEY_DOWN, onEnter); interval.addEventListener(TimerEvent.TIMER, fadeOut); interval.start(); playerString = playerName.text; playerName.text = ""; okButton.enabled = false; } } }//package
Section 136
//IntroSlogan (IntroSlogan) package { import flash.text.*; public dynamic class IntroSlogan extends Font { public function IntroSlogan(){ super(); } } }//package
Section 137
//jumpA (jumpA) package { import flash.media.*; public dynamic class jumpA extends Sound { public function jumpA(){ super(); } } }//package
Section 138
//Kamikaze (Kamikaze) package { import flash.display.*; public dynamic class Kamikaze extends MovieClip { public function Kamikaze(){ super(); } } }//package
Section 139
//language (language) package { import flash.net.*; public class language { public static var localConnection = new LocalConnection(); public static var _languageNum:uint = 0; public static var _languageBox:Array = new Array(); public static var SpillGroupUrl:Array = new Array(); public static var gamename = "Bunny_Charm"; public function language(){ super(); } public static function get url2():String{ var i:int; i = 0; while (i < SpillGroupUrl.length) { if (localConnection.domain == SpillGroupUrl[i]){ return (_languageBox[_languageNum].url2); }; i++; }; return (_languageBox[_languageNum].url2); } public static function get language_nr():String{ return (_languageBox[_languageNum].language_nr); } public static function get portal():String{ return (_languageBox[_languageNum].portal); } public static function set Language(languageVersion:Object):void{ var returnDomain:Function; var hostingdomain:String; var myList:String; var myArray:Array; var language1:*; var language2:*; var language3:*; var language4:*; var language5:*; var language6:*; var language7:*; var language8:*; var language9:*; var language10:*; var language11:*; var language12:*; var language13:*; var language14:*; var language15:*; var language16:*; var language17:*; var language18:*; var domainextention:int; var domainname:int; var languageVersion = languageVersion; returnDomain = function (w:String):String{ var domain:String; var j:uint; domain = new String(); j = 7; while (j < w.length) { if (w.charAt(j) == "/"){ break; }; domain = (domain + w.charAt(j)); j++; }; return (domain); }; hostingdomain = ""; myList = localConnection.domain; myArray = myList.split("."); if (myArray.length <= 3){ domainextention = (myArray.length - 1); domainname = (myArray.length - 2); hostingdomain = ((myArray[domainname] + ".") + myArray[domainextention]); } else { hostingdomain = localConnection.domain; }; language1 = new languageItem(); language1.url1 = ((("http://www.agame.com/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language1.url2 = ("http://www.agame.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language1.language_nr = 1; language1.branding_nr = 1; language1.portal = "tweens"; _languageBox.push(language1); language2 = new languageItem(); language2.url1 = "http://www.game.com.cn/moregames/"; language2.url2 = "http://www.game.com.cn/moregames/"; language2.language_nr = 2; language2.branding_nr = 2; language2.portal = "game_com_cn"; _languageBox.push(language2); language3 = new languageItem(); language3.url1 = ((("http://www.spel.nl/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language3.url2 = ("http://www.spel.nl/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language3.language_nr = 3; language3.branding_nr = 4; language3.portal = "tweens"; _languageBox.push(language3); language4 = new languageItem(); language4.url1 = ((("http://www.jeu.fr/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language4.url2 = ("http://www.jeu.fr/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language4.language_nr = 4; language4.branding_nr = 5; language4.portal = "tweens"; _languageBox.push(language4); language5 = new languageItem(); language5.url1 = ((("http://www.spielen.com/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language5.url2 = ("http://www.spielen.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language5.language_nr = 5; language5.branding_nr = 6; language5.portal = "tweens"; _languageBox.push(language5); language6 = new languageItem(); language6.url1 = ((("http://www.minigry.pl/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language6.url2 = ("http://www.minigry.pl/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language6.language_nr = 6; language6.branding_nr = 14; language6.portal = "tweens"; _languageBox.push(language6); language7 = new languageItem(); language7.url1 = ((("http://www.spel.eu/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language7.url2 = ("http://www.spel.eu/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language7.language_nr = 7; language7.branding_nr = 9; language7.portal = "tweens"; _languageBox.push(language7); language8 = new languageItem(); language8.url1 = ((("http://www.giocaregratis.it/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language8.url2 = ("http://www.giocaregratis.it/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language8.language_nr = 8; language8.branding_nr = 8; language8.portal = "tweens"; _languageBox.push(language8); language9 = new languageItem(); language9.url1 = ((("http://www.zapjuegos.com/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language9.url2 = ("http://www.zapjuegos.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language9.language_nr = 9; language9.branding_nr = 3; language9.portal = "tweens"; _languageBox.push(language9); language10 = new languageItem(); language10.url1 = ((("http://www.clickjogos.com/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language10.url2 = ("http://www.clickjogos.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language10.language_nr = 11; language10.branding_nr = 7; language10.portal = "tweens"; _languageBox.push(language10); language11 = new languageItem(); language11.url1 = ((("http://www.games.co.id/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language11.url2 = ("http://www.games.co.id/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language11.language_nr = 13; language11.branding_nr = 13; language11.portal = "tweens"; _languageBox.push(language11); language12 = new languageItem(); language12.url1 = ((("http://www.flashgames.ru/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language12.url2 = ("http://www.flashgames.ru/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language12.language_nr = 12; language12.branding_nr = 11; language12.portal = "tweens"; _languageBox.push(language12); language13 = new languageItem(); language13.url1 = ((("http://www.mygames.co.uk/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language13.url2 = ("http://www.mygames.co.uk/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language13.language_nr = 16; language13.branding_nr = 10; language13.portal = "tweens"; _languageBox.push(language13); language14 = new languageItem(); language14.url1 = ((("http://www.game.co.in/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language14.url2 = ("http://www.game.co.in/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language14.language_nr = 16; language14.branding_nr = 12; language14.portal = "tweens"; _languageBox.push(language14); language15 = new languageItem(); language15.url1 = ((("http://www.asoyun.com/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language15.url2 = ("http://www.asoyun.com/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language15.language_nr = 14; language15.branding_nr = 15; language15.portal = "tweens"; _languageBox.push(language15); language16 = new languageItem(); language16.url1 = ((("http://www.game.com.my/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language16.url2 = ("http://www.game.com.my/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language16.language_nr = 15; language16.branding_nr = 16; language16.portal = "tweens"; _languageBox.push(language16); language17 = new languageItem(); language17.url1 = ((("http://www.ojogos.pt/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language17.url2 = ("http://www.ojogos.pt/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language17.language_nr = 10; language17.branding_nr = 42; language17.portal = "family"; _languageBox.push(language17); language18 = new languageItem(); language18.url1 = ((("http://www.egames.jp/moregames/?utm_medium=brandedgames_external&utm_campaign=" + gamename) + "&utm_source=") + hostingdomain); language18.url2 = ("http://www.egames.jp/moregames/?utm_medium=brandedgames_internal&utm_campaign=" + gamename); language18.language_nr = 17; language18.branding_nr = 44; language18.portal = "tweens"; _languageBox.push(language18); SpillGroupUrl.push("localhost"); SpillGroupUrl.push("www8.agame.com"); if ((((((languageVersion is Number)) || ((languageVersion is uint)))) || ((languageVersion is int)))){ _languageNum = (Number(languageVersion) - 1); }; } public static function get url1():String{ var i:int; i = 0; while (i < SpillGroupUrl.length) { if (localConnection.domain == SpillGroupUrl[i]){ return (_languageBox[_languageNum].url2); }; i++; }; return (_languageBox[_languageNum].url1); } public static function get branding_nr():String{ return (_languageBox[_languageNum].branding_nr); } } }//package class languageItem { public var url1:String; public var url2:String; public var branding_nr:int; public var language_nr:int; public var portal:String; private function languageItem(){ super(); } }
Section 140
//LevelUp (LevelUp) package { import flash.display.*; public dynamic class LevelUp extends MovieClip { public function LevelUp(){ super(); } } }//package
Section 141
//ListaEnlazada (ListaEnlazada) package { public class ListaEnlazada { public var primerObjeto:ObjetoListaEnlazada; public var counter:int; public function ListaEnlazada(){ super(); primerObjeto = null; counter = 0; } public function agregarObjeto(obj:ObjetoListaEnlazada){ obj.sgte = primerObjeto; if (primerObjeto != null){ primerObjeto.prev = obj; }; obj.prev = null; primerObjeto = obj; counter++; } public function removerObjeto(obj:ObjetoListaEnlazada){ if (obj.sgte != null){ obj.sgte.prev = obj.prev; }; if (obj.prev != null){ obj.prev.sgte = obj.sgte; } else { primerObjeto = obj.sgte; }; counter--; } } }//package
Section 142
//LosingBase (LosingBase) package { import flash.display.*; public dynamic class LosingBase extends MovieClip { public function LosingBase(){ super(); } } }//package
Section 143
//MainMenu (MainMenu) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; import flash.net.*; import flash.ui.*; public class MainMenu extends MovieClip { public var pmgButton:SimpleButton; public var padre:UICanvas; public var pScore:TextField; public var pName:TextField; public var achievements:SimpleButton; public var pLevel:TextField; public var oSelected:Number;// = 0 public var infoPlayer:MovieClip; public var difSelected:Number;// = 0 public var highscores:SimpleButton; public var htpButton:SimpleButton; public var achButton:SimpleButton; public var specialButton:SimpleButton; public var gamagaLink:SimpleButton; public var scoreButton:SimpleButton; public var difficultyWindow:DifficultyWindow; public var newGame:SimpleButton; public var interval:Timer; public var howToPlay:SimpleButton; public var newButton:SimpleButton; public function MainMenu(padre:UICanvas){ oSelected = 0; difSelected = 0; super(); addFrameScript(0, frame1, 14, frame15); this.padre = padre; alpha = 0; padre.addEventListener(KeyboardEvent.KEY_DOWN, onEnter); interval = new Timer((1000 / 24), 0); newButton = newGame; htpButton = howToPlay; achButton = achievements; scoreButton = highscores; newButton.enabled = false; htpButton.enabled = false; achButton.enabled = false; scoreButton.enabled = false; newButton.addEventListener(MouseEvent.CLICK, newClick); newButton.addEventListener(MouseEvent.ROLL_OVER, newOver); newButton.addEventListener(MouseEvent.ROLL_OUT, newOut); htpButton.addEventListener(MouseEvent.CLICK, htpClick); htpButton.addEventListener(MouseEvent.ROLL_OVER, htpOver); htpButton.addEventListener(MouseEvent.ROLL_OUT, htpOut); achButton.addEventListener(MouseEvent.CLICK, achClick); achButton.addEventListener(MouseEvent.ROLL_OVER, achOver); achButton.addEventListener(MouseEvent.ROLL_OUT, achOut); scoreButton.addEventListener(MouseEvent.CLICK, scoreClick); scoreButton.addEventListener(MouseEvent.ROLL_OVER, scoreOver); scoreButton.addEventListener(MouseEvent.ROLL_OUT, scoreOut); pName = this.infoPlayer.playerName; pLevel = this.infoPlayer.playerLevel; pScore = this.infoPlayer.playerScore; pName.text = (padre.local_data.data.playerName + ""); pLevel.text = (padre.local_data.data.achieveLevel + ""); pScore.text = (padre.local_data.data.achieveScore + ""); pName.selectable = false; pLevel.selectable = false; pScore.selectable = false; this.gamagaLink.addEventListener(MouseEvent.CLICK, openGamaga); enterWindow(); } public function achOut(event:MouseEvent):void{ } public function htpOver(event:MouseEvent):void{ } public function htpClick(event:MouseEvent):void{ oSelected = 3; exitWindow(); } function frame15(){ stop(); padre.soundSystem.gunB.play(); } public function scoreClick(event:MouseEvent):void{ oSelected = 6; exitWindow(); } function fadeOut(event:TimerEvent):void{ switch (oSelected){ case 1: interval.removeEventListener(TimerEvent.TIMER, fadeOut); addDifficultyWindow(); difficultyWindow.gotoAndStop("dificultad"); difficultyWindow.newGame = true; oSelected = -1; break; case 3: alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.addHowToPlay(); oSelected = -1; padre.removeChild(this); }; break; case 4: alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.addAchieveWindow(); oSelected = -1; padre.removeChild(this); }; break; case 5: alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.addSpecialContent(); oSelected = -1; padre.removeChild(this); }; break; case 6: interval.removeEventListener(TimerEvent.TIMER, fadeOut); addDifficultyWindow(); difficultyWindow.gotoAndStop("opcion"); difficultyWindow.newGame = false; oSelected = -1; break; case 61: alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.scoreSystem.showScores(difSelected); oSelected = -1; padre.removeChild(this); }; break; case 62: alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.newGame(difSelected); oSelected = -1; padre.removeChild(this); }; break; }; } public function pmgOut(event:MouseEvent):void{ } public function pmgOver(event:MouseEvent):void{ } public function addDifficultyWindow(){ padre.removeEventListener(KeyboardEvent.KEY_DOWN, onEnter); difficultyWindow = new DifficultyWindow(); addChild(difficultyWindow); difficultyWindow.x = 275; difficultyWindow.y = 200; difficultyWindow.padre = this; difficultyWindow.initDif(); difficultyWindow.enterWindow(); } public function specialOver(event:MouseEvent):void{ } public function specialClick(event:MouseEvent):void{ oSelected = 5; exitWindow(); } function frame1(){ padre.soundSystem.mainMenuIntro.play(); } public function loadOut(event:MouseEvent):void{ } public function newOut(event:MouseEvent):void{ } public function achOver(event:MouseEvent):void{ } public function scoreOver(event:MouseEvent):void{ } public function achClick(event:MouseEvent):void{ oSelected = 4; exitWindow(); } public function newOver(event:MouseEvent):void{ } public function pmgClick(event:MouseEvent):void{ var request:URLRequest; request = new URLRequest("http://www.cuaticgames.com/"); navigateToURL(request, "_blank"); } function exitWindow(){ newButton.enabled = false; htpButton.enabled = false; achButton.enabled = false; scoreButton.enabled = false; interval.addEventListener(TimerEvent.TIMER, fadeOut); } public function onEnter(event:KeyboardEvent){ switch (event.keyCode){ case Keyboard.ENTER: oSelected = 1; exitWindow(); break; }; } function fadeIn(event:TimerEvent):void{ alpha = (alpha + 0.1); if (alpha >= 1){ newButton.enabled = true; htpButton.enabled = true; achButton.enabled = true; scoreButton.enabled = true; interval.removeEventListener(TimerEvent.TIMER, fadeIn); }; } public function htpOut(event:MouseEvent):void{ } public function specialOut(event:MouseEvent):void{ } public function newClick(event:MouseEvent):void{ oSelected = 1; exitWindow(); } public function loadOver(event:MouseEvent):void{ } public function openGamaga(e:MouseEvent){ var request:*; request = new URLRequest("http://www.gamersmakinggames.com"); navigateToURL(request, "_blank"); } public function scoreOut(event:MouseEvent):void{ } function enterWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeIn); interval.start(); } public function loadClick(event:MouseEvent):void{ } } }//package
Section 144
//MainMenuShotGun (MainMenuShotGun) package { import flash.media.*; public dynamic class MainMenuShotGun extends Sound { public function MainMenuShotGun(){ super(); } } }//package
Section 145
//MapaChallengeMC (MapaChallengeMC) package { import flash.display.*; public dynamic class MapaChallengeMC extends MovieClip { public function MapaChallengeMC(){ super(); } } }//package
Section 146
//MapaHard (MapaHard) package { import flash.display.*; public dynamic class MapaHard extends MovieClip { public function MapaHard(){ super(); } } }//package
Section 147
//MapaNormal (MapaNormal) package { import flash.display.*; public dynamic class MapaNormal extends MovieClip { public function MapaNormal(){ super(); } } }//package
Section 148
//MapaSandBox (MapaSandBox) package { import flash.display.*; public dynamic class MapaSandBox extends MovieClip { public function MapaSandBox(){ super(); } } }//package
Section 149
//Menu (Menu) package { import flash.display.*; public dynamic class Menu extends MovieClip { public function Menu(){ super(); } } }//package
Section 150
//Mina (Mina) package { import flash.display.*; public class Mina extends ObjetoListaEnlazada { public var movieClip:MovieClip; public var i:int; public var isDinamita:Boolean;// = false public var j:int; public var posicion:Vector2D; public function Mina(_i:int, _j:int, map:MovieClip, level:CanvasScenario, tipo:int, muviClip:MovieClip){ isDinamita = false; super(); i = _i; j = _j; movieClip = muviClip; posicion = new Vector2D(); posicion.X = ((j + 0.5) * Parametros.TamanyoTile); posicion.Y = ((i + 0.5) * Parametros.TamanyoTile); movieClip.x = posicion.X; movieClip.y = posicion.Y; level.padre.layerTraps.addChild(movieClip); switch (tipo){ case HudMenu.MINE_TRAP: level.player.money = (level.player.money - Parametros.CostoMina); break; case HudMenu.TOXIC_MINE_TRAP: level.player.money = (level.player.money - Parametros.CostoMinaToxica); break; case HudMenu.FREEZE_MINE_TRAP: level.player.money = (level.player.money - Parametros.CostoMinaCongelar); break; }; } } }//package
Section 151
//MineMC (MineMC) package { import flash.display.*; public dynamic class MineMC extends MovieClip { public function MineMC(){ super(); } } }//package
Section 152
//mineTrigger (mineTrigger) package { import flash.media.*; public dynamic class mineTrigger extends Sound { public function mineTrigger(){ super(); } } }//package
Section 153
//MochiBot (MochiBot) package { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class MochiBot extends Sprite { public function MochiBot(){ super(); } public static function track(parent:Sprite, tag:String):MochiBot{ var self:MochiBot; var server:String; var lv:URLVariables; var url:String; var req:URLRequest; var loader:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; self = new (MochiBot); parent.addChild(self); Security.allowDomain("*"); Security.allowInsecureDomain("*"); server = "http://core.mochibot.com/my/core.swf"; lv = new URLVariables(); lv["sb"] = Security.sandboxType; lv["v"] = Capabilities.version; lv["swfid"] = tag; lv["mv"] = "8"; lv["fv"] = "9"; url = self.root.loaderInfo.loaderURL; if (url.indexOf("http") == 0){ lv["url"] = url; } else { lv["url"] = "local"; }; req = new URLRequest(server); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader = new Loader(); self.addChild(loader); loader.load(req); return (self); } } }//package
Section 154
//muerteBalaMC (muerteBalaMC) package { import flash.display.*; public dynamic class muerteBalaMC extends MovieClip { public function muerteBalaMC(){ super(); addFrameScript(14, frame15); } function frame15(){ stop(); parent.removeChild(this); } } }//package
Section 155
//muerteDedoMC (muerteDedoMC) package { import flash.display.*; public dynamic class muerteDedoMC extends MovieClip { public function muerteDedoMC(){ super(); addFrameScript(44, frame45); } function frame45(){ parent.removeChild(this); stop(); } } }//package
Section 156
//MuerteNaturalBala (MuerteNaturalBala) package { import flash.media.*; public dynamic class MuerteNaturalBala extends Sound { public function MuerteNaturalBala(){ super(); } } }//package
Section 157
//NewgroundsAPI (NewgroundsAPI) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public class NewgroundsAPI { public static const ADS_APPROVED:Number = 3; public static const bridge:Sprite = new Sprite(); private static const STAT_NEW_VERSION:Number = 4; private static const STAT_AUTHOR_SITE:Number = 2; private static const GATEWAY_URL:String = "http://www.ngads.com/gateway.php"; private static const NEWGROUNDS_URL:String = "http://www.newgrounds.com"; private static const STAT_CUSTOM_STATS:Number = 50; private static const STAT_MOVIE_VIEWS:Number = 1; private static const STAT_NEWGROUNDS:Number = 3; public static const NEW_VERSION:Number = 2; public static const DENY_HOST:Number = 1; private static var tracker_id:Number; private static var movie_options:Object = new Object(); private static var connected:Boolean; private static var custom_events:Object = new Object(); private static var host:String; private static var linked:Boolean; private static var events:Object = new Object(); private static var debug:Boolean; private static var version:String; private static var custom_links:Object = new Object(); public function NewgroundsAPI(){ super(); } public static function getNewVersionURL(){ return (((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + STAT_NEW_VERSION)); } private static function ReadGatewayData(params:Object){ var i:*; var _url:String; var target_url:*; var gateway_loader:URLLoader; for (i in params) { params[i] = unescape(params[i]); movie_options[i] = params[i]; }; if (params["settings_loaded"]){ SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage((("Movie Identified as '" + movie_options["movie_name"]) + "'")); if (movie_options["message"]){ SendMessage(movie_options["message"]); }; if (movie_options["ad_url"]){ SendMessage("Your movie has been approved to run Flash Ads"); if (events[ADS_APPROVED]){ var _local6 = events; _local6[ADS_APPROVED](movie_options["ad_url"]); } else { onAdsApproved(movie_options["ad_url"]); }; }; if (((movie_options["movie_version"]) && (!((String(movie_options["movie_version"]) == String(version)))))){ SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); if (events[NEW_VERSION]){ _local6 = events; _local6[NEW_VERSION]({version:movie_options["movie_version"], real_url:getMovieURL(), redirect_url:getNewVersionURL()}); } else { onNewVersionAvailable(movie_options["movie_version"], getMovieURL(), getNewVersionURL()); }; }; if (movie_options["deny_host"]){ SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); if (events[DENY_HOST]){ _local6 = events; _local6[DENY_HOST]({host:host, real_url:getMovieURL(), redirect_url:getNewVersionURL()}); } else { onDenyHost(host, getMovieURL(), getNewVersionURL()); }; }; if (movie_options["request_portal_url"]){ _url = bridge.root.loaderInfo.url; target_url = ((((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url)); gateway_loader = new URLLoader(new URLRequest(target_url)); }; if (events[69]){ _local6 = events; _local6[69](); }; } else { if (!movie_options["settings_loaded"]){ SendError("Could not establish connection to the API gateway."); }; }; } public static function setMovieVersion(movie_version){ if (!movie_version){ SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = String(movie_version); }; } public static function loadCustomLink(link_name:String){ if (!link_name){ SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else { if (!custom_links[link_name]){ SendError(("Attempted to open undefined custom link: " + link_name)); } else { SendLink(custom_links[link_name]); }; }; } public static function addCustomLink(stat_id:Number, stat_name:String){ if (!stat_id){ SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { if (!stat_name){ SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = (STAT_CUSTOM_STATS + stat_id); SendMessage(((("Created custom link " + stat_id) + ": ") + stat_name)); }; }; } public static function getMovieURL(){ if (movie_options["movie_url"]){ return (movie_options["movie_url"]); }; return ("Newgrounds.com"); } public static function debugMode(){ debug = true; } public static function getAdURL(){ return (movie_options["ad_url"]); } private static function SendStat(stat_id:Number, open_in_browser:Boolean, extra=null){ var target_url:*; var XML_Loaded:Function; var x:*; var request:URLRequest; var gateway_loader:URLLoader; var stat_id = stat_id; var open_in_browser = open_in_browser; var extra = extra; if (!tracker_id){ SendError("You must call NewgroundsAPI.connectMovie() with a valid movie id before using API features!"); } else { XML_Loaded = function (event:Event){ var XML_in:XML; var ngparams:Object; var XML_children:XMLList; var XML_child:XML; var param_name:*; var param_value:*; XML.ignoreWhitespace = true; XML_in = XML(event.target.data); ngparams = new Object(); XML_children = XML_in.children(); for each (XML_child in XML_children) { param_name = XML_child.localName(); param_value = XML_child.attribute("value"); if (param_value == Number(param_value)){ param_value = Number(param_value); }; ngparams[param_name] = param_value; }; ReadGatewayData(ngparams); }; target_url = (((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id) + addSeed()); if (extra){ for (x in extra) { target_url = (target_url + ((("&" + escape(x)) + "=") + escape(extra[x]))); }; }; if (debug){ target_url = (target_url + "&debug=1"); }; if (open_in_browser){ request = new URLRequest((target_url + addSeed())); navigateToURL(request, "_blank"); } else { gateway_loader = new URLLoader(new URLRequest((target_url + addSeed()))); gateway_loader.addEventListener(Event.COMPLETE, XML_Loaded); }; }; } public static function onAdsApproved(ad_url:String){ } public static function loadMySite(event:Event=null){ SendLink(STAT_AUTHOR_SITE); } private static function SendMessage(msg:String){ trace(("[NEWGROUNDS API] :: " + msg)); } public static function linkAPI(movie){ movie.addChild(bridge); linked = true; } public static function loadNewgrounds(event:Event=null, page:String=null){ var request:URLRequest; var extra:*; if (!tracker_id){ request = new URLRequest(((NEWGROUNDS_URL + "/") + page)); navigateToURL(request, "_blank"); } else { extra = null; if (page){ extra = new Object(); extra.page = page; }; SendLink(STAT_NEWGROUNDS, extra); }; } private static function SendLink(id, extra=null){ SendStat(id, true, extra); } public static function logCustomEvent(event_name:String){ if (!event_name){ SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else { if (!custom_events[event_name]){ SendError(("Attempted to log undefined custom event: " + event_name)); } else { SendEvent(custom_events[event_name]); }; }; } private static function SendError(msg:String){ trace(("[NEWGROUNDS API ERROR] :: " + msg)); } public static function addCustomEvent(stat_id:Number, stat_name:String){ if (!stat_id){ SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { if (!stat_name){ SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = (STAT_CUSTOM_STATS + stat_id); SendMessage(("Created custom event: " + stat_name)); }; }; } private static function addSeed(){ return (("&seed=" + Math.random())); } public static function addEventListener(event:Number, callback:Function){ events[event] = callback; } private static function SendEvent(id){ SendStat(id, false); } public static function onNewVersionAvailable(version:String, movie_url:String, redirect_url:String){ var sw:*; var sh:*; var tw:*; var th:*; var mg:*; var _root:*; var overlay:MovieClip; var overlay_x:*; var overlay_y:*; var close_x:*; var blankarea:TextField; var header:TextField; var header_format:TextFormat; var msgtext:TextField; var msgtext_format:TextFormat; var msgtext_link:TextFormat; var version = version; var movie_url = movie_url; var redirect_url = redirect_url; sw = bridge.stage.stageWidth; sh = bridge.stage.stageHeight; tw = 350; th = 160; mg = 20; _root = bridge.root; overlay = new MovieClip(); overlay.graphics.beginFill(0, 0.6); overlay.graphics.lineStyle(0, 0); overlay.graphics.drawRect(0, 0, sw, sh); overlay.graphics.endFill(); overlay_x = Math.round(((sw - tw) / 2)); overlay_y = Math.round(((sh - th) / 2)); overlay.graphics.beginFill(102); overlay.graphics.lineStyle(10, 0); overlay.graphics.drawRect((overlay_x - mg), (overlay_y - mg), (tw + mg), (th + mg)); overlay.graphics.endFill(); overlay.close = function (event:Event){ _root.removeChild(overlay); }; close_x = new MovieClip(); close_x.graphics.beginFill(0, 0.1); close_x.graphics.lineStyle(3, 22015); close_x.graphics.drawRect(0, 0, 16, 16); close_x.graphics.endFill(); close_x.graphics.moveTo(4, 4); close_x.graphics.lineTo(13, 13); close_x.graphics.moveTo(13, 4); close_x.graphics.lineTo(4, 13); close_x.x = ((overlay_x + tw) - 26); close_x.y = (overlay_y - 10); close_x.addEventListener(MouseEvent.CLICK, overlay.close); blankarea = new TextField(); blankarea.x = (overlay_x - mg); blankarea.y = (overlay_y - mg); blankarea.width = (tw + mg); blankarea.height = (th + mg); blankarea.selectable = false; header = new TextField(); header.width = tw; header.x = overlay_x; header.y = overlay_y; header.height = 100; header.selectable = false; header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.color = 0xFFFFFF; header_format.size = 20; header.defaultTextFormat = header_format; header.text = "New Version Available!"; msgtext = new TextField(); msgtext.x = overlay_x; msgtext.y = (overlay_y + 70); msgtext.width = tw; msgtext.height = 60; msgtext.selectable = false; msgtext_format = new TextFormat(); msgtext_format.font = "Arial"; msgtext_format.color = 0xFFFFFF; msgtext_format.size = 12; msgtext_format.bold = true; msgtext_link = new TextFormat(); msgtext_link.font = "Arial"; msgtext_link.color = 0xFFFF00; msgtext_link.size = 12; msgtext_link.bold = true; msgtext_link.url = redirect_url; msgtext_link.target = "_blank"; if (version){ version = ("Version " + version); } else { version = "A new version"; }; msgtext.defaultTextFormat = msgtext_format; msgtext.appendText((version + " is now available")); if (movie_url){ msgtext.appendText(" at:\n"); msgtext.defaultTextFormat = msgtext_link; msgtext.appendText(movie_url); } else { msgtext.appendText("!"); }; _root.addChild(overlay); overlay.addChild(blankarea); overlay.addChild(header); overlay.addChild(msgtext); overlay.addChild(close_x); } public static function onDenyHost(hostname:String, movie_url:String, redirect_url:String){ var sw:*; var sh:*; var tw:*; var th:*; var _root:*; var overlay:MovieClip; var blankarea:TextField; var header:TextField; var header_format:TextFormat; var msgtext:TextField; var msgtext_format:TextFormat; var msgtext_link:TextFormat; sw = bridge.stage.stageWidth; sh = bridge.stage.stageHeight; tw = 350; th = 160; _root = bridge.root; overlay = new MovieClip(); overlay.graphics.beginFill(0x660000); overlay.graphics.lineStyle(20, 0); overlay.graphics.drawRect(0, 0, sw, sh); overlay.graphics.endFill(); blankarea = new TextField(); blankarea.x = 0; blankarea.y = 0; blankarea.width = sw; blankarea.height = sh; blankarea.selectable = false; header = new TextField(); header.x = Math.round(((sw - tw) / 2)); header.y = Math.round(((sh - th) / 2.5)); header.width = tw; header.height = 100; header.selectable = false; header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.color = 0xFF0000; header_format.size = 38; header.defaultTextFormat = header_format; header.text = "ERROR!"; msgtext = new TextField(); msgtext.x = Math.round(((sw - tw) / 2)); msgtext.y = (Math.round(((sh - th) / 2.5)) + 80); msgtext.width = tw; msgtext.height = 80; msgtext.selectable = false; msgtext_format = new TextFormat(); msgtext_format.font = "Arial"; msgtext_format.color = 0xFFFFFF; msgtext_format.size = 12; msgtext_format.bold = true; msgtext_link = new TextFormat(); msgtext_link.font = "Arial"; msgtext_link.color = 0xFFFF00; msgtext_link.size = 12; msgtext_link.bold = true; msgtext_link.url = redirect_url; msgtext_link.target = "_blank"; msgtext.defaultTextFormat = msgtext_format; msgtext.appendText((("This movie has not been approved for use on " + hostname) + "\n")); msgtext.appendText("For an approved copy, please visit:\n"); msgtext.defaultTextFormat = msgtext_link; msgtext.appendText(movie_url); _root.addChild(overlay); overlay.addChild(blankarea); overlay.addChild(header); overlay.addChild(msgtext); } public static function connectMovie(id:Number){ var _url:String; var params:*; if (!id){ SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else { if (!linked){ SendError("Attempted to call MewgroundsAPI.connectMovie() without first calling NewgroundsAPI.linkAPI(this)"); } else { if (!tracker_id){ SendMessage("Connecting to API gateway..."); tracker_id = id; _url = bridge.root.loaderInfo.url; host = _url.split("/")[2].toLowerCase(); if (host.length < 1){ host = "localhost"; }; params = new Object(); SendEvent(STAT_MOVIE_VIEWS); }; }; }; } public static function isInstalled(){ return (true); } } }//package
Section 158
//NewMap (NewMap) package { import flash.display.*; public dynamic class NewMap extends MovieClip { public function NewMap(){ super(); } } }//package
Section 159
//newWaveBar (newWaveBar) package { import flash.display.*; import flash.text.*; public dynamic class newWaveBar extends MovieClip { public var wave:TextField; public function newWaveBar(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package
Section 160
//ObjetoListaEnlazada (ObjetoListaEnlazada) package { public class ObjetoListaEnlazada { public var prev:ObjetoListaEnlazada; public var sgte:ObjetoListaEnlazada; public function ObjetoListaEnlazada(){ super(); } } }//package
Section 161
//OldMap (OldMap) package { import flash.display.*; public dynamic class OldMap extends MovieClip { public function OldMap(){ super(); } } }//package
Section 162
//Parametros (Parametros) package { public class Parametros { public static const TimeBeetweenWaves:int = 30000; public static const CostoBase:int = 50; public static const CongeladoUpdates:int = 200; public static const DanyoDisparo:int = 2; public static const DanyoMina:int = 15; public static const EnergiaEnemigoRojo:int = 2; public static const VelocidadEnemigoRojo:Number = 1; public static const yInicialPlayer:int = 116; public static const EnergiaCadaverEnemigoCafe:int = 3; public static const SlideFactor:Number = 0.1; public static const CostoDinamita:int = 10; public static const CostoTorreta:int = 20; public static const CostoBox:int = 5; public static const EnergiaEnemigoVerde:int = 1; public static const DistanciaMaximaPosicionamientoBase:int = 50; public static const DineroInicialPlayer:int = 0; public static const DanyoDinamita:int = 25; public static const CostoAlMorirSoldado:int = 1; public static const CostoMinaCongelar:int = 10; public static const CostoAlMorirRobot:int = 5; public static const CostoAlMorirWorm:int = 5; public static const BaseMachineGunReload:int = 40; public static const ParametrosPlayerPorNivel:Array = [3, 2, 0.8, 3, 150]; public static const VelocidadEnemigoCafe:Number = 0.5; public static const CostoMina:int = 5; public static const MachineGunReload:int = 3; public static const VelocidadEnemigoVerde:Number = 1.5; public static const EnergiaEnemigoCafe:int = 3; public static const TiempoEntreDominationCheckPoint:int = 5000; public static const DominationMoneyPorBase:int = 1; public static const CostoAlMorirRunner:int = 1; public static const xInicialPlayer:int = 116; public static const RadioDisparoBase:int = 50; public static const DanyoDisparoBase:int = 10; public static const DanyoToxicMinePorUpdate:Number = 0.05; public static const FirstWave:int = 5000; public static const CostoAlMorirIndice:int = 1; public static const CostoLevelUp:int = 60; public static const CostoMisil:int = 30; public static const VelocidadPlayer:Number = 10; public static const TamanyoTile:int = 32; public static const CostoAlMorirSargento:int = 1; public static const EnergiaInicialBase:int = 20; public static const CostoAlMorirKamikaze:int = 1; public static const TiempoExplosionDinamita:int = 1000; public static const EnergiaCadaverEnemigoVerde:int = 1; public static const UpgradePropiedadesJugador:Array = [1, 0.25, 0.1, 0.75, 10]; public static const EnergiaCadaverEnemigoRojo:int = 2; public static const CostoBarril:int = 5; public static const CostoAlMorirPulgar:int = 1; public static const EnergiaInicialPlayer:int = 10; public static const TamanyoTileMedios:int = 16; public static const SlideUpdates:int = 6; public static const CostoMinaToxica:int = 15; public static const RadioDinamita:int = 40; public static var MaximaCantidadDeBases:int = 3; public function Parametros(){ super(); } } }//package
Section 163
//PartExploA (PartExploA) package { import flash.display.*; public dynamic class PartExploA extends MovieClip { public function PartExploA(){ super(); } } }//package
Section 164
//Player (Player) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public class Player { public var nivel:int; public var updatePlayer:Boolean; private var currentAnimation:int; public var danyoDisparo:Number; private var newAnimationDirection:int; private var currentRotation:Number; var actualTic:Number;// = 3000 public var pushBack:Number;// = 0 public var maxNiveles:int; public var velocidad:Number; public var conqueringTimeRemaining:int;// = 1000 public var isMovingLeft:Boolean;// = false private var machineGunCounter:int; public var rayMC:MovieClip; var weaponDef:Array; private var clickDown:Boolean; public var energyCounter:TextField; public var currentTileI:int; public var currentTileJ:int; public var thisWin:Boolean; public var domination:int; var isHealing:Boolean;// = false private var rayCounter:int; public var velocidadDiagonal:Number; var weaponEnabled:Array; var ticObj:Number;// = 1000 var interval_level:Timer; public var level:CanvasScenario; public var aunVivo:Boolean; public var score:Number; public var healths:Array; public var movieClip:MovieClip; public var particulaA:MovieClip; private var mouse:Vector2D; public var particulaB:MovieClip; public var rateOfFire:Number; public var posicionAnterior:Vector2D; public var experiencia:int; public var particulaC:MovieClip; public var expIntervalo:Array; public var origenBala:Array; public var money:int; public var bases:Array; private var deltaMouse:Vector2D; public var isMovingUp:Boolean;// = false public var isMovingDown:Boolean;// = false public var energiaTotal:Number; public var posicion:Vector2D; public var dominationTimeRemaining:int; public var points:Number; public var energia:Number; public var isMovingRight:Boolean;// = false var ticCorazon:Number;// = 1000 private var fireWeapon:Function; var currentWeapon:int;// = 0 public var _actionMessage:MovieClip; public var radio:Number; public var _radio:Number; public function Player(main:MovieClip, canvas:CanvasScenario){ var i:int; var j:int; var newHealth:MovieClip; isMovingUp = false; isMovingDown = false; isMovingLeft = false; isMovingRight = false; danyoDisparo = Parametros.DanyoDisparo; energia = Parametros.EnergiaInicialPlayer; conqueringTimeRemaining = 1000; actualTic = 3000; interval_level = new Timer((1000 / 30), 0); ticCorazon = 1000; ticObj = 1000; pushBack = 0; isHealing = false; currentWeapon = 0; weaponDef = [[3, 0.8, 150, 1.9], [1, 0.2, 50, 3.4], [6, 1, 50, 2.4], [3, 0.5, 200, 1.9], [6, 1.5, 250, 1.65], [9, 1, 125, 1.4]]; weaponEnabled = [1, 0, 0, 0, 0, 0]; super(); level = canvas; points = 0; construirTextoEnergia(main); posicionAnterior = new Vector2D(); posicion = new Vector2D(); posicion.X = (level.posInitPX + level.map.x); posicion.Y = (level.posInitPY + level.map.y); currentTileI = Math.floor((posicion.Y / Parametros.TamanyoTile)); currentTileJ = Math.floor((posicion.X / Parametros.TamanyoTile)); bases = new Array((level.baseEsperada.length + 1)); i = 0; while (i < level.baseEsperada.length) { bases[i] = new Base(i, level.baseEsperada[i][1], level.baseEsperada[i][0], level, false); i++; }; bases[level.baseEsperada.length] = new Base(level.baseEsperada.length, currentTileI, currentTileJ, level, true); bases[level.baseEsperada.length].energia = 1; healths = new Array(level.healthEsperada.length); j = 0; while (j < level.healthEsperada.length) { newHealth = new HealthSpace(); newHealth.x = (32 * level.healthEsperada[j][0]); newHealth.y = (32 * level.healthEsperada[j][1]); level.map.addChild(newHealth); healths[j] = newHealth; j++; }; movieClip = new Conejo(); movieClip.gotoAndStop(1); _radio = ((movieClip.height / 2) - 3); canvas.padre.layerPlayer.addChild(movieClip); particulaA = movieClip.particula1; particulaB = movieClip.particula2; particulaC = movieClip.particula3; particulaA.alpha = 0; particulaB.alpha = 0; particulaC.alpha = 0; particulaA.stop(); rayMC = new Rayo(); rayMC.visible = false; level.map.addChild(rayMC); deltaMouse = new Vector2D(); mouse = new Vector2D(); canvas.objectBeingFollowed = this.movieClip; movieClip.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown); movieClip.stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp); movieClip.stage.addEventListener(MouseEvent.MOUSE_DOWN, onClick); movieClip.stage.addEventListener(MouseEvent.MOUSE_UP, onUnclick); clickDown = false; fireWeapon = fireMachineGun; money = Parametros.DineroInicialPlayer; domination = 0; nivel = 0; levelUp(); experiencia = 0; expIntervalo = [5, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100]; maxNiveles = 20; score = 0; conqueringTimeRemaining = 1000; energia = (energiaTotal = Parametros.ParametrosPlayerPorNivel[0]); velocidad = Parametros.ParametrosPlayerPorNivel[1]; velocidadDiagonal = (velocidad / 1.4142); rateOfFire = Parametros.ParametrosPlayerPorNivel[2]; danyoDisparo = Parametros.ParametrosPlayerPorNivel[3]; radio = Parametros.ParametrosPlayerPorNivel[4]; thisWin = false; updatePlayer = true; pushBack = 0; _actionMessage = movieClip.actionMessage; origenBala = [[0, -6], [5.5, 1.5], [4, 8], [3, 6.5], [1.5, 5], [-4, 7], [-5, 8], [-5, 4]]; } public function corregirPosicion():Boolean{ var i:int; var j:int; var xTile:Number; var yTile:Number; var sobrePasaArriba:Boolean; var sobrePasaIzq:Boolean; var sobrePasaAbajo:Boolean; var sobrePasaDer:Boolean; var truncado:Boolean; i = int((posicion.Y / Parametros.TamanyoTile)); j = int((posicion.X / Parametros.TamanyoTile)); xTile = (j * Parametros.TamanyoTile); yTile = (i * Parametros.TamanyoTile); sobrePasaArriba = false; sobrePasaIzq = false; sobrePasaAbajo = false; sobrePasaDer = false; truncado = false; if (((isMovingUp) && (((posicion.Y - _radio) < yTile)))){ sobrePasaArriba = true; if (!level.tilePasable((i - 1), j)){ posicion.Y = posicionAnterior.Y; truncado = true; }; }; if (((isMovingDown) && (((posicion.Y + _radio) > (yTile + Parametros.TamanyoTile))))){ sobrePasaAbajo = true; if (!level.tilePasable((i + 1), j)){ posicion.Y = posicionAnterior.Y; truncado = true; }; }; if (((isMovingLeft) && (((posicion.X - _radio) < xTile)))){ sobrePasaIzq = true; if (!level.tilePasable(i, (j - 1))){ posicion.X = posicionAnterior.X; truncado = true; }; }; if (((isMovingRight) && (((posicion.X + _radio) > (xTile + Parametros.TamanyoTile))))){ sobrePasaDer = true; if (!level.tilePasable(i, (j + 1))){ posicion.X = posicionAnterior.X; truncado = true; }; }; if (!truncado){ if (((sobrePasaIzq) && (sobrePasaArriba))){ if ((((posicion.X - xTile) * (posicion.X - xTile)) + ((posicion.Y - yTile) * (posicion.Y - yTile))) < (_radio * _radio)){ if (!level.tilePasable((i - 1), (j - 1))){ posicion.assign(posicionAnterior); }; }; }; if (((sobrePasaDer) && (sobrePasaArriba))){ if ((((posicion.X - (xTile + Parametros.TamanyoTile)) * (posicion.X - (xTile + Parametros.TamanyoTile))) + ((posicion.Y - yTile) * (posicion.Y - yTile))) < (_radio * _radio)){ if (!level.tilePasable((i - 1), (j + 1))){ posicion.assign(posicionAnterior); }; }; }; if (((sobrePasaDer) && (sobrePasaAbajo))){ if ((((posicion.X - (xTile + Parametros.TamanyoTile)) * (posicion.X - (xTile + Parametros.TamanyoTile))) + ((posicion.Y - (yTile + Parametros.TamanyoTile)) * (posicion.Y - (yTile + Parametros.TamanyoTile)))) < (_radio * _radio)){ if (!level.tilePasable((i + 1), (j + 1))){ posicion.assign(posicionAnterior); }; }; }; if (((sobrePasaIzq) && (sobrePasaAbajo))){ if ((((posicion.X - xTile) * (posicion.X - xTile)) + ((posicion.Y - (yTile + Parametros.TamanyoTile)) * (posicion.Y - (yTile + Parametros.TamanyoTile)))) < (_radio * _radio)){ if (!level.tilePasable((i + 1), (j - 1))){ posicion.assign(posicionAnterior); }; }; }; }; return (false); } public function onClick(e:MouseEvent){ if (level.padre.hudMenu.overhud == false){ clickDown = true; fireWeapon(0); }; } public function updateNivelCounter(){ } public function updateExperience(value:int){ if (nivel < maxNiveles){ experiencia = (experiencia + value); if ((((expIntervalo[(nivel - 1)] <= experiencia)) && ((nivel < maxNiveles)))){ experiencia = (experiencia - expIntervalo[(nivel - 1)]); levelUp(); }; trace(((experiencia + "/") + expIntervalo[(nivel - 1)])); level.padre.hudMenu._expBar.barMask.scaleX = (experiencia / expIntervalo[(nivel - 1)]); }; } public function updateEnergyCounter(){ if (level.padre.hudMenu != null){ level.padre.hudMenu._healthBar.barMask.scaleX = (energia / energiaTotal); }; } public function setWeapon(value:int){ currentWeapon = value; danyoDisparo = (weaponDef[value][0] + (level.padre.hudMenu.damageCount * Parametros.UpgradePropiedadesJugador[3])); radio = (weaponDef[value][2] + (level.padre.hudMenu.rangeCount * Parametros.UpgradePropiedadesJugador[4])); velocidad = (weaponDef[value][3] + (level.padre.hudMenu.healthCount * Parametros.UpgradePropiedadesJugador[1])); velocidadDiagonal = (velocidad / 1.4142); rateOfFire = (weaponDef[value][1] + (level.padre.hudMenu.rateCount * Parametros.UpgradePropiedadesJugador[2])); } function fireGun(elapsedTime:int){ if (clickDown){ clickDown = false; trace("bullet"); level.newAddBullet(((movieClip.x + level.map.x) + origenBala[currentAnimation][0]), ((movieClip.y + level.map.y) + origenBala[currentAnimation][1]), radio, level.padre.mouseInScreen.X, level.padre.mouseInScreen.Y, true); trace(origenBala[currentAnimation][0]); }; } function fireRay(){ deltaMouse.normalize(6); rayMC.x = (deltaMouse.X + movieClip.x); rayMC.y = (deltaMouse.Y + movieClip.y); rayMC.rotation = currentRotation; deltaMouse.X = (deltaMouse.X * 50); deltaMouse.Y = (deltaMouse.Y * 50); if (level.newFireBullet(posicion, deltaMouse, mouse, rayMC.rotation, danyoDisparo, true)){ rayMC.visible = true; rayCounter = 2; level.padre.padre.soundSystem.gunA.play(0, 1, level.padre.padre.soundSystem.volPrincipal); }; } public function levelUp(){ particulaA.alpha = 1; particulaA.gotoAndPlay(1); particulaB.alpha = 1; particulaC.alpha = 1; actualTic = 3000; interval_level.addEventListener(TimerEvent.TIMER, tic); interval_level.start(); if (nivel > 0){ points = (points + 1); level.padre.hudMenu.upgradeUpgrade(points); level.padre.hudMenu._totalPoints.text = ("" + points); money = (money + 30); }; nivel++; updateNivelCounter(); updateMoneyCounter(); if (nivel > 1){ updateScore(nivel); level.padre.hudMenu._actualLevel.text = ("" + nivel); }; } public function sufrirDanyo(danyo:Number){ energia = (energia - danyo); updateEnergyCounter(); } function fireMachineGun(elapsedTime:int){ if (level.padre.isRun == true){ if (((clickDown) && ((machineGunCounter <= 0)))){ level.newAddBullet(((movieClip.x + level.map.x) + origenBala[int((currentAnimation / 10))][0]), ((movieClip.y + level.map.y) + origenBala[int((currentAnimation / 10))][1]), radio, level.padre.mouseInScreen.X, level.padre.mouseInScreen.Y, true); machineGunCounter = (rateOfFire * 1000); } else { if (machineGunCounter > 0){ machineGunCounter = (machineGunCounter - elapsedTime); }; }; }; } public function updateScore(value:Number){ score = (score + (value * 10)); level.padre.hudMenu._actualScore.text = score.toString(); } public function updateMoneyCounter(){ } function tic(event:TimerEvent):void{ actualTic = (actualTic - (1000 / 30)); if (actualTic <= 1){ particulaB.alpha = (particulaB.alpha - 0.1); particulaC.alpha = (particulaC.alpha - 0.1); if (actualTic <= 0){ particulaB.alpha = 0; particulaC.alpha = 0; particulaA.stop(); particulaA.alpha = 0; interval_level.stop(); interval_level.removeEventListener(TimerEvent.TIMER, this.tic); }; }; } public function danyarBase(baseDestino:int, danyoGolpe:Number){ if (baseDestino == Parametros.MaximaCantidadDeBases){ sufrirDanyo(danyoGolpe); } else { bases[baseDestino].sufrirDanyo(danyoGolpe); }; } public function onUnclick(e:MouseEvent){ clickDown = false; } function update(_mouse:Vector2D, elapsedTime:int){ var k:int; var j:int; var newTileI:int; var newTileJ:int; if (domination == level.baseEsperada.length){ score = (score + 1000); updateScore(100); level.padre.hudMenu._totalPoints.text = ("" + points); level.padre.hudMenu.upgradeUpgrade(points); k = 0; while (k < level.baseEsperada.length) { bases[k].reset(); k++; }; }; isHealing = false; ticCorazon = (ticCorazon - elapsedTime); j = 0; while (j < healths.length) { if ((((((((((healths[j].x <= movieClip.x)) && ((movieClip.x < (healths[j].x + 32))))) && ((healths[j].y <= (movieClip.y + 10))))) && (((movieClip.y + 10) < (healths[j].y + 32))))) && ((energia < 3)))){ energia = (energia + 0.002); updateEnergyCounter(); isHealing = true; healths[j].gotoAndStop(2); if (ticCorazon <= 0){ level.padre.padre.soundSystem.corazon.play(0, 1, level.padre.padre.soundSystem.volPrincipal); ticCorazon = (ticObj * (energia / 3)); if (ticCorazon < 175){ ticCorazon = 200; }; }; if (energia >= 3){ energia = 3; }; } else { healths[j].gotoAndStop(1); }; j++; }; if (((isHealing) && ((energia < 3)))){ particulaA.alpha = 1; particulaA.play(); } else { particulaA.alpha = 0; particulaA.stop(); }; conqueringTimeRemaining = (conqueringTimeRemaining - elapsedTime); if (conqueringTimeRemaining <= 0){ k = 0; while (k < bases.length) { if (!bases[k].isConquered){ bases[k].conquestProgress(bases[k].isConquering); }; k++; }; conqueringTimeRemaining = 100; }; mouse.assign(_mouse); deltaMouse.X = (mouse.X - posicion.X); deltaMouse.Y = (mouse.Y - posicion.Y); currentRotation = (90 - (Math.atan2(-(deltaMouse.Y), deltaMouse.X) * 57.2957)); newAnimationDirection = currentRotation; if (newAnimationDirection < -22.5){ newAnimationDirection = (newAnimationDirection + 360); }; newAnimationDirection = (newAnimationDirection + 22.5); currentAnimation = ((Math.floor((newAnimationDirection / 45)) * 10) + 1); posicionAnterior.assign(posicion); if (isMovingUp){ if (isMovingLeft){ posicion.Y = (posicion.Y - velocidadDiagonal); posicion.X = (posicion.X - velocidadDiagonal); } else { if (isMovingRight){ posicion.Y = (posicion.Y - velocidadDiagonal); posicion.X = (posicion.X + velocidadDiagonal); } else { posicion.Y = (posicion.Y - velocidad); }; }; } else { if (isMovingDown){ if (isMovingLeft){ posicion.Y = (posicion.Y + velocidadDiagonal); posicion.X = (posicion.X - velocidadDiagonal); } else { if (isMovingRight){ posicion.Y = (posicion.Y + velocidadDiagonal); posicion.X = (posicion.X + velocidadDiagonal); } else { posicion.Y = (posicion.Y + velocidad); }; }; } else { if (isMovingLeft){ posicion.X = (posicion.X - velocidad); } else { if (isMovingRight){ posicion.X = (posicion.X + velocidad); }; }; }; }; if (posicion.equals(posicionAnterior)){ if (currentAnimation != movieClip.currentFrame){ movieClip.gotoAndStop(currentAnimation); }; } else { corregirPosicion(); if ((currentAnimation + 1) != movieClip.currentFrame){ movieClip.gotoAndStop((currentAnimation + 1)); }; newTileI = Math.floor((posicion.Y / Parametros.TamanyoTile)); newTileJ = Math.floor((posicion.X / Parametros.TamanyoTile)); if (((!((newTileI == currentTileI))) || (!((newTileJ == currentTileJ))))){ AStar.updateEstimate(Parametros.MaximaCantidadDeBases, ((newTileJ - currentTileJ) * Parametros.TamanyoTile), ((newTileI - currentTileI) * Parametros.TamanyoTile), newTileI, newTileJ); currentTileI = newTileI; currentTileJ = newTileJ; bases[Parametros.MaximaCantidadDeBases].setPosicion(posicion.X, posicion.Y, currentTileI, currentTileJ); }; }; movieClip.x = posicion.X; movieClip.y = posicion.Y; if (rayCounter >= 0){ rayCounter--; if (rayCounter < 0){ rayMC.visible = false; }; }; fireWeapon(elapsedTime); if (energia > 0){ if (thisWin == true){ updatePlayer = false; }; updatePlayer = true; } else { updatePlayer = false; }; } public function onKeyUp(event:KeyboardEvent){ switch (event.keyCode){ case 37: case 65: isMovingLeft = false; break; case 38: case 87: isMovingUp = false; break; case 39: case 68: isMovingRight = false; break; case 40: case 83: isMovingDown = false; break; }; } public function onKeyDown(event:KeyboardEvent){ switch (event.keyCode){ case 37: case 65: isMovingLeft = true; break; case 39: case 68: isMovingRight = true; break; case 38: case 87: isMovingUp = true; break; case 40: case 83: isMovingDown = true; break; }; } public function construirTextoEnergia(main:MovieClip){ var format:TextFormat; format = new TextFormat(); format.font = "Verdana"; format.color = 0xFFFFFF; format.size = 12; format.align = "right"; energyCounter = new TextField(); energyCounter.defaultTextFormat = format; energyCounter.selectable = false; energyCounter.width = (Canvas.APPLICATION_WIDTH - 5); energyCounter.height = 30; energyCounter.y = 5; energyCounter.x = 5; main.addChild(energyCounter); } public function updateDominationCounter(){ } public function addTurret(x:int, y:int){ var i:int; i = 0; while (i < level.baseEsperada.length) { if ((((((((level.baseEsperada[i][0] <= x)) && ((x < (level.baseEsperada[i][0] + 1))))) && ((((level.baseEsperada[i][1] <= y)) && ((y < (level.baseEsperada[i][1] + 1))))))) && ((bases[i].isConquered == true)))){ if ((((money >= Parametros.CostoBase)) && ((bases[i].energia <= 0)))){ money = (money - Parametros.CostoBase); updateMoneyCounter(); bases[i].revivir(); level.avisarNuevaTorreta(); }; }; i++; }; } } }//package
Section 165
//PlayerMC (PlayerMC) package { import flash.display.*; public class PlayerMC extends MovieClip { public var padre:CanvasScenario; public function PlayerMC(){ super(); } } }//package
Section 166
//PointControled (PointControled) package { import flash.events.*; import flash.display.*; import flash.utils.*; public dynamic class PointControled extends MovieClip { public var actualTic:Number; public var interval:Timer; public function PointControled(){ super(); addFrameScript(0, frame1); } function frame1(){ actualTic = 3; interval = new Timer(1000, 0); interval.addEventListener(TimerEvent.TIMER, tic); interval.start(); } public function tic(event:TimerEvent):void{ this.actualTic--; if (this.actualTic == 0){ this.interval.stop(); this.interval.removeEventListener(TimerEvent.TIMER, this.tic); this.parent.removeChild(this); }; } } }//package
Section 167
//Pulgar (Pulgar) package { import flash.display.*; public dynamic class Pulgar extends MovieClip { public var mc:MovieClip; public function Pulgar(){ super(); } } }//package
Section 168
//Rayo (Rayo) package { import flash.display.*; public dynamic class Rayo extends MovieClip { public function Rayo(){ super(); } } }//package
Section 169
//Rebote1 (Rebote1) package { import flash.media.*; public dynamic class Rebote1 extends Sound { public function Rebote1(){ super(); } } }//package
Section 170
//Rebote2 (Rebote2) package { import flash.media.*; public dynamic class Rebote2 extends Sound { public function Rebote2(){ super(); } } }//package
Section 171
//Rebote3 (Rebote3) package { import flash.media.*; public dynamic class Rebote3 extends Sound { public function Rebote3(){ super(); } } }//package
Section 172
//Rebote4 (Rebote4) package { import flash.media.*; public dynamic class Rebote4 extends Sound { public function Rebote4(){ super(); } } }//package
Section 173
//RedBar (RedBar) package { import flash.display.*; public dynamic class RedBar extends MovieClip { public function RedBar(){ super(); } } }//package
Section 174
//Robot (Robot) package { import flash.display.*; public dynamic class Robot extends MovieClip { public function Robot(){ super(); } } }//package
Section 175
//Rocket (Rocket) package { import flash.media.*; public dynamic class Rocket extends Sound { public function Rocket(){ super(); } } }//package
Section 176
//Rocket2 (Rocket2) package { import flash.media.*; public dynamic class Rocket2 extends Sound { public function Rocket2(){ super(); } } }//package
Section 177
//Runner (Runner) package { import flash.display.*; public dynamic class Runner extends MovieClip { public function Runner(){ super(); } } }//package
Section 178
//Sargento (Sargento) package { import flash.display.*; public dynamic class Sargento extends MovieClip { public function Sargento(){ super(); } } }//package
Section 179
//ScoreSystem (ScoreSystem) package { import mochi.*; public class ScoreSystem { public var padre:UICanvas; public var kongregate; public function ScoreSystem(){ super(); } private function scoreSubmitted(scores:Object){ } public function connectSystem(){ MochiServices.connect("3347596c983d31fe", padre); } public function submitScore(value:Number, score:Number){ switch (value){ case 1: MochiScores.setBoardID("411d5e9943d8599b"); break; case 2: MochiScores.setBoardID("585ae175eaff49d8"); break; case 3: MochiScores.setBoardID("f8e708bf73d0cb7a"); break; case 4: MochiScores.setBoardID("80c0309dc986e1a4"); break; case 5: MochiScores.setBoardID("5802ff77fe575d45"); break; case 6: MochiScores.setBoardID("a403e2bbdd18a56b"); break; case 7: MochiScores.setBoardID("6987d81599832f61"); break; }; MochiScores.submit(score, padre.local_data.data.playerName, this, "scoreSubmitted"); } public function showScores(value:Number){ var value = value; switch (value){ case 1: MochiScores.setBoardID("411d5e9943d8599b"); break; case 2: MochiScores.setBoardID("585ae175eaff49d8"); break; case 3: MochiScores.setBoardID("f8e708bf73d0cb7a"); break; case 4: MochiScores.setBoardID("80c0309dc986e1a4"); break; case 5: MochiScores.setBoardID("5802ff77fe575d45"); break; case 6: MochiScores.setBoardID("a403e2bbdd18a56b"); break; case 7: MochiScores.setBoardID("6987d81599832f61"); break; }; MochiScores.showLeaderboard({res:"700x500", clip:padre, numScores:25, showTableRank:true, preloaderDisplay:true, onClose:function (){ padre.addMainMenu(); }, onError:function (errorCode:String){ trace(("show error: " + errorCode)); }}); } } }//package
Section 180
//SecCounter (SecCounter) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class SecCounter extends MovieClip { public var padre:UICanvas; public var actualTic:Number;// = 8 public var nextScreen:String; public var interval:Timer; public function SecCounter(){ actualTic = 8; super(); x = 275; y = 200; gotoAndStop(actualTic); interval = new Timer(1000, 0); interval.addEventListener(TimerEvent.TIMER, tic); interval.start(); } function tic(event:TimerEvent):void{ actualTic--; if (actualTic == 0){ interval.stop(); interval.removeEventListener(TimerEvent.TIMER, tic); padre.gotoAndStop(nextScreen); padre.removeChild(this); } else { gotoAndStop(actualTic); }; } } }//package
Section 181
//Soldado (Soldado) package { import flash.display.*; public dynamic class Soldado extends MovieClip { public function Soldado(){ super(); } } }//package
Section 182
//SonidoDisparoA (SonidoDisparoA) package { import flash.media.*; public dynamic class SonidoDisparoA extends Sound { public function SonidoDisparoA(){ super(); } } }//package
Section 183
//SonidoDisparoB (SonidoDisparoB) package { import flash.media.*; public dynamic class SonidoDisparoB extends Sound { public function SonidoDisparoB(){ super(); } } }//package
Section 184
//SonidoDisparoE (SonidoDisparoE) package { import flash.media.*; public dynamic class SonidoDisparoE extends Sound { public function SonidoDisparoE(){ super(); } } }//package
Section 185
//SonidoMuerteA (SonidoMuerteA) package { import flash.media.*; public dynamic class SonidoMuerteA extends Sound { public function SonidoMuerteA(){ super(); } } }//package
Section 186
//Sound_Shotgun (Sound_Shotgun) package { import flash.media.*; public dynamic class Sound_Shotgun extends Sound { public function Sound_Shotgun(){ super(); } } }//package
Section 187
//SoundSystem (SoundSystem) package { import flash.media.*; public class SoundSystem { public var gunA:Sound; public var gunC:Sound; public var gunB:Sound; public var gunD:Sound; public var gunF:Sound; public var gunBB:Sound; public var exploDinamita:Sound; public var mainMenuIntro:Sound; public var shotgun:Sound; public var auch:Sound; public var volPrincipal:SoundTransform; public var bonus:Sound; public var rebote1:Sound; public var rebote2:Sound; public var rebote4:Sound; public var rebote3:Sound; public var entierro:Sound; public var gunFF:Sound; public var sonidoMenuB:Sound; public var padre:UICanvas; public var volSecundario:SoundTransform; public var exploMina:Sound; public var exploRocket:Sound; public var golpe1:Sound; public var golpe2:Sound; public var impactoEnemigo1:Sound; public var golpe4:Sound; public var corazon:Sound; public var gunAA:Sound; public var golpe3:Sound; public var sonidoMenuA:Sound; public var canalSecundario:SoundChannel; public var canalPrincipal:SoundChannel; public function SoundSystem(){ gunA = new GunFire(); gunAA = new GunFire_doble(); gunB = new GunFire2(); gunBB = new GunFire2_double(); gunD = new SonidoDisparoB(); gunC = new SonidoDisparoE(); gunF = new Rocket(); gunFF = new Rocket2(); shotgun = new Sound_Shotgun(); exploDinamita = new ExploDinamita(); exploMina = new BumA(); exploRocket = new ExploRocket(); rebote1 = new Rebote1(); rebote2 = new Rebote2(); rebote3 = new Rebote3(); rebote4 = new Rebote4(); golpe1 = new Golpe1(); golpe2 = new Golpe2(); golpe3 = new Golpe3(); golpe4 = new Golpe4(); auch = new GolpeEnemigo5(); impactoEnemigo1 = new ExplosionDisparoEnemigo1(); sonidoMenuA = new clickAnalogico(); sonidoMenuB = new clickBurbuja(); bonus = new Bonus(); mainMenuIntro = new MainMenuShotGun(); corazon = new Corazon(); entierro = new Entierro(); canalPrincipal = new SoundChannel(); volPrincipal = new SoundTransform(0); canalSecundario = new SoundChannel(); volSecundario = new SoundTransform(); super(); canalPrincipal.soundTransform = volPrincipal; trace(("VOL: " + canalPrincipal.soundTransform.volume)); volSecundario.volume = 0.05; canalSecundario.soundTransform = volSecundario; } } }//package
Section 188
//SpecialContent (SpecialContent) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class SpecialContent extends MovieClip { public var padre:UICanvas; public var thumbBase10:ThumbnailButton; public var backB:SimpleButton; public var thumbBase3:ThumbnailButton; public var thumbBase7:ThumbnailButton; public var thumbBase5:ThumbnailButton; public var thumbBase2:ThumbnailButton; public var thumbBase8:ThumbnailButton; public var thumbBase9:ThumbnailButton; public var thumbBase6:ThumbnailButton; public var thumbBase1:ThumbnailButton; public var thumbBase4:ThumbnailButton; var interval:Timer; var big_pic:Loader; public var back:SimpleButton; public function SpecialContent(){ thumbBase1 = new ThumbnailButton(); thumbBase2 = new ThumbnailButton(); thumbBase3 = new ThumbnailButton(); thumbBase4 = new ThumbnailButton(); thumbBase5 = new ThumbnailButton(); thumbBase6 = new ThumbnailButton(); thumbBase7 = new ThumbnailButton(); thumbBase8 = new ThumbnailButton(); thumbBase9 = new ThumbnailButton(); thumbBase10 = new ThumbnailButton(); big_pic = new Loader(); super(); backB = back; alpha = 0; interval = new Timer((1000 / 24), 0); thumbBase1.createThumb("specialcontent/Ilus_Mapa_1_thumb.jpg", "specialcontent/Ilus_Mapa_1.jpg", "InGame action drawing #1", this, -260, -125); thumbBase2.createThumb("specialcontent/Ilus_Mapa_2_thumb.jpg", "specialcontent/Ilus_Mapa_2.jpg", "InGame action drawing #2", this, -260, -75); thumbBase3.createThumb("specialcontent/Ilus_Mapa_3_thumb.jpg", "specialcontent/Ilus_Mapa_3.jpg", "InGame action drawing #3", this, -260, -25); thumbBase4.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, -260, 25); thumbBase5.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, -260, 75); thumbBase6.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, 190, -125); thumbBase7.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, 190, -75); thumbBase8.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, 190, -25); thumbBase9.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, 190, 25); thumbBase10.createThumb("specialcontent/PersonajePrincipal_thumb.jpg", "specialcontent/PersonajePrincipal.jpg", "Main Character drawings", this, 190, 75); this.addChild(big_pic); backB.addEventListener(MouseEvent.CLICK, backClick); backB.addEventListener(MouseEvent.ROLL_OVER, backOver); backB.addEventListener(MouseEvent.ROLL_OUT, backOut); } function fadeOut(event:TimerEvent):void{ alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.addMainMenu(); padre.removeChild(this); }; } public function backOver(event:MouseEvent):void{ } function exitWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeOut); } function fadeIn(event:TimerEvent):void{ alpha = (alpha + 0.1); if (alpha >= 1){ interval.removeEventListener(TimerEvent.TIMER, fadeIn); }; } public function backClick(event:MouseEvent):void{ exitWindow(); } function enterWindow(){ interval.addEventListener(TimerEvent.TIMER, fadeIn); interval.start(); } public function backOut(event:MouseEvent):void{ } } }//package
Section 189
//SpriteMap (SpriteMap) package { import flash.display.*; public dynamic class SpriteMap extends MovieClip { public function SpriteMap(){ super(); } } }//package
Section 190
//Text (Text) package { public class Text { public static const optionVA:String = "TRY AGAIN"; public static const titleVA:String = "YOU WIN!"; public static const titleVB:String = "GAME OVER"; public static const optionVD:String = "NEXT WAVE"; public static const AchieveTitle10:String = "Kill 3000 Index Soldiers"; public static const AchieveTitle11:String = "Kill 3000 Runners"; public static const AchieveTitle12:String = "Kill 25000 Enemies"; public static const optionVB:String = "BACK"; public static const textVBB:String = "drag & drop"; public static const AchieveOptionUP:String = "UP"; public static const textSA:String = "MOVE"; public static const textSB:String = "SHOOT & AIM"; public static const textSC:String = "CONQUEST"; public static const textSE:String = "PLANT TRAPS"; public static const textSD:String = "UPGRADE POINTS"; public static const AchieveDescription01:String = "Survive through all 30 levels in easy mode."; public static const AchieveDescription02:String = "Survive through all 40 levels in normal mode."; public static const AchieveDescription04:String = "Survive through all 40 levels in challenge mode."; public static const AchieveDescription05:String = "Kill 5000 enemies using your gun."; public static const AchieveDescription06:String = "Kill 3000 thumb soldiers in any mode."; public static const AchieveDescription07:String = "Kill 3000 Seargents in any mode."; public static const AchieveDescription08:String = "Kill 3000 Shooters in any mode."; public static const AchieveDescription09:String = "Kill 3000 Kamikaze in any mode."; public static const AchieveDescription03:String = "Survive through all 40 levels in hard mode."; public static const optionIC:String = "HARD,Map:All mighty bunny"; public static const optionIE:String = "ACHIEVEMENTS"; public static const textTA:String = "You gain upgrade points this way."; public static const textTB:String = "Use your points to upgrade you special abilities: Health, speed, damage, rate of fire and range."; public static const textTC:String = "Use the money you earn from killing enemies to buy traps. You can drag from the menu at your right and drop them anywhere in the game field."; public static const optionIB:String = "NORMAL,Map:Five corners"; public static const optionID:String = "CHALLENGE,Map:No way, Jose!"; public static const optionVAB:String = "pause"; public static const optionIA:String = "EASY,Map:Three easy ways"; public static const AchieveDescription11:String = "Kill 3000 Runners in any mode."; public static const AchieveDescription12:String = "Kill 25000 Enemies in any mode."; public static const optionB:String = "PLAY"; public static const optionC:String = "HIGHSCORES"; public static const optionD:String = "ACHIEVEMENTS"; public static const AchieveDescription10:String = "Kill 3000 Index Soldiers in any mode."; public static const optionH:String = "BACK"; public static const textUA:String = "survive the enemy attacks!"; public static const optionA:String = "OK"; public static const textUB:String = "pause"; public static const textUC:String = "Controling"; public static const textUD:String = "Point Controled"; public static const optionVBB:String = "continue"; public static const textVB:String = "You got killed by your enemies! Give it another try!"; public static const textVD:String = "Points availble for upgrade:"; public static const textVF:String = "Damage:"; public static const AchieveDetailA:String = "Ach.Score:"; public static const AchieveDetailB:String = "Progress:"; public static const AchieveTitle:String = "Achievements"; public static const AchieveOptionDOWN:String = "DOWN"; public static const textVAB:String = "Score"; public static const textVE:String = "Speed:"; public static const textVN:String = "Normal"; public static const textVG:String = "Rate of Fire:"; public static const textVH:String = "EXPLOSIVE MINE. High damage, small area of effect."; public static const textVA:String = "Congratulations, your score has been submited!"; public static const textVK:String = "DYNAMITE. Explodes after 2 seconds, high damage and area of effect."; public static const textVC:String = "current wave"; public static const textVM:String = "Easy"; public static const textB:String = "SHOOT & AIM"; public static const textD:String = "Level:"; public static const textVJ:String = "FREEZE TRAP. Freezes enemies for 5 seconds."; public static const textA:String = "MOVE"; public static const textC:String = "Achievements:"; public static const inputA:String = "Type your name."; public static const textVP:String = "New Enemy"; public static const textVL:String = "Cost:"; public static const textVQ:String = "Boss"; public static const textVS:String = "New Boss"; public static const textVI:String = "POISSON MINE. Periodic damage, medium area of effect."; public static const textVO:String = "Hard"; public static const optionVC:String = "main Menu"; public static const optionVE:String = "upgrade"; public static const AchieveTitle01:String = "Beat Easy Mode"; public static const titleA:String = "what's your name?"; public static const AchieveTitle03:String = "Beat Hard Mode"; public static const titleC:String = "how to play?"; public static const AchieveTitle05:String = "Make 5000 gun kills"; public static const AchieveOptionBACK:String = "BACK"; public static const AchieveTitle07:String = "Kill 3000 Seargents"; public static const AchieveTitle08:String = "Kill 3000 Shooters"; public static const AchieveTitle02:String = "Beat Normal Mode"; public static const AchieveTitle04:String = "Beat Challenge Mode"; public static const AchieveTitle06:String = "Kill 3000 thumb soldiers"; public static const slogan:String = "Enlightening Entertainment!"; public static const AchieveTitle09:String = "Kill 3000 Kamikaze"; public function Text(){ super(); } } }//package
Section 191
//ThumbnailButton (ThumbnailButton) package { import flash.events.*; import flash.display.*; import flash.net.*; public class ThumbnailButton extends MovieClip { public var padre:SpecialContent; public var picldr:Loader; public var _caption; public var imgReq:URLRequest; public var thumbReq:URLRequest; public function ThumbnailButton(){ picldr = new Loader(); super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } public function createThumb(thumb:String, picture:String, caption:String, _padre:SpecialContent, a:Number, b:Number){ x = a; y = b; _caption = caption; padre = _padre; thumbReq = new URLRequest(thumb); imgReq = new URLRequest(picture); picldr.load(thumbReq); this.addChild(picldr); padre.addChild(this); this.buttonMode = true; this.addEventListener(MouseEvent.CLICK, onClick); this.addEventListener(MouseEvent.ROLL_OVER, thumbRollOver); this.addEventListener(MouseEvent.ROLL_OUT, thumbRollOut); } private function onClick(event:MouseEvent):void{ padre.big_pic.load(imgReq); padre.big_pic.x = -175; padre.big_pic.y = -125; } private function thumbRollOver(event:MouseEvent):void{ } private function thumbRollOut(event:MouseEvent):void{ } } }//package
Section 192
//Trap (Trap) package { public class Trap extends Disparable { public var radioEfecto:int; public var radioEfectoSquared:int; public var listaDeEnemigos:ListaEnlazada; public function Trap(type:int, x:Number, y:Number){ super(); posicion = new Vector2D(); posicion.X = x; posicion.Y = y; switch (type){ case TrapMenu.BARREL_TRAP: movieClip = new Barrel(); radio = (movieClip.width / 2); energia = 1; radioEfecto = 120; break; }; movieClip.x = posicion.X; movieClip.y = posicion.Y; radioEfectoSquared = (radioEfecto * radioEfecto); radioSquared = (radio * radio); } override public function update():Boolean{ if (!movieClip.visible){ return (false); }; return (true); } override public function sufrirDanyo(n:Number, tipo:int, empuje:Vector2D){ var otro:Disparable; movieClip.visible = false; otro = Disparable(listaDeEnemigos.primerObjeto); while (otro != null) { if (((otro.movieClip.visible) && (((((otro.posicion.X - posicion.X) * (otro.posicion.X - posicion.X)) + ((otro.posicion.Y - posicion.Y) * (otro.posicion.Y - posicion.Y))) < radioEfectoSquared)))){ otro.sufrirDanyo(5, tipo, null); }; otro = Disparable(otro.sgte); }; } } }//package
Section 193
//TrapMenu (TrapMenu) package { import flash.events.*; import flash.display.*; import flash.text.*; public class TrapMenu { var level:CanvasScenario; var turretIcon:MovieClip; var levelUpIcon:MovieClip; var player:Player; var menu:MovieClip; var selectedTrap:int; var levelUpCost:TextField; var main:MovieClip; var selectedObject:MovieClip; var barrelIcon:MovieClip; public static const TURRET:int = -1; public static const BARREL_TRAP:int = 1; public function TrapMenu(main:MovieClip, level:CanvasScenario, player:Player){ var t:TextField; super(); this.main = main; this.main.stage.addEventListener(MouseEvent.MOUSE_MOVE, moverCursor); this.main.stage.addEventListener(MouseEvent.MOUSE_UP, soltarObjeto); this.level = level; this.player = player; menu = new Menu(); menu.y = 0; menu.x = Canvas.APPLICATION_WIDTH; main.addChild(menu); barrelIcon = new Barrel(); barrelIcon.y = 30; barrelIcon.x = (menu.width / 2); menu.addChild(barrelIcon); barrelIcon.addEventListener(MouseEvent.MOUSE_DOWN, barrelSelected); t = Utils.getTextLabel(Parametros.CostoBarril.toString(), "center", 30, 20); t.x = -5; barrelIcon.addChild(t); turretIcon = new PlayerMC(); turretIcon.y = 70; turretIcon.x = (menu.width / 2); menu.addChild(turretIcon); turretIcon.addEventListener(MouseEvent.MOUSE_DOWN, turretSelected); t = Utils.getTextLabel(Parametros.CostoBase.toString(), "center", 30, 20); t.x = -5; turretIcon.addChild(t); levelUpIcon = new LevelUp(); levelUpIcon.x = (menu.width / 2); levelUpIcon.y = ((Canvas.APPLICATION_HEIGHT - (levelUpIcon.height / 2)) - 5); menu.addChild(levelUpIcon); levelUpIcon.addEventListener(MouseEvent.CLICK, levelUpSelected); levelUpCost = Utils.getTextLabel(Parametros.ParametrosPlayerPorNivel[2][4].toString(), "center", 30, 20); levelUpCost.x = -5; levelUpIcon.addChild(levelUpCost); } public function barrelSelected(e:MouseEvent){ selectedObject = new Barrel(); main.addChild(selectedObject); selectedTrap = BARREL_TRAP; } public function soltarObjeto(e:MouseEvent){ var t:Trap; if (selectedObject != null){ main.removeChild(selectedObject); if (e.stageX < Canvas.APPLICATION_WIDTH){ if (selectedTrap > 0){ t = new Trap(selectedTrap, selectedObject.x, selectedObject.y); level.addTrap(t); } else { level.addTurret(selectedObject.x, selectedObject.y); }; }; selectedObject = null; }; } public function levelUpSelected(e:MouseEvent){ player.levelUp(); if ((player.nivel + 1) < Parametros.ParametrosPlayerPorNivel.length){ levelUpCost.text = Parametros.ParametrosPlayerPorNivel[(player.nivel + 1)][4].toString(); } else { levelUpIcon.visible = false; }; } public function turretSelected(e:MouseEvent){ selectedObject = new PlayerMC(); main.addChild(selectedObject); selectedTrap = TURRET; } public function moverCursor(e:MouseEvent){ if (selectedObject != null){ selectedObject.x = e.stageX; selectedObject.y = e.stageY; }; } } }//package
Section 194
//TreeMap (TreeMap) package { import flash.display.*; public dynamic class TreeMap extends MovieClip { public function TreeMap(){ super(); } } }//package
Section 195
//UICanvas (UICanvas) package { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class UICanvas extends MovieClip { public var local_data:SharedObject; public var soundSystem:SoundSystem; public var insertNameWindow:InsertNameWindow; public var secCounter:SecCounter; public var gameSandBox:MovieClip; public var scoreSystem:ScoreSystem; public var specialContent:SpecialContent; public var introCuatic:MovieClip; var request:URLRequest; var localConnection:LocalConnection; public var main:MovieClip; public var howToPlay:HowToPlay; public var mainMenu:MainMenu; public var achievesWindow:AchievesWindow; public var kongregate; public var achieveSystem:AchieveSystem; public var welcomeWindow:WelcomeWindow; public function UICanvas(value){ localConnection = new LocalConnection(); super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); language.Language = 1; kongregate = value; scoreSystem = new ScoreSystem(); scoreSystem.padre = this; scoreSystem.connectSystem(); soundSystem = new SoundSystem(); } public function saveData(){ local_data.flush(); } function frame2(){ addInsertName(); stop(); } public function openData(value:String){ local_data = SharedObject.getLocal(("cuaticGames_RunnerDefense_" + value)); } public function exitGame(value:Boolean){ var dific:int; dific = main.canvasScenario.dificultad; main.intervalo.stop(); this.removeChild(main); main.canvasScenario = null; main = null; if (value == false){ addMainMenu(); } else { newGame(dific); }; } function onCLick1(e:Event){ if (language.language_nr == "2"){ request = new URLRequest(language.url1); } else { request = new URLRequest((language.url1 + "&utm_content=logo_intro")); }; navigateToURL(request, "_blank"); } function onCLick2(e:Event){ if (language.language_nr == "2"){ request = new URLRequest(language.url1); } else { request = new URLRequest((language.url1 + "&utm_content=button_mainscreen_moregames")); }; navigateToURL(request, "_blank"); } public function addHowToPlay(){ howToPlay = new HowToPlay(); trace(howToPlay); addChild(howToPlay); howToPlay.x = 275; howToPlay.y = 200; howToPlay.padre = this; howToPlay.enterWindow(); } function onCLick4(e:Event){ if (language.language_nr == "2"){ request = new URLRequest(language.url1); } else { request = new URLRequest((language.url1 + "&utm_content=button_highscore_3000games")); }; navigateToURL(request, "_blank"); } function frame3(){ addMainMenu(); stop(); } function frame4(){ stop(); } function onCLick3(e:Event){ if (language.language_nr == "2"){ request = new URLRequest(language.url1); } else { request = new URLRequest((language.url1 + "&utm_content=button_gameover_moregames")); }; navigateToURL(request, "_blank"); } function frame1(){ addNewCounter("SplashScreen"); stop(); } public function addSpecialContent(){ specialContent = new SpecialContent(); trace(specialContent); addChild(specialContent); specialContent.x = 275; specialContent.y = 200; specialContent.padre = this; specialContent.enterWindow(); } public function addMainMenu(){ mainMenu = new MainMenu(this); addChild(mainMenu); } public function addAchieveWindow(){ achievesWindow = new AchievesWindow(this); addChild(achievesWindow); achievesWindow.x = 275; achievesWindow.y = 200; achievesWindow.initAchievements(); achievesWindow.enterWindow(); } public function newGame(tipo:int){ main = null; main = new Canvas(); main.padre = this; this.addChild(main); main.Load(tipo); } public function closeData(){ local_data.close(); } public function addNewCounter(value:String){ secCounter = new SecCounter(); secCounter.nextScreen = value; secCounter.padre = this; addChild(secCounter); } public function addWelcomeWindow(){ welcomeWindow = new WelcomeWindow(); welcomeWindow.padre = this; addChild(welcomeWindow); welcomeWindow.enterWindow(); } public function addInsertName(){ insertNameWindow = new InsertNameWindow(this); insertNameWindow.padre = this; addChild(insertNameWindow); } } }//package
Section 196
//Utils (Utils) package { import flash.text.*; public class Utils { static var EPS:Number = 0.001; public function Utils(){ super(); } public static function getTextLabel(txt:String, align:String, width:int, height:int):TextField{ var t:TextField; var format:TextFormat; format = new TextFormat(); format.font = "Verdana"; format.color = 0xFFFFFF; format.size = 12; format.align = align; t = new TextField(); t.defaultTextFormat = format; t.selectable = false; t.width = width; t.height = height; t.text = txt; return (t); } public static function RayoCircunferencia(segment:Vector2D, a:Number, preC:Number, origin:Vector2D, centro:Vector2D, radioSquared:Number, interseccion:Vector2D):Boolean{ var b:*; var c:Number; var bb4ac:Number; b = (2 * ((segment.X * (origin.X - centro.X)) + (segment.Y * (origin.Y - centro.Y)))); c = ((centro.X * centro.X) + (centro.Y * centro.Y)); c = (c + preC); c = (c - (2 * ((centro.X * origin.X) + (centro.Y * origin.Y)))); c = (c - radioSquared); bb4ac = ((b * b) - ((4 * a) * c)); if ((((Math.abs(a) < EPS)) || ((bb4ac < 0)))){ return (false); }; return (true); } public static function ccw(p0x:Number, p0y:Number, p1x:Number, p1y:Number, p2x:Number, p2y:Number):int{ var dx1:Number; var dx2:Number; var dy1:Number; var dy2:Number; dx1 = (p1x - p0x); dy1 = (p1y - p0y); dx2 = (p2x - p0x); dy2 = (p2y - p0y); if ((dx1 * dy2) > (dy1 * dx2)){ return (1); }; if ((dx1 * dy2) < (dy1 * dx2)){ return (-1); }; if (((((dx1 * dx2) < 0)) || (((dy1 * dy2) < 0)))){ return (-1); }; if (((dx1 * dx1) + (dy1 * dy1)) < ((dx2 * dx2) + (dy2 * dy2))){ return (1); }; return (0); } public static function intersect(p0x:Number, p0y:Number, p1x:Number, p1y:Number, p2x:Number, p2y:Number, p3x:Number, p3y:Number):Boolean{ return (((((ccw(p0x, p0y, p1x, p1y, p2x, p2y) * ccw(p0x, p0y, p1x, p1y, p3x, p3y)) <= 0)) && (((ccw(p2x, p2y, p3x, p3y, p0x, p0y) * ccw(p2x, p2y, p3x, p3y, p1x, p1y)) <= 0)))); } } }//package
Section 197
//WaveHud (WaveHud) package { import flash.display.*; public dynamic class WaveHud extends MovieClip { public var waveBar:MovieClip; public function WaveHud(){ super(); } } }//package
Section 198
//Vector2D (Vector2D) package { public class Vector2D { public var y:Number; public var x:Number; public function Vector2D(){ super(); this.x = 0; this.y = 0; } public function add(v:Vector2D){ this.x = (this.x + v.X); this.y = (this.y + v.Y); } public function distanceTo(v:Vector2D):Number{ return (Math.sqrt((((this.x - v.X) * (this.x - v.X)) + ((this.y - v.Y) * (this.y - v.Y))))); } public function addAndAssign(v1:Vector2D, v2:Vector2D){ this.x = (v1.X + v2.X); this.y = (v1.Y + v2.Y); } public function subAndAssign(v1:Vector2D, v2:Vector2D){ this.x = (v1.X - v2.X); this.y = (v1.Y - v2.Y); } public function get Y():Number{ return (this.y); } public function dot(v:Vector2D):Number{ return ((((v.x * this.x) + v.y) + this.y)); } public function length():Number{ var length_squared:Number; length_squared = ((x * x) + (y * y)); return (Math.sqrt(length_squared)); } public function equals(v:Vector2D):Boolean{ if ((((v.X == this.x)) && ((v.Y == this.y)))){ return (true); }; return (false); } public function normalize(n:Number){ var len:Number; len = this.length(); this.x = ((this.x / len) * n); this.y = ((this.y / len) * n); } public function assign(v:Vector2D){ this.x = v.X; this.y = v.Y; } public function set X(value:Number){ this.x = value; } public function set Y(value:Number){ this.y = value; } public function limitTo(ratio:Number){ if (ratio < 1){ this.x = (this.x * ratio); this.y = (this.y * ratio); }; } public function squaredDistanceTo(v:Vector2D):Number{ return ((((this.x - v.X) * (this.x - v.X)) + ((this.y - v.Y) * (this.y - v.Y)))); } public function get X():Number{ return (this.x); } } }//package
Section 199
//WelcomeWindow (WelcomeWindow) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public class WelcomeWindow extends MovieClip { public var insertName:TextField; public var counter:Number;// = 0 public var padre:UICanvas; public var maxCount:Number;// = 5 public var skipIt:SimpleButton; public var playerName:TextField; public var level:TextField; public var skipButton:SimpleButton; public var newPlayer:Boolean; public var achieveLevel:TextField; public var achieveScore:TextField; public var interval:Timer; public var achievescore:TextField; public function WelcomeWindow(){ counter = 0; maxCount = 5; achieveScore = new TextField(); achieveLevel = new TextField(); super(); addFrameScript(0, frame1, 1, frame2); skipButton = skipIt; playerName = insertName; achieveScore = achievescore; achieveLevel = level; skipButton.addEventListener(MouseEvent.CLICK, skipClick); skipButton.addEventListener(MouseEvent.ROLL_OVER, skipOver); skipButton.addEventListener(MouseEvent.ROLL_OUT, skipOut); x = 275; y = 200; alpha = 0; interval = new Timer((1000 / 24), 0); playerName.maxChars = 12; } function count(event:TimerEvent):void{ counter++; if (counter >= maxCount){ interval.removeEventListener(TimerEvent.TIMER, count); exitWindow(); }; } public function skipOver(event:MouseEvent):void{ } function fadeOut(event:TimerEvent):void{ alpha = (alpha - 0.1); if (alpha <= 0){ interval.removeEventListener(TimerEvent.TIMER, fadeOut); padre.gotoAndStop("MainMenu"); padre.removeChild(this); }; } public function skipClick(event:MouseEvent):void{ exitWindow(); } function frame1(){ stop(); } public function skipOut(event:MouseEvent):void{ } public function changeFrame(){ gotoAndStop(2); } function exitWindow(){ interval.delay = (1000 / 24); interval.addEventListener(TimerEvent.TIMER, fadeOut); playerName.text = ""; } function frame2(){ stop(); } function fadeIn(event:TimerEvent):void{ alpha = (alpha + 0.1); if (alpha >= 1){ interval.removeEventListener(TimerEvent.TIMER, fadeIn); interval.delay = 1000; interval.addEventListener(TimerEvent.TIMER, count); playerName.text = padre.local_data.data.playerName; }; } function enterWindow(){ achieveScore.text = (padre.local_data.data.achieveScore + ""); achieveLevel.text = (padre.local_data.data.achieveLevel + ""); interval.addEventListener(TimerEvent.TIMER, fadeIn); interval.start(); } } }//package

Library Items

Symbol 1 Font {IntroSlogan}Used by:817
Symbol 2 Sound {Sound_Shotgun}
Symbol 3 Sound {MainMenuShotGun}
Symbol 4 Sound {Entierro}
Symbol 5 Sound {Corazon}
Symbol 6 Sound {jumpA}
Symbol 7 Sound {Rocket2}
Symbol 8 Sound {Rocket}
Symbol 9 Sound {Rebote4}
Symbol 10 Sound {Rebote3}
Symbol 11 Sound {Rebote2}
Symbol 12 Sound {Rebote1}
Symbol 13 Sound {MuerteNaturalBala}
Symbol 14 Sound {SonidoMuerteA}
Symbol 15 Sound {mineTrigger}
Symbol 16 Sound {SonidoDisparoB}
Symbol 17 Sound {GunFire2_double}
Symbol 18 Sound {GunFire2}
Symbol 19 Sound {GunFire_doble}
Symbol 20 Sound {GunFire}
Symbol 21 Sound {GolpeEnemigo5}
Symbol 22 Sound {GolpeEnemigo4}
Symbol 23 Sound {GolpeEnemigo3}
Symbol 24 Sound {GolpeEnemigo2}
Symbol 25 Sound {GolpeEnemigo1}
Symbol 26 Sound {Golpe4}
Symbol 27 Sound {Golpe3}
Symbol 28 Sound {Golpe2}
Symbol 29 Sound {Golpe1}
Symbol 30 Sound {SonidoDisparoE}
Symbol 31 Sound {ExplosionDisparoEnemigo1}
Symbol 32 Sound {ExploRocket}
Symbol 33 Sound {ExploMina}
Symbol 34 Sound {ExploDinamita}
Symbol 35 Sound {clickBurbuja}
Symbol 36 Sound {clickAnalogico}
Symbol 37 Sound {Bonus}
Symbol 38 Sound {SonidoDisparoA}
Symbol 39 Sound {BumA}
Symbol 40 Sound {Auch}
Symbol 41 GraphicUsed by:46
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClip {ExploGas}Uses:41 42 43 44 45
Symbol 47 GraphicUsed by:48 188
Symbol 48 MovieClipUses:47Used by:51 54
Symbol 49 GraphicUsed by:51
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClip {bombaMinaHielo_mc}Uses:48 49 50
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip {bombaMinaGas_mc}Uses:48 52 53
Symbol 55 GraphicUsed by:64
Symbol 56 GraphicUsed by:62 63
Symbol 57 GraphicUsed by:62 63
Symbol 58 GraphicUsed by:62 63
Symbol 59 GraphicUsed by:62 63
Symbol 60 GraphicUsed by:62 63
Symbol 61 GraphicUsed by:62 63
Symbol 62 MovieClipUses:56 57 58 59 60 61Used by:64
Symbol 63 MovieClipUses:57 58 59 60 61 56Used by:64
Symbol 64 MovieClip {gas_mc}Uses:55 62 63
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClip {hielo_mc}Uses:66
Symbol 68 FontUsed by:69 70 71 72 73 792 799 804 1081 1087
Symbol 69 TextUses:68Used by:74
Symbol 70 TextUses:68Used by:74
Symbol 71 TextUses:68Used by:74
Symbol 72 TextUses:68Used by:74
Symbol 73 TextUses:68Used by:74
Symbol 74 MovieClip {SecCounter}Uses:69 70 71 72 73
Symbol 75 ShapeTweeningUsed by:84
Symbol 76 ShapeTweeningUsed by:84
Symbol 77 GraphicUsed by:80
Symbol 78 FontUsed by:79 300 328 333 334 336 337 339 340 342 343 423 425 428 431 433 435 437 439 441 445 460 461 463 464 466 793 794 795 796 797 1082 1083 1088 1090 1092 1094 1095 1096 1097
Symbol 79 TextUses:78Used by:80
Symbol 80 MovieClipUses:77 79Used by:84
Symbol 81 ShapeTweeningUsed by:84
Symbol 82 ShapeTweeningUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClip {muerteDedoMC}Uses:75 76 80 81 82 83
Symbol 85 GraphicUsed by:99
Symbol 86 GraphicUsed by:99 119
Symbol 87 GraphicUsed by:99
Symbol 88 GraphicUsed by:99
Symbol 89 GraphicUsed by:99
Symbol 90 GraphicUsed by:99
Symbol 91 GraphicUsed by:99
Symbol 92 GraphicUsed by:99
Symbol 93 GraphicUsed by:99
Symbol 94 GraphicUsed by:99
Symbol 95 GraphicUsed by:99
Symbol 96 GraphicUsed by:99
Symbol 97 GraphicUsed by:99
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip {muerteBalaMC}Uses:85 86 87 88 89 90 91 92 93 94 95 96 97 98
Symbol 100 ShapeTweeningUsed by:119
Symbol 101 ShapeTweeningUsed by:119
Symbol 102 GraphicUsed by:119
Symbol 103 GraphicUsed by:119
Symbol 104 GraphicUsed by:119
Symbol 105 ShapeTweeningUsed by:119
Symbol 106 ShapeTweeningUsed by:119
Symbol 107 GraphicUsed by:119
Symbol 108 GraphicUsed by:119
Symbol 109 ShapeTweeningUsed by:119
Symbol 110 ShapeTweeningUsed by:119
Symbol 111 GraphicUsed by:119
Symbol 112 GraphicUsed by:119
Symbol 113 GraphicUsed by:119
Symbol 114 GraphicUsed by:119
Symbol 115 GraphicUsed by:119
Symbol 116 GraphicUsed by:119
Symbol 117 GraphicUsed by:119
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClip {explocion_mc}Uses:100 101 102 86 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:122
Symbol 122 MovieClip {ChallengeMap}Uses:121
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:125
Symbol 125 MovieClip {MapaSandBox}Uses:124
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:133
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:130
Symbol 130 MovieClipUses:129Used by:133 136 139 142 178 789
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:133 136 139 142 821
Symbol 133 MovieClip {MapaNormal}Uses:127 130 132
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:136
Symbol 136 MovieClip {MapaChallengeMC}Uses:135 130 132
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139
Symbol 139 MovieClip {MapaHard}Uses:138 130 132
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:142
Symbol 142 MovieClip {GatoMapStill}Uses:141 130 132
Symbol 143 GraphicUsed by:178
Symbol 144 FontUsed by:145 146 168 169 170 173 201 203 204 206 208 209 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 242 243 244 245 246 247 248 249 250 251 252 253 255 256 260 301 302 310 311 312 319 320 322 325 347 352 353 360 379 393 606 660 685 686 688 694 745 746 749 750 751 755 756 757 758 807 809 810 811 1085 1086 1089 1091 1093 1139 1143 1145 1147 1149 1165
Symbol 145 TextUses:144Used by:178
Symbol 146 TextUses:144Used by:178
Symbol 147 GraphicUsed by:152 156 285 557 610 617 624 631 638 645 650 657 664 698 702 720
Symbol 148 FontUsed by:149 150 151 153 154 155 607 608 609 611 612 613 614 615 616 618 619 620 621 622 623 625 626 627 628 629 630 632 633 634 635 636 637 639 640 641 642 643 644 646 647 648 649 651 652 653 654 655 656 661 662 663 666 667 678 679 687 695 696 697 699 700 701 709 710 711 712 713 714 715 716 719 733 734 735 754 763 764
Symbol 149 TextUses:148Used by:152
Symbol 150 TextUses:148Used by:152
Symbol 151 TextUses:148Used by:152
Symbol 152 ButtonUses:147 149 150 151Used by:178
Symbol 153 TextUses:148Used by:156
Symbol 154 TextUses:148Used by:156
Symbol 155 TextUses:148Used by:156
Symbol 156 ButtonUses:147 153 154 155Used by:178 825
Symbol 157 GraphicUsed by:177 178 295 473 490 537 545 557 689
Symbol 158 GraphicUsed by:177 178 295 473 490 537 545 557 689
Symbol 159 GraphicUsed by:177 178 473 490
Symbol 160 GraphicUsed by:178
Symbol 161 GraphicUsed by:178
Symbol 162 GraphicUsed by:177 178 295 490 557 689
Symbol 163 GraphicUsed by:178
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:178 789
Symbol 166 BitmapUsed by:167 760
Symbol 167 GraphicUses:166Used by:178
Symbol 168 TextUses:144Used by:178
Symbol 169 TextUses:144Used by:178
Symbol 170 TextUses:144Used by:178
Symbol 171 GraphicUsed by:172
Symbol 172 ButtonUses:171Used by:178 789
Symbol 173 TextUses:144Used by:178
Symbol 174 GraphicUsed by:177 490
Symbol 175 GraphicUsed by:177
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:157 158 162 159 174 175 176Used by:178
Symbol 178 MovieClip {GameOverClip}Uses:143 145 146 152 156 157 158 159 160 161 162 163 130 165 167 168 169 170 172 173 177
Symbol 179 GraphicUsed by:188
Symbol 180 GraphicUsed by:188
Symbol 181 GraphicUsed by:188
Symbol 182 GraphicUsed by:188
Symbol 183 GraphicUsed by:187
Symbol 184 GraphicUsed by:187
Symbol 185 GraphicUsed by:187
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:183 184 185 186Used by:188
Symbol 188 MovieClipUses:179 47 180 181 182 187Used by:189
Symbol 189 MovieClip {DynamiteMC}Uses:188
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClip {boxTrap_mc}Uses:190
Symbol 192 GraphicUsed by:197
Symbol 193 GraphicUsed by:197
Symbol 194 GraphicUsed by:197
Symbol 195 GraphicUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClipUses:192 193 194 195 196Used by:198
Symbol 198 MovieClip {MineMC}Uses:197
Symbol 199 GraphicUsed by:258 1166
Symbol 200 GraphicUsed by:254 257 258 1166
Symbol 201 TextUses:144Used by:258 1166
Symbol 202 GraphicUsed by:258 1166
Symbol 203 TextUses:144Used by:258 1166
Symbol 204 TextUses:144Used by:258 1166
Symbol 205 GraphicUsed by:254 258 1166
Symbol 206 TextUses:144Used by:254 258 1166
Symbol 207 GraphicUsed by:254 257 258 1166
Symbol 208 TextUses:144Used by:254 257 258 1166
Symbol 209 TextUses:144Used by:258
Symbol 210 GraphicUsed by:254 257 258 1166
Symbol 211 TextUses:144Used by:254 257 258 1166
Symbol 212 TextUses:144Used by:258
Symbol 213 TextUses:144Used by:258
Symbol 214 TextUses:144Used by:258
Symbol 215 TextUses:144Used by:258
Symbol 216 TextUses:144Used by:258
Symbol 217 TextUses:144Used by:258
Symbol 218 TextUses:144Used by:258
Symbol 219 TextUses:144Used by:258
Symbol 220 TextUses:144Used by:258
Symbol 221 TextUses:144Used by:258
Symbol 222 TextUses:144Used by:258
Symbol 223 TextUses:144Used by:258
Symbol 224 TextUses:144Used by:258
Symbol 225 TextUses:144Used by:258
Symbol 226 TextUses:144Used by:258
Symbol 227 TextUses:144Used by:258
Symbol 228 TextUses:144Used by:258
Symbol 229 TextUses:144Used by:258
Symbol 230 TextUses:144Used by:258
Symbol 231 TextUses:144Used by:258
Symbol 232 TextUses:144Used by:258
Symbol 233 TextUses:144Used by:258
Symbol 234 TextUses:144Used by:258
Symbol 235 TextUses:144Used by:258
Symbol 236 TextUses:144Used by:258
Symbol 237 TextUses:144Used by:258
Symbol 238 TextUses:144Used by:258
Symbol 239 TextUses:144Used by:258
Symbol 240 TextUses:144Used by:258
Symbol 241 GraphicUsed by:254 258 1166
Symbol 242 TextUses:144Used by:254 258 1166
Symbol 243 TextUses:144Used by:254 258 1166
Symbol 244 TextUses:144Used by:254 257
Symbol 245 TextUses:144Used by:254 257
Symbol 246 TextUses:144Used by:254 257
Symbol 247 TextUses:144Used by:254 257
Symbol 248 TextUses:144Used by:254 257
Symbol 249 TextUses:144Used by:254 257
Symbol 250 TextUses:144Used by:254 257
Symbol 251 TextUses:144Used by:254 257
Symbol 252 TextUses:144Used by:254 257
Symbol 253 TextUses:144Used by:254
Symbol 254 MovieClipUses:205 200 206 210 211 207 208 241 242 243 244 245 246 247 248 249 250 251 252 253Used by:258
Symbol 255 TextUses:144Used by:258
Symbol 256 TextUses:144Used by:257
Symbol 257 MovieClipUses:210 200 211 207 208 244 245 246 247 248 249 250 251 252 256Used by:258
Symbol 258 MovieClip {BunnyCharm_fla.WaveBar_170}Uses:199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 254 241 242 243 255 257Used by:261
Symbol 259 GraphicUsed by:261
Symbol 260 TextUses:144Used by:261
Symbol 261 MovieClip {WaveHud}Uses:258 259 260Used by:468
Symbol 262 BitmapUsed by:263
Symbol 263 GraphicUses:262Used by:468
Symbol 264 GraphicUsed by:267 271 275
Symbol 265 FontUsed by:266 270 274 304 418 421 422 424 426 427 429 430 432 434 436 438 440 444 447 448 450 452 453 455 457 458 462 465 681 682 683 684 765 766 767 768
Symbol 266 EditableTextUses:265Used by:267
Symbol 267 MovieClip {BunnyCharm_fla.SpeedIcon_278}Uses:264 266Used by:468
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:468
Symbol 270 EditableTextUses:265Used by:271
Symbol 271 MovieClip {BunnyCharm_fla.DamageIcon_279}Uses:264 270Used by:468
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:468
Symbol 274 EditableTextUses:265Used by:275
Symbol 275 MovieClip {BunnyCharm_fla.RangeIcon_280}Uses:264 274Used by:468
Symbol 276 GraphicUsed by:468
Symbol 277 GraphicUsed by:289
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:278Used by:289
Symbol 280 GraphicUsed by:284 983 988 992 993 994 995 1001 1003 1006 1008 1010 1014 1023 1027 1032 1061 1062 1065 1066 1069 1071 1073
Symbol 281 GraphicUsed by:284 983 988 992 993 994 995 1001 1003 1006 1008 1010 1014 1023 1027 1032 1061 1062 1065 1066 1069 1071 1073
Symbol 282 GraphicUsed by:284 983 988 992 993 994 995 1001 1003 1006 1008 1010 1014 1023 1027 1032 1061 1062 1065 1066 1069 1071 1073
Symbol 283 GraphicUsed by:284 983 988 992 993 994 995 1001 1003 1006 1008 1010 1014 1023 1027 1032 1061 1062 1065 1066 1069 1071 1073
Symbol 284 MovieClipUses:280 281 282 283Used by:289 1076
Symbol 285 MovieClipUses:147Used by:289 299
Symbol 286 GraphicUsed by:289
Symbol 287 GraphicUsed by:289
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClip {BunnyCharm_fla.ExpBar_281}Uses:277 279 284 285 286 287 288Used by:468
Symbol 290 GraphicUsed by:299
Symbol 291 GraphicUsed by:299
Symbol 292 GraphicUsed by:295 537 545 557 689
Symbol 293 GraphicUsed by:295 537 545 557 689
Symbol 294 GraphicUsed by:295 557 689
Symbol 295 MovieClipUses:157 158 162 292 293 294Used by:296 564
Symbol 296 MovieClipUses:295Used by:299
Symbol 297 GraphicUsed by:299
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClip {BunnyCharm_fla.HealthBar_284}Uses:290 285 291 296 297 298Used by:468
Symbol 300 EditableTextUses:78Used by:468
Symbol 301 TextUses:144Used by:468
Symbol 302 TextUses:144Used by:468
Symbol 303 GraphicUsed by:468
Symbol 304 EditableTextUses:265Used by:468
Symbol 305 GraphicUsed by:309
Symbol 306 GraphicUsed by:309
Symbol 307 GraphicUsed by:309
Symbol 308 GraphicUsed by:309 317
Symbol 309 ButtonUses:305 306 307 308Used by:468
Symbol 310 TextUses:144Used by:468
Symbol 311 TextUses:144Used by:468
Symbol 312 TextUses:144Used by:468
Symbol 313 GraphicUsed by:468
Symbol 314 GraphicUsed by:317
Symbol 315 GraphicUsed by:317
Symbol 316 GraphicUsed by:317
Symbol 317 ButtonUses:314 315 316 308Used by:468
Symbol 318 GraphicUsed by:323
Symbol 319 TextUses:144Used by:323
Symbol 320 EditableTextUses:144Used by:323
Symbol 321 GraphicUsed by:323
Symbol 322 TextUses:144Used by:323
Symbol 323 MovieClip {BunnyCharm_fla.UPPoints_288}Uses:318 319 320 321 322Used by:468
Symbol 324 GraphicUsed by:468
Symbol 325 EditableTextUses:144Used by:326
Symbol 326 MovieClip {BunnyCharm_fla.obj01_289}Uses:325Used by:468
Symbol 327 GraphicUsed by:329
Symbol 328 TextUses:78Used by:329
Symbol 329 MovieClipUses:327 328Used by:468
Symbol 330 GraphicUsed by:335 338 341 366 370 375 378 392
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331Used by:335 338 341 366 370 375 378 392 400 403 406 409 412 415
Symbol 333 TextUses:78Used by:335
Symbol 334 TextUses:78Used by:335
Symbol 335 MovieClip {BunnyCharm_fla.baseButton_291}Uses:330 332 333 334Used by:468
Symbol 336 TextUses:78Used by:338
Symbol 337 TextUses:78Used by:338
Symbol 338 MovieClip {BunnyCharm_fla.towerButton_293}Uses:330 332 336 337Used by:468
Symbol 339 TextUses:78Used by:341
Symbol 340 TextUses:78Used by:341
Symbol 341 MovieClip {BunnyCharm_fla.MisilButton_294}Uses:330 332 339 340Used by:468
Symbol 342 EditableTextUses:78Used by:468
Symbol 343 TextUses:78Used by:468
Symbol 344 GraphicUsed by:468
Symbol 345 GraphicUsed by:351 356 359 362
Symbol 346 GraphicUsed by:351
Symbol 347 TextUses:144Used by:351
Symbol 348 GraphicUsed by:351 356 359 362
Symbol 349 GraphicUsed by:351 356 359 362
Symbol 350 GraphicUsed by:351
Symbol 351 ButtonUses:345 346 347 348 349 350Used by:468
Symbol 352 TextUses:144Used by:359 468
Symbol 353 TextUses:144Used by:356
Symbol 354 GraphicUsed by:356
Symbol 355 GraphicUsed by:356
Symbol 356 ButtonUses:345 353 354 348 349 355Used by:468
Symbol 357 GraphicUsed by:359
Symbol 358 GraphicUsed by:359 362
Symbol 359 ButtonUses:345 352 357 348 349 358Used by:468
Symbol 360 TextUses:144Used by:362
Symbol 361 GraphicUsed by:362
Symbol 362 ButtonUses:345 360 361 348 349 358Used by:468
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:363Used by:365 366
Symbol 365 MovieClipUses:364Used by:366
Symbol 366 MovieClip {BunnyCharm_fla.mineButton_299}Uses:330 364 332 365Used by:468
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:367Used by:369 370
Symbol 369 MovieClipUses:368Used by:370
Symbol 370 MovieClip {BunnyCharm_fla.DinamyteButton_301}Uses:330 368 332 369Used by:468
Symbol 371 BitmapUsed by:372 373
Symbol 372 GraphicUses:371Used by:375
Symbol 373 GraphicUses:371Used by:374
Symbol 374 MovieClipUses:373Used by:375
Symbol 375 MovieClip {BunnyCharm_fla.toxicButton_303}Uses:330 372 332 374Used by:468
Symbol 376 GraphicUsed by:377 378
Symbol 377 MovieClipUses:376Used by:378
Symbol 378 MovieClip {BunnyCharm_fla.mineButtonfreeze_305}Uses:330 332 376 377Used by:468
Symbol 379 TextUses:144Used by:468
Symbol 380 GraphicUsed by:385 387
Symbol 381 GraphicUsed by:385
Symbol 382 GraphicUsed by:385 387
Symbol 383 GraphicUsed by:385 387
Symbol 384 GraphicUsed by:385 387
Symbol 385 ButtonUses:380 381 382 383 384Used by:468
Symbol 386 GraphicUsed by:387
Symbol 387 ButtonUses:380 386 382 383 384Used by:468
Symbol 388 BitmapUsed by:389 390
Symbol 389 GraphicUses:388Used by:392
Symbol 390 GraphicUses:388Used by:391
Symbol 391 MovieClipUses:390Used by:392
Symbol 392 MovieClip {BunnyCharm_fla.boxButton_309}Uses:330 389 332 391Used by:468
Symbol 393 TextUses:144Used by:468
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:400
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:400 403 406 409 412 415
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398Used by:400 403 406 409 412 415
Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311}Uses:395 332 397 399Used by:468
Symbol 401 BitmapUsed by:402
Symbol 402 GraphicUses:401Used by:403
Symbol 403 MovieClip {BunnyCharm_fla.akButton_314}Uses:402 332 397 399Used by:468
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:406
Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315}Uses:405 332 397 399Used by:468
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:409
Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316}Uses:408 332 397 399Used by:468
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:412
Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317}Uses:411 332 397 399Used by:468
Symbol 413 BitmapUsed by:414
Symbol 414 GraphicUses:413Used by:415
Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318}Uses:414 332 397 399Used by:468
Symbol 416 GraphicUsed by:468
Symbol 417 GraphicUsed by:419
Symbol 418 TextUses:265Used by:419
Symbol 419 MovieClipUses:417 418Used by:459
Symbol 420 GraphicUsed by:459
Symbol 421 TextUses:265Used by:459
Symbol 422 TextUses:265Used by:459
Symbol 423 TextUses:78Used by:459
Symbol 424 TextUses:265Used by:459
Symbol 425 TextUses:78Used by:459
Symbol 426 TextUses:265Used by:459
Symbol 427 TextUses:265Used by:459
Symbol 428 TextUses:78Used by:459
Symbol 429 TextUses:265Used by:459
Symbol 430 TextUses:265Used by:459
Symbol 431 TextUses:78Used by:459
Symbol 432 TextUses:265Used by:459
Symbol 433 TextUses:78Used by:459
Symbol 434 TextUses:265Used by:459
Symbol 435 TextUses:78Used by:459
Symbol 436 TextUses:265Used by:459
Symbol 437 TextUses:78Used by:459
Symbol 438 TextUses:265Used by:459
Symbol 439 TextUses:78Used by:459
Symbol 440 TextUses:265Used by:459
Symbol 441 TextUses:78Used by:459
Symbol 442 GraphicUsed by:459
Symbol 443 GraphicUsed by:459
Symbol 444 TextUses:265Used by:459
Symbol 445 TextUses:78Used by:459
Symbol 446 GraphicUsed by:459
Symbol 447 TextUses:265Used by:459
Symbol 448 TextUses:265Used by:459
Symbol 449 GraphicUsed by:459
Symbol 450 TextUses:265Used by:459
Symbol 451 GraphicUsed by:459
Symbol 452 TextUses:265Used by:459
Symbol 453 TextUses:265Used by:459
Symbol 454 GraphicUsed by:459
Symbol 455 TextUses:265Used by:459
Symbol 456 GraphicUsed by:459
Symbol 457 TextUses:265Used by:459
Symbol 458 TextUses:265Used by:459
Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319}Uses:419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458Used by:468
Symbol 460 TextUses:78Used by:468
Symbol 461 TextUses:78Used by:468
Symbol 462 EditableTextUses:265Used by:468
Symbol 463 EditableTextUses:78Used by:468
Symbol 464 TextUses:78Used by:468
Symbol 465 EditableTextUses:265Used by:468
Symbol 466 TextUses:78Used by:468
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClip {HudMenu}Uses:261 263 267 269 271 273 275 276 289 299 300 301 302 303 304 309 310 311 312 313 317 323 324 326 329 335 338 341 342 343 344 351 352 356 359 362 366 370 375 378 379 385 387 392 393 400 403 406 409 412 415 416 459 460 461 462 463 464 465 466 467
Symbol 469 GraphicUsed by:496
Symbol 470 GraphicUsed by:473 490
Symbol 471 GraphicUsed by:473 537 545
Symbol 472 GraphicUsed by:473 537 545
Symbol 473 MovieClipUses:157 158 470 471 159 472Used by:496
Symbol 474 GraphicUsed by:496
Symbol 475 GraphicUsed by:481 495 546 562
Symbol 476 GraphicUsed by:481 484 489 492 494 495 546 550 551 552 553 555 558 559 560 561 562 563
Symbol 477 GraphicUsed by:481 484 489 492 494 495 546 550 551 552 553 555 558 559 560 561 562 563
Symbol 478 GraphicUsed by:481 484 489 492 494 495 546 553 558 562
Symbol 479 GraphicUsed by:481 495 546 550 562 563
Symbol 480 GraphicUsed by:481 495 546 562
Symbol 481 MovieClipUses:475 476 477 478 479 480Used by:496
Symbol 482 GraphicUsed by:484 494 551 552 560 561
Symbol 483 GraphicUsed by:484 551 552
Symbol 484 MovieClipUses:476 477 482 478 483Used by:496
Symbol 485 GraphicUsed by:489 492 553 555 558 559
Symbol 486 GraphicUsed by:489 492 553 558
Symbol 487 GraphicUsed by:489 492 553 555 558 559
Symbol 488 GraphicUsed by:489 553 555
Symbol 489 MovieClipUses:485 476 477 486 478 487 488Used by:496
Symbol 490 MovieClipUses:157 158 162 470 159 174Used by:496
Symbol 491 GraphicUsed by:492 558 559
Symbol 492 MovieClipUses:485 476 477 486 478 487 491Used by:496
Symbol 493 GraphicUsed by:494 560 561
Symbol 494 MovieClipUses:476 477 482 478 493Used by:496
Symbol 495 MovieClipUses:475 476 477 478 479 480Used by:496
Symbol 496 MovieClip {BaseMC}Uses:469 473 474 481 484 489 490 492 494 495
Symbol 497 GraphicUsed by:498
Symbol 498 MovieClip {Menu}Uses:497
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:501
Symbol 501 MovieClip {AutoBarrel}Uses:500
Symbol 502 BitmapUsed by:503
Symbol 503 GraphicUses:502Used by:504
Symbol 504 MovieClip {Barrel}Uses:503
Symbol 505 GraphicUsed by:508
Symbol 506 FontUsed by:507
Symbol 507 TextUses:506Used by:508
Symbol 508 MovieClip {LevelUp}Uses:505 507
Symbol 509 GraphicUsed by:510 1269
Symbol 510 MovieClip {RedBar}Uses:509Used by:513
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClip {GreenBar}Uses:511Used by:513
Symbol 513 MovieClip {EnergyBar}Uses:510 512
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:525
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:516Used by:523
Symbol 518 GraphicUsed by:523 525 529
Symbol 519 GraphicUsed by:523
Symbol 520 GraphicUsed by:523
Symbol 521 GraphicUsed by:523
Symbol 522 GraphicUsed by:523
Symbol 523 MovieClip {enemy_01}Uses:517 518 519 520 521 522Used by:525
Symbol 524 GraphicUsed by:525
Symbol 525 MovieClip {enemy_03}Uses:515 523 518 524
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:526Used by:529
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClip {enemy_02}Uses:527 518 528
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClip {BalaMC}Uses:530
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClip {Rayo}Uses:532
Symbol 534 GraphicUsed by:536
Symbol 535 GraphicUsed by:536 544
Symbol 536 MovieClipUses:534 535Used by:564
Symbol 537 MovieClipUses:157 158 292 471 293 472Used by:564
Symbol 538 ShapeTweeningUsed by:541
Symbol 539 GraphicUsed by:541
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:538 539 540Used by:564
Symbol 542 GraphicUsed by:544
Symbol 543 GraphicUsed by:544
Symbol 544 MovieClipUses:542 543 535Used by:564
Symbol 545 MovieClipUses:157 158 292 471 293 472Used by:564
Symbol 546 MovieClipUses:475 476 477 478 479 480Used by:564
Symbol 547 GraphicUsed by:550 563
Symbol 548 GraphicUsed by:550 551 552 555 559 560 561 563
Symbol 549 GraphicUsed by:550 563
Symbol 550 MovieClipUses:547 476 477 548 479 549Used by:564
Symbol 551 MovieClipUses:476 477 482 548 483Used by:564
Symbol 552 MovieClipUses:476 477 482 548 483Used by:564
Symbol 553 MovieClipUses:485 476 477 486 478 487 488Used by:564
Symbol 554 GraphicUsed by:555 559
Symbol 555 MovieClipUses:485 476 477 554 548 487 488Used by:564
Symbol 556 GraphicUsed by:557
Symbol 557 MovieClipUses:157 158 162 147 556 292 293 294Used by:564
Symbol 558 MovieClipUses:485 476 477 486 478 487 491Used by:564
Symbol 559 MovieClipUses:485 476 477 554 548 487 491Used by:564
Symbol 560 MovieClipUses:476 477 482 548 493Used by:564
Symbol 561 MovieClipUses:476 477 482 548 493Used by:564
Symbol 562 MovieClipUses:475 476 477 478 479 480Used by:564
Symbol 563 MovieClipUses:547 476 477 548 479 549Used by:564
Symbol 564 MovieClip {Conejo}Uses:536 537 541 544 545 546 550 551 552 553 555 295 557 558 559 560 561 562 563
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClip {PlayerMC}Uses:565
Symbol 567 BitmapUsed by:571 574 576 581
Symbol 568 BitmapUsed by:571 574 576 592
Symbol 569 BitmapUsed by:571 574 576 594
Symbol 570 BitmapUsed by:571 574 576 596
Symbol 571 GraphicUses:567 568 569 570Used by:572
Symbol 572 MovieClip {GatoMap}Uses:571
Symbol 573 BitmapUsed by:574 576 601
Symbol 574 GraphicUses:568 567 569 570 573Used by:575
Symbol 575 MovieClip {TreeMap}Uses:574
Symbol 576 GraphicUses:568 569 570 573 567Used by:577
Symbol 577 MovieClip {SpriteMap}Uses:576
Symbol 578 BitmapUsed by:579
Symbol 579 GraphicUses:578Used by:580
Symbol 580 MovieClipUses:579Used by:603 604
Symbol 581 GraphicUses:567Used by:582
Symbol 582 MovieClipUses:581Used by:603 604
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:585
Symbol 585 MovieClipUses:584Used by:603 604
Symbol 586 BitmapUsed by:587
Symbol 587 GraphicUses:586Used by:588
Symbol 588 MovieClipUses:587Used by:603 604
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:591
Symbol 591 MovieClipUses:590Used by:603 604
Symbol 592 GraphicUses:568Used by:593
Symbol 593 MovieClipUses:592Used by:603 604
Symbol 594 GraphicUses:569Used by:595
Symbol 595 MovieClipUses:594Used by:603 604
Symbol 596 GraphicUses:570Used by:597
Symbol 597 MovieClipUses:596Used by:603 604
Symbol 598 BitmapUsed by:599
Symbol 599 GraphicUses:598Used by:600
Symbol 600 MovieClipUses:599Used by:603
Symbol 601 GraphicUses:573Used by:602
Symbol 602 MovieClipUses:601Used by:603
Symbol 603 MovieClip {NewMap}Uses:580 582 585 588 591 593 595 597 600 602
Symbol 604 MovieClip {OldMap}Uses:580 585 582 588 591 593 595 597
Symbol 605 GraphicUsed by:658
Symbol 606 TextUses:144Used by:658
Symbol 607 TextUses:148Used by:610
Symbol 608 TextUses:148Used by:610
Symbol 609 TextUses:148Used by:610
Symbol 610 ButtonUses:147 607 608 609Used by:658
Symbol 611 TextUses:148Used by:617
Symbol 612 TextUses:148Used by:617
Symbol 613 TextUses:148Used by:617
Symbol 614 TextUses:148Used by:617
Symbol 615 TextUses:148Used by:617
Symbol 616 TextUses:148Used by:617
Symbol 617 ButtonUses:147 611 612 613 614 615 616Used by:658
Symbol 618 TextUses:148Used by:624
Symbol 619 TextUses:148Used by:624
Symbol 620 TextUses:148Used by:624
Symbol 621 TextUses:148Used by:624
Symbol 622 TextUses:148Used by:624
Symbol 623 TextUses:148Used by:624
Symbol 624 ButtonUses:147 618 619 620 621 622 623Used by:658
Symbol 625 TextUses:148Used by:631
Symbol 626 TextUses:148Used by:631
Symbol 627 TextUses:148Used by:631
Symbol 628 TextUses:148Used by:631
Symbol 629 TextUses:148Used by:631
Symbol 630 TextUses:148Used by:631
Symbol 631 ButtonUses:147 625 626 627 628 629 630Used by:658
Symbol 632 TextUses:148Used by:638
Symbol 633 TextUses:148Used by:638
Symbol 634 TextUses:148Used by:638
Symbol 635 TextUses:148Used by:638
Symbol 636 TextUses:148Used by:638
Symbol 637 TextUses:148Used by:638
Symbol 638 ButtonUses:147 632 633 634 635 636 637Used by:658
Symbol 639 TextUses:148Used by:645 650
Symbol 640 TextUses:148Used by:645
Symbol 641 TextUses:148Used by:645
Symbol 642 TextUses:148Used by:645
Symbol 643 TextUses:148Used by:645 650
Symbol 644 TextUses:148Used by:645
Symbol 645 ButtonUses:147 639 640 641 642 643 644Used by:658
Symbol 646 TextUses:148Used by:650
Symbol 647 TextUses:148Used by:650
Symbol 648 TextUses:148Used by:650
Symbol 649 TextUses:148Used by:650
Symbol 650 ButtonUses:147 639 646 647 648 643 649Used by:658
Symbol 651 TextUses:148Used by:657
Symbol 652 TextUses:148Used by:657
Symbol 653 TextUses:148Used by:657
Symbol 654 TextUses:148Used by:657
Symbol 655 TextUses:148Used by:657
Symbol 656 TextUses:148Used by:657
Symbol 657 ButtonUses:147 651 652 653 654 655 656Used by:658
Symbol 658 MovieClip {DifficultyWindow}Uses:605 606 610 617 624 631 638 645 650 657
Symbol 659 GraphicUsed by:689
Symbol 660 TextUses:144Used by:689
Symbol 661 TextUses:148Used by:664
Symbol 662 TextUses:148Used by:664
Symbol 663 TextUses:148Used by:664
Symbol 664 ButtonUses:147 661 662 663Used by:689 704
Symbol 665 GraphicUsed by:689
Symbol 666 TextUses:148Used by:689
Symbol 667 TextUses:148Used by:689
Symbol 668 GraphicUsed by:677
Symbol 669 GraphicUsed by:670 677
Symbol 670 MovieClipUses:669Used by:677
Symbol 671 GraphicUsed by:677
Symbol 672 GraphicUsed by:677
Symbol 673 GraphicUsed by:677
Symbol 674 GraphicUsed by:676
Symbol 675 GraphicUsed by:676
Symbol 676 MovieClip {BunnyCharm_fla.axionConquista_mc_50}Uses:674 675Used by:677
Symbol 677 MovieClip {domCircle}Uses:668 669 670 671 672 673 676Used by:689
Symbol 678 TextUses:148Used by:689
Symbol 679 TextUses:148Used by:689
Symbol 680 GraphicUsed by:689
Symbol 681 TextUses:265Used by:689
Symbol 682 TextUses:265Used by:689
Symbol 683 TextUses:265Used by:689
Symbol 684 TextUses:265Used by:689
Symbol 685 TextUses:144Used by:689
Symbol 686 TextUses:144Used by:689
Symbol 687 TextUses:148Used by:689
Symbol 688 TextUses:144Used by:689
Symbol 689 MovieClip {HowToPlay}Uses:659 660 664 665 666 667 677 678 679 680 681 682 683 684 157 158 162 292 293 294 685 686 687 688
Symbol 690 GraphicUsed by:704
Symbol 691 GraphicUsed by:692
Symbol 692 MovieClipUses:691Used by:704
Symbol 693 GraphicUsed by:704
Symbol 694 TextUses:144Used by:704
Symbol 695 TextUses:148Used by:698
Symbol 696 TextUses:148Used by:698
Symbol 697 TextUses:148Used by:698
Symbol 698 ButtonUses:147 695 696 697Used by:703
Symbol 699 TextUses:148Used by:702
Symbol 700 TextUses:148Used by:702
Symbol 701 TextUses:148Used by:702
Symbol 702 ButtonUses:147 699 700 701Used by:703
Symbol 703 MovieClip {BunnyCharm_fla.navBer_204}Uses:698 702Used by:704
Symbol 704 MovieClip {AchievesWindow}Uses:690 692 693 694 664 703
Symbol 705 GraphicUsed by:720 1183
Symbol 706 FontUsed by:707 708 717 718
Symbol 707 EditableTextUses:706Used by:720
Symbol 708 EditableTextUses:706Used by:720
Symbol 709 TextUses:148Used by:720
Symbol 710 TextUses:148Used by:720
Symbol 711 EditableTextUses:148Used by:720
Symbol 712 EditableTextUses:148Used by:720
Symbol 713 EditableTextUses:148Used by:720
Symbol 714 EditableTextUses:148Used by:720
Symbol 715 TextUses:148Used by:720
Symbol 716 EditableTextUses:148Used by:720
Symbol 717 EditableTextUses:706Used by:720
Symbol 718 EditableTextUses:706Used by:720
Symbol 719 EditableTextUses:148Used by:720
Symbol 720 MovieClip {achBar}Uses:705 707 708 709 710 711 712 713 714 715 716 147 717 718 719
Symbol 721 GraphicUsed by:789
Symbol 722 GraphicUsed by:725
Symbol 723 GraphicUsed by:724
Symbol 724 MovieClipUses:723Used by:725
Symbol 725 MovieClipUses:722 724Used by:789
Symbol 726 GraphicUsed by:727
Symbol 727 MovieClipUses:726Used by:789
Symbol 728 GraphicUsed by:729
Symbol 729 MovieClipUses:728Used by:789
Symbol 730 GraphicUsed by:731
Symbol 731 MovieClipUses:730Used by:789
Symbol 732 GraphicUsed by:737
Symbol 733 TextUses:148Used by:737
Symbol 734 TextUses:148Used by:737
Symbol 735 TextUses:148Used by:737
Symbol 736 GraphicUsed by:737
Symbol 737 ButtonUses:732 733 734 735 736Used by:789
Symbol 738 GraphicUsed by:743
Symbol 739 GraphicUsed by:743
Symbol 740 GraphicUsed by:743
Symbol 741 GraphicUsed by:743
Symbol 742 GraphicUsed by:743
Symbol 743 ButtonUses:738 739 740 741 742Used by:789
Symbol 744 GraphicUsed by:747
Symbol 745 TextUses:144Used by:747
Symbol 746 TextUses:144Used by:747
Symbol 747 ButtonUses:744 745 746Used by:789
Symbol 748 GraphicUsed by:752
Symbol 749 TextUses:144Used by:752
Symbol 750 TextUses:144Used by:752
Symbol 751 TextUses:144Used by:752
Symbol 752 ButtonUses:748 749 750 751Used by:789
Symbol 753 GraphicUsed by:759
Symbol 754 EditableTextUses:148Used by:759
Symbol 755 TextUses:144Used by:759
Symbol 756 TextUses:144Used by:759
Symbol 757 EditableTextUses:144Used by:759
Symbol 758 EditableTextUses:144Used by:759
Symbol 759 MovieClip {BunnyCharm_fla.informacionJugador_195}Uses:753 754 755 756 757 758Used by:789
Symbol 760 GraphicUses:166Used by:789
Symbol 761 GraphicUsed by:789
Symbol 762 GraphicUsed by:789
Symbol 763 TextUses:148Used by:789
Symbol 764 TextUses:148Used by:789
Symbol 765 TextUses:265Used by:789
Symbol 766 TextUses:265Used by:789
Symbol 767 TextUses:265Used by:789
Symbol 768 TextUses:265Used by:789
Symbol 769 GraphicUsed by:784
Symbol 770 GraphicUsed by:784
Symbol 771 GraphicUsed by:784
Symbol 772 GraphicUsed by:784
Symbol 773 GraphicUsed by:784
Symbol 774 GraphicUsed by:784
Symbol 775 GraphicUsed by:784
Symbol 776 GraphicUsed by:784
Symbol 777 GraphicUsed by:784
Symbol 778 GraphicUsed by:784
Symbol 779 GraphicUsed by:784
Symbol 780 GraphicUsed by:784
Symbol 781 GraphicUsed by:784
Symbol 782 GraphicUsed by:784
Symbol 783 GraphicUsed by:784
Symbol 784 MovieClipUses:769 770 771 772 773 774 775 776 777 778 779 780 781 782 783Used by:789
Symbol 785 ShapeTweeningUsed by:788
Symbol 786 ShapeTweeningUsed by:788
Symbol 787 GraphicUsed by:788
Symbol 788 MovieClip {ImpactoEnEnemigo}Uses:785 786 787Used by:789
Symbol 789 MovieClip {MainMenu}Uses:721 725 727 729 731 737 743 747 752 759 130 165 760 172 761 762 763 764 765 766 767 768 784 788
Symbol 790 GraphicUsed by:805
Symbol 791 GraphicUsed by:805
Symbol 792 TextUses:68Used by:805
Symbol 793 TextUses:78Used by:805
Symbol 794 EditableTextUses:78Used by:805
Symbol 795 TextUses:78Used by:805
Symbol 796 EditableTextUses:78Used by:805
Symbol 797 EditableTextUses:78Used by:805
Symbol 798 GraphicUsed by:803
Symbol 799 TextUses:68Used by:803
Symbol 800 GraphicUsed by:803
Symbol 801 GraphicUsed by:803
Symbol 802 GraphicUsed by:803
Symbol 803 ButtonUses:798 799 800 801 802Used by:805
Symbol 804 TextUses:68Used by:805
Symbol 805 MovieClip {WelcomeWindow}Uses:790 791 792 793 794 795 796 797 803 804
Symbol 806 GraphicUsed by:814
Symbol 807 TextUses:144Used by:814
Symbol 808 GraphicUsed by:814
Symbol 809 EditableTextUses:144Used by:814
Symbol 810 TextUses:144Used by:813
Symbol 811 TextUses:144Used by:813
Symbol 812 GraphicUsed by:813
Symbol 813 ButtonUses:810 811 812Used by:814
Symbol 814 MovieClip {InsertNameWindow}Uses:806 807 808 809 813
Symbol 815 GraphicUsed by:823
Symbol 816 GraphicUsed by:821
Symbol 817 TextUses:1Used by:820
Symbol 818 FontUsed by:819
Symbol 819 TextUses:818Used by:820
Symbol 820 MovieClipUses:817 819Used by:821
Symbol 821 MovieClip {BunnyCharm_fla.Cuatic_178}Uses:816 132 820Used by:823
Symbol 822 GraphicUsed by:823
Symbol 823 MovieClip {UICanvas}Uses:815 821 822
Symbol 824 GraphicUsed by:825
Symbol 825 MovieClip {SpecialContent}Uses:156 824
Symbol 826 GraphicUsed by:834
Symbol 827 GraphicUsed by:832
Symbol 828 GraphicUsed by:832
Symbol 829 GraphicUsed by:832
Symbol 830 GraphicUsed by:832
Symbol 831 GraphicUsed by:832
Symbol 832 MovieClipUses:827 828 829 830 831Used by:834
Symbol 833 GraphicUsed by:834
Symbol 834 MovieClip {ThumbnailButton}Uses:826 832 833
Symbol 835 GraphicUsed by:849 851 853 867
Symbol 836 GraphicUsed by:849 851 853 867
Symbol 837 GraphicUsed by:849 851 853 867
Symbol 838 GraphicUsed by:849 851 853 867
Symbol 839 GraphicUsed by:849 851 853 867
Symbol 840 GraphicUsed by:849 851 853 867
Symbol 841 GraphicUsed by:849 851 853 867
Symbol 842 GraphicUsed by:849 851 853 867
Symbol 843 GraphicUsed by:849 851 853 867
Symbol 844 GraphicUsed by:849 851 853 867
Symbol 845 GraphicUsed by:849 851 853 867
Symbol 846 GraphicUsed by:849 851 853 867
Symbol 847 GraphicUsed by:849 851 853 867
Symbol 848 GraphicUsed by:849 851 853 867
Symbol 849 MovieClipUses:835 836 837 838 839 840 841 842 843 844 845 846 847 848Used by:850 868
Symbol 850 MovieClipUses:849Used by:868
Symbol 851 MovieClipUses:835 836 837 838 839 840 841 842 843 844 845 846 847 848Used by:852 868
Symbol 852 MovieClipUses:851Used by:868
Symbol 853 MovieClipUses:835 836 837 838 839 840 841 842 843 844 845 846 847 848Used by:854 868
Symbol 854 MovieClipUses:853Used by:868
Symbol 855 GraphicUsed by:867 886
Symbol 856 GraphicUsed by:867 886
Symbol 857 GraphicUsed by:867 886
Symbol 858 GraphicUsed by:867 886
Symbol 859 GraphicUsed by:867 886
Symbol 860 GraphicUsed by:867 886
Symbol 861 GraphicUsed by:867 886
Symbol 862 GraphicUsed by:867 886
Symbol 863 GraphicUsed by:867 886
Symbol 864 GraphicUsed by:867 886
Symbol 865 GraphicUsed by:867 886
Symbol 866 GraphicUsed by:867 886
Symbol 867 MovieClip {BunnyCharm_fla.mano2Muerte01_mc_168}Uses:835 836 837 838 839 840 841 842 843 844 845 846 847 848 855 856 857 858 859 860 861 862 863 864 865 866Used by:868
Symbol 868 MovieClip {Robot}Uses:849 850 851 852 853 854 867
Symbol 869 GraphicUsed by:884 885 886 888
Symbol 870 GraphicUsed by:884 885 886 888
Symbol 871 GraphicUsed by:884 885 886 888
Symbol 872 GraphicUsed by:884 885 886 888
Symbol 873 GraphicUsed by:884 885 886 888
Symbol 874 GraphicUsed by:884 885 886 888
Symbol 875 GraphicUsed by:884 885 886 888
Symbol 876 GraphicUsed by:884 885 886 888
Symbol 877 GraphicUsed by:884 885 886 888
Symbol 878 GraphicUsed by:884 885 886 888
Symbol 879 GraphicUsed by:884 885 886 888
Symbol 880 GraphicUsed by:884 885 886 888
Symbol 881 GraphicUsed by:884 885 886 888
Symbol 882 GraphicUsed by:884 885 886 888
Symbol 883 GraphicUsed by:884 885 886 888
Symbol 884 MovieClipUses:869 870 871 872 873 874 875 876 877 878 879 880 881 882 883Used by:888
Symbol 885 MovieClipUses:869 870 871 872 873 874 875 876 877 878 879 880 881 882 883Used by:888
Symbol 886 MovieClip {BunnyCharm_fla.manoMuerte01_mc_160}Uses:869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 855 856 857 858 859 860 861 862 863 864 865 866Used by:887
Symbol 887 MovieClipUses:886Used by:888
Symbol 888 MovieClip {Boss}Uses:884 885 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 887
Symbol 889 GraphicUsed by:900 921 925 1037 1041 1045 1050
Symbol 890 GraphicUsed by:900 921 925 1037 1041 1045 1050
Symbol 891 GraphicUsed by:900 921 925 1037 1041 1045 1050
Symbol 892 GraphicUsed by:900 921 925 1037 1041 1045 1050
Symbol 893 GraphicUsed by:900 921 925 1037 1041 1045 1050
Symbol 894 GraphicUsed by:900 921 925
Symbol 895 GraphicUsed by:900 913 921 922 925 926 930
Symbol 896 GraphicUsed by:900 921 925
Symbol 897 GraphicUsed by:900 921 925
Symbol 898 GraphicUsed by:900 913 921 1037 1038 1041
Symbol 899 GraphicUsed by:900 921 1037 1041
Symbol 900 MovieClipUses:889 890 891 892 893 894 895 896 897 898 899Used by:957
Symbol 901 GraphicUsed by:913 922 926 930 1038 1042 1046 1054
Symbol 902 GraphicUsed by:913 922 926 930 1038 1042 1046 1054
Symbol 903 GraphicUsed by:913 922 926 930 1038 1042 1046 1054
Symbol 904 GraphicUsed by:913 922 926 930 1038 1042 1046 1054
Symbol 905 GraphicUsed by:913 922 926 930 1038 1042 1046 1054
Symbol 906 GraphicUsed by:913 922 926 930 980 987 991 1000 1005 1011 1014 1021 1026 1031 1038 1042 1046 1054 1060 1064 1068 1072
Symbol 907 GraphicUsed by:913 922 926 930 1038 1042 1046 1054
Symbol 908 GraphicUsed by:913 922 926 930
Symbol 909 GraphicUsed by:913 922 930
Symbol 910 GraphicUsed by:913 922 980 987 1000 1005 1021 1026 1038 1042 1060 1064
Symbol 911 GraphicUsed by:913 1038
Symbol 912 GraphicUsed by:913 922 980 987 1000 1005 1021 1026 1038 1042 1060 1064
Symbol 913 MovieClipUses:901 902 903 904 905 906 907 898 908 895 909 910 911 912Used by:957
Symbol 914 GraphicUsed by:919 923 927 928 1039 1043 1047 1048 1052 1055
Symbol 915 GraphicUsed by:919 923 927 928 1039 1043 1047 1048 1052 1055
Symbol 916 GraphicUsed by:919 923 927 928 1039 1043 1047 1048 1052 1055
Symbol 917 GraphicUsed by:919 923 927 928
Symbol 918 GraphicUsed by:919 1039
Symbol 919 MovieClipUses:914 915 916 917 918Used by:920 957
Symbol 920 MovieClipUses:919Used by:957
Symbol 921 MovieClipUses:889 890 891 892 893 894 895 896 897 898 899Used by:957
Symbol 922 MovieClipUses:901 902 903 904 905 906 907 908 895 909 910 912Used by:957
Symbol 923 MovieClipUses:914 915 916 917Used by:924 957
Symbol 924 MovieClipUses:923Used by:957
Symbol 925 MovieClipUses:889 890 891 892 893 894 895 896 897Used by:931 957
Symbol 926 MovieClipUses:901 902 903 904 905 906 907 908 895Used by:957
Symbol 927 MovieClipUses:914 915 916 917Used by:931 957
Symbol 928 MovieClipUses:914 915 916 917Used by:931 957
Symbol 929 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 930 MovieClipUses:901 902 903 904 905 906 907 908 895 909Used by:931
Symbol 931 MovieClipUses:925 927 930 928Used by:956
Symbol 932 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 933 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 934 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 935 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 936 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 937 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 938 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 939 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 940 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 941 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 942 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 943 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 944 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 945 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 946 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 947 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 948 GraphicUsed by:952
Symbol 949 GraphicUsed by:952
Symbol 950 GraphicUsed by:952
Symbol 951 GraphicUsed by:952
Symbol 952 MovieClipUses:948 949 950 951Used by:956 997 1013 1035 1057 1075
Symbol 953 GraphicUsed by:956 997 1013 1035 1057 1075
Symbol 954 FontUsed by:955
Symbol 955 TextUses:954Used by:956 997 1013 1035 1057 1075
Symbol 956 MovieClip {BunnyCharm_fla.dedoMuerteRunner_153}Uses:929 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 952 953 955Used by:957
Symbol 957 MovieClip {Runner}Uses:900 913 920 919 921 922 924 923 925 926 927 928 956
Symbol 958 GraphicUsed by:971 986 990 999 1004 1009 1014 1017 1025 1030 1059 1063 1067 1070
Symbol 959 GraphicUsed by:971 986 990 999 1004 1009 1014 1017 1025 1030 1059 1063 1067 1070
Symbol 960 GraphicUsed by:971 986 990 999 1004 1009 1014 1017 1025 1030 1059 1063 1067 1070
Symbol 961 GraphicUsed by:971 980 986 987 990 991
Symbol 962 GraphicUsed by:971 980 986 987 990 991
Symbol 963 GraphicUsed by:971 980 986 987 990 991
Symbol 964 GraphicUsed by:971 990 1009
Symbol 965 GraphicUsed by:971 990
Symbol 966 GraphicUsed by:971 980 986 987 990 991 999 1000 1004 1005 1009 1011 1014
Symbol 967 GraphicUsed by:971 980 986 987 990 991 999 1000 1004 1005 1009 1011 1014
Symbol 968 GraphicUsed by:971 980 986 987 990 991 999 1000 1004 1005 1009 1011 1014
Symbol 969 GraphicUsed by:971 999 1017 1059
Symbol 970 GraphicUsed by:971 986 999 1004 1017 1025 1059 1063
Symbol 971 MovieClipUses:958 959 960 961 962 963 964 965 966 967 968 969 970Used by:998
Symbol 972 GraphicUsed by:980 987 991 1000 1005 1011 1014 1021 1026 1031 1060 1064 1068 1072
Symbol 973 GraphicUsed by:980 987 991 1000 1005 1011 1014 1021 1026 1031 1060 1064 1068 1072
Symbol 974 GraphicUsed by:980 987 991 1000 1005 1011 1014 1021 1026 1031 1060 1064 1068 1072
Symbol 975 GraphicUsed by:980 987 991 1000 1005 1011 1014 1021 1026 1031 1060 1064 1068 1072
Symbol 976 GraphicUsed by:980 1000 1021 1060
Symbol 977 GraphicUsed by:980 986 987 991
Symbol 978 GraphicUsed by:980 1000 1021 1060
Symbol 979 GraphicUsed by:980 987 1000 1005 1021 1026 1060 1064
Symbol 980 MovieClipUses:972 973 974 906 975 976 966 967 968 961 962 963 977 978 979 910 912Used by:998
Symbol 981 GraphicUsed by:983 988 992 993 994 995
Symbol 982 GraphicUsed by:983 988 992 993 994 995 1001 1003 1006 1008 1010 1014
Symbol 983 MovieClipUses:280 281 981 282 283 982Used by:984 998
Symbol 984 MovieClipUses:983Used by:998
Symbol 985 GraphicUsed by:986 1004 1025 1063
Symbol 986 MovieClipUses:958 959 960 961 962 963 966 967 968 977 985 970Used by:998
Symbol 987 MovieClipUses:972 973 974 906 975 966 967 968 961 962 963 977 910 979 912Used by:998
Symbol 988 MovieClipUses:280 281 981 282 283 982Used by:989 998
Symbol 989 MovieClipUses:988Used by:998
Symbol 990 MovieClipUses:958 959 960 961 962 963 964 965 966 967 968Used by:996 998
Symbol 991 MovieClipUses:972 973 974 906 975 966 967 968 961 962 963 977Used by:996 998
Symbol 992 MovieClipUses:280 281 981 282 283 982Used by:998
Symbol 993 MovieClipUses:280 281 981 282 283 982Used by:998
Symbol 994 MovieClipUses:280 281 981 282 283 982Used by:996
Symbol 995 MovieClipUses:280 281 981 282 283 982Used by:996
Symbol 996 MovieClipUses:990 994 991 995Used by:997
Symbol 997 MovieClip {BunnyCharm_fla.dedoMuerte3_mc_136}Uses:929 996 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 952 953 955Used by:998
Symbol 998 MovieClip {Kamikaze}Uses:971 980 984 983 986 987 989 988 990 991 992 993 997
Symbol 999 MovieClipUses:958 959 960 966 967 968 969 970Used by:1014
Symbol 1000 MovieClipUses:972 973 974 906 975 976 966 967 968 978 979 910 912Used by:1014
Symbol 1001 MovieClipUses:280 281 282 283 982Used by:1002
Symbol 1002 MovieClipUses:1001Used by:1014
Symbol 1003 MovieClipUses:280 281 282 283 982Used by:1014
Symbol 1004 MovieClipUses:958 959 960 966 967 968 985 970Used by:1014
Symbol 1005 MovieClipUses:972 973 974 906 975 966 967 968 910 979 912Used by:1014
Symbol 1006 MovieClipUses:280 281 282 283 982Used by:1007
Symbol 1007 MovieClipUses:1006Used by:1014
Symbol 1008 MovieClipUses:280 281 282 283 982Used by:1014
Symbol 1009 MovieClipUses:958 959 960 964 966 967 968Used by:1012
Symbol 1010 MovieClipUses:280 281 282 283 982Used by:1012
Symbol 1011 MovieClipUses:972 973 974 906 975 966 967 968Used by:1012
Symbol 1012 MovieClipUses:1009 1010 1011Used by:1013
Symbol 1013 MovieClip {BunnyCharm_fla.dedoMuerteDedal_mccopy_118}Uses:929 1012 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 952 953 955Used by:1014
Symbol 1014 MovieClip {Sargento}Uses:999 1000 1002 1003 1004 1005 1007 1008 958 959 960 966 967 968 972 973 974 906 975 280 281 282 283 982 1013
Symbol 1015 GraphicUsed by:1017 1021 1025 1026 1030
Symbol 1016 GraphicUsed by:1017 1021 1025 1026 1030 1031
Symbol 1017 MovieClipUses:958 959 960 1015 1016 969 970Used by:1036
Symbol 1018 GraphicUsed by:1021 1026
Symbol 1019 GraphicUsed by:1021 1026 1031
Symbol 1020 GraphicUsed by:1021 1026 1031
Symbol 1021 MovieClipUses:1018 972 973 974 906 975 976 1019 1016 1020 978 979 1015 910 912Used by:1036
Symbol 1022 GraphicUsed by:1023 1027 1032
Symbol 1023 MovieClipUses:280 281 282 283 1022Used by:1024 1036
Symbol 1024 MovieClipUses:1023Used by:1036
Symbol 1025 MovieClipUses:958 959 960 1015 1016 985 970Used by:1036
Symbol 1026 MovieClipUses:1018 972 973 974 906 975 1019 1016 1020 910 979 912 1015Used by:1036
Symbol 1027 MovieClipUses:280 281 282 283 1022Used by:1028 1036
Symbol 1028 MovieClipUses:1027Used by:1036
Symbol 1029 GraphicUsed by:1030
Symbol 1030 MovieClipUses:1029 958 959 960 1015 1016Used by:1034 1036
Symbol 1031 MovieClipUses:972 973 974 906 975 1019 1016 1020Used by:1034 1036
Symbol 1032 MovieClipUses:280 281 282 283 1022Used by:1033 1034 1036
Symbol 1033 MovieClipUses:1032Used by:1034 1036
Symbol 1034 MovieClipUses:1030 1033 1031 1032Used by:1035
Symbol 1035 MovieClip {BunnyCharm_fla.dedoMuerteShooter_105}Uses:929 1034 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 952 953 955Used by:1036
Symbol 1036 MovieClip {Soldado}Uses:1017 1021 1024 1023 1025 1026 1028 1027 1030 1031 1033 1032 1035
Symbol 1037 MovieClipUses:889 890 891 892 893 898 899Used by:1058
Symbol 1038 MovieClipUses:901 902 903 904 905 906 907 898 910 911 912Used by:1058
Symbol 1039 MovieClipUses:914 915 916 918Used by:1040 1058
Symbol 1040 MovieClipUses:1039Used by:1058
Symbol 1041 MovieClipUses:889 890 891 892 893 898 899Used by:1058
Symbol 1042 MovieClipUses:901 902 903 904 905 906 907 910 912Used by:1058
Symbol 1043 MovieClipUses:914 915 916Used by:1044 1058
Symbol 1044 MovieClipUses:1043Used by:1058
Symbol 1045 MovieClipUses:889 890 891 892 893Used by:1058
Symbol 1046 MovieClipUses:901 902 903 904 905 906 907Used by:1058
Symbol 1047 MovieClipUses:914 915 916Used by:1058
Symbol 1048 MovieClipUses:914 915 916Used by:1058
Symbol 1049 GraphicUsed by:1050 1054
Symbol 1050 MovieClipUses:1049 889 890 891 892 893Used by:1056
Symbol 1051 GraphicUsed by:1052 1055
Symbol 1052 MovieClipUses:914 915 916 1051Used by:1056
Symbol 1053 GraphicUsed by:1054
Symbol 1054 MovieClipUses:901 902 903 904 905 906 907 1049 1053Used by:1056
Symbol 1055 MovieClipUses:914 915 916 1051Used by:1056
Symbol 1056 MovieClipUses:1050 1052 1054 1055Used by:1057
Symbol 1057 MovieClip {BunnyCharm_fla.dedoMuerteIndice_86}Uses:929 1056 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 952 953 955Used by:1058
Symbol 1058 MovieClip {Indice}Uses:1037 1038 1040 1039 1041 1042 1044 1043 1045 1046 1047 1048 1057
Symbol 1059 MovieClipUses:958 959 960 969 970Used by:1076
Symbol 1060 MovieClipUses:972 973 974 906 975 976 978 979 910 912Used by:1076
Symbol 1061 MovieClipUses:280 281 282 283Used by:1076
Symbol 1062 MovieClipUses:280 281 282 283Used by:1076
Symbol 1063 MovieClipUses:958 959 960 985 970Used by:1076
Symbol 1064 MovieClipUses:972 973 974 906 975 910 979 912Used by:1076
Symbol 1065 MovieClipUses:280 281 282 283Used by:1076
Symbol 1066 MovieClipUses:280 281 282 283Used by:1076
Symbol 1067 MovieClipUses:958 959 960Used by:1076
Symbol 1068 MovieClipUses:972 973 974 906 975Used by:1076
Symbol 1069 MovieClipUses:280 281 282 283Used by:1076
Symbol 1070 MovieClipUses:958 959 960Used by:1074
Symbol 1071 MovieClipUses:280 281 282 283Used by:1074
Symbol 1072 MovieClipUses:972 973 974 906 975Used by:1074
Symbol 1073 MovieClipUses:280 281 282 283Used by:1074
Symbol 1074 MovieClipUses:1070 1071 1072 1073Used by:1075
Symbol 1075 MovieClip {BunnyCharm_fla.dedoMuerte1_mc_66}Uses:929 1074 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 952 953 955Used by:1076
Symbol 1076 MovieClip {Pulgar}Uses:1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 284 1075
Symbol 1077 ShapeTweeningUsed by:1080
Symbol 1078 ShapeTweeningUsed by:1080
Symbol 1079 GraphicUsed by:1080
Symbol 1080 MovieClip {PartExploA}Uses:1077 1078 1079
Symbol 1081 TextUses:68Used by:1098
Symbol 1082 TextUses:78Used by:1098
Symbol 1083 EditableTextUses:78Used by:1098
Symbol 1084 GraphicUsed by:1098
Symbol 1085 TextUses:144Used by:1098
Symbol 1086 EditableTextUses:144Used by:1098
Symbol 1087 TextUses:68Used by:1098
Symbol 1088 TextUses:78Used by:1098
Symbol 1089 TextUses:144Used by:1098
Symbol 1090 TextUses:78Used by:1098
Symbol 1091 TextUses:144Used by:1098
Symbol 1092 TextUses:78Used by:1098
Symbol 1093 TextUses:144Used by:1098
Symbol 1094 TextUses:78Used by:1098
Symbol 1095 TextUses:78Used by:1098
Symbol 1096 TextUses:78Used by:1098
Symbol 1097 TextUses:78Used by:1098
Symbol 1098 MovieClip {AchMessageMC}Uses:1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
Symbol 1099 GraphicUsed by:1103
Symbol 1100 GraphicUsed by:1103
Symbol 1101 GraphicUsed by:1103
Symbol 1102 GraphicUsed by:1103
Symbol 1103 MovieClip {bolaFuego_mc}Uses:1099 1100 1101 1102Used by:1137
Symbol 1104 BitmapUsed by:1105
Symbol 1105 GraphicUses:1104Used by:1106
Symbol 1106 MovieClipUses:1105Used by:1137
Symbol 1107 GraphicUsed by:1137
Symbol 1108 BitmapUsed by:1109
Symbol 1109 GraphicUses:1108Used by:1110
Symbol 1110 MovieClipUses:1109Used by:1137
Symbol 1111 BitmapUsed by:1112
Symbol 1112 GraphicUses:1111Used by:1117
Symbol 1113 BitmapUsed by:1114
Symbol 1114 GraphicUses:1113Used by:1117
Symbol 1115 BitmapUsed by:1116
Symbol 1116 GraphicUses:1115Used by:1117
Symbol 1117 MovieClipUses:1112 1114 1116Used by:1137
Symbol 1118 BitmapUsed by:1119
Symbol 1119 GraphicUses:1118Used by:1124
Symbol 1120 BitmapUsed by:1121
Symbol 1121 GraphicUses:1120Used by:1124
Symbol 1122 BitmapUsed by:1123
Symbol 1123 GraphicUses:1122Used by:1124
Symbol 1124 MovieClipUses:1119 1121 1123Used by:1137
Symbol 1125 BitmapUsed by:1126
Symbol 1126 GraphicUses:1125Used by:1133
Symbol 1127 BitmapUsed by:1128
Symbol 1128 GraphicUses:1127Used by:1133
Symbol 1129 BitmapUsed by:1130
Symbol 1130 GraphicUses:1129Used by:1133
Symbol 1131 BitmapUsed by:1132
Symbol 1132 GraphicUses:1131Used by:1133
Symbol 1133 MovieClipUses:1126 1128 1130 1132Used by:1137
Symbol 1134 GraphicUsed by:1136
Symbol 1135 GraphicUsed by:1136
Symbol 1136 MovieClipUses:1134 1135Used by:1137
Symbol 1137 MovieClip {bala_mc}Uses:1106 1107 1110 1117 1103 1124 1133 1136
Symbol 1138 GraphicUsed by:1140
Symbol 1139 TextUses:144Used by:1140
Symbol 1140 MovieClip {InGameIntro}Uses:1138 1139
Symbol 1141 MovieClip {BonusObtained}
Symbol 1142 GraphicUsed by:1144 1146 1148 1150
Symbol 1143 TextUses:144Used by:1144
Symbol 1144 MovieClip {PointControled}Uses:1142 1143
Symbol 1145 TextUses:144Used by:1146
Symbol 1146 MovieClip {LosingBase}Uses:1142 1145
Symbol 1147 TextUses:144Used by:1148
Symbol 1148 MovieClip {Conquering}Uses:1142 1147
Symbol 1149 TextUses:144Used by:1150
Symbol 1150 MovieClip {gamePaused}Uses:1142 1149
Symbol 1151 GraphicUsed by:1152
Symbol 1152 MovieClip {Dead}Uses:1151
Symbol 1153 GraphicUsed by:1154
Symbol 1154 MovieClip {DeathMatk}Uses:1153
Symbol 1155 ShapeTweeningUsed by:1160
Symbol 1156 ShapeTweeningUsed by:1160
Symbol 1157 ShapeTweeningUsed by:1160
Symbol 1158 GraphicUsed by:1160
Symbol 1159 GraphicUsed by:1160
Symbol 1160 MovieClip {BunnyCharm_fla.impactoEnergia_mc_31}Uses:1155 1156 1157 1158 1159Used by:1161
Symbol 1161 MovieClip {ImpactoEnEnemigo_}Uses:1160
Symbol 1162 GraphicUsed by:1164
Symbol 1163 GraphicUsed by:1164
Symbol 1164 MovieClip {HealthSpace}Uses:1162 1163
Symbol 1165 EditableTextUses:144Used by:1166
Symbol 1166 MovieClip {newWaveBar}Uses:199 200 201 1165 205 206 207 208 202 203 204 210 211 241 242 243
Symbol 1167 MovieClip {com.kongregate.as3.client.KongregateAPI}
Symbol 1168 GraphicUsed by:1170
Symbol 1169 GraphicUsed by:1170
Symbol 1170 MovieClipUses:1168 1169Used by:1198
Symbol 1171 GraphicUsed by:1198
Symbol 1172 GraphicUsed by:1198
Symbol 1173 GraphicUsed by:1198
Symbol 1174 MovieClip {BunnyCharm_fla.Action_4}Used by:1198
Symbol 1175 GraphicUsed by:1198
Symbol 1176 GraphicUsed by:1183
Symbol 1177 GraphicUsed by:1183
Symbol 1178 GraphicUsed by:1183
Symbol 1179 GraphicUsed by:1183
Symbol 1180 GraphicUsed by:1183
Symbol 1181 GraphicUsed by:1183
Symbol 1182 GraphicUsed by:1183
Symbol 1183 MovieClip {BunnyCharm_fla.loadED_5}Uses:1176 1177 1178 1179 705 1180 1181 1182Used by:1198
Symbol 1184 ShapeTweeningUsed by:1198
Symbol 1185 ShapeTweeningUsed by:1198
Symbol 1186 GraphicUsed by:1198
Symbol 1187 GraphicUsed by:1198
Symbol 1188 GraphicUsed by:1198
Symbol 1189 GraphicUsed by:1197 1198
Symbol 1190 GraphicUsed by:1197 1198
Symbol 1191 GraphicUsed by:1197 1198
Symbol 1192 GraphicUsed by:1197 1198
Symbol 1193 GraphicUsed by:1197 1198
Symbol 1194 GraphicUsed by:1196 1197
Symbol 1195 GraphicUsed by:1196
Symbol 1196 MovieClipUses:1194 1195Used by:1197 1198
Symbol 1197 ButtonUses:1189 1190 1191 1192 1193 1196 1194Used by:1198
Symbol 1198 MovieClip {BunnyCharm_fla.X_LOAD_2}Uses:1170 1171 1172 1173 1174 1175 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1197 1193 1196Used by:1213
Symbol 1199 GraphicUsed by:1213
Symbol 1200 FontUsed by:1201
Symbol 1201 TextUses:1200Used by:1205
Symbol 1202 GraphicUsed by:1205
Symbol 1203 GraphicUsed by:1205
Symbol 1204 GraphicUsed by:1205
Symbol 1205 ButtonUses:1201 1202 1203 1204Used by:1213
Symbol 1206 GraphicUsed by:1213
Symbol 1207 GraphicUsed by:1213
Symbol 1208 GraphicUsed by:1212 1268
Symbol 1209 GraphicUsed by:1211
Symbol 1210 GraphicUsed by:1211
Symbol 1211 ButtonUses:1209 1210Used by:1212
Symbol 1212 MovieClip {BunnyCharm_fla.NG_TANK_9}Uses:1208 1211Used by:1213
Symbol 1213 MovieClip {BunnyCharm_fla.NG_AD_OBJECT_WITH_PRELOADER_1}Uses:1198 1199 1205 1206 1207 1212Used by:Timeline
Symbol 1214 GraphicUsed by:Timeline
Symbol 1215 BitmapUsed by:1216
Symbol 1216 GraphicUses:1215Used by:1269
Symbol 1217 GraphicUsed by:1218
Symbol 1218 MovieClipUses:1217Used by:1269
Symbol 1219 GraphicUsed by:1220
Symbol 1220 MovieClipUses:1219Used by:1269
Symbol 1221 GraphicUsed by:1222
Symbol 1222 MovieClipUses:1221Used by:1269
Symbol 1223 GraphicUsed by:1269
Symbol 1224 GraphicUsed by:1225
Symbol 1225 MovieClipUses:1224Used by:1269
Symbol 1226 GraphicUsed by:1227
Symbol 1227 MovieClipUses:1226Used by:1269
Symbol 1228 GraphicUsed by:1229
Symbol 1229 MovieClipUses:1228Used by:1269
Symbol 1230 GraphicUsed by:1231
Symbol 1231 MovieClipUses:1230Used by:1269
Symbol 1232 GraphicUsed by:1233
Symbol 1233 MovieClipUses:1232Used by:1269
Symbol 1234 GraphicUsed by:1235
Symbol 1235 MovieClipUses:1234Used by:1269
Symbol 1236 BitmapUsed by:1237
Symbol 1237 GraphicUses:1236Used by:1238
Symbol 1238 MovieClipUses:1237Used by:1269
Symbol 1239 GraphicUsed by:1269
Symbol 1240 GraphicUsed by:1241
Symbol 1241 MovieClipUses:1240Used by:1269
Symbol 1242 GraphicUsed by:1269
Symbol 1243 GraphicUsed by:1269
Symbol 1244 GraphicUsed by:1269
Symbol 1245 GraphicUsed by:1269
Symbol 1246 GraphicUsed by:1269
Symbol 1247 GraphicUsed by:1269
Symbol 1248 GraphicUsed by:1269
Symbol 1249 GraphicUsed by:1269
Symbol 1250 GraphicUsed by:1269
Symbol 1251 GraphicUsed by:1269
Symbol 1252 GraphicUsed by:1269
Symbol 1253 GraphicUsed by:1269
Symbol 1254 GraphicUsed by:1269
Symbol 1255 GraphicUsed by:1269
Symbol 1256 GraphicUsed by:1269
Symbol 1257 GraphicUsed by:1258
Symbol 1258 MovieClipUses:1257Used by:1261
Symbol 1259 BitmapUsed by:1260
Symbol 1260 GraphicUses:1259Used by:1261
Symbol 1261 MovieClipUses:1258 1260Used by:1269
Symbol 1262 GraphicUsed by:1269
Symbol 1263 GraphicUsed by:1269
Symbol 1264 GraphicUsed by:1269
Symbol 1265 GraphicUsed by:1269
Symbol 1266 GraphicUsed by:1269
Symbol 1267 GraphicUsed by:1269
Symbol 1268 MovieClipUses:1208Used by:1269
Symbol 1269 MovieClip {BunnyCharm_fla.animacion_GAMAGA_11}Uses:509 1216 1218 1220 1222 1223 1225 1227 1229 1231 1233 1235 1238 1239 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1261 1262 1263 1264 1265 1266 1267 1268Used by:Timeline
Symbol 1270 GraphicUsed by:1272
Symbol 1271 GraphicUsed by:1272
Symbol 1272 ButtonUses:1270 1271Used by:Timeline

Instance Names

"introButton"Frame 3Symbol 1272 Button
"tryB"Symbol 178 MovieClip {GameOverClip} Frame 1Symbol 152 Button
"backB"Symbol 178 MovieClip {GameOverClip} Frame 1Symbol 156 Button
"gamagaLink"Symbol 178 MovieClip {GameOverClip} Frame 1Symbol 172 Button
"waveBar"Symbol 261 MovieClip {WaveHud} Frame 1Symbol 258 MovieClip {BunnyCharm_fla.WaveBar_170}
"healthPoints"Symbol 267 MovieClip {BunnyCharm_fla.SpeedIcon_278} Frame 1Symbol 266 EditableText
"damagePoints"Symbol 271 MovieClip {BunnyCharm_fla.DamageIcon_279} Frame 1Symbol 270 EditableText
"rangePoints"Symbol 275 MovieClip {BunnyCharm_fla.RangeIcon_280} Frame 1Symbol 274 EditableText
"barMask"Symbol 289 MovieClip {BunnyCharm_fla.ExpBar_281} Frame 1Symbol 285 MovieClip
"barMask"Symbol 299 MovieClip {BunnyCharm_fla.HealthBar_284} Frame 1Symbol 285 MovieClip
"totalPoints"Symbol 323 MovieClip {BunnyCharm_fla.UPPoints_288} Frame 1Symbol 320 EditableText
"actualLevel"Symbol 326 MovieClip {BunnyCharm_fla.obj01_289} Frame 1Symbol 325 EditableText
"marcoBoton"Symbol 335 MovieClip {BunnyCharm_fla.baseButton_291} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 338 MovieClip {BunnyCharm_fla.towerButton_293} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 341 MovieClip {BunnyCharm_fla.MisilButton_294} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 366 MovieClip {BunnyCharm_fla.mineButton_299} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 370 MovieClip {BunnyCharm_fla.DinamyteButton_301} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 375 MovieClip {BunnyCharm_fla.toxicButton_303} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 378 MovieClip {BunnyCharm_fla.mineButtonfreeze_305} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 392 MovieClip {BunnyCharm_fla.boxButton_309} Frame 1Symbol 332 MovieClip
"marcoBoton"Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311} Frame 1Symbol 332 MovieClip
"block"Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311} Frame 1Symbol 397 MovieClip
"selected"Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311} Frame 1Symbol 399 MovieClip
"marcoBoton"Symbol 403 MovieClip {BunnyCharm_fla.akButton_314} Frame 1Symbol 332 MovieClip
"block"Symbol 403 MovieClip {BunnyCharm_fla.akButton_314} Frame 1Symbol 397 MovieClip
"selected"Symbol 403 MovieClip {BunnyCharm_fla.akButton_314} Frame 1Symbol 399 MovieClip
"marcoBoton"Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315} Frame 1Symbol 332 MovieClip
"block"Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315} Frame 1Symbol 397 MovieClip
"selected"Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315} Frame 1Symbol 399 MovieClip
"marcoBoton"Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316} Frame 1Symbol 332 MovieClip
"block"Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316} Frame 1Symbol 397 MovieClip
"selected"Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316} Frame 1Symbol 399 MovieClip
"marcoBoton"Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317} Frame 1Symbol 332 MovieClip
"block"Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317} Frame 1Symbol 397 MovieClip
"selected"Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317} Frame 1Symbol 399 MovieClip
"marcoBoton"Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318} Frame 1Symbol 332 MovieClip
"block"Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318} Frame 1Symbol 397 MovieClip
"selected"Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318} Frame 1Symbol 399 MovieClip
"unlockable"Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319} Frame 1Symbol 419 MovieClip
"_waveHud"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 261 MovieClip {WaveHud}
"speedIcon"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 267 MovieClip {BunnyCharm_fla.SpeedIcon_278}
"damageIcon"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 271 MovieClip {BunnyCharm_fla.DamageIcon_279}
"rangeIcon"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 275 MovieClip {BunnyCharm_fla.RangeIcon_280}
"expBar"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 289 MovieClip {BunnyCharm_fla.ExpBar_281}
"healthBar"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 299 MovieClip {BunnyCharm_fla.HealthBar_284}
"playerName"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 300 EditableText
"ratePoints"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 304 EditableText
"healthButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 309 Button
"damageButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 309 Button
"rateButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 309 Button
"rangeButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 309 Button
"healthButtonMinus"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 317 Button
"damageButtonMinus"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 317 Button
"rateButtonMinus"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 317 Button
"rangeButtonMinus"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 317 Button
"upPoints"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 323 MovieClip {BunnyCharm_fla.UPPoints_288}
"nivel"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 326 MovieClip {BunnyCharm_fla.obj01_289}
"addLevel"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 329 MovieClip
"baseButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 335 MovieClip {BunnyCharm_fla.baseButton_291}
"towerButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 338 MovieClip {BunnyCharm_fla.towerButton_293}
"misilButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 341 MovieClip {BunnyCharm_fla.MisilButton_294}
"levelUpCost"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 342 EditableText
"continueButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 351 Button
"mainButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 356 Button
"nextWave"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 359 Button
"pauseButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 362 Button
"mineButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 366 MovieClip {BunnyCharm_fla.mineButton_299}
"dynamiteButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 370 MovieClip {BunnyCharm_fla.DinamyteButton_301}
"toxicMineButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 375 MovieClip {BunnyCharm_fla.toxicButton_303}
"freezeMineButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 378 MovieClip {BunnyCharm_fla.mineButtonfreeze_305}
"soundButtonOn"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 385 Button
"soundButtonOff"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 387 Button
"boxButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 392 MovieClip {BunnyCharm_fla.boxButton_309}
"mButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311}
"shotgunButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 403 MovieClip {BunnyCharm_fla.akButton_314}
"uziButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315}
"berettaButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316}
"rocketButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317}
"sniperButton"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318}
"info"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319}
"actualMoney"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 462 EditableText
"actualDom"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 463 EditableText
"actualScore"Symbol 468 MovieClip {HudMenu} Frame 1Symbol 465 EditableText
"green"Symbol 513 MovieClip {EnergyBar} Frame 1Symbol 512 MovieClip {GreenBar}
"particula3"Symbol 564 MovieClip {Conejo} Frame 1Symbol 536 MovieClip
"particula1"Symbol 564 MovieClip {Conejo} Frame 1Symbol 541 MovieClip
"particula2"Symbol 564 MovieClip {Conejo} Frame 1Symbol 544 MovieClip
"AchievementScore"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 610 Button
"easy"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 617 Button
"hard"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 624 Button
"normal"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 631 Button
"challengeMode"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 638 Button
"sandBoxEasy"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 645 Button
"sandBoxNormal"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 650 Button
"sandBoxHard"Symbol 658 MovieClip {DifficultyWindow} Frame 1Symbol 657 Button
"domMask"Symbol 677 MovieClip {domCircle} Frame 1Symbol 670 MovieClip
"flag"Symbol 677 MovieClip {domCircle} Frame 3Symbol 676 MovieClip {BunnyCharm_fla.axionConquista_mc_50}
"button"Symbol 689 MovieClip {HowToPlay} Frame 1Symbol 664 Button
"conq1"Symbol 689 MovieClip {HowToPlay} Frame 1Symbol 677 MovieClip {domCircle}
"conq2"Symbol 689 MovieClip {HowToPlay} Frame 1Symbol 677 MovieClip {domCircle}
"conq3"Symbol 689 MovieClip {HowToPlay} Frame 1Symbol 677 MovieClip {domCircle}
"upWindow"Symbol 703 MovieClip {BunnyCharm_fla.navBer_204} Frame 1Symbol 698 Button
"downWindow"Symbol 703 MovieClip {BunnyCharm_fla.navBer_204} Frame 1Symbol 702 Button
"masc"Symbol 704 MovieClip {AchievesWindow} Frame 1Symbol 692 MovieClip
"back"Symbol 704 MovieClip {AchievesWindow} Frame 1Symbol 664 Button
"navBar"Symbol 704 MovieClip {AchievesWindow} Frame 1Symbol 703 MovieClip {BunnyCharm_fla.navBer_204}
"titleC"Symbol 720 MovieClip {achBar} Frame 1Symbol 707 EditableText
"descriptionC"Symbol 720 MovieClip {achBar} Frame 1Symbol 708 EditableText
"scoreC"Symbol 720 MovieClip {achBar} Frame 1Symbol 711 EditableText
"progressC"Symbol 720 MovieClip {achBar} Frame 1Symbol 712 EditableText
"titleS"Symbol 720 MovieClip {achBar} Frame 1Symbol 713 EditableText
"descriptionS"Symbol 720 MovieClip {achBar} Frame 1Symbol 714 EditableText
"scoreS"Symbol 720 MovieClip {achBar} Frame 1Symbol 716 EditableText
"titleS"Symbol 720 MovieClip {achBar} Frame 2Symbol 717 EditableText
"descriptionS"Symbol 720 MovieClip {achBar} Frame 2Symbol 718 EditableText
"scoreS"Symbol 720 MovieClip {achBar} Frame 2Symbol 719 EditableText
"playerName"Symbol 759 MovieClip {BunnyCharm_fla.informacionJugador_195} Frame 1Symbol 754 EditableText
"playerScore"Symbol 759 MovieClip {BunnyCharm_fla.informacionJugador_195} Frame 1Symbol 757 EditableText
"playerLevel"Symbol 759 MovieClip {BunnyCharm_fla.informacionJugador_195} Frame 1Symbol 758 EditableText
"newGame"Symbol 789 MovieClip {MainMenu} Frame 1Symbol 737 Button
"howToPlay"Symbol 789 MovieClip {MainMenu} Frame 1Symbol 743 Button
"achievements"Symbol 789 MovieClip {MainMenu} Frame 1Symbol 747 Button
"highscores"Symbol 789 MovieClip {MainMenu} Frame 1Symbol 752 Button
"infoPlayer"Symbol 789 MovieClip {MainMenu} Frame 1Symbol 759 MovieClip {BunnyCharm_fla.informacionJugador_195}
"gamagaLink"Symbol 789 MovieClip {MainMenu} Frame 1Symbol 172 Button
"level"Symbol 805 MovieClip {WelcomeWindow} Frame 1Symbol 794 EditableText
"achievescore"Symbol 805 MovieClip {WelcomeWindow} Frame 1Symbol 796 EditableText
"insertName"Symbol 805 MovieClip {WelcomeWindow} Frame 1Symbol 797 EditableText
"skipIt"Symbol 805 MovieClip {WelcomeWindow} Frame 1Symbol 803 Button
"insertName"Symbol 814 MovieClip {InsertNameWindow} Frame 1Symbol 809 EditableText
"okIt"Symbol 814 MovieClip {InsertNameWindow} Frame 1Symbol 813 Button
"slogan"Symbol 821 MovieClip {BunnyCharm_fla.Cuatic_178} Frame 1Symbol 820 MovieClip
"introCuatic"Symbol 823 MovieClip {UICanvas} Frame 1Symbol 821 MovieClip {BunnyCharm_fla.Cuatic_178}
"back"Symbol 825 MovieClip {SpecialContent} Frame 1Symbol 156 Button
"mc"Symbol 1058 MovieClip {Indice} Frame 1Symbol 1037 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 2Symbol 1038 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 3Symbol 1040 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 4Symbol 1039 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 5Symbol 1041 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 6Symbol 1042 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 7Symbol 1044 MovieClip
"mc"Symbol 1058 MovieClip {Indice} Frame 8Symbol 1043 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 1Symbol 1059 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 2Symbol 1060 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 3Symbol 1061 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 4Symbol 1062 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 5Symbol 1063 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 6Symbol 1064 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 7Symbol 1065 MovieClip
"mc"Symbol 1076 MovieClip {Pulgar} Frame 8Symbol 1066 MovieClip
"levelStatus"Symbol 1098 MovieClip {AchMessageMC} Frame 1Symbol 1083 EditableText
"levelStatus"Symbol 1098 MovieClip {AchMessageMC} Frame 1Symbol 1086 EditableText
"wave"Symbol 1166 MovieClip {newWaveBar} Frame 1Symbol 1165 EditableText
"NGButton"Symbol 1198 MovieClip {BunnyCharm_fla.X_LOAD_2} Frame 151Symbol 1197 Button
"NG_Logo"Symbol 1212 MovieClip {BunnyCharm_fla.NG_TANK_9} Frame 1Symbol 1211 Button
"NG_Button"Symbol 1213 MovieClip {BunnyCharm_fla.NG_AD_OBJECT_WITH_PRELOADER_1} Frame 1Symbol 1205 Button
"ng_ad"Symbol 1213 MovieClip {BunnyCharm_fla.NG_AD_OBJECT_WITH_PRELOADER_1} Frame 1Symbol 1212 MovieClip {BunnyCharm_fla.NG_TANK_9}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.
EnableDebugger2 (64)Timeline Frame 131 bytes "u.$1$vr$VmbHj/.HuWDW/3emPW4vp/."

Labels

"gameOver"Symbol 178 MovieClip {GameOverClip} Frame 1
"youWin"Symbol 178 MovieClip {GameOverClip} Frame 2
"easy"Symbol 261 MovieClip {WaveHud} Frame 1
"alcansa"Symbol 335 MovieClip {BunnyCharm_fla.baseButton_291} Frame 1
"noalcansa"Symbol 335 MovieClip {BunnyCharm_fla.baseButton_291} Frame 2
"alcansa"Symbol 338 MovieClip {BunnyCharm_fla.towerButton_293} Frame 1
"noalcansa"Symbol 338 MovieClip {BunnyCharm_fla.towerButton_293} Frame 2
"alcansa"Symbol 341 MovieClip {BunnyCharm_fla.MisilButton_294} Frame 1
"noalcansa"Symbol 341 MovieClip {BunnyCharm_fla.MisilButton_294} Frame 2
"alcansa"Symbol 366 MovieClip {BunnyCharm_fla.mineButton_299} Frame 1
"noalcansa"Symbol 366 MovieClip {BunnyCharm_fla.mineButton_299} Frame 2
"alcansa"Symbol 370 MovieClip {BunnyCharm_fla.DinamyteButton_301} Frame 1
"noalcansa"Symbol 370 MovieClip {BunnyCharm_fla.DinamyteButton_301} Frame 2
"alcansa"Symbol 375 MovieClip {BunnyCharm_fla.toxicButton_303} Frame 1
"noalcansa"Symbol 375 MovieClip {BunnyCharm_fla.toxicButton_303} Frame 2
"alcansa"Symbol 378 MovieClip {BunnyCharm_fla.mineButtonfreeze_305} Frame 1
"noalcansa"Symbol 378 MovieClip {BunnyCharm_fla.mineButtonfreeze_305} Frame 2
"alcansa"Symbol 392 MovieClip {BunnyCharm_fla.boxButton_309} Frame 1
"noalcansa"Symbol 392 MovieClip {BunnyCharm_fla.boxButton_309} Frame 2
"alcansa"Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311} Frame 1
"noalcansa"Symbol 400 MovieClip {BunnyCharm_fla.desertButton_311} Frame 2
"alcansa"Symbol 403 MovieClip {BunnyCharm_fla.akButton_314} Frame 1
"noalcansa"Symbol 403 MovieClip {BunnyCharm_fla.akButton_314} Frame 2
"alcansa"Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315} Frame 1
"noalcansa"Symbol 406 MovieClip {BunnyCharm_fla.uziButton_315} Frame 2
"alcansa"Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316} Frame 1
"noalcansa"Symbol 409 MovieClip {BunnyCharm_fla.berettaButton_316} Frame 2
"alcansa"Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317} Frame 1
"noalcansa"Symbol 412 MovieClip {BunnyCharm_fla.flameButton_317} Frame 2
"alcansa"Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318} Frame 1
"noalcansa"Symbol 415 MovieClip {BunnyCharm_fla.rocketButton_318} Frame 2
"mina"Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319} Frame 2
"dinamita"Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319} Frame 3
"base"Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319} Frame 4
"torreta"Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319} Frame 5
"misil"Symbol 459 MovieClip {BunnyCharm_fla.TextInfo_319} Frame 6
"Idle"Symbol 523 MovieClip {enemy_01} Frame 1
"Move"Symbol 523 MovieClip {enemy_01} Frame 49
"Damage"Symbol 523 MovieClip {enemy_01} Frame 97
"Idle"Symbol 525 MovieClip {enemy_03} Frame 1
"Damage"Symbol 525 MovieClip {enemy_03} Frame 49
"Idle"Symbol 529 MovieClip {enemy_02} Frame 1
"Damage"Symbol 529 MovieClip {enemy_02} Frame 49
"dificultad"Symbol 658 MovieClip {DifficultyWindow} Frame 1
"inactivo"Symbol 677 MovieClip {domCircle} Frame 1
"conquistando"Symbol 677 MovieClip {domCircle} Frame 2
"conquistado"Symbol 677 MovieClip {domCircle} Frame 3
"off"Symbol 720 MovieClip {achBar} Frame 1
"on"Symbol 720 MovieClip {achBar} Frame 2
"Mochiad"Symbol 823 MovieClip {UICanvas} Frame 1
"SplashScreen"Symbol 823 MovieClip {UICanvas} Frame 2
"MainMenu"Symbol 823 MovieClip {UICanvas} Frame 3
"newGame"Symbol 823 MovieClip {UICanvas} Frame 4
"Avanzar"Symbol 868 MovieClip {Robot} Frame 1
"AvanzarArriba"Symbol 868 MovieClip {Robot} Frame 1
"AvanzarAbajo"Symbol 868 MovieClip {Robot} Frame 2
"AvanzarIzquierda"Symbol 868 MovieClip {Robot} Frame 3
"AvanzarDerecha"Symbol 868 MovieClip {Robot} Frame 4
"Atacar"Symbol 868 MovieClip {Robot} Frame 5
"AtacarArriba"Symbol 868 MovieClip {Robot} Frame 5
"AtacarAbajo"Symbol 868 MovieClip {Robot} Frame 6
"AtacarIzquierda"Symbol 868 MovieClip {Robot} Frame 7
"AtacarDerecha"Symbol 868 MovieClip {Robot} Frame 8
"Quieto"Symbol 868 MovieClip {Robot} Frame 9
"QuietoArriba"Symbol 868 MovieClip {Robot} Frame 9
"QuietoAbajo"Symbol 868 MovieClip {Robot} Frame 10
"QuietoIzquierda"Symbol 868 MovieClip {Robot} Frame 11
"QuietoDerecha"Symbol 868 MovieClip {Robot} Frame 12
"Morir"Symbol 868 MovieClip {Robot} Frame 13
"Avanzar"Symbol 888 MovieClip {Boss} Frame 1
"AvanzarArriba"Symbol 888 MovieClip {Boss} Frame 1
"AvanzarAbajo"Symbol 888 MovieClip {Boss} Frame 2
"AvanzarIzquierda"Symbol 888 MovieClip {Boss} Frame 3
"AvanzarDerecha"Symbol 888 MovieClip {Boss} Frame 4
"Atacar"Symbol 888 MovieClip {Boss} Frame 5
"AtacarArriba"Symbol 888 MovieClip {Boss} Frame 5
"AtacarAbajo"Symbol 888 MovieClip {Boss} Frame 6
"AtacarIzquierda"Symbol 888 MovieClip {Boss} Frame 7
"AtacarDerecha"Symbol 888 MovieClip {Boss} Frame 8
"Quieto"Symbol 888 MovieClip {Boss} Frame 9
"QuietoArriba"Symbol 888 MovieClip {Boss} Frame 9
"QuietoAbajo"Symbol 888 MovieClip {Boss} Frame 10
"QuietoIzquierda"Symbol 888 MovieClip {Boss} Frame 11
"QuietoDerecha"Symbol 888 MovieClip {Boss} Frame 12
"Morir"Symbol 888 MovieClip {Boss} Frame 13
"Avanzar"Symbol 957 MovieClip {Runner} Frame 1
"AvanzarArriba"Symbol 957 MovieClip {Runner} Frame 1
"AvanzarAbajo"Symbol 957 MovieClip {Runner} Frame 2
"AvanzarIzquierda"Symbol 957 MovieClip {Runner} Frame 3
"AvanzarDerecha"Symbol 957 MovieClip {Runner} Frame 4
"Atacar"Symbol 957 MovieClip {Runner} Frame 5
"AtacarArriba"Symbol 957 MovieClip {Runner} Frame 5
"AtacarAbajo"Symbol 957 MovieClip {Runner} Frame 6
"AtacarIzquierda"Symbol 957 MovieClip {Runner} Frame 7
"AtacarDerecha"Symbol 957 MovieClip {Runner} Frame 8
"Quieto"Symbol 957 MovieClip {Runner} Frame 9
"QuietoArriba"Symbol 957 MovieClip {Runner} Frame 9
"QuietoAbajo"Symbol 957 MovieClip {Runner} Frame 10
"QuietoIzquierda"Symbol 957 MovieClip {Runner} Frame 11
"QuietoDerecha"Symbol 957 MovieClip {Runner} Frame 12
"Morir"Symbol 957 MovieClip {Runner} Frame 13
"Avanzar"Symbol 998 MovieClip {Kamikaze} Frame 1
"AvanzarArriba"Symbol 998 MovieClip {Kamikaze} Frame 1
"AvanzarAbajo"Symbol 998 MovieClip {Kamikaze} Frame 2
"AvanzarIzquierda"Symbol 998 MovieClip {Kamikaze} Frame 3
"AvanzarDerecha"Symbol 998 MovieClip {Kamikaze} Frame 4
"Atacar"Symbol 998 MovieClip {Kamikaze} Frame 5
"AtacarArriba"Symbol 998 MovieClip {Kamikaze} Frame 5
"AtacarAbajo"Symbol 998 MovieClip {Kamikaze} Frame 6
"AtacarIzquierda"Symbol 998 MovieClip {Kamikaze} Frame 7
"AtacarDerecha"Symbol 998 MovieClip {Kamikaze} Frame 8
"Quieto"Symbol 998 MovieClip {Kamikaze} Frame 9
"QuietoArriba"Symbol 998 MovieClip {Kamikaze} Frame 9
"QuietoAbajo"Symbol 998 MovieClip {Kamikaze} Frame 10
"QuietoIzquierda"Symbol 998 MovieClip {Kamikaze} Frame 11
"QuietoDerecha"Symbol 998 MovieClip {Kamikaze} Frame 12
"Morir"Symbol 998 MovieClip {Kamikaze} Frame 13
"Avanzar"Symbol 1014 MovieClip {Sargento} Frame 1
"AvanzarArriba"Symbol 1014 MovieClip {Sargento} Frame 1
"AvanzarAbajo"Symbol 1014 MovieClip {Sargento} Frame 2
"AvanzarIzquierda"Symbol 1014 MovieClip {Sargento} Frame 3
"AvanzarDerecha"Symbol 1014 MovieClip {Sargento} Frame 4
"Atacar"Symbol 1014 MovieClip {Sargento} Frame 5
"AtacarArriba"Symbol 1014 MovieClip {Sargento} Frame 5
"AtacarAbajo"Symbol 1014 MovieClip {Sargento} Frame 6
"AtacarIzquierda"Symbol 1014 MovieClip {Sargento} Frame 7
"AtacarDerecha"Symbol 1014 MovieClip {Sargento} Frame 8
"Quieto"Symbol 1014 MovieClip {Sargento} Frame 9
"QuietoArriba"Symbol 1014 MovieClip {Sargento} Frame 9
"QuietoAbajo"Symbol 1014 MovieClip {Sargento} Frame 10
"QuietoIzquierda"Symbol 1014 MovieClip {Sargento} Frame 11
"QuietoDerecha"Symbol 1014 MovieClip {Sargento} Frame 12
"Morir"Symbol 1014 MovieClip {Sargento} Frame 13
"Avanzar"Symbol 1036 MovieClip {Soldado} Frame 1
"AvanzarArriba"Symbol 1036 MovieClip {Soldado} Frame 1
"AvanzarAbajo"Symbol 1036 MovieClip {Soldado} Frame 2
"AvanzarIzquierda"Symbol 1036 MovieClip {Soldado} Frame 3
"AvanzarDerecha"Symbol 1036 MovieClip {Soldado} Frame 4
"Atacar"Symbol 1036 MovieClip {Soldado} Frame 5
"AtacarArriba"Symbol 1036 MovieClip {Soldado} Frame 5
"AtacarAbajo"Symbol 1036 MovieClip {Soldado} Frame 6
"AtacarIzquierda"Symbol 1036 MovieClip {Soldado} Frame 7
"AtacarDerecha"Symbol 1036 MovieClip {Soldado} Frame 8
"Quieto"Symbol 1036 MovieClip {Soldado} Frame 9
"QuietoArriba"Symbol 1036 MovieClip {Soldado} Frame 9
"QuietoAbajo"Symbol 1036 MovieClip {Soldado} Frame 10
"QuietoIzquierda"Symbol 1036 MovieClip {Soldado} Frame 11
"QuietoDerecha"Symbol 1036 MovieClip {Soldado} Frame 12
"Morir"Symbol 1036 MovieClip {Soldado} Frame 13
"Avanzar"Symbol 1058 MovieClip {Indice} Frame 1
"AvanzarArriba"Symbol 1058 MovieClip {Indice} Frame 1
"AvanzarAbajo"Symbol 1058 MovieClip {Indice} Frame 2
"AvanzarIzquierda"Symbol 1058 MovieClip {Indice} Frame 3
"AvanzarDerecha"Symbol 1058 MovieClip {Indice} Frame 4
"Atacar"Symbol 1058 MovieClip {Indice} Frame 5
"AtacarArriba"Symbol 1058 MovieClip {Indice} Frame 5
"AtacarAbajo"Symbol 1058 MovieClip {Indice} Frame 6
"AtacarIzquierda"Symbol 1058 MovieClip {Indice} Frame 7
"AtacarDerecha"Symbol 1058 MovieClip {Indice} Frame 8
"Quieto"Symbol 1058 MovieClip {Indice} Frame 9
"QuietoArriba"Symbol 1058 MovieClip {Indice} Frame 9
"QuietoAbajo"Symbol 1058 MovieClip {Indice} Frame 10
"QuietoIzquierda"Symbol 1058 MovieClip {Indice} Frame 11
"QuietoDerecha"Symbol 1058 MovieClip {Indice} Frame 12
"Morir"Symbol 1058 MovieClip {Indice} Frame 13
"Avanzar"Symbol 1076 MovieClip {Pulgar} Frame 1
"AvanzarArriba"Symbol 1076 MovieClip {Pulgar} Frame 1
"AvanzarAbajo"Symbol 1076 MovieClip {Pulgar} Frame 2
"AvanzarIzquierda"Symbol 1076 MovieClip {Pulgar} Frame 3
"AvanzarDerecha"Symbol 1076 MovieClip {Pulgar} Frame 4
"Atacar"Symbol 1076 MovieClip {Pulgar} Frame 5
"AtacarArriba"Symbol 1076 MovieClip {Pulgar} Frame 5
"AtacarAbajo"Symbol 1076 MovieClip {Pulgar} Frame 6
"AtacarIzquierda"Symbol 1076 MovieClip {Pulgar} Frame 7
"AtacarDerecha"Symbol 1076 MovieClip {Pulgar} Frame 8
"Quieto"Symbol 1076 MovieClip {Pulgar} Frame 9
"QuietoArriba"Symbol 1076 MovieClip {Pulgar} Frame 9
"QuietoAbajo"Symbol 1076 MovieClip {Pulgar} Frame 10
"QuietoIzquierda"Symbol 1076 MovieClip {Pulgar} Frame 11
"QuietoDerecha"Symbol 1076 MovieClip {Pulgar} Frame 12
"Morir"Symbol 1076 MovieClip {Pulgar} Frame 13
"nextLevel"Symbol 1098 MovieClip {AchMessageMC} Frame 1
"enemigo1"Symbol 1137 MovieClip {bala_mc} Frame 11
"loading"Symbol 1198 MovieClip {BunnyCharm_fla.X_LOAD_2} Frame 1
"loaded"Symbol 1198 MovieClip {BunnyCharm_fla.X_LOAD_2} Frame 101
"lastframe"Symbol 1198 MovieClip {BunnyCharm_fla.X_LOAD_2} Frame 165
"end"Symbol 1198 MovieClip {BunnyCharm_fla.X_LOAD_2} Frame 166




http://swfchan.com/15/73267/info.shtml
Created: 8/4 -2019 09:22:44 Last modified: 8/4 -2019 09:22:44 Server time: 29/06 -2024 00:56:58