Section 1
//Botiquin (Graficos.Botiquin)
package Graficos {
import flash.display.*;
import flash.utils.*;
public class Botiquin extends Target {
public var mascara:MovieClip;
var timerTarget:Timer;
public var contenedorChico:MovieClip;
public function Botiquin(){
energia = 1;
disparando = false;
tipoTarget = 2;
}
public function muere(){
Global.vida = (Global.vida + 100);
if (Global.vida > Global.vidaInicial){
Global.vida = Global.vidaInicial;
};
muerto = true;
}
}
}//package Graficos
Section 2
//Target (Graficos.Target)
package Graficos {
import flash.display.*;
public class Target extends MovieClip {
public var disparando:Boolean;
public var muerto:Boolean;
public var tipoTarget:uint;
public var energia:Number;
public var posicionEnArray:uint;
public function Target(){
disparando = false;
muerto = false;
}
}
}//package Graficos
Section 3
//TargetMalo (Graficos.TargetMalo)
package Graficos {
import flash.display.*;
public class TargetMalo extends Target {
public var mascara:MovieClip;
public var contenedorChico:MovieClip;
public function TargetMalo(){
energia = 100;
disparando = false;
tipoTarget = 1;
}
public function dispara(){
if (muerto){
return;
};
if (!(disparando)){
Global.targetsDisparando++;
disparando = true;
} else {
Global.targetsDisparando--;
disparando = false;
};
}
public function muere(){
if (disparando){
Global.targetsDisparando--;
disparando = false;
};
stop();
contenedorChico.blanco.gotoAndPlay("muere");
}
}
}//package Graficos
Section 4
//bala1animada_22 (shootermax_en_fla.bala1animada_22)
package shootermax_en_fla {
import flash.display.*;
public dynamic class bala1animada_22 extends MovieClip {
public function bala1animada_22(){
addFrameScript(1, frame2, 15, frame16);
}
function frame16(){
stop();
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 5
//bala2animada_25 (shootermax_en_fla.bala2animada_25)
package shootermax_en_fla {
import flash.display.*;
public dynamic class bala2animada_25 extends MovieClip {
public function bala2animada_25(){
addFrameScript(1, frame2, 15, frame16);
}
function frame16(){
stop();
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 6
//bala3animada_28 (shootermax_en_fla.bala3animada_28)
package shootermax_en_fla {
import flash.display.*;
public dynamic class bala3animada_28 extends MovieClip {
public function bala3animada_28(){
addFrameScript(1, frame2, 15, frame16);
}
function frame16(){
stop();
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 7
//barra_18 (shootermax_en_fla.barra_18)
package shootermax_en_fla {
import flash.display.*;
public dynamic class barra_18 extends MovieClip {
public var laBarra:MovieClip;
public function barra_18(){
addFrameScript(0, frame1);
}
function frame1(){
laBarra.y = ((15 / 500) * (500 - Global.vida));
}
}
}//package shootermax_en_fla
Section 8
//basura_11 (shootermax_en_fla.basura_11)
package shootermax_en_fla {
import flash.display.*;
public dynamic class basura_11 extends MovieClip {
public function basura_11(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package shootermax_en_fla
Section 9
//cartelRecarga_36 (shootermax_en_fla.cartelRecarga_36)
package shootermax_en_fla {
import flash.display.*;
public dynamic class cartelRecarga_36 extends MovieClip {
public function cartelRecarga_36(){
addFrameScript(1, frame2, 18, frame19);
}
function frame19(){
gotoAndPlay(3);
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 10
//contenedorchico_40 (shootermax_en_fla.contenedorchico_40)
package shootermax_en_fla {
import flash.display.*;
public dynamic class contenedorchico_40 extends MovieClip {
public var blanco:MovieClip;
public function contenedorchico_40(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
if (Math.random() > 0.5){
stop();
} else {
gotoAndStop("malo2");
};
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 11
//flechaLateral_37 (shootermax_en_fla.flechaLateral_37)
package shootermax_en_fla {
import flash.display.*;
public dynamic class flechaLateral_37 extends MovieClip {
public function flechaLateral_37(){
addFrameScript(1, frame2);
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 12
//loaderJD_6 (shootermax_en_fla.loaderJD_6)
package shootermax_en_fla {
import flash.display.*;
public dynamic class loaderJD_6 extends MovieClip {
public function loaderJD_6(){
addFrameScript(0, frame1, 98, frame99, 121, frame122);
}
function frame1(){
}
function frame99(){
stop();
}
function frame122(){
stop();
}
}
}//package shootermax_en_fla
Section 13
//loaderJuegosDiarios_1 (shootermax_en_fla.loaderJuegosDiarios_1)
package shootermax_en_fla {
import flash.utils.*;
import flash.display.*;
public dynamic class loaderJuegosDiarios_1 extends MovieClip {
public var PorMostrar:Number;
public var contenedorBarra:MovieClip;
public function loaderJuegosDiarios_1(){
addFrameScript(0, frame1, 52, frame53, 58, frame59, 105, frame106);
}
function frame106(){
Global.correElJuego = true;
}
function frame1(){
PorMostrar = 1;
}
function frame59(){
if (PorMostrar < 100){
trace(getTimer());
if (Global.cargandoJuego > PorMostrar){
this.contenedorBarra.gotoAndStop(Math.round(PorMostrar));
PorMostrar = (PorMostrar + 0.725);
};
this.gotoAndPlay(58);
} else {
this.contenedorBarra.gotoAndPlay("finLoader");
};
}
function frame53(){
}
}
}//package shootermax_en_fla
Section 14
//logo_juegosdiarioss_140 (shootermax_en_fla.logo_juegosdiarioss_140)
package shootermax_en_fla {
import flash.display.*;
public dynamic class logo_juegosdiarioss_140 extends MovieClip {
public function logo_juegosdiarioss_140(){
addFrameScript(56, frame57);
}
function frame57(){
stop();
}
}
}//package shootermax_en_fla
Section 15
//logoLoaderJD_4 (shootermax_en_fla.logoLoaderJD_4)
package shootermax_en_fla {
import flash.events.*;
import flash.display.*;
public dynamic class logoLoaderJD_4 extends MovieClip {
public var botonMasJuegos:SimpleButton;
public function logoLoaderJD_4(){
addFrameScript(0, frame1);
}
public function botonMasJuegosm(_arg1:MouseEvent){
trace("juegos");
Global.irJuegos();
}
function frame1(){
botonMasJuegos.addEventListener(MouseEvent.MOUSE_UP, botonMasJuegosm);
}
}
}//package shootermax_en_fla
Section 16
//malo1_41 (shootermax_en_fla.malo1_41)
package shootermax_en_fla {
import flash.display.*;
public dynamic class malo1_41 extends MovieClip {
public var zonaActiva:MovieClip;
public function malo1_41(){
addFrameScript(15, frame16, 19, frame20, 21, frame22, 25, frame26, 32, frame33);
}
function frame16(){
gotoAndPlay("andando");
}
function frame20(){
gotoAndPlay(18);
}
function frame22(){
stop();
}
function frame26(){
gotoAndPlay(24);
}
function frame33(){
parent.parent["muerto"] = true;
}
}
}//package shootermax_en_fla
Section 17
//malo2mc_47 (shootermax_en_fla.malo2mc_47)
package shootermax_en_fla {
import flash.display.*;
public dynamic class malo2mc_47 extends MovieClip {
public var zonaActiva:MovieClip;
public function malo2mc_47(){
addFrameScript(15, frame16, 19, frame20, 21, frame22, 25, frame26, 32, frame33);
}
function frame16(){
gotoAndPlay("andando");
}
function frame20(){
gotoAndPlay(18);
}
function frame22(){
stop();
}
function frame26(){
gotoAndPlay(24);
}
function frame33(){
parent.parent["muerto"] = true;
}
}
}//package shootermax_en_fla
Section 18
//peine1_21 (shootermax_en_fla.peine1_21)
package shootermax_en_fla {
import flash.display.*;
public dynamic class peine1_21 extends MovieClip {
public var bala10:MovieClip;
public var bala1:MovieClip;
public var bala2:MovieClip;
public var bala5:MovieClip;
public var bala6:MovieClip;
public var bala7:MovieClip;
public var bala9:MovieClip;
public var bala3:MovieClip;
public var bala4:MovieClip;
public var bala8:MovieClip;
public function peine1_21(){
addFrameScript(12, frame13, 13, frame14);
}
function frame14(){
Global.recargando = true;
}
function frame13(){
Global.recargando = false;
var _local1 = root["nivel"];
_local1["recarga"]();
stop();
}
}
}//package shootermax_en_fla
Section 19
//peine2_24 (shootermax_en_fla.peine2_24)
package shootermax_en_fla {
import flash.display.*;
public dynamic class peine2_24 extends MovieClip {
public var bala14:MovieClip;
public var bala10:MovieClip;
public var bala11:MovieClip;
public var bala12:MovieClip;
public var bala13:MovieClip;
public var bala15:MovieClip;
public var bala1:MovieClip;
public var bala2:MovieClip;
public var bala5:MovieClip;
public var bala6:MovieClip;
public var bala7:MovieClip;
public var bala9:MovieClip;
public var bala3:MovieClip;
public var bala4:MovieClip;
public var bala8:MovieClip;
public function peine2_24(){
addFrameScript(20, frame21, 21, frame22);
}
function frame22(){
Global.recargando = true;
}
function frame21(){
Global.recargando = false;
var _local1 = root["nivel"];
_local1["recarga"]();
stop();
}
}
}//package shootermax_en_fla
Section 20
//peine3_27 (shootermax_en_fla.peine3_27)
package shootermax_en_fla {
import flash.display.*;
public dynamic class peine3_27 extends MovieClip {
public var bala14:MovieClip;
public var bala17:MovieClip;
public var bala11:MovieClip;
public var bala12:MovieClip;
public var bala18:MovieClip;
public var bala19:MovieClip;
public var bala13:MovieClip;
public var bala10:MovieClip;
public var bala15:MovieClip;
public var bala20:MovieClip;
public var bala16:MovieClip;
public var bala1:MovieClip;
public var bala2:MovieClip;
public var bala5:MovieClip;
public var bala6:MovieClip;
public var bala7:MovieClip;
public var bala9:MovieClip;
public var bala3:MovieClip;
public var bala4:MovieClip;
public var bala8:MovieClip;
public function peine3_27(){
addFrameScript(26, frame27, 27, frame28);
}
function frame27(){
Global.recargando = false;
var _local1 = root["nivel"];
_local1["recarga"]();
stop();
}
function frame28(){
Global.recargando = true;
}
}
}//package shootermax_en_fla
Section 21
//peines_20 (shootermax_en_fla.peines_20)
package shootermax_en_fla {
import flash.display.*;
public dynamic class peines_20 extends MovieClip {
public var peine1:MovieClip;
public var peine2:MovieClip;
public var peine3:MovieClip;
public function peines_20(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package shootermax_en_fla
Section 22
//S_124 (shootermax_en_fla.S_124)
package shootermax_en_fla {
import flash.events.*;
import flash.media.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class S_124 extends MovieClip {
public var musica;
public var botonVolOff:SimpleButton;
public var botonJugar:SimpleButton;
public var botonMasJuegos:SimpleButton;
public var botonVolOn:SimpleButton;
public var channelx:SoundChannel;
public var botonInstrucciones:SimpleButton;
public function S_124(){
addFrameScript(0, frame1, 30, frame31, 51, frame52);
}
public function botonMasJuegosm(_arg1:MouseEvent){
Global.irJuegos();
}
public function botonVolOnm(_arg1:MouseEvent){
Global.estadoSonido = true;
channelx.stop();
channelx = new SoundChannel();
channelx = musica.play(600, 999);
trace("con sonido");
}
function frame1(){
channelx = new SoundChannel();
musica = new SMusica1();
channelx = musica.play(600, 999);
if (!(Global.estadoSonido)){
channelx.stop();
};
}
public function jugarm(_arg1:MouseEvent){
botonJugar.removeEventListener(MouseEvent.MOUSE_UP, jugarm);
botonInstrucciones.removeEventListener(MouseEvent.MOUSE_UP, instruccionesm);
botonMasJuegos.removeEventListener(MouseEvent.MOUSE_UP, botonMasJuegosm);
botonVolOff.removeEventListener(MouseEvent.MOUSE_UP, botonVolOffm);
botonVolOn.removeEventListener(MouseEvent.MOUSE_UP, botonVolOnm);
channelx.stop();
channelx = null;
musica = null;
var _local2 = parent;
_local2["jugarNE"]();
}
public function botonVolOffm(_arg1:MouseEvent){
Global.estadoSonido = false;
channelx.stop();
trace("sin sonido");
}
function frame31(){
botonJugar.addEventListener(MouseEvent.MOUSE_UP, jugarm);
botonInstrucciones.addEventListener(MouseEvent.MOUSE_UP, instruccionesm);
botonMasJuegos.addEventListener(MouseEvent.MOUSE_UP, botonMasJuegosm);
botonVolOff.addEventListener(MouseEvent.MOUSE_UP, botonVolOffm);
botonVolOn.addEventListener(MouseEvent.MOUSE_UP, botonVolOnm);
stop();
}
function frame52(){
botonInstrucciones.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{
gotoAndPlay("menu");
});
stop();
}
public function instruccionesm(_arg1:MouseEvent){
gotoAndPlay("instrucciones");
}
}
}//package shootermax_en_fla
Section 23
//Symbol1_45 (shootermax_en_fla.Symbol1_45)
package shootermax_en_fla {
import flash.display.*;
public dynamic class Symbol1_45 extends MovieClip {
public var zonaActiva:MovieClip;
}
}//package shootermax_en_fla
Section 24
//Arma (Arma)
package {
public class Arma {
public var balasQuedan:uint;
public var cadencia:uint;
public var totalCargador:uint;
}
}//package
Section 25
//Arma1 (Arma1)
package {
public class Arma1 extends Arma {
var sonidoArma:Sound1;
public function Arma1(){
sonidoArma = new Sound1();
super();
cadencia = 15;
totalCargador = 10;
balasQuedan = 10;
}
}
}//package
Section 26
//Arma2 (Arma2)
package {
public class Arma2 extends Arma {
var sonidoArma:Sound2;
public function Arma2(){
sonidoArma = new Sound2();
super();
cadencia = 5;
totalCargador = 15;
balasQuedan = 15;
}
}
}//package
Section 27
//Arma3 (Arma3)
package {
public class Arma3 extends Arma {
var sonidoArma:Sound3;
public function Arma3(){
sonidoArma = new Sound3();
super();
cadencia = 2;
totalCargador = 20;
balasQuedan = 20;
}
}
}//package
Section 28
//ArrayRandom (ArrayRandom)
package {
public dynamic class ArrayRandom extends Array {
var numero:Number;
public function elije(){
numero = Math.floor((Math.random() * (this.length - 0.001)));
return (this[numero]);
}
}
}//package
Section 29
//Contenedor1 (Contenedor1)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor1 extends TargetMalo {
public function Contenedor1(){
addFrameScript(0, frame1, 59, frame60, 68, frame69, 131, frame132, 143, frame144);
}
function frame144(){
gotoAndPlay(109);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame132(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame60(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame69(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
}
}//package
Section 30
//Contenedor1b (Contenedor1b)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor1b extends TargetMalo {
public function Contenedor1b(){
addFrameScript(0, frame1, 20, frame21, 31, frame32, 91, frame92, 118, frame119, 133, frame134);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame21(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame92(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame32(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame119(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame134(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 31
//Contenedor1c (Contenedor1c)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor1c extends TargetMalo {
public function Contenedor1c(){
addFrameScript(0, frame1, 57, frame58, 65, frame66, 83, frame84, 91, frame92, 170, frame171, 181, frame182, 205, frame206);
}
function frame84(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame206(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame171(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame182(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame92(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame58(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame66(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 32
//Contenedor1d (Contenedor1d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor1d extends TargetMalo {
public function Contenedor1d(){
addFrameScript(0, frame1, 22, frame23, 31, frame32, 47, frame48, 54, frame55, 60, frame61, 81, frame82, 91, frame92, 95, frame96);
}
function frame82(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame23(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame96(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame92(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame48(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame32(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame55(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame61(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 33
//Contenedor1e (Contenedor1e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor1e extends TargetMalo {
public function Contenedor1e(){
addFrameScript(0, frame1, 67, frame68, 77, frame78, 107, frame108, 117, frame118, 173, frame174, 201, frame202, 207, frame208);
}
function frame78(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame208(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame202(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame174(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame108(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame118(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame68(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
}
}//package
Section 34
//Contenedor2 (Contenedor2)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor2 extends TargetMalo {
public function Contenedor2(){
addFrameScript(0, frame1, 51, frame52, 59, frame60);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame52(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame60(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
gotoAndPlay(33);
}
}
}//package
Section 35
//Contenedor2b (Contenedor2b)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor2b extends TargetMalo {
public function Contenedor2b(){
addFrameScript(0, frame1, 20, frame21, 26, frame27, 42, frame43, 48, frame49, 59, frame60, 65, frame66);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame21(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame27(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame43(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame49(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame66(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame60(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 36
//Contenedor2c (Contenedor2c)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor2c extends TargetMalo {
public function Contenedor2c(){
addFrameScript(0, frame1, 42, frame43, 58, frame59, 63, frame64);
}
function frame64(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame43(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame59(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 37
//Contenedor2d (Contenedor2d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor2d extends TargetMalo {
public function Contenedor2d(){
addFrameScript(0, frame1, 38, frame39, 44, frame45, 86, frame87, 94, frame95, 138, frame139, 144, frame145);
}
function frame145(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame87(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame95(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame39(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame45(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame139(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 38
//Contenedor2e (Contenedor2e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor2e extends TargetMalo {
public function Contenedor2e(){
addFrameScript(0, frame1, 19, frame20, 31, frame32, 93, frame94, 100, frame101);
}
function frame94(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame20(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame101(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame32(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 39
//Contenedor3 (Contenedor3)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor3 extends TargetMalo {
public function Contenedor3(){
addFrameScript(0, frame1, 14, frame15, 18, frame19, 46, frame47, 54, frame55);
}
function frame15(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame19(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame47(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame55(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 40
//Contenedor3b (Contenedor3b)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor3b extends TargetMalo {
public function Contenedor3b(){
addFrameScript(0, frame1, 20, frame21, 27, frame28, 83, frame84, 106, frame107, 118, frame119);
}
function frame84(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame21(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame107(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame28(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame119(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 41
//Contenedor3c (Contenedor3c)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor3c extends TargetMalo {
public function Contenedor3c(){
addFrameScript(0, frame1, 17, frame18, 33, frame34, 41, frame42, 68, frame69);
}
function frame18(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame34(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame42(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame69(){
gotoAndPlay(25);
}
}
}//package
Section 42
//Contenedor3d (Contenedor3d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor3d extends TargetMalo {
public function Contenedor3d(){
addFrameScript(0, frame1, 54, frame55, 61, frame62, 117, frame118, 127, frame128, 160, frame161, 166, frame167, 171, frame172, 179, frame180);
}
function frame62(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame161(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame167(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame172(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame180(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame118(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame128(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame55(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 43
//Contenedor3e (Contenedor3e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor3e extends TargetMalo {
public function Contenedor3e(){
addFrameScript(0, frame1, 18, frame19, 30, frame31, 84, frame85, 89, frame90, 94, frame95, 99, frame100);
}
function frame90(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame85(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame95(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame19(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame100(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame31(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
}
}//package
Section 44
//Contenedor4 (Contenedor4)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor4 extends TargetMalo {
public function Contenedor4(){
addFrameScript(0, frame1, 4, frame5, 20, frame21, 25, frame26, 57, frame58, 63, frame64);
}
function frame64(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
gotoAndPlay(6);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame26(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame5(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame21(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame58(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 45
//Contenedor4b (Contenedor4b)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor4b extends TargetMalo {
public function Contenedor4b(){
addFrameScript(0, frame1, 36, frame37, 43, frame44, 77, frame78, 91, frame92);
}
function frame78(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame37(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame92(){
gotoAndPlay(70);
}
function frame44(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 46
//Contenedor4c (Contenedor4c)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor4c extends TargetMalo {
public function Contenedor4c(){
addFrameScript(0, frame1, 34, frame35, 36, frame37, 43, frame44, 54, frame55, 64, frame65, 120, frame121, 135, frame136, 143, frame144, 154, frame155, 179, frame180, 185, frame186);
}
function frame144(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame155(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame65(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame186(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame37(){
dispara();
}
function frame180(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame44(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame35(){
contenedorChico.blanco.gotoAndPlay("apunta");
}
function frame121(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame55(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame136(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 47
//Contenedor4d (Contenedor4d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor4d extends TargetMalo {
public function Contenedor4d(){
addFrameScript(0, frame1, 35, frame36, 45, frame46, 81, frame82, 90, frame91, 126, frame127, 139, frame140, 174, frame175, 183, frame184);
}
function frame82(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame91(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame175(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame36(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame184(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame127(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame46(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame140(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
}
}//package
Section 48
//Contenedor4e (Contenedor4e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor4e extends TargetMalo {
public function Contenedor4e(){
addFrameScript(0, frame1, 55, frame56, 69, frame70, 142, frame143, 148, frame149, 153, frame154, 162, frame163);
}
function frame143(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame70(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame149(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame154(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame163(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame56(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
}
}//package
Section 49
//Contenedor5 (Contenedor5)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor5 extends TargetMalo {
public function Contenedor5(){
addFrameScript(0, frame1, 16, frame17, 25, frame26, 103, frame104, 111, frame112);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame26(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame17(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame104(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame112(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
}
}//package
Section 50
//Contenedor5b (Contenedor5b)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor5b extends TargetMalo {
public function Contenedor5b(){
addFrameScript(0, frame1, 21, frame22, 31, frame32, 46, frame47, 56, frame57);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame22(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame47(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame32(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame57(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 51
//Contenedor5c (Contenedor5c)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor5c extends TargetMalo {
public function Contenedor5c(){
addFrameScript(0, frame1, 33, frame34, 42, frame43, 75, frame76, 83, frame84, 125, frame126);
}
function frame76(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame84(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("angachado");
}
function frame34(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame126(){
gotoAndPlay(30);
}
function frame43(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 52
//Contenedor5d (Contenedor5d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor5d extends TargetMalo {
public function Contenedor5d(){
addFrameScript(0, frame1, 13, frame14, 23, frame24, 41, frame42, 46, frame47, 52, frame53, 86, frame87, 93, frame94, 101, frame102, 134, frame135, 142, frame143, 168, frame169, 176, frame177, 186, frame187);
}
function frame143(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame87(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame169(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame177(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame94(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame14(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame102(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame187(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame24(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame47(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame42(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame135(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame53(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 53
//Contenedor5e (Contenedor5e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor5e extends TargetMalo {
public function Contenedor5e(){
addFrameScript(0, frame1, 15, frame16, 21, frame22, 26, frame27, 32, frame33, 94, frame95, 100, frame101, 105, frame106, 113, frame114);
}
function frame95(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame16(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame22(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame106(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame101(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame27(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame114(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame33(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 54
//Contenedor6 (Contenedor6)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor6 extends TargetMalo {
public function Contenedor6(){
addFrameScript(0, frame1, 21, frame22, 27, frame28, 77, frame78, 82, frame83);
}
function frame78(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
trace(contenedorChico["mask"]);
}
function frame22(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame83(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame28(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 55
//Contenedor6b (Contenedor6b)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor6b extends TargetMalo {
public function Contenedor6b(){
addFrameScript(0, frame1, 21, frame22, 31, frame32, 46, frame47, 56, frame57);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame22(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame47(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame32(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame57(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 56
//Contenedor6c (Contenedor6c)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor6c extends TargetMalo {
public function Contenedor6c(){
addFrameScript(0, frame1, 29, frame30, 35, frame36, 143, frame144, 151, frame152, 165, frame166, 173, frame174);
}
function frame144(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame152(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame166(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame174(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame30(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame36(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 57
//Contenedor6d (Contenedor6d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor6d extends TargetMalo {
public function Contenedor6d(){
addFrameScript(0, frame1, 19, frame20, 33, frame34, 71, frame72, 78, frame79, 83, frame84, 88, frame89, 137, frame138, 154, frame155, 163, frame164, 195, frame196, 206, frame207, 305, frame306, 316, frame317);
}
function frame72(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame155(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame317(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame79(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame164(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame84(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame207(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame89(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame306(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame20(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame34(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame196(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame138(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
}
}//package
Section 58
//Contenedor6e (Contenedor6e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor6e extends TargetMalo {
public function Contenedor6e(){
addFrameScript(0, frame1, 18, frame19, 24, frame25, 101, frame102, 107, frame108, 192, frame193, 200, frame201, 212, frame213, 220, frame221);
}
function frame201(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame213(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame102(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame19(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame25(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame108(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame221(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame193(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
}
}//package
Section 59
//Contenedor7 (Contenedor7)
package {
import Graficos.*;
public dynamic class Contenedor7 extends Botiquin {
public function Contenedor7(){
addFrameScript(0, frame1, 190, frame191);
}
function frame1(){
contenedorChico.gotoAndStop("caja");
}
function frame191(){
muerto = true;
}
}
}//package
Section 60
//Contenedor7b (Contenedor7b)
package {
import Graficos.*;
public dynamic class Contenedor7b extends Botiquin {
public function Contenedor7b(){
addFrameScript(0, frame1, 183, frame184);
}
function frame1(){
contenedorChico.gotoAndPlay("caja");
}
function frame184(){
muerto = true;
}
}
}//package
Section 61
//Contenedor7c (Contenedor7c)
package {
import Graficos.*;
public dynamic class Contenedor7c extends Botiquin {
public function Contenedor7c(){
addFrameScript(0, frame1, 181, frame182);
}
function frame1(){
contenedorChico.gotoAndPlay("caja");
}
function frame182(){
muerto = true;
}
}
}//package
Section 62
//Contenedor7d (Contenedor7d)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor7d extends TargetMalo {
public function Contenedor7d(){
addFrameScript(0, frame1, 21, frame22, 27, frame28);
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("agachado");
}
function frame22(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame28(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
}
}//package
Section 63
//Contenedor7e (Contenedor7e)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
import Graficos.*;
public dynamic class Contenedor7e extends TargetMalo {
public function Contenedor7e(){
addFrameScript(0, frame1, 22, frame23, 33, frame34, 59, frame60, 70, frame71, 108, frame109, 117, frame118, 154, frame155, 167, frame168, 192, frame193, 203, frame204);
}
function frame155(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame168(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame71(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame204(){
contenedorChico.blanco.gotoAndPlay("agachado");
dispara();
}
function frame1(){
contenedorChico.blanco.gotoAndPlay("andando");
}
function frame109(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame23(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
function frame34(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame118(){
contenedorChico.blanco.gotoAndPlay("andando");
dispara();
}
function frame193(){
contenedorChico.blanco.gotoAndPlay("disparaAgachado");
dispara();
}
function frame60(){
contenedorChico.blanco.gotoAndPlay("apunta");
dispara();
}
}
}//package
Section 64
//Contenedor8d (Contenedor8d)
package {
import Graficos.*;
public dynamic class Contenedor8d extends Botiquin {
public function Contenedor8d(){
addFrameScript(0, frame1, 181, frame182);
}
function frame1(){
contenedorChico.gotoAndPlay("caja");
}
function frame182(){
muerto = true;
}
}
}//package
Section 65
//Contenedor8e (Contenedor8e)
package {
import Graficos.*;
public dynamic class Contenedor8e extends Botiquin {
public function Contenedor8e(){
addFrameScript(0, frame1, 181, frame182);
}
function frame1(){
contenedorChico.gotoAndPlay("caja");
}
function frame182(){
muerto = true;
}
}
}//package
Section 66
//Fondo (Fondo)
package {
import flash.utils.*;
import flash.events.*;
import flash.text.*;
import flash.display.*;
public dynamic class Fondo extends Sprite {
var horizonte:Number;
var cantidadTargetsDisponibles:uint;
var clase:Class;
var todosTargetsDisponibles:Array;
var todosTargets:Array;
var df:Number;
var cantidadTargets:Number;
var distanciaMaxima:Number;
var crear:Number;
var tiempoEntreTargets:uint;
var largoNivel:uint;
var targetsFinNivel:uint;
var myTimer:Timer;
public function Fondo(){
trace("constructorfondo");
todosTargets = new Array();
cantidadTargets = 0;
}
public function iniciaTimer(){
targetsFinNivel = largoNivel;
myTimer = new Timer(tiempoEntreTargets, largoNivel);
myTimer.addEventListener(TimerEvent.TIMER, creaBlanco);
myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, creoUltimoBlanco);
myTimer.start();
}
public function creoUltimoBlanco(_arg1:TimerEvent){
trace("no mas enemigos");
Global.mandandoEnemigos = false;
}
public function noMasBlancos(){
myTimer.removeEventListener(TimerEvent.TIMER, creaBlanco);
myTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, creoUltimoBlanco);
myTimer = null;
}
public function creaBlanco(_arg1:TimerEvent){
var _local2:uint;
crear = Math.floor((Math.random() * (cantidadTargetsDisponibles - 0.01)));
if (!(todosTargetsDisponibles[(crear + cantidadTargetsDisponibles)])){
clase = (getDefinitionByName(todosTargetsDisponibles[crear]) as Class);
_local2 = cantidadTargets;
todosTargets[_local2] = new clase();
this.addChild(todosTargets[_local2]);
todosTargets[_local2].posicionEnArray = crear;
todosTargetsDisponibles[(crear + cantidadTargetsDisponibles)] = true;
cantidadTargets++;
} else {
myTimer.repeatCount++;
};
}
public function remueveBlanco(_arg1, _arg2){
todosTargetsDisponibles[(_arg2 + cantidadTargetsDisponibles)] = false;
this.removeChild(todosTargets[_arg1]);
cantidadTargets--;
targetsFinNivel--;
parent.parent["lainterface"]["displayTargets"]["text"] = String(targetsFinNivel);
trace(("removio blanco" + targetsFinNivel));
}
}
}//package
Section 67
//Fondo1 (Fondo1)
package {
import flash.display.*;
public dynamic class Fondo1 extends Fondo {
public var mascara1:MovieClip;
public var mascara4:MovieClip;
public var mascara5:MovieClip;
public var mascara6:MovieClip;
public var mascara8:MovieClip;
public var mascara2:MovieClip;
public var mascara7:MovieClip;
public var mascara3:MovieClip;
public function Fondo1(){
var _local1:Array;
super();
tiempoEntreTargets = 3000;
largoNivel = 20;
_local1 = new Array("Contenedor1", "Contenedor2", "Contenedor3", "Contenedor4", "Contenedor5", "Contenedor6", "Contenedor7", false, false, false, false, false, false, false);
todosTargetsDisponibles = _local1;
cantidadTargetsDisponibles = 7;
iniciaTimer();
}
}
}//package
Section 68
//Fondo2 (Fondo2)
package {
public dynamic class Fondo2 extends Fondo {
public function Fondo2(){
var _local1:Array;
super();
tiempoEntreTargets = 2900;
largoNivel = 24;
_local1 = new Array("Contenedor1b", "Contenedor2b", "Contenedor3b", "Contenedor4b", "Contenedor5b", "Contenedor6b", "Contenedor7b", false, false, false, false, false, false, false);
todosTargetsDisponibles = _local1;
cantidadTargetsDisponibles = 7;
iniciaTimer();
}
}
}//package
Section 69
//Fondo3 (Fondo3)
package {
public dynamic class Fondo3 extends Fondo {
public function Fondo3(){
var _local1:Array;
super();
tiempoEntreTargets = 2000;
largoNivel = 29;
_local1 = new Array("Contenedor1c", "Contenedor2c", "Contenedor3c", "Contenedor4c", "Contenedor5c", "Contenedor6c", "Contenedor7c", false, false, false, false, false, false, false);
todosTargetsDisponibles = _local1;
cantidadTargetsDisponibles = 7;
iniciaTimer();
}
}
}//package
Section 70
//Fondo4 (Fondo4)
package {
public dynamic class Fondo4 extends Fondo {
public function Fondo4(){
var _local1:Array;
super();
tiempoEntreTargets = 2000;
largoNivel = 32;
_local1 = new Array("Contenedor1d", "Contenedor2d", "Contenedor3d", "Contenedor4d", "Contenedor5d", "Contenedor6d", "Contenedor7d", "Contenedor8d", false, false, false, false, false, false, false, false);
todosTargetsDisponibles = _local1;
cantidadTargetsDisponibles = 8;
iniciaTimer();
}
}
}//package
Section 71
//Fondo5 (Fondo5)
package {
public dynamic class Fondo5 extends Fondo {
public function Fondo5(){
var _local1:Array;
super();
tiempoEntreTargets = 2000;
largoNivel = 40;
_local1 = new Array("Contenedor1e", "Contenedor2e", "Contenedor3e", "Contenedor4e", "Contenedor5e", "Contenedor6e", "Contenedor7e", "Contenedor8e", false, false, false, false, false, false, false, false);
todosTargetsDisponibles = _local1;
cantidadTargetsDisponibles = 8;
iniciaTimer();
}
}
}//package
Section 72
//FondoCuatro (FondoCuatro)
package {
public dynamic class FondoCuatro extends Fondo4 {
}
}//package
Section 73
//FondoDos (FondoDos)
package {
public dynamic class FondoDos extends Fondo2 {
}
}//package
Section 74
//FondoSinco (FondoSinco)
package {
public dynamic class FondoSinco extends Fondo5 {
}
}//package
Section 75
//FondoTres (FondoTres)
package {
public dynamic class FondoTres extends Fondo3 {
}
}//package
Section 76
//FondoUno (FondoUno)
package {
public dynamic class FondoUno extends Fondo1 {
}
}//package
Section 77
//Global (Global)
package {
import flash.net.*;
public class Global {
public static var correElJuego:Boolean = false;
public static var disparosNivel:uint = 0;
public static var cargandoJuego:Number = 0;
public static var creditos:uint;
public static var vidaInicial:uint = 500;
public static var pierde:Boolean = false;
public static var estadoSonido:Boolean = true;
public static var nivelCargar:uint;
public static var acertadosNivel:uint = 0;
public static var vida:int;
public static var puntaje:uint = 0;
public static var armaActual:uint = 0;
public static var targetsDisparando:int = 0;
public static var mandandoEnemigos:Boolean = true;
public static var recargando:Boolean = true;
public static function irJuegos(){
var _local1:URLRequest;
_local1 = new URLRequest("http://www.dailygames.com");
navigateToURL(_local1, "_blank");
}
}
}//package
Section 78
//Interface (Interface)
package {
import flash.display.*;
import flash.text.*;
public class Interface extends MovieClip {
public var peines:MovieClip;
public var flechaDerecha:MovieClip;
public var arma1:MovieClip;
public var arma3:MovieClip;
public var flechaIzquierda:MovieClip;
public var barraVidas:MovieClip;
public var cartelRecarga:MovieClip;
public var arma2:MovieClip;
public var displayPuntaje:TextField;
public var displayTargets:TextField;
}
}//package
Section 79
//Juego (Juego)
package {
import flash.events.*;
import flash.text.*;
import flash.display.*;
public class Juego extends MovieClip {
public var botonVolverMenu:SimpleButton;
public var nivel:Nivel;
public var displayAcertados:TextField;
public var menu:MovieClip;
public var lainterface:UnInterface;
public var displayDisparos:TextField;
public var botonReintentar:SimpleButton;
public var creditos:MovieClip;
public var botonMasJuegos:SimpleButton;
public var displayPresision:TextField;
public var displayPuntaje:TextField;
public var botonNivelar:SimpleButton;
public function Juego(){
addFrameScript(2, frame3, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17);
}
public function jugarNE(){
Global.nivelCargar = 1;
Global.puntaje = 0;
Global.pierde = false;
Global.creditos = 3;
iniciaNuevoNivel();
}
public function pasaNivel(){
nivel.nivelOver();
removeEventListener(MouseEvent.MOUSE_DOWN, nivel.botonAbajo);
removeEventListener(MouseEvent.MOUSE_UP, nivel.botonArriba);
removeChild(nivel);
removeChild(lainterface);
nivel = null;
lainterface = null;
if (Global.nivelCargar < 5){
gotoAndPlay("interNivel");
} else {
gotoAndPlay("ganaste");
};
}
function frame10(){
displayDisparos.text = String(Global.disparosNivel);
displayAcertados.text = String(Global.acertadosNivel);
displayPresision.text = (String(Math.round(((Global.acertadosNivel * 100) / Global.disparosNivel))) + " %");
displayPuntaje.text = String(Global.puntaje);
botonNivelar.addEventListener(MouseEvent.CLICK, siguienteNivel);
stop();
}
function frame14(){
if (Global.creditos > 0){
creditos.gotoAndStop(Global.creditos);
} else {
botonReintentar.y = 800;
creditos.y = 800;
};
botonMasJuegos.addEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.addEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.addEventListener(MouseEvent.CLICK, volverMenu);
stop();
}
function frame12(){
if (Global.creditos > 0){
creditos.gotoAndStop(Global.creditos);
} else {
botonReintentar.y = 800;
creditos.y = 800;
};
botonMasJuegos.addEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.addEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.addEventListener(MouseEvent.CLICK, volverMenu);
stop();
}
function frame3(){
Global.cargandoJuego = Math.round(((loaderInfo.bytesLoaded / loaderInfo.bytesTotal) * 100));
if (!(Global.correElJuego)){
this.gotoAndPlay(2);
};
}
function frame15(){
if (Global.creditos > 0){
creditos.gotoAndStop(Global.creditos);
} else {
botonReintentar.y = 800;
creditos.y = 800;
};
botonMasJuegos.addEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.addEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.addEventListener(MouseEvent.CLICK, volverMenu);
stop();
}
function frame16(){
if (Global.creditos > 0){
creditos.gotoAndStop(Global.creditos);
} else {
botonReintentar.y = 800;
creditos.y = 800;
};
botonMasJuegos.addEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.addEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.addEventListener(MouseEvent.CLICK, volverMenu);
stop();
}
function frame17(){
stop();
}
public function volverMenu(_arg1:MouseEvent){
gotoAndStop("intro");
}
public function iniciaNuevoNivel(){
Global.targetsDisparando = 0;
Global.armaActual = 0;
Global.vida = Global.vidaInicial;
Global.recargando = true;
gotoAndPlay("jugar");
nivel = new Nivel();
lainterface = new UnInterface();
addChild(nivel);
addChild(lainterface);
lainterface.peines.gotoAndStop(1);
lainterface.displayPuntaje.text = String(Global.puntaje);
nivel.activaArma(lainterface.arma1);
nivel.desactivaArma(lainterface.arma2);
nivel.desactivaArma(lainterface.arma3);
addEventListener(MouseEvent.MOUSE_DOWN, nivel.botonAbajo);
addEventListener(MouseEvent.MOUSE_UP, nivel.botonArriba);
lainterface.displayTargets.text = String(nivel.fondo.targetsFinNivel);
}
function frame13(){
if (Global.creditos > 0){
creditos.gotoAndStop(Global.creditos);
} else {
botonReintentar.y = 800;
creditos.y = 800;
};
botonMasJuegos.addEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.addEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.addEventListener(MouseEvent.CLICK, volverMenu);
stop();
}
function frame9(){
stop();
}
function frame11(){
botonReintentar.y = 800;
creditos.y = 800;
botonMasJuegos.addEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.addEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.addEventListener(MouseEvent.CLICK, volverMenu);
stop();
}
public function irJuegosBoton(_arg1:MouseEvent){
Global.irJuegos();
}
public function sumapuntos(){
lainterface.displayPuntaje.text = String(Global.puntaje);
}
public function siguienteNivel(_arg1:MouseEvent){
botonNivelar.removeEventListener(MouseEvent.CLICK, siguienteNivel);
Global.nivelCargar++;
iniciaNuevoNivel();
}
public function gameOver(){
trace("perdiste");
nivel.nivelOver();
removeEventListener(MouseEvent.MOUSE_DOWN, nivel.botonAbajo);
removeEventListener(MouseEvent.MOUSE_UP, nivel.botonArriba);
removeChild(nivel);
removeChild(lainterface);
nivel = null;
lainterface = null;
gotoAndPlay(("perdiste" + String(Global.nivelCargar)));
}
public function reintentarNivel(_arg1:MouseEvent){
if (Global.creditos > 0){
botonMasJuegos.removeEventListener(MouseEvent.CLICK, irJuegosBoton);
botonReintentar.removeEventListener(MouseEvent.CLICK, reintentarNivel);
botonVolverMenu.removeEventListener(MouseEvent.CLICK, volverMenu);
Global.creditos--;
iniciaNuevoNivel();
};
}
}
}//package
Section 80
//Mira (Mira)
package {
import flash.display.*;
public dynamic class Mira extends MovieClip {
public function Mira(){
addFrameScript(0, frame1, 98, frame99);
}
function frame1(){
}
function frame99(){
gotoAndPlay(1);
}
}
}//package
Section 81
//Nivel (Nivel)
package {
import flash.media.*;
import flash.events.*;
import flash.text.*;
import flash.ui.*;
import flash.geom.*;
import flash.display.*;
public class Nivel extends MovieClip {
var controlCadencia:Number;
var todasLasArmas:Array;
var fondo;
var channel:SoundChannel;
var bandera:Boolean;
var musica;
var flechaDerecha:Boolean;
var sonidoMalo1;
var sonidoMalo2;
var sonidoBonus;
var disparo:Boolean;
var todosSonidosMalos:ArrayRandom;
var armaDisplay:UnArma;
var sonidoArma;
var dañoTargetFrame:uint;// = 1
var cadencia:Number;
var sonidoMalo3;
var channelM:SoundChannel;
var mira:Mira;
var sonidoArmaRecarga;
var flechaIzquierda:Boolean;
var sonidoArmaEnemigo;
var boton:Boolean;
var sonidoArmaVacia;
var sonido;
public function Nivel(){
dañoTargetFrame = 1;
todosSonidosMalos = new ArrayRandom();
channel = new SoundChannel();
channelM = new SoundChannel();
super();
if (Global.estadoSonido){
sonidoArmaVacia = new SVacia();
sonidoArmaRecarga = new SRecarga();
sonidoMalo1 = new SonidoCivil();
sonidoMalo2 = new SonidoMalo();
sonidoMalo3 = new SonidoMalo2();
sonidoArmaEnemigo = new SDisparoEnemigo();
sonidoBonus = new SonidoBonus();
musica = new SMusica1();
channelM = musica.play(600, 999);
todosSonidosMalos[0] = sonidoMalo1;
todosSonidosMalos[1] = sonidoMalo2;
todosSonidosMalos[2] = sonidoMalo3;
};
trace("constructornivel");
disparo = false;
bandera = false;
boton = false;
controlCadencia = 0;
mira = new Mira();
elijeNivel();
armaDisplay = new UnArma();
todasLasArmas = new Array();
Global.disparosNivel = 0;
Global.acertadosNivel = 0;
Global.mandandoEnemigos = true;
addChild(fondo);
fondo.scaleX = 0.547;
fondo.scaleY = 0.547;
fondo.x = -325;
fondo.y = -10;
addChild(mira);
mira.startDrag(true);
addChild(armaDisplay);
armaDisplay.stop();
todasLasArmas[0] = new Arma1();
todasLasArmas[1] = new Arma2();
todasLasArmas[2] = new Arma3();
cadencia = todasLasArmas[Global.armaActual].cadencia;
sonidoArma = todasLasArmas[Global.armaActual].sonidoArma;
Mouse.hide();
addEventListener(Event.ENTER_FRAME, todosLosFrames);
mira.addEventListener(KeyboardEvent.KEY_DOWN, teclas);
mira.focusRect = false;
}
public function retiraTodo(_arg1, _arg2:int, _arg3:Array){
_arg1.muere();
}
function teclas(_arg1:KeyboardEvent):void{
trace(((("tecla" + _arg1.keyCode) + "regargando") + Global.recargando));
if (Global.recargando){
trace("no puede esta cargando");
return;
};
switch (_arg1.keyCode){
case 49:
Global.armaActual = 0;
cadencia = todasLasArmas[0].cadencia;
sonidoArma = todasLasArmas[0].sonidoArma;
activaArma(parent["lainterface"]["arma1"]);
desactivaArma(parent["lainterface"]["arma2"]);
desactivaArma(parent["lainterface"]["arma3"]);
parent["lainterface"]["peines"].gotoAndStop(1);
break;
case 50:
Global.armaActual = 1;
cadencia = todasLasArmas[1].cadencia;
sonidoArma = todasLasArmas[1].sonidoArma;
activaArma(parent["lainterface"]["arma2"]);
desactivaArma(parent["lainterface"]["arma1"]);
desactivaArma(parent["lainterface"]["arma3"]);
parent["lainterface"]["peines"].gotoAndStop(2);
break;
case 51:
Global.armaActual = 2;
cadencia = todasLasArmas[2].cadencia;
sonidoArma = todasLasArmas[2].sonidoArma;
activaArma(parent["lainterface"]["arma3"]);
desactivaArma(parent["lainterface"]["arma1"]);
desactivaArma(parent["lainterface"]["arma2"]);
parent["lainterface"]["peines"].gotoAndStop(3);
break;
case 82:
todasLasArmas[Global.armaActual].balasQuedan = 0;
if (Global.estadoSonido){
channel = sonidoArmaRecarga.play();
};
parent["lainterface"]["cartelRecarga"].gotoAndStop(1);
parent["lainterface"]["peines"][("peine" + String((Global.armaActual + 1)))].gotoAndPlay("recarga");
return;
default:
return;
};
if (todasLasArmas[Global.armaActual].balasQuedan == 0){
parent["lainterface"]["cartelRecarga"].gotoAndPlay("recargar");
} else {
parent["lainterface"]["cartelRecarga"].gotoAndStop(1);
};
}
function retiraMuertosArray(_arg1, _arg2:int, _arg3:Array){
return (!(_arg1.muerto));
}
function botonAbajo(_arg1:MouseEvent){
boton = true;
if (todasLasArmas[Global.armaActual].balasQuedan != 0){
fondo.todosTargets.forEach(chekaSiPega);
disparo = true;
} else {
if (Global.estadoSonido){
channel = sonidoArmaVacia.play();
};
};
stage.focus = mira;
}
public function desactivaArma(_arg1){
_arg1.gotoAndStop(1);
}
public function recarga(){
todasLasArmas[Global.armaActual].balasQuedan = todasLasArmas[Global.armaActual].totalCargador;
}
function retiraMuertosDisplay(_arg1, _arg2:int, _arg3:Array):void{
var _local4:Point;
_local4 = new Point((_arg1.contenedorChico.x + (_arg1.contenedorChico.width / 2)), 0);
_local4 = _arg1.localToGlobal(_local4);
if (_local4.x < 0){
flechaIzquierda = true;
};
if (_local4.x > 600){
flechaDerecha = true;
};
if (_arg1.muerto == true){
fondo.remueveBlanco(_arg2, _arg1.posicionEnArray);
_arg1 = null;
};
}
public function activaArma(_arg1){
_arg1.gotoAndStop(2);
}
function todosLosFrames(_arg1:Event){
if (boton){
controlCadencia++;
if ((((cadencia == controlCadencia)) && (!((todasLasArmas[Global.armaActual].balasQuedan == 0))))){
fondo.todosTargets.forEach(chekaSiPega);
stage.focus = mira;
controlCadencia = 0;
disparo = true;
};
};
if (disparo){
if (Global.estadoSonido){
channel = sonidoArma.play();
};
armaDisplay.gotoAndStop((Global.armaActual + 4));
fondo.scaleX = 0.54;
fondo.scaleY = 0.54;
disparo = false;
parent["lainterface"]["peines"][("peine" + String((Global.armaActual + 1)))][("bala" + String(todasLasArmas[Global.armaActual].balasQuedan))].gotoAndPlay(2);
todasLasArmas[Global.armaActual].balasQuedan--;
if (todasLasArmas[Global.armaActual].balasQuedan == 0){
parent["lainterface"]["cartelRecarga"].gotoAndPlay("recargar");
};
Global.disparosNivel++;
} else {
armaDisplay.gotoAndStop((Global.armaActual + 1));
fondo.scaleX = 0.547;
fondo.scaleY = 0.547;
};
if ((((((((mira.x < 600)) && ((mira.x > 0)))) && ((mira.y < 400)))) && ((mira.y > 0)))){
fondo.x = ((mira.x * -83.6) / 600);
fondo.y = ((mira.y * -20) / 400);
armaDisplay.x = ((mouseX + 140) + ((mouseY * -150) / 400));
armaDisplay.y = (((mouseY * 150) / 400) + 200);
armaDisplay.rotation = (((mouseY * -26) / 400) + 13);
};
fondo.todosTargets.forEach(retiraMuertosDisplay);
fondo.todosTargets = fondo.todosTargets.filter(retiraMuertosArray);
if (Global.targetsDisparando > 0){
if (Global.estadoSonido){
channel = sonidoArmaEnemigo.play();
};
Global.vida = (Global.vida - (Global.targetsDisparando * dañoTargetFrame));
if (Global.vida <= 0){
var _local2 = parent;
_local2["gameOver"]();
return;
};
} else {
if (!(Global.mandandoEnemigos)){
if (fondo.todosTargets.length == 0){
_local2 = parent;
_local2["pasaNivel"]();
};
};
};
}
public function elijeNivel(){
switch (Global.nivelCargar){
case 1:
fondo = new FondoUno();
return;
case 2:
fondo = new FondoDos();
return;
case 3:
fondo = new FondoTres();
return;
case 4:
fondo = new FondoCuatro();
return;
case 5:
fondo = new FondoSinco();
return;
};
}
function chekaSiPega(_arg1, _arg2:int, _arg3:Array):void{
if (_arg1 != null){
if (((_arg1.contenedorChico.blanco.zonaActiva.hitTestPoint(mouseX, mouseY, true)) && (_arg1.mascara.hitTestPoint(mouseX, mouseY, true)))){
_arg1.energia = (_arg1.energia - 100);
Global.puntaje = (Global.puntaje + 20);
Global.acertadosNivel++;
parent["lainterface"]["displayPuntaje"]["text"] = String(Global.puntaje);
if (_arg1.energia <= 0){
_arg1.muere();
if (Global.estadoSonido){
switch (_arg1.tipoTarget){
case 1:
sonido = todosSonidosMalos.elije();
channel = sonido.play();
break;
case 2:
channel = sonidoBonus.play();
break;
};
};
};
};
};
}
function botonArriba(_arg1:MouseEvent){
boton = false;
controlCadencia = 0;
}
public function nivelOver(){
channelM.stop();
fondo.noMasBlancos();
fondo.todosTargets.forEach(retiraTodo);
removeEventListener(Event.ENTER_FRAME, todosLosFrames);
mira.removeEventListener(KeyboardEvent.KEY_DOWN, teclas);
Mouse.show();
fondo.todosTargets = null;
}
}
}//package
Section 82
//SDisparoEnemigo (SDisparoEnemigo)
package {
import flash.media.*;
public dynamic class SDisparoEnemigo extends Sound {
}
}//package
Section 83
//SMusica1 (SMusica1)
package {
import flash.media.*;
public dynamic class SMusica1 extends Sound {
}
}//package
Section 84
//SonidoBonus (SonidoBonus)
package {
import flash.media.*;
public dynamic class SonidoBonus extends Sound {
}
}//package
Section 85
//SonidoCivil (SonidoCivil)
package {
import flash.media.*;
public dynamic class SonidoCivil extends Sound {
}
}//package
Section 86
//SonidoMalo (SonidoMalo)
package {
import flash.media.*;
public dynamic class SonidoMalo extends Sound {
}
}//package
Section 87
//SonidoMalo2 (SonidoMalo2)
package {
import flash.media.*;
public dynamic class SonidoMalo2 extends Sound {
}
}//package
Section 88
//Sound1 (Sound1)
package {
import flash.media.*;
public dynamic class Sound1 extends Sound {
}
}//package
Section 89
//Sound2 (Sound2)
package {
import flash.media.*;
public dynamic class Sound2 extends Sound {
}
}//package
Section 90
//Sound3 (Sound3)
package {
import flash.media.*;
public dynamic class Sound3 extends Sound {
}
}//package
Section 91
//SRecarga (SRecarga)
package {
import flash.media.*;
public dynamic class SRecarga extends Sound {
}
}//package
Section 92
//SVacia (SVacia)
package {
import flash.media.*;
public dynamic class SVacia extends Sound {
}
}//package
Section 93
//UnArma (UnArma)
package {
import flash.display.*;
public dynamic class UnArma extends MovieClip {
}
}//package
Section 94
//UnInterface (UnInterface)
package {
public dynamic class UnInterface extends Interface {
}
}//package