Frame 1
if (_level0.juego2_cargado == true) {
gotoAndPlay (8);
}
var total = this.getBytesTotal();
var cargado = this.getBytesLoaded();
var porciento = 0;
var total_loaded = 0;
var total_loaded = (total / 1000);
barrita_ini = this.preload.barrita._x;
Frame 2
cargado = this.getBytesLoaded();
Frame 5
if (total == cargado) {
this.preload.porciento2 = "100%";
this.preload.gotoAndStop("cargado");
if ((_level0.juego_actual == 2) && (_level0.partidas > 0)) {
gotoAndPlay (6);
} else {
this.toques.continuar.gotoAndPlay("on");
stop();
}
} else {
cargado = getBytesLoaded();
this.preload.porciento2 = parseInt((cargado * 100) / total) + "%";
this.preload.barrita._x = barrita_ini + ((cargado * 123.9) / total);
gotoAndPlay (3);
}
Frame 7
gotoAndPlay (8);
Frame 8
function FinPantalla() {
if (_level0.partidas < 5) {
_level0.aumenta_partidas();
}
fin_p = true;
label_puntos._visible = false;
angulo.gotoAndPlay("off");
jugador._visible = true;
ball._visible = false;
ballgraf._visible = false;
sombra._visible = false;
sombra1._visible = false;
sombra1.gotoAndPlay("off");
Initchutes();
if (_level0.partidas < 5) {
_level0.carga_puntos();
} else if (_level0.partidas == 5) {
_level0.carga_puntos_fin();
}
}
function AugmentaChutes() {
trace("Augmenta chuuuutesss");
chutes = chutes + 1;
interface.ActualizaChutes(chutes);
}
function InitChutes() {
chutes = 0;
interface.ActualizaChutes(chutes);
}
_level0.juego_actual = 2;
_level0.juego2_cargado = true;
duplicateMovieClip (i, "interface", 1000);
_root.i._visible = false;
var fin_p = false;
var num_objetos = 56;
var objetos = new Array();
var i_count = 0;
i_count = 0;
while (i_count < num_objetos) {
objetos.push(this["o" + (i_count + 1)]);
objetos[i_count]._visible = false;
i_count++;
}
var goles = 0;
var chutes = 0;
var posXball = new Array(390, 390, 390, 450, 500);
var posYball = new Array(0, 0, 0, 0, 0);
var posZball = new Array(-480, -480, -480, -430, -300);
var puntosPos = new Array(25, 30, 40, 50, 60);
var puntosPos1 = new Array(20, 25, 35, 45, 55);
var puntosPos2 = new Array(15, 20, 30, 40, 50);
var puntosPos3 = new Array(10, 15, 25, 35, 45);
var puntosPos4 = new Array(5, 10, 20, 30, 40);
if (_level0.partidas == 1) {
puntosPos = puntosPos1;
} else if (_level0.partidas == 2) {
puntosPos = puntosPos2;
} else if (_level0.partidas == 3) {
puntosPos = puntosPos3;
} else if (_level0.partidas == 4) {
puntosPos = puntosPos4;
}
interface.ActualizaGoles(goles);
stop();
Instance of Symbol 194 MovieClip "megapuerta" in Frame 8
onClipEvent (load) {
var abierto = true;
var cuenta = 0;
}
onClipEvent (enterFrame) {
if (cuenta < 400) {
cuenta = cuenta + 1;
} else {
this.gotoAndPlay("on");
cuenta = 0;
}
}
Instance of Symbol 214 MovieClip "ob17" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
}
Instance of Symbol 283 MovieClip "ob24" in Frame 8
onClipEvent (load) {
this.jugador.gotoAndPlay("off");
}
Instance of Symbol 285 MovieClip "o20" in Frame 8
onClipEvent (load) {
function estado(e) {
_parent.ob17.estado(e);
}
var n_celda = 10;
var ob = "ob17";
var altura = -25;
var activo = false;
var fila = 0;
}
Instance of Symbol 287 MovieClip "o1" in Frame 8
onClipEvent (load) {
var n_celda = 0;
var ob = "ob1";
var altura = -60;
var fila = 0;
}
Instance of Symbol 289 MovieClip "o2" in Frame 8
onClipEvent (load) {
var n_celda = 1;
var ob = "ob1";
var altura = -60;
var fila = 0;
}
Instance of Symbol 291 MovieClip "o3" in Frame 8
onClipEvent (load) {
var n_celda = 2;
var ob = "ob1";
var altura = -60;
var fila = 0;
}
Instance of Symbol 293 MovieClip "o31" in Frame 8
onClipEvent (load) {
var n_celda = 3;
var ob = "null";
var altura = -35;
var fila = 0;
}
Instance of Symbol 293 MovieClip "o32" in Frame 8
onClipEvent (load) {
var n_celda = 4;
var ob = "null";
var altura = -35;
var fila = 0;
}
Instance of Symbol 293 MovieClip "o33" in Frame 8
onClipEvent (load) {
var n_celda = 5;
var ob = "null";
var altura = -35;
var fila = 0;
}
Instance of Symbol 294 MovieClip "o34" in Frame 8
onClipEvent (load) {
var n_celda = 6;
var ob = "null";
var altura = -35;
var fila = 0;
}
Instance of Symbol 296 MovieClip "o29" in Frame 8
onClipEvent (load) {
var altura = -60;
var n_celda = 12;
var ob = "ob24";
var fila = 0;
}
Instance of Symbol 346 MovieClip "o8" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob6.estado(e);
}
var n_celda = 24;
var ob = "null";
var altura = -25;
var activo = false;
var fila = 1;
}
Instance of Symbol 371 MovieClip "ob2" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
}
Instance of Symbol 373 MovieClip "o4" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob2.estado(e);
}
var n_celda = 20;
var ob = "null";
var altura = -50;
var fila = 1;
}
Instance of Symbol 293 MovieClip "o35" in Frame 8
onClipEvent (load) {
var n_celda = 23;
var ob = "null";
var altura = -35;
var fila = 1;
}
Instance of Symbol 408 MovieClip "ob7" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
var papeles = 1;
}
Instance of Symbol 410 MovieClip "o9" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob7.estado(e);
}
var n_celda = 25;
var ob = "ob7";
var altura = -20;
var fila = 1;
}
Instance of Symbol 421 MovieClip "ob5" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
}
Instance of Symbol 570 MovieClip "ob26" in Frame 8
onClipEvent (load) {
var tirame = true;
this.gotoAndPlay("off");
}
Instance of Symbol 574 MovieClip "o7" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob5.estado(e);
}
var n_celda = 44;
var ob = "ob5";
var altura = -20;
var activo = false;
var fila = 2;
}
Instance of Symbol 293 MovieClip "o36" in Frame 8
onClipEvent (load) {
var n_celda = 52;
var ob = "null";
var altura = -30;
var fila = 2;
}
Instance of Symbol 293 MovieClip "o37" in Frame 8
onClipEvent (load) {
var n_celda = 53;
var ob = "null";
var altura = -30;
var fila = 2;
}
Instance of Symbol 293 MovieClip "o38" in Frame 8
onClipEvent (load) {
var n_celda = 54;
var ob = "null";
var altura = -30;
var fila = 2;
}
Instance of Symbol 293 MovieClip "o39" in Frame 8
onClipEvent (load) {
var n_celda = 55;
var ob = "null";
var altura = -30;
var fila = 2;
}
Instance of Symbol 575 MovieClip "o27" in Frame 8
onClipEvent (load) {
var altura = -60;
var n_celda = 60;
var ob = "ob26";
var fila = 5;
}
Instance of Symbol 293 MovieClip "o40" in Frame 8
onClipEvent (load) {
var n_celda = 72;
var ob = "null";
var altura = -30;
var fila = 3;
}
Instance of Symbol 617 MovieClip "o21" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob8.estado(e);
}
var n_celda = 72;
var ob = "ob18";
var altura = -40;
var activo = false;
var fila = 3;
}
Instance of Symbol 214 MovieClip "ob17" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
}
Instance of Symbol 408 MovieClip "ob19" in Frame 8
onClipEvent (load) {
var papeles = 3;
}
Instance of Symbol 620 MovieClip "o5" in Frame 8
onClipEvent (load) {
function estado(e) {
_parent.ob3.estado(e);
}
var n_celda = 80;
var ob = "ob3";
var altura = -25;
var fila = 4;
var activo = false;
}
Instance of Symbol 622 MovieClip "o22" in Frame 8
onClipEvent (load) {
var n_celda = 93;
var ob = "null";
var altura = -15;
var fila = 4;
}
Instance of Symbol 627 MovieClip "o49" in Frame 8
onClipEvent (load) {
var n_celda = 104;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o50" in Frame 8
onClipEvent (load) {
var n_celda = 124;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o51" in Frame 8
onClipEvent (load) {
var n_celda = 144;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o52" in Frame 8
onClipEvent (load) {
var n_celda = 164;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o53" in Frame 8
onClipEvent (load) {
var n_celda = 184;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o54" in Frame 8
onClipEvent (load) {
var n_celda = 204;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o55" in Frame 8
onClipEvent (load) {
var n_celda = 224;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 627 MovieClip "o56" in Frame 8
onClipEvent (load) {
var n_celda = 244;
var ob = "ob10";
var altura = -100;
var fila = 1;
}
Instance of Symbol 637 MovieClip "ob8" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
}
Instance of Symbol 639 MovieClip "o14" in Frame 8
onClipEvent (load) {
var n_celda = 104;
var ob = "ob10";
var altura = -50;
var activo = false;
}
Instance of Symbol 828 MovieClip "ob25" in Frame 8
onClipEvent (load) {
this.gotoAndPlay("on");
}
Instance of Symbol 830 MovieClip "o10" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob8.estado(e);
}
var n_celda = 105;
var ob = "ob8";
var altura = -50;
var fila = 5;
}
Instance of Symbol 296 MovieClip "o28" in Frame 8
onClipEvent (load) {
var altura = -60;
var n_celda = 100;
var ob = "ob25";
var fila = 5;
}
Instance of Symbol 836 MovieClip "o6" in Frame 8
onClipEvent (load) {
var n_celda = 120;
var ob = "ob4";
var altura = -25;
var fila = 6;
}
Instance of Symbol 838 MovieClip "o19" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob8.estado(e);
}
var n_celda = 125;
var ob = "ob16";
var altura = -20;
var activo = false;
var fila = 6;
}
Instance of Symbol 293 MovieClip "o41" in Frame 8
onClipEvent (load) {
var n_celda = 135;
var ob = "null";
var altura = -30;
var fila = 6;
}
Instance of Symbol 293 MovieClip "o42" in Frame 8
onClipEvent (load) {
var n_celda = 136;
var ob = "null";
var altura = -30;
var fila = 6;
}
Instance of Symbol 293 MovieClip "o43" in Frame 8
onClipEvent (load) {
var n_celda = 155;
var ob = "null";
var altura = -30;
var fila = 7;
}
Instance of Symbol 842 MovieClip "o48" in Frame 8
onClipEvent (load) {
var n_celda = 175;
var ob = "null";
var altura = -30;
var fila = 7;
}
Instance of Symbol 371 MovieClip "ob15" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
}
Instance of Symbol 844 MovieClip "o18" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob15.estado(e);
}
var n_celda = 144;
var ob = "ob15";
var altura = -10;
var activo = false;
var fila = 7;
}
Instance of Symbol 846 MovieClip "o15" in Frame 8
onClipEvent (load) {
var n_celda = 144;
var ob = "ob10";
var altura = -50;
var activo = false;
}
Instance of Symbol 851 MovieClip "o11" in Frame 8
onClipEvent (load) {
var n_celda = 184;
var ob = "ob9";
var altura = -30;
var fila = 9;
}
Instance of Symbol 853 MovieClip "o12" in Frame 8
onClipEvent (load) {
var n_celda = 204;
var ob = "ob9";
var altura = -30;
var fila = 10;
}
Instance of Symbol 855 MovieClip "o13" in Frame 8
onClipEvent (load) {
var n_celda = 224;
var ob = "ob9";
var altura = -30;
var fila = 11;
}
Instance of Symbol 858 MovieClip "o25" in Frame 8
onClipEvent (load) {
var n_celda = 227;
var ob = "null";
var altura = -25;
var activo = false;
}
Instance of Symbol 860 MovieClip "o24" in Frame 8
onClipEvent (load) {
var n_celda = 227;
var ob = "ob21";
var altura = -40;
var activo = false;
}
Instance of Symbol 293 MovieClip "o44" in Frame 8
onClipEvent (load) {
var n_celda = 227;
var ob = "null";
var altura = -35;
var fila = 11;
}
Instance of Symbol 293 MovieClip "o45" in Frame 8
onClipEvent (load) {
var n_celda = 226;
var ob = "null";
var altura = -35;
var fila = 11;
}
Instance of Symbol 408 MovieClip "ob23" in Frame 8
onClipEvent (load) {
var papeles = 4;
}
Instance of Symbol 862 MovieClip "o26" in Frame 8
onClipEvent (load) {
var n_celda = 247;
var ob = "null";
var altura = -25;
var fila = 12;
}
Instance of Symbol 293 MovieClip "o46" in Frame 8
onClipEvent (load) {
var n_celda = 246;
var ob = "null";
var altura = -35;
var fila = 12;
}
Instance of Symbol 293 MovieClip "o47" in Frame 8
onClipEvent (load) {
var n_celda = 266;
var ob = "null";
var altura = -35;
var fila = 13;
}
Instance of Symbol 868 MovieClip "porteria" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay("m" + (e + 1));
}
_visible = false;
this.estado(_parent.goles);
}
Instance of Symbol 876 MovieClip "indica_goles" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay("g" + (e + 1));
}
this.estado(_parent.goles);
}
Instance of Symbol 882 MovieClip "label_puntos" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
}
function setPuntos(p) {
this.puntos = p;
}
var puntos = _parent.puntosPos[_parent.goles];
}
Instance of Symbol 1044 MovieClip "jugador" in Frame 8
onClipEvent (load) {
var elchute = "on";
}
Instance of Symbol 1052 MovieClip "sombra1" in Frame 8
onClipEvent (load) {
function setSombraColision(xin, yin, e) {
_parent.shadow._visible = false;
_visible = true;
this._x = xin;
this._y = yin;
this.gotoAndPlay(e);
}
gotoAndPlay (8);
_visible = false;
}
Instance of Symbol 1054 MovieClip "ballgraf" in Frame 8
onClipEvent (load) {
function estado(e) {
if (e == "pause") {
this.stop();
} else {
this.gotoAndPlay(e);
}
}
}
Instance of Symbol 1060 MovieClip "angulo" in Frame 8
onClipEvent (load) {
function chutar() {
_visible = false;
_parent.sonidos.gotoAndPlay("chut");
var angle = this.ang;
var F = (_parent.interface.potencia.p * 0.8);
var Eff = (_parent.interface.fx.p * 0.5);
var Alt = _parent.interface.efecto.p;
var dir_fx = this.Fx;
var dir_fz = this.Fz;
var mFx = (Math.abs(F * Math.cos((angle * Math.PI) / 180)) * dir_fx);
var mFz = (Math.abs(F * Math.sin((angle * Math.PI) / 180)) * dir_fz);
if (Alt > 13) {
Alt = Alt * 0.98;
} else {
Alt = Alt + (F / 10);
}
var mFy = (Alt * -1);
_parent.control.xVel = mFx;
_parent.control.yVel = mFy;
_parent.control.zVel = mFz;
_parent.control.effect = Eff * (F / 90);
_parent.control.shoot = true;
_parent.AugmentaChutes();
}
function init() {
this.activo_angulo = false;
this.activo_fuerza = false;
this.activo_efecto = false;
this.activo_fx = false;
_parent.cuenta_angulo.gotoAndPlay("on");
}
function ciclo2() {
if (_parent.fin_p == false) {
if ((temp2 <= 100) && (temp2 > 90)) {
trace("(temp2<100)&&(temp2>90)");
this.indica._width = 49;
} else if ((temp2 <= 90) && (temp2 > 80)) {
trace("(temp2<=90)&&(temp2>80)");
this.indica._width = 49;
} else if ((temp2 <= 80) && (temp2 > 70)) {
trace("(temp2<=80)&&(temp2>70)");
this.indica._width = 49;
} else if ((temp2 <= 70) && (temp2 > 60)) {
trace("(temp2<=70)&&(temp2>60)");
this.indica._width = 49;
} else if ((temp2 <= 60) && (temp2 > 50)) {
trace("(temp2<=60)&&(temp2>50)");
this.indica._width = 49;
} else if ((temp2 <= 50) && (temp2 > 40)) {
trace("(temp2<=50)&&(temp2>40)");
this.indica._width = 49;
} else if ((temp2 <= 40) && (temp2 > 30)) {
trace("(temp2<=40)&&(temp2>30)");
this.indica._width = 49;
} else if ((temp2 <= 30) && (temp2 > 20)) {
trace("(temp2<=30)&&(temp2>20)");
this.indica._width = 49;
} else if ((temp2 <= 20) && (temp2 > 10)) {
trace("(temp2<=20)&&(temp2>10)");
this.indica._width = 53;
} else if ((temp2 <= 10) && (temp2 > 0)) {
trace("(temp2<=10)&&(temp2>0)");
this.indica._width = 56;
} else if ((temp2 <= 0) && (temp2 > -10)) {
trace(" (temp2<=0)&&(temp2>-10)");
this.indica._width = 57;
} else if ((temp2 <= -10) && (temp2 > -20)) {
trace("(temp2<=-10)&&(temp2>-20)");
this.indica._width = 52;
} else if ((temp2 <= -20) && (temp2 > -30)) {
trace("(temp2<=-20)&&(temp2>-30)");
this.indica._width = 48;
} else if ((temp2 <= -30) && (temp2 > -35)) {
trace("(temp2<=-30)&&(temp2>-35)");
this.indica._width = 44;
} else if ((temp2 <= -35) && (temp2 > -40)) {
trace("(temp2<=-35)&&(temp2>-40)");
this.indica._width = 42;
} else if ((temp2 <= -40) && (temp2 > -50)) {
trace("(temp2<=-40)&&(temp2>-50)");
this.indica._width = 40;
} else if ((temp2 <= -45) && (temp2 > -50)) {
trace("(temp2<=-45)&&(temp2>-50)");
this.indica._width = 39;
} else if ((temp2 <= -50) && (temp2 > -55)) {
trace("(temp2<=-50)&&(temp2>-55)");
this.indica._width = 37;
} else if ((temp2 <= -55) && (temp2 > -60)) {
trace("(temp2<=-55)&&(temp2>-60)");
this.indica._width = 35;
} else if ((temp2 <= -60) && (temp2 > -70)) {
trace("(temp2<=-60)&&(temp2>-70)");
this.indica._width = 34;
} else if ((temp2 <= -70) && (temp2 > -80)) {
trace("(temp2<=-70)&&(temp2>-80)");
this.indica._width = 32;
} else if ((temp2 <= -80) && (temp2 > -90)) {
trace("(temp2<=-80)&&(temp2>-90)");
this.indica._width = 31;
} else if ((temp2 <= -90) && (temp2 > -100)) {
trace("(temp2<=-90)&&(temp2>-100)");
this.indica._width = 31;
} else if ((temp2 <= -100) && (temp2 > -110)) {
trace("(temp2<=-100)&&(temp2>-110)");
this.indica._width = 31;
} else if ((temp2 <= -110) && (temp2 > -120)) {
trace("(temp2<=-110)&&(temp2>-120)");
this.indica._width = 31;
} else if ((temp2 <= -120) && (temp2 > -125)) {
trace("(temp2<=-120)&&(temp2>-125)");
this.indica._width = 33;
} else if ((temp2 <= -125) && (temp2 > -130)) {
trace("(temp2<=-125)&&(temp2>-130)");
this.indica._width = 34;
} else if ((temp2 <= -130) && (temp2 > -140)) {
trace("(temp2<=-130)&&(temp2>-140)");
this.indica._width = 36;
} else if ((temp2 <= -135) && (temp2 > -140)) {
trace(" (temp2<=-135)&&(temp2>-140)");
this.indica._width = 38;
} else if ((temp2 <= -140) && (temp2 > -150)) {
trace("(temp2<=-140)&&(temp2>-150)");
this.indica._width = 40;
} else if (temp2 <= -150) {
trace("temp2<=-150)");
this.indica._width = 40;
} else {
this.indica._width = 40;
}
m_x2 = _root._xmouse;
m_y2 = _root._ymouse;
dis_x2 = this._x - m_x2;
dis_y2 = this._y - m_y2;
dis2 = Math.sqrt((dis_x2 * dis_x2) + (dis_y2 * dis_y2));
sin_alfa2 = dis_y2 / dis2;
alfa2 = 57.2957795130823 * Math.asin(sin_alfa2);
if (sin_alfa2 < 0) {
sin_alfa2 = sin_alfa2 + (sin_alfa2 * -2);
}
alfa2 = 57.2957795130823 * Math.asin(sin_alfa2);
if ((dis_x2 >= 0) and (dis_y2 < 20)) {
alfa2 = alfa2;
}
if ((dis_x2 < 0) and (dis_y2 < 0)) {
alfa2 = (90 - alfa2) + 90;
}
if ((dis_x2 < 0) and (dis_y2 >= 0)) {
alfa2 = alfa2 + 180;
}
if ((dis_x2 >= 0) and (dis_y2 >= 0)) {
alfa2 = (90 - alfa2) + 270;
}
temp2 = 180 - alfa2;
if ((temp2 >= -143) && (temp2 <= 23)) {
dentro = true;
} else {
dentro = false;
}
}
}
function ciclo() {
if (_parent.fin_p == false) {
if ((temp < 100) && (temp > 90)) {
trace("(temp<100)&&(temp>90)");
this.indica._width = 49;
} else if ((temp <= 90) && (temp > 80)) {
trace("(temp<=90)&&(temp>80)");
this.indica._width = 49;
} else if ((temp <= 80) && (temp > 70)) {
trace("(temp<=80)&&(temp>70)");
this.indica._width = 49;
} else if ((temp <= 70) && (temp > 60)) {
trace("(temp<=70)&&(temp>60)");
this.indica._width = 49;
} else if ((temp <= 60) && (temp > 50)) {
trace("(temp<=60)&&(temp>50)");
this.indica._width = 49;
} else if ((temp <= 50) && (temp > 40)) {
trace("(temp<=50)&&(temp>40)");
this.indica._width = 49;
} else if ((temp <= 40) && (temp > 30)) {
trace("(temp<=40)&&(temp>30)");
this.indica._width = 49;
} else if ((temp <= 30) && (temp > 20)) {
trace("(temp<=30)&&(temp>20)");
this.indica._width = 49;
} else if ((temp <= 20) && (temp > 10)) {
trace("(temp<=20)&&(temp>10)");
this.indica._width = 53;
} else if ((temp <= 10) && (temp > 0)) {
trace("(temp<=10)&&(temp>0)");
this.indica._width = 55;
} else if ((temp <= 0) && (temp > -10)) {
trace(" (temp<=0)&&(temp>-10)");
this.indica._width = 57;
} else if ((temp <= -10) && (temp > -20)) {
trace("(temp<=-10)&&(temp>-20)");
this.indica._width = 52;
} else if ((temp <= -20) && (temp > -30)) {
trace("(temp<=-20)&&(temp>-30)");
this.indica._width = 48;
} else if ((temp <= -30) && (temp > -35)) {
trace("(temp<=-30)&&(temp>-35)");
this.indica._width = 44;
} else if ((temp <= -35) && (temp > -40)) {
trace("(temp<=-35)&&(temp>-40)");
this.indica._width = 42;
} else if ((temp <= -40) && (temp > -45)) {
trace("(temp<=-40)&&(temp>-45)");
this.indica._width = 40;
} else if ((temp <= -44) && (temp > -50)) {
trace("(temp<=-44)&&(temp>-50)");
this.indica._width = 39;
} else if ((temp <= -50) && (temp > -55)) {
trace("(temp<=-50)&&(temp>-55)");
this.indica._width = 37;
} else if ((temp <= -55) && (temp > -60)) {
trace("(temp<=-55)&&(temp>-60)");
this.indica._width = 35;
} else if ((temp <= -60) && (temp > -70)) {
trace("(temp<=-60)&&(temp>-70)");
this.indica._width = 34;
} else if ((temp <= -70) && (temp > -80)) {
trace("(temp<=-70)&&(temp>-80)");
this.indica._width = 32;
} else if ((temp <= -80) && (temp > -90)) {
trace("(temp<=-80)&&(temp>-90)");
this.indica._width = 31;
} else if ((temp <= -90) && (temp > -100)) {
trace("(temp<=-90)&&(temp>-100)");
this.indica._width = 31;
} else if ((temp <= -100) && (temp > -110)) {
trace("(temp<=-100)&&(temp>-110)");
this.indica._width = 31;
} else if ((temp <= -110) && (temp > -120)) {
trace("(temp<=-110)&&(temp>-120)");
this.indica._width = 31;
} else if ((temp <= -120) && (temp > -125)) {
trace(" (temp<=-120)&&(temp>-125)");
this.indica._width = 33;
} else if ((temp <= -125) && (temp > -130)) {
trace("(temp<=-125)&&(temp>-130)");
this.indica._width = 34;
} else if ((temp <= -130) && (temp > -135)) {
trace("(temp<=-130)&&(temp>-135)");
this.indica._width = 36;
} else if ((temp <= -135) && (temp > -140)) {
trace(" (temp<=-135)&&(temp>-140)");
this.indica._width = 38;
} else if ((temp <= -140) && (temp > -150)) {
trace("(temp<=-140)&&(temp>-150)");
this.indica._width = 40;
} else if (temp <= -150) {
trace("temp<=-150)");
this.indica._width = 40;
} else {
this.indica._width = 40;
}
m_x = _root._xmouse;
m_y = _root._ymouse;
dis_x = this._x - m_x;
dis_y = this._y - m_y;
dis = Math.sqrt((dis_x * dis_x) + (dis_y * dis_y));
trace(">> mx " + m_x);
trace(">> my " + m_y);
trace(">> dis: " + dis);
trace(">> dis_x:" + dis_x);
trace(">> dis_y:" + dis_y);
sin_alfa = dis_y / dis;
alfa = 57.2957795130823 * Math.asin(sin_alfa);
if (sin_alfa < 0) {
sin_alfa = sin_alfa + (sin_alfa * -2);
}
alfa = 57.2957795130823 * Math.asin(sin_alfa);
if ((dis_x >= 0) and (dis_y < 0)) {
alfa = alfa;
}
if ((dis_x < 0) and (dis_y < 0)) {
alfa = (90 - alfa) + 90;
}
if ((dis_x < 0) and (dis_y >= 0)) {
alfa = alfa + 180;
}
if ((dis_x >= 0) and (dis_y >= 0)) {
alfa = (90 - alfa) + 270;
}
temp = 180 - alfa;
if ((temp >= -143) && (temp <= 23)) {
dentro = true;
this._rotation = 180 - alfa;
} else {
dentro = false;
}
trace(">>>> " + temp);
if (dentro == true) {
x3d = (((m_x / _2sinY) + (m_y / _2sinXsinY)) + A) - desp_x;
if (x3d > 800) {
x3d = 800;
}
if (x3d < 0) {
x3d = 0;
}
if (x3d >= _root.control.x) {
Fx = 1;
} else {
Fx = -1;
}
z3d = (((m_x / sinY) - x3d) - desp_x) - desp_z;
if (z3d > 0) {
z3d = 0;
}
if (z3d < -800) {
x3d = -800;
}
if (z3d >= _root.control.z) {
Fz = 1;
} else {
Fz = -1;
}
dis_x3d = _root.control.x - (x3d + 10);
dis_z3d = _root.control.z - z3d;
dis3d = Math.sqrt((dis_x3d * dis_x3d) + (dis_z3d * dis_z3d));
sin_alfa_3d = dis_z3d / dis3d;
alfa3d = 57.2957795130823 * Math.asin(sin_alfa_3d);
this.ang = alfa3d;
if (((x3d >= _root.control.x) && (ang >= -73)) && (ang <= -1)) {
_parent.jugador.gotoAndPlay("off_derecha");
} else if (((x3d < _root.control.x) && (ang >= -55)) && (ang <= -1)) {
_parent.jugador.gotoAndPlay("off_izquierda");
} else if ((ang < -40) && (ang >= -85)) {
_parent.jugador.gotoAndPlay("off");
}
}
}
}
var desp_x = 210;
var desp_z = 65;
var desp_y = 10;
var temp;
var Fx = 1;
var Fz = 1;
var ang = 0;
var x3d;
var y3d;
var m_x = _root._xmouse;
var m_y = _root._ymouse;
var dentro = false;
var activo_angulo;
var activo_fuerza;
var activo_efecto;
var activo_fx;
var sinY = ((cosY = 0.707106781186547));
var cosX = 0.866025403784439;
var sinX = 0.5;
var _2sinY = (2 * sinY);
var _2sinXsinY = ((2 * sinX) * sinY);
var A = ((desp_y * cosX) / _2sinXsinY);
this.init();
}
onClipEvent (enterFrame) {
_x = _parent.ball._x;
_y = _parent.ball._y;
_parent.indica._x = _x;
_parent.indica._y = _y;
_parent.indica._visible = _visible;
if (((this.activo_angulo == false) && (this.activo_angulo == false)) && (this.activo_angulo == false)) {
if (this.dentro == true) {
this.ciclo();
} else if (this.dentro == false) {
this.ciclo2();
}
}
}
Instance of Symbol 1066 MovieClip "o17" in Frame 8
onClipEvent (load) {
var n_celda = 139;
var ob = "ob16";
var altura = -65;
var activo = false;
}
Instance of Symbol 1068 MovieClip "o16" in Frame 8
onClipEvent (load) {
var n_celda = 136;
var ob = "ob16";
var altura = -65;
var activo = false;
}
Instance of Symbol 1070 MovieClip "o23" in Frame 8
onClipEvent (load) {
function estado(e) {
this.gotoAndPlay(e);
_parent.ob8.estado(e);
}
var n_celda = 155;
var ob = "ob20";
var altura = -40;
var activo = false;
}
Instance of Symbol 862 MovieClip "o30" in Frame 8
onClipEvent (load) {
var n_celda = 176;
var ob = "null";
var altura = -25;
}
Instance of Symbol 1074 MovieClip "control" in Frame 8
onClipEvent (load) {
function placeObject(x, y, z, name) {
var desp_x = 210;
var desp_z = 65;
var desp_y = 10;
var d = _parent;
_parent[name]._x = ((z + desp_z) * sinY) + ((x + desp_x) * cosY);
_parent[name]._y = ((y - desp_y) * cosX) - ((((z + desp_z) * cosY) - ((x + desp_x) * sinY)) * sinX);
}
var FeX = 0;
var FeZ = 0;
var i = 0;
var effect = 0;
var cuenta_bug_1 = 0;
var parabola = false;
var shoot = false;
var sw_activo = false;
var last_sw = -1;
var superFila = -1;
var superShadow = true;
var sqSize = 40;
var xRow = 20;
var yPanel = -400;
var y_object = 0;
var yAng = 45;
var xAng = 30;
var sinY = ((cosY = 0.707106781186547));
trace("cosY: " + cosY);
var cosX = 0.866025403784439;
trace("cosX: " + cosX);
var sinX = 0.5;
trace("sinX: " + sinX);
var friction = 0.0166;
var decay = 0.92;
var gravity = 0.99;
var menos_f_rebote = -0.57;
var mas_f_rebote = 0.57;
var xVel = 0;
var xVel2 = 0;
var yVel = 0;
var yVel2 = 0;
var zVel = 0;
var zVel2 = 0;
var x = _parent.posXball[_parent.goles];
var z = _parent.posZball[_parent.goles];
var y = _parent.posYball[_parent.goles];
placeObject(x, y, z, "ball");
placeObject(x, y, z, "ballgraf");
placeObject(x, 0, z, "sombra");
placeObject(x, 0, z, "jugador");
placeObject(x, y, z, "label_puntos");
}
onClipEvent (enterFrame) {
if (shoot == true) {
cuenta_bug_1 = cuenta_bug_1 + 1;
if (cuenta_bug_1 > 125) {
_parent.ballgraf._visible = false;
_parent.sombra._visible = false;
_parent.ball._visible = false;
_parent.sombra1._visible = false;
xVel = 0;
yVel = 0;
zVel = 0;
}
}
sqX = Math.ceil((x - 0.5) / sqSize) - 1;
sqZ = Math.floor((-z) / sqSize);
sqNum = sqX + (xRow * sqZ);
trace((((("x: " + sqX) + " z: ") + sqZ) + " Num: ") + sqNum);
yVel = yVel * decay;
var iaux = 0;
if ((sqNum >= 0) && (sqNum <= 19)) {
superFila = -1;
superShadow = true;
if (sqNum == 5) {
superFila = 0;
superShadow = false;
}
} else if ((sqNum >= 20) && (sqNum <= 39)) {
superShadow = true;
if (((sqNum == 20) || (sqNum == 31)) || (sqNum == 32)) {
superShadow = false;
}
superFila = 1;
} else if ((sqNum >= 40) && (sqNum <= 59)) {
superShadow = true;
superFila = -1;
if (sqNum == 51) {
superShadow = false;
}
if (((sqNum == 53) || (sqNum == 52)) || (sqNum == 54)) {
superShadow = false;
superFila = 1;
}
if (((sqNum == 41) || (sqNum == 42)) || (sqNum == 43)) {
superShadow = false;
superFila = 0;
}
} else if ((sqNum >= 60) && (sqNum <= 79)) {
superShadow = true;
superFila = 3;
if (((sqNum == 61) || (sqNum == 62)) || (sqNum == 63)) {
superShadow = false;
superFila = 0;
}
} else if ((sqNum >= 80) && (sqNum <= 99)) {
superShadow = true;
if ((((sqNum == 84) || (sqNum == 83)) || (sqNum == 94)) || (sqNum == 95)) {
superShadow = false;
}
superFila = 4;
if (((sqNum == 81) || (sqNum == 82)) || (sqNum == 83)) {
superShadow = false;
superFila = 0;
}
} else if ((sqNum >= 100) && (sqNum <= 119)) {
superShadow = true;
if (((sqNum == 103) || (sqNum == 115)) || (sqNum == 114)) {
superShadow = false;
}
superFila = 5;
if ((sqNum == 104) || (sqNum == 105)) {
superShadow = true;
superFila = -1;
}
if (((sqNum == 101) || (sqNum == 102)) || (sqNum == 103)) {
superShadow = false;
superFila = 0;
}
} else if ((sqNum >= 120) && (sqNum <= 139)) {
superShadow = true;
if ((((sqNum == 124) || (sqNum == 123)) || (sqNum == 134)) || (sqNum == 135)) {
superShadow = false;
}
superFila = 6;
if (((sqNum == 121) || (sqNum == 122)) || (sqNum == 123)) {
superShadow = false;
superFila = 0;
}
} else if ((sqNum >= 140) && (sqNum <= 159)) {
superShadow = true;
superFila = 7;
if ((sqNum == 143) || (sqNum == 154)) {
superShadow = false;
}
if ((sqNum == 145) || (sqNum == 144)) {
superFila = -1;
}
if (((sqNum == 141) || (sqNum == 142)) || (sqNum == 143)) {
superShadow = false;
superFila = 0;
}
} else if ((sqNum >= 160) && (sqNum <= 179)) {
superShadow = true;
if (sqNum == 163) {
superShadow = false;
}
superFila = 8;
} else if ((sqNum >= 180) && (sqNum <= 199)) {
superShadow = true;
superFila = 9;
if ((sqNum == 183) || (sqNum == 184)) {
superShadow = false;
}
if ((sqNum == 185) || (sqNum == 184)) {
superFila = -1;
}
} else if ((sqNum >= 200) && (sqNum <= 219)) {
superShadow = true;
if (((sqNum == 203) || (sqNum == 205)) || (sqNum == 206)) {
superShadow = false;
}
superFila = 10;
} else if ((sqNum >= 220) && (sqNum <= 239)) {
superShadow = true;
if ((sqNum == 224) || (sqNum == 225)) {
superShadow = false;
}
superFila = 11;
} else if ((sqNum >= 240) && (sqNum <= 259)) {
superShadow = true;
if ((sqNum == 244) || (sqNum == 245)) {
superShadow = false;
}
superFila = 12;
} else if ((sqNum >= 260) && (sqNum <= 279)) {
superShadow = true;
superFila = 13;
} else if ((sqNum >= 280) && (sqNum <= 299)) {
superShadow = true;
if ((sqNum == 287) || (sqNum == 288)) {
superShadow = false;
}
superFila = 14;
} else if ((sqNum >= 300) && (sqNum <= 319)) {
superFila = 15;
superShadow = true;
} else if ((sqNum >= 320) && (sqNum <= 339)) {
superFila = 16;
superShadow = true;
} else if ((sqNum >= 340) && (sqNum <= 359)) {
superFila = 17;
superShadow = true;
} else if ((sqNum >= 360) && (sqNum <= 379)) {
superFila = 18;
superShadow = true;
} else if ((sqNum >= 380) && (sqNum <= 399)) {
superFila = 19;
superShadow = true;
}
if (sw_activo == false) {
_parent.ballgraf.swapDepths(eval ("_parent.sw" + superFila));
last_sw = superFila;
sw_activo = true;
} else if (superFila != last_sw) {
_parent.ballgraf.swapDepths(eval ("_parent.sw" + last_sw));
last_sw = -1;
sw_activo = false;
}
_parent.sombra1._visible = superShadow;
_parent.sombra._visible = superShadow;
iaux = 0;
while (iaux < _parent.num_objetos) {
if (_parent.objetos[iaux].hitTest(_parent.ball._x, _parent.ball._y, true) == true) {
if (((((sqNum == _parent.objetos[iaux].n_celda) || (sqNum == (_parent.objetos[iaux].n_celda - 1))) || (sqNum == (_parent.objetos[iaux].n_celda - 1))) || (sqNum == (_parent.objetos[iaux].n_celda + xRow))) || (sqNum == (_parent.objetos[iaux].n_celda - xRow))) {
if (_parent.objetos[iaux] == _parent.o4) {
if (_parent.o4.activo == false) {
_parent.ob2.gotoAndPlay("on");
_parent.o4.activo = true;
} else {
_parent.ob2.gotoAndPlay("on2");
}
}
if (_parent.objetos[iaux] == _parent.o18) {
if (_parent.o18.activo == false) {
_parent.ob15.gotoAndPlay("on");
_parent.o18.activo = true;
} else {
_parent.ob15.gotoAndPlay("on2");
}
}
if (_parent.objetos[iaux] == _parent.o20) {
if (_parent.o20.activo == false) {
_parent.ob17.gotoAndPlay("on");
_parent.o20.activo = true;
}
}
if (_parent.objetos[iaux] == _parent.o10) {
_parent.ob8.gotoAndPlay("on");
}
if ((_parent.objetos[iaux] == _parent.o19) && (_parent.o19.activo == false)) {
_parent.ob16.gotoAndPlay("on");
_parent.o19.activo = true;
}
if ((_parent.objetos[iaux] == _parent.o5) && (_parent.o5.activo == false)) {
_parent.ob3.gotoAndPlay("on");
_parent.o5.activo = true;
}
if ((_parent.objetos[iaux] == _parent.o25) && (_parent.o25.activo == false)) {
_parent.ob22.gotoAndPlay("on");
_parent.o25.activo = true;
}
if ((_parent.objetos[iaux] == _parent.o7) && (_parent.o7.activo == false)) {
_parent.ob5.gotoAndPlay("on");
_parent.o7.activo = true;
}
if ((((_parent.objetos[iaux] == _parent.o8) && (_parent.o8.activo == false)) && (y < -30)) && (sqNum == 24)) {
_parent.ob6.gotoAndPlay("on");
_parent.o8.activo = true;
}
if ((((_parent.objetos[iaux] == _parent.o23) && (_parent.o23.activo == false)) && (y < -30)) && (sqNum == 155)) {
_parent.ob20.gotoAndPlay("on");
_parent.o23.activo = true;
}
if ((((_parent.objetos[iaux] == _parent.o21) && (_parent.o21.activo == false)) && (y < -30)) && (sqNum == 72)) {
_parent.ob18.gotoAndPlay("on");
_parent.o21.activo = true;
}
if ((((_parent.objetos[iaux] == _parent.o24) && (_parent.o24.activo == false)) && (y < -30)) && (sqNum == 227)) {
_parent.ob21.gotoAndPlay("on");
_parent.o24.activo = true;
}
if (_parent.objetos[iaux] == _parent.o9) {
_parent.ob7.gotoAndPlay("on");
}
}
if (_parent.objetos[iaux] == _parent.o27) {
_parent.o27.papelitos.gotoAndPlay("on");
trace("PUTOOOOOOOOOOOOOOOOOOOOOOOOOON");
}
if ((((_parent.objetos[iaux] == _parent.o14) && (_parent.o14.activo == false)) && (y > -100)) && (y < -60)) {
_parent.cristal1_p5.gotoAndPlay("on");
_parent.o14.activo = true;
trace("CRISTAL!!!!!!!!!! o14");
}
if ((((_parent.objetos[iaux] == _parent.o15) && (_parent.o15.activo == false)) && (y > -100)) && (y < -60)) {
_parent.cristal2_p5.gotoAndPlay("on");
_parent.o15.activo = true;
trace("CRISTAL!!!!!!!!!! o15");
}
if ((((_parent.objetos[iaux] == _parent.o16) && (_parent.o16.activo == false)) && (y > -100)) && (y < -60)) {
_parent.cristal1_p2.gotoAndPlay("on");
_parent.o16.activo = true;
trace("CRISTAL!!!!!!!!!! o16");
}
if ((((_parent.objetos[iaux] == _parent.o17) && (_parent.o17.activo == false)) && (y > -100)) && (y < -60)) {
_parent.cristal2_p2.gotoAndPlay("on");
_parent.o17.activo = true;
trace("CRISTAL!!!!!!!!!! o17");
}
if (xVel > 0) {
if ((sqNum == _parent.objetos[iaux].n_celda) || (sqNum == (_parent.objetos[iaux].n_celda - 1))) {
xVel = xVel * menos_f_rebote;
effect = 0;
parabola = false;
}
} else if (xVel < 0) {
if ((sqNum == _parent.objetos[iaux].n_celda) || (sqNum == (_parent.objetos[iaux].n_celda + 1))) {
xVel = xVel * menos_f_rebote;
effect = 0;
parabola = false;
_parent.sombra1.setSombraColision(_parent.ball._x, _parent.ball._y, "e2");
}
}
if (zVel > 0) {
if ((sqNum == _parent.objetos[iaux].n_celda) || (sqNum == (_parent.objetos[iaux].n_celda + xRow))) {
zVel = zVel * menos_f_rebote;
effect = 0;
parabola = false;
_parent.sombra1.setSombraColision(_parent.ball._x, _parent.ball._y, "e1");
}
} else if (zVel < 0) {
if ((sqNum == _parent.objetos[iaux].n_celda) || (sqNum == (_parent.objetos[iaux].n_celda - xRow))) {
zVel = zVel * menos_f_rebote;
effect = 0;
parabola = false;
}
}
if ((((sqNum == _parent.objetos[iaux].n_celda) && ((y + yVel) >= _parent.objetos[iaux].altura)) && (y < -20)) && (yVel > 0.1)) {
y = _parent.objetos[iaux].altura;
x = x + 1.5;
z = z - 2;
yVel = -1 * yVel;
} else if (((y + yVel) >= _parent.objetos[iaux].altura) && (sqNum != _parent.objetos[iaux].n_celda)) {
y_object = 0;
}
}
iaux++;
}
if ((y + (yVel + gravity)) >= 0) {
y = 0;
yVel = yVel * menos_f_rebote;
xVel = xVel - (xVel * 0.1);
zVel = zVel - (zVel * 0.1);
} else {
yVel = yVel + gravity;
}
if ((Math.abs(yVel) < (gravity / 2)) && (Math.abs(y) < 1)) {
y = 0;
yVel = 0;
yVel = 0;
}
if (y <= yPanel) {
_parent.panel._visible = true;
if (yVel > 0) {
yVel = yVel * (-1 * (yVel + gravity));
} else if (yVel < 0) {
yVel = yVel * -1;
}
} else {
_parent.panel._visible = false;
}
if (x >= 800) {
x = 800;
_parent.bottomright._visible = true;
if (xVel > 0) {
xVel = xVel * menos_f_rebote;
effect = 0;
parabola = false;
} else if (xVel < 0) {
xVel = xVel * menos_f_rebote;
effect = 0;
parabola = false;
}
} else {
_parent.bottomright._visible = false;
}
if ((x >= 630) && (z > -287)) {
x = 630;
if (xVel > 0) {
xVel = xVel * menos_f_rebote;
effect = 0;
parabola = false;
} else if (xVel < 0) {
xVel = xVel * menos_f_rebote;
effect = 0;
parabola = false;
}
}
if (z <= -800) {
z = -800;
_parent.bottomleft._visible = true;
if (zVel > 0) {
zVel = zVel * menos_f_rebote;
effect = 0;
parabola = false;
} else if (zVel < 0) {
zVel = zVel * menos_f_rebote;
effect = 0;
parabola = false;
}
} else {
_parent.bottomleft._visible = false;
}
if (z >= -5) {
if (((_parent.megapuerta.abierto == true) && (_parent.goles == 4)) && (_parent.porteria.hitTest(_parent.ball._x, _parent.ball._y, true) == true)) {
_parent.sombra1.gotoAndPlay("off");
_parent.sonidos.gotoAndPlay("gol");
_parent.megapuerta.reaccion._visible = true;
_parent.megapuerta.reaccion.gotoAndPlay("on");
trace("gol 5");
cuenta_bug_1 = 0;
_parent.goles = 5;
_parent.interface.ActualizaGoles(_parent.goles);
_parent.interface.ActualizaPuntos(_parent.label_puntos.puntos);
_parent.initChutes();
_parent.ballgraf._visible = false;
_parent.sombra._visible = false;
_parent.label_puntos.estado("off");
x = 30000;
xVel = 0;
yVel = 0;
zVel = 0;
shoot = false;
_level0.puntos_acumulados = _parent.interface.p;
trace("puntos: " + _level0.puntos_acumulados);
_parent.FinPantalla();
} else {
_parent.sombra1.setSombraColision(_parent.ball._x, _parent.ball._y, "e1");
z = -5;
_parent.topright._visible = true;
if (zVel > 0) {
zVel = zVel * menos_f_rebote;
effect = 0;
} else if (zVel < 0) {
zVel = zVel * menos_f_rebote;
effect = 0;
}
}
} else {
_parent.topright._visible = false;
}
if (x <= 5) {
_parent.sombra1.setSombraColision(_parent.ball._x, _parent.ball._y, "e2 ");
x = 5;
_parent.topleft._visible = true;
if (xVel > 0) {
xVel = xVel * menos_f_rebote;
effect = 0;
} else if (xVel < 0) {
xVel = xVel * menos_f_rebote;
effect = 0;
}
} else {
_parent.topleft._visible = false;
}
if ((_parent.goles < 4) && (_parent.porteria.hitTest(_parent.ball._x, _parent.ball._y, true) == true)) {
if (_parent.goles == 0) {
_parent.sombra1.gotoAndPlay("off");
_parent.sonidos.gotoAndPlay("gol");
_parent.anima_gol_1.gotoAndPlay("on");
trace("gol 1");
cuenta_bug_1 = 0;
_parent.goles = _parent.goles + 1;
_parent.interface.ActualizaGoles(_parent.goles);
_parent.interface.ActualizaPuntos(_parent.label_puntos.puntos);
_parent.initChutes();
_parent.ballgraf._visible = false;
_parent.sombra._visible = false;
x = -1000;
xVel = 0;
yVel = 0;
zVel = 0;
_parent.porteria.estado(_parent.goles);
_parent.indica_goles.estado(_parent.goles);
} else if (_parent.goles == 1) {
_parent.sombra1.gotoAndPlay("off");
_parent.sonidos.gotoAndPlay("gol");
_parent.anima_gol_2.gotoAndPlay("on");
trace("gol 2");
cuenta_bug_1 = 0;
_parent.goles = _parent.goles + 1;
_parent.interface.ActualizaGoles(_parent.goles);
_parent.interface.ActualizaPuntos(_parent.label_puntos.puntos);
_parent.initChutes();
_parent.ballgraf._visible = false;
_parent.sombra._visible = false;
x = -1000;
xVel = 0;
yVel = 0;
zVel = 0;
_parent.porteria.estado(_parent.goles);
_parent.indica_goles.estado(_parent.goles);
} else if (_parent.goles == 2) {
_parent.sombra1.gotoAndPlay("off");
_parent.sonidos.gotoAndPlay("gol");
_parent.anima_gol_3.gotoAndPlay("on");
trace("gol 3");
cuenta_bug_1 = 0;
_parent.goles = _parent.goles + 1;
_parent.interface.ActualizaGoles(_parent.goles);
_parent.interface.ActualizaPuntos(_parent.label_puntos.puntos);
_parent.initChutes();
_parent.ballgraf._visible = false;
_parent.sombra._visible = false;
x = -1000;
xVel = 0;
yVel = 0;
zVel = 0;
_parent.porteria.estado(_parent.goles);
_parent.indica_goles.estado(_parent.goles);
} else if (_parent.goles == 3) {
_parent.sombra1.gotoAndPlay("off");
_parent.sonidos.gotoAndPlay("gol");
_parent.anima_gol_4.gotoAndPlay("on");
trace("gol 4");
cuenta_bug_1 = 0;
_parent.goles = _parent.goles + 1;
_parent.interface.ActualizaGoles(_parent.goles);
_parent.interface.ActualizaPuntos(_parent.label_puntos.puntos);
_parent.initChutes();
_parent.ballgraf._visible = false;
_parent.sombra._visible = false;
x = -1000;
xVel = 0;
yVel = 0;
zVel = 0;
_parent.porteria.estado(_parent.goles);
_parent.indica_goles.estado(_parent.goles);
}
trace("GOL");
}
if (xVel > 0.1) {
xVel = xVel - friction;
} else if (xVel < -0.1) {
xVel = xVel + friction;
} else {
xVel = 0;
this.FeX = 0;
this.FeZ = 0;
}
if (zVel > 0.1) {
zVel = zVel - friction;
} else if (zVel < -0.1) {
zVel = zVel + friction;
} else {
zVel = 0;
this.FeX = 0;
this.FeZ = 0;
this.effect = 0;
}
x = x + xVel;
y = y + yVel;
z = z + zVel;
_parent.ballgraf._visible = _parent.ball._visible;
setProperty("sombra", _visible , _parent.ballgraf._visible);
placeObject(x, y, z, "ball");
placeObject(x, y, z, "ballgraf");
placeObject(x, 0 + y_object, z, "sombra");
_parent.sombra._alpha = 60 - (Math.abs(y) * 0.4);
if ((effect != 0) && (parabola == false)) {
if (_parent.angulo.Fz == 1) {
if (effect > 0) {
xVel = xVel + effect;
} else if (effect < 0) {
xVel = xVel + effect;
}
} else if (_parent.angulo.Fz == -1) {
if (effect > 0) {
xVel = xVel + effect;
} else if (effect < 0) {
xVel = xVel + effect;
}
}
}
if ((((xVel == 0) && (yVel == 0)) && (zVel == 0)) && (shoot == true)) {
parabola = false;
cuenta_bug_1 = 0;
x = _parent.posXball[_parent.goles];
z = _parent.posZball[_parent.goles];
y = _parent.posYball[_parent.goles];
var restador = 0;
if (_level0.partidas == 0) {
restador = 3;
} else if (_level0.partidas == 1) {
restador = 4;
} else if (_level0.partidas == 2) {
restador = 5;
} else if (_level0.partidas == 3) {
restador = 6;
} else if (_level0.partidas == 4) {
restador = 7;
}
_parent.label_puntos.setPuntos(_parent.puntosPos[_parent.goles] - (restador * _parent.interface.c));
placeObject(x, y, z, "label_puntos");
_parent.label_puntos.estado("on");
_parent.ballgraf.estado("off");
_parent.ballgraf._visible = true;
_parent.sombra._visible = true;
_parent.angulo.init();
_parent.interface.potencia.gotoAndStop(1);
_parent.interface.efecto.gotoAndStop(1);
_parent.interface.fx.gotoAndStop(1);
this.shoot = false;
_parent.ballgraf._visible = true;
_parent.sombra._visible = true;
_parent.ball._visible = true;
_parent.sombra1._visible = false;
_parent.jugador.gotoAndPlay(1);
placeObject(x, 0, z, "jugador");
}
}
Instance of Symbol 1111 MovieClip "i" in Frame 8
onClipEvent (load) {
function ActualizaGoles(a) {
this.g = a;
}
function ActualizaPuntos(b) {
this.p = this.p + b;
}
function ActualizaChutes(x) {
this.c = x;
}
var g = 0;
var p = 0;
var c = 0;
this.ActualizaPuntos(_level0.puntos_acumulados);
}
Frame 11
gotoAndPlay (8);
Symbol 14 MovieClip Frame 1
stop();
Instance of Symbol 10 MovieClip "barrita" in Symbol 14 MovieClip Frame 1
onClipEvent (load) {
trace("" + _x);
}
Symbol 14 MovieClip Frame 2
stop();
Instance of Symbol 10 MovieClip "barrita" in Symbol 14 MovieClip Frame 2
onClipEvent (load) {
trace("" + _x);
}
Symbol 23 Button
on (release) {
if (_parent.en_espera == true) {
_parent.gotoAndPlay("entra");
}
}
Symbol 43 Button
on (release) {
if (_parent.en_espera == true) {
_parent.gotoAndPlay("entra");
} else {
this.gotoAndPlay("chuta");
}
}
Symbol 49 Button
on (release) {
if (_parent.en_espera == true) {
_parent.gotoAndPlay("entra");
} else {
this.gotoAndPlay("chuta");
}
}
Symbol 50 MovieClip Frame 1
this.arriba_pierna = false;
Symbol 50 MovieClip Frame 19
this.arriba_pierna = false;
stop();
Symbol 50 MovieClip Frame 20
this.arriba_pierna = false;
Symbol 50 MovieClip Frame 23
this.arriba_pierna = true;
Symbol 50 MovieClip Frame 26
this.arriba_pierna = false;
Symbol 50 MovieClip Frame 30
this.arriba_pierna = false;
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 52 MovieClip Frame 4
gotoAndPlay (3);
Symbol 57 Button
on (release) {
_parent._parent.gotoAndPlay("listo");
}
Symbol 58 MovieClip Frame 4
stop();
Symbol 58 MovieClip Frame 8
stop();
Symbol 59 MovieClip Frame 1
this.jugador.gotoAndPlay("entrada");
this.puede_darle = false;
this.en_espera = false;
Instance of Symbol 50 MovieClip "jugador" in Symbol 59 MovieClip Frame 1
onClipEvent (load) {
var arriba_pierna = false;
}
Instance of Symbol 52 MovieClip "ballgraf" in Symbol 59 MovieClip Frame 1
onClipEvent (load) {
function estado(e) {
if (e == "pause") {
this.stop();
} else {
this.gotoAndPlay(e);
}
}
}
Symbol 59 MovieClip Frame 2
var n_toques = 0;
Symbol 59 MovieClip Frame 26
this.puede_darle = true;
Symbol 59 MovieClip Frame 31
if ((this.puede_darle == true) && (this.jugador.arriba_pierna == true)) {
this.n_toques = this.n_toques + 1;
this.play();
} else {
this.n_toques = 0;
this.gotoAndPlay("out");
}
Symbol 59 MovieClip Frame 32
this.puede_darle = false;
Symbol 59 MovieClip Frame 48
this.puede_darle = true;
Symbol 59 MovieClip Frame 53
if ((this.puede_darle == true) && (this.jugador.arriba_pierna == true)) {
gotoAndPlay (32);
this.n_toques = this.n_toques + 1;
} else {
this.gotoAndPlay("out");
}
Symbol 59 MovieClip Frame 66
this.jugador.gotoAndStop("entrada");
Symbol 59 MovieClip Frame 94
this.en_espera = true;
stop();
Instance of Symbol 52 MovieClip "ballgraf" in Symbol 59 MovieClip Frame 94
onClipEvent (load) {
function estado(e) {
if (e == "pause") {
this.stop();
} else {
this.gotoAndPlay(e);
}
}
}
Symbol 61 Button
on (release) {
_level0.carga_seleccion();
}
Symbol 62 Button
on (release) {
_level0.estado_ranking = "consulta";
_level0.juego_actual = 2;
_level0.carga_ranking();
}
Symbol 63 Button
on (release) {
_level0.carga_instrucciones();
}
Symbol 64 Button
on (release) {
_level0.estadistica_mahou();
getURL ("http://www.mahou.es", "_blank");
}
Symbol 95 MovieClip Frame 1
this.activo = false;
Symbol 95 MovieClip Frame 7
stop();
Symbol 95 MovieClip Frame 8
this.activo = true;
Symbol 95 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 95 MovieClip "sonidito" in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 164 MovieClip Frame 6
stop();
Symbol 164 MovieClip Frame 7
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 164 MovieClip Frame 76
stop();
Symbol 192 MovieClip Frame 27
stop();
Symbol 193 MovieClip Frame 9
stop();
Symbol 193 MovieClip Frame 36
gotoAndPlay (1);
Symbol 194 MovieClip Frame 1
abierto = true;
Instance of Symbol 164 MovieClip "reaccion" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 194 MovieClip Frame 14
stop();
Symbol 194 MovieClip Frame 15
abierto = true;
Symbol 194 MovieClip Frame 22
putojefe.gotoAndPlay("on");
Symbol 194 MovieClip Frame 35
abierto = false;
Symbol 194 MovieClip Frame 77
abierto = true;
Symbol 194 MovieClip Frame 85
gotoAndPlay (1);
Symbol 201 MovieClip Frame 5
stop();
Symbol 208 MovieClip Frame 1
this.activo = false;
Symbol 208 MovieClip Frame 7
stop();
Symbol 208 MovieClip Frame 8
this.activo = true;
Symbol 208 MovieClip Frame 33
gotoAndPlay (1);
Instance of Symbol 208 MovieClip "sonidito" in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 209 MovieClip Frame 5
stop();
Symbol 209 MovieClip Frame 6
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 209 MovieClip Frame 24
stop();
Symbol 214 MovieClip Frame 6
stop();
Symbol 214 MovieClip Frame 10
_parent.posters.gotoAndPlay("on");
Symbol 214 MovieClip Frame 61
stop();
Symbol 282 MovieClip Frame 3
stop();
Symbol 282 MovieClip Frame 535
_parent._parent.ob25.gotoAndPlay("on");
Symbol 298 MovieClip Frame 4
stop();
Symbol 302 MovieClip Frame 1
this.activo = false;
Symbol 302 MovieClip Frame 7
stop();
Symbol 302 MovieClip Frame 8
this.activo = true;
Symbol 302 MovieClip Frame 131
gotoAndPlay (1);
Instance of Symbol 302 MovieClip "sonidito" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 344 MovieClip Frame 8
stop();
Symbol 344 MovieClip Frame 9
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 344 MovieClip Frame 132
stop();
Symbol 354 MovieClip Frame 1
this.activo = false;
Symbol 354 MovieClip Frame 7
stop();
Symbol 354 MovieClip Frame 8
this.activo = true;
Symbol 354 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 354 MovieClip "sonidito" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 371 MovieClip Frame 4
stop();
Symbol 371 MovieClip Frame 5
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 371 MovieClip Frame 26
stop();
Symbol 371 MovieClip Frame 27
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 371 MovieClip Frame 48
stop();
Symbol 376 MovieClip Frame 1
this.activo = false;
Symbol 376 MovieClip Frame 7
stop();
Symbol 376 MovieClip Frame 8
this.activo = true;
Symbol 376 MovieClip Frame 39
gotoAndPlay (1);
Instance of Symbol 376 MovieClip "sonidito" in Symbol 408 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 408 MovieClip Frame 5
stop();
Symbol 408 MovieClip Frame 6
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 408 MovieClip Frame 18
_parent["papeles" + this.papeles].gotoAndPlay("on");
Symbol 416 MovieClip Frame 1
this.activo = false;
Symbol 416 MovieClip Frame 7
stop();
Symbol 416 MovieClip Frame 8
this.activo = true;
Symbol 416 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 416 MovieClip "sonidito" in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 421 MovieClip Frame 4
stop();
Symbol 421 MovieClip Frame 5
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 421 MovieClip Frame 54
stop();
Symbol 425 MovieClip Frame 4
stop();
Symbol 478 MovieClip Frame 4
stop();
Symbol 478 MovieClip Frame 72
_parent._parent.ob26._visible = true;
_parent._parent.ob26.play();
_parent._parent.o27.play();
Symbol 570 MovieClip Frame 3
_parent.o27.gotoAndPlay("off");
stop();
Symbol 570 MovieClip Frame 4
_parent.o27.gotoAndPlay("on");
n_celda = 60;
tirame = true;
Symbol 570 MovieClip Frame 22
n_celda = 61;
Symbol 570 MovieClip Frame 45
n_celda = 62;
Symbol 570 MovieClip Frame 60
n_celda = 63;
Symbol 570 MovieClip Frame 85
n_celda = 64;
Symbol 570 MovieClip Frame 103
n_celda = 65;
Symbol 570 MovieClip Frame 120
n_celda = 66;
Symbol 570 MovieClip Frame 140
n_celda = 67;
Symbol 570 MovieClip Frame 163
n_celda = 68;
Symbol 570 MovieClip Frame 180
n_celda = 69;
Symbol 570 MovieClip Frame 195
tirame = false;
Symbol 570 MovieClip Frame 264
n_celda = 68;
Symbol 570 MovieClip Frame 290
n_celda = 67;
Symbol 570 MovieClip Frame 312
n_celda = 66;
Symbol 570 MovieClip Frame 339
n_celda = 65;
Symbol 570 MovieClip Frame 355
n_celda = 64;
Symbol 570 MovieClip Frame 372
n_celda = 63;
Symbol 570 MovieClip Frame 393
n_celda = 62;
Symbol 570 MovieClip Frame 418
n_celda = 61;
Symbol 570 MovieClip Frame 439
n_celda = 60;
Symbol 570 MovieClip Frame 608
_parent.ob24.jugador.gotoAndPlay("on");
Symbol 575 MovieClip Frame 3
stop();
Symbol 575 MovieClip Frame 4
n_celda = 60;
Instance of Symbol 296 MovieClip "o28" in Symbol 575 MovieClip Frame 4
/* no clip actions */
Symbol 575 MovieClip Frame 26
n_celda = 61;
Symbol 575 MovieClip Frame 45
n_celda = 62;
Symbol 575 MovieClip Frame 64
n_celda = 63;
Symbol 575 MovieClip Frame 78
n_celda = 64;
Symbol 575 MovieClip Frame 94
n_celda = 65;
Symbol 575 MovieClip Frame 111
n_celda = 66;
Symbol 575 MovieClip Frame 131
n_celda = 67;
Symbol 575 MovieClip Frame 145
n_celda = 68;
Symbol 575 MovieClip Frame 162
n_celda = 69;
Symbol 575 MovieClip Frame 180
n_celda = 70;
Symbol 575 MovieClip Frame 270
n_celda = 69;
Symbol 575 MovieClip Frame 291
n_celda = 68;
Symbol 575 MovieClip Frame 316
n_celda = 67;
Symbol 575 MovieClip Frame 336
n_celda = 66;
Symbol 575 MovieClip Frame 353
n_celda = 65;
Symbol 575 MovieClip Frame 367
n_celda = 64;
Symbol 575 MovieClip Frame 384
n_celda = 63;
Symbol 575 MovieClip Frame 405
n_celda = 62;
Symbol 575 MovieClip Frame 430
n_celda = 61;
Symbol 575 MovieClip Frame 451
n_celda = 60;
Symbol 575 MovieClip Frame 574
gotoAndPlay (1);
Symbol 576 MovieClip Frame 4
stop();
Symbol 614 MovieClip Frame 47
stop();
Instance of Symbol 302 MovieClip "sonidito" in Symbol 615 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 615 MovieClip Frame 5
stop();
Symbol 615 MovieClip Frame 6
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 615 MovieClip Frame 66
stop();
Symbol 635 MovieClip Frame 1
this.activo = false;
Symbol 635 MovieClip Frame 7
stop();
Symbol 635 MovieClip Frame 8
this.activo = true;
Symbol 635 MovieClip Frame 50
gotoAndPlay (1);
Instance of Symbol 635 MovieClip "sonidito" in Symbol 637 MovieClip Frame 1
onClipEvent (load) {
var activo = false;
}
Symbol 637 MovieClip Frame 5
stop();
Symbol 637 MovieClip Frame 6
if (sonidito.activo == false) {
sonidito.gotoAndPlay("on");
}
Symbol 637 MovieClip Frame 48
stop();
Symbol 664 MovieClip Frame 4
stop();
Symbol 664 MovieClip Frame 42
stop();
Symbol 828 MovieClip Frame 3
stop();
Symbol 828 MovieClip Frame 541
_parent.ob26.gotoAndPlay("on");
Symbol 847 MovieClip Frame 4
stop();
Symbol 868 MovieClip Frame 1
trace("objetivo 1 activado, logo pared");
Symbol 868 MovieClip Frame 6
stop();
Symbol 868 MovieClip Frame 7
trace("objetivo 2 activado, logo pared");
Symbol 868 MovieClip Frame 12
stop();
Symbol 868 MovieClip Frame 13
trace("objetivo 3 activado, logo pared");
Symbol 868 MovieClip Frame 18
stop();
Symbol 868 MovieClip Frame 19
trace("objetivo 4 activado, logo pared");
Symbol 868 MovieClip Frame 24
stop();
Symbol 868 MovieClip Frame 25
trace("objetivo 5 activado, logo pared");
Symbol 868 MovieClip Frame 30
stop();
Symbol 876 MovieClip Frame 1
trace("indica1");
Symbol 876 MovieClip Frame 10
stop();
Symbol 876 MovieClip Frame 11
trace("indica2");
Symbol 876 MovieClip Frame 20
stop();
Symbol 876 MovieClip Frame 21
trace("indica3");
Symbol 876 MovieClip Frame 30
stop();
Symbol 876 MovieClip Frame 31
trace("indica4");
Symbol 876 MovieClip Frame 40
stop();
Symbol 876 MovieClip Frame 41
trace("indica5");
Symbol 876 MovieClip Frame 50
stop();
Symbol 882 MovieClip Frame 5
stop();
Symbol 882 MovieClip Frame 10
stop();
Symbol 934 MovieClip Frame 31
_parent._parent.angulo.chutar();
Symbol 934 MovieClip Frame 50
stop();
Symbol 986 MovieClip Frame 35
_parent._parent.angulo.chutar();
Symbol 986 MovieClip Frame 53
stop();
Symbol 1043 MovieClip Frame 32
_parent._parent.angulo.chutar();
Symbol 1043 MovieClip Frame 55
stop();
Symbol 1044 MovieClip Frame 1
this.elchute = "on";
Symbol 1044 MovieClip Frame 5
stop();
Symbol 1044 MovieClip Frame 10
stop();
Symbol 1044 MovieClip Frame 11
this.elchute = "on_derecha";
Symbol 1044 MovieClip Frame 20
stop();
Symbol 1044 MovieClip Frame 30
stop();
Symbol 1044 MovieClip Frame 31
this.elchute = "on_izquierda";
Symbol 1044 MovieClip Frame 40
stop();
Symbol 1044 MovieClip Frame 50
stop();
Symbol 1052 MovieClip Frame 5
stop();
Symbol 1052 MovieClip Frame 14
_visible = false;
_parent.shadow._visible = true;
gotoAndPlay (1);
Symbol 1052 MovieClip Frame 23
_visible = false;
_parent.shadow._visible = true;
gotoAndPlay (1);
Symbol 1054 MovieClip Frame 2
stop();
Symbol 1054 MovieClip Frame 4
gotoAndPlay (3);
Symbol 1059 Button
on (release) {
if (((this.activo_angulo == false) && (this.activo_fuerza == false)) && (this.activo_efecto == false)) {
_parent.label_puntos.estado("off");
this.activo_angulo = true;
_root.interface.potencia.gotoAndPlay(29);
} else if (((this.activo_angulo == true) && (this.activo_fuerza == false)) && (this.activo_efecto == false)) {
this.activo_fuerza = true;
_root.interface.potencia.stop();
_root.interface.efecto.gotoAndPlay(29);
} else if (((this.activo_angulo == true) && (this.activo_fuerza == true)) && (this.activo_efecto == false)) {
this.activo_efecto = true;
_root.interface.efecto.stop();
_root.interface.fx.gotoAndPlay(2);
} else if ((((this.activo_angulo == true) && (this.activo_fuerza == true)) && (this.activo_efecto == true)) && (this.activo_fx == false)) {
this.activo_fx = true;
_root.interface.fx.stop();
} else if ((((this.activo_angulo == true) && (this.activo_fuerza == true)) && (this.activo_efecto == true)) && (this.activo_fx == true)) {
_parent.jugador.gotoAndPlay(_parent.jugador.elchute);
}
}
on (rollOver) {
Mouse.hide();
if (((this.activo_angulo == false) && (this.activo_fuerza == false)) && (this.activo_efecto == false)) {
_root.selector_angulo._visible = true;
}
}
on (rollOut) {
Mouse.show();
}
Symbol 1060 MovieClip Frame 3
stop();
Symbol 1060 MovieClip Frame 4
trace("LAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
Symbol 1060 MovieClip Frame 6
stop();
Symbol 1062 MovieClip Frame 5
stop();
Symbol 1062 MovieClip Frame 10
_parent.angulo._visible = true;
Symbol 1062 MovieClip Frame 11
gotoAndPlay (1);
Symbol 1090 Button
on (rollOver) {
Mouse.show();
}
Symbol 1091 Button
on (release) {
_level0.juego_actual = 2;
_level0.estado_ranking = "consulta";
_level0.carga_ranking();
}
Symbol 1092 Button
on (release) {
_level0.carga_seleccion();
}
Symbol 1100 MovieClip Frame 1
stop();
Symbol 1100 MovieClip Frame 2
p = 28;
Symbol 1100 MovieClip Frame 3
p = 27;
Symbol 1100 MovieClip Frame 4
p = 26;
Symbol 1100 MovieClip Frame 5
p = 25;
Symbol 1100 MovieClip Frame 6
p = 24;
Symbol 1100 MovieClip Frame 7
p = 23;
Symbol 1100 MovieClip Frame 8
p = 22;
Symbol 1100 MovieClip Frame 9
p = 21;
Symbol 1100 MovieClip Frame 10
p = 20;
Symbol 1100 MovieClip Frame 11
p = 19;
Symbol 1100 MovieClip Frame 12
p = 18;
Symbol 1100 MovieClip Frame 13
p = 17;
Symbol 1100 MovieClip Frame 14
p = 16;
Symbol 1100 MovieClip Frame 15
p = 15;
Symbol 1100 MovieClip Frame 16
p = 14;
Symbol 1100 MovieClip Frame 17
p = 13;
Symbol 1100 MovieClip Frame 18
p = 12;
Symbol 1100 MovieClip Frame 19
p = 11;
Symbol 1100 MovieClip Frame 20
p = 10;
Symbol 1100 MovieClip Frame 21
p = 9;
Symbol 1100 MovieClip Frame 22
p = 8;
Symbol 1100 MovieClip Frame 23
p = 7;
Symbol 1100 MovieClip Frame 24
p = 6;
Symbol 1100 MovieClip Frame 25
p = 5;
Symbol 1100 MovieClip Frame 26
p = 4;
Symbol 1100 MovieClip Frame 27
p = 3;
Symbol 1100 MovieClip Frame 28
p = 3;
Symbol 1100 MovieClip Frame 29
p = 4;
Symbol 1100 MovieClip Frame 30
p = 5;
Symbol 1100 MovieClip Frame 31
p = 6;
Symbol 1100 MovieClip Frame 32
p = 7;
Symbol 1100 MovieClip Frame 33
p = 8;
Symbol 1100 MovieClip Frame 34
p = 9;
Symbol 1100 MovieClip Frame 35
p = 10;
Symbol 1100 MovieClip Frame 36
p = 11;
Symbol 1100 MovieClip Frame 37
p = 12;
Symbol 1100 MovieClip Frame 38
p = 13;
Symbol 1100 MovieClip Frame 39
p = 14;
Symbol 1100 MovieClip Frame 40
p = 15;
Symbol 1100 MovieClip Frame 41
p = 16;
Symbol 1100 MovieClip Frame 42
p = 17;
Symbol 1100 MovieClip Frame 43
p = 18;
Symbol 1100 MovieClip Frame 44
p = 19;
Symbol 1100 MovieClip Frame 45
p = 20;
Symbol 1100 MovieClip Frame 46
p = 21;
Symbol 1100 MovieClip Frame 47
p = 22;
Symbol 1100 MovieClip Frame 48
p = 23;
Symbol 1100 MovieClip Frame 49
p = 24;
Symbol 1100 MovieClip Frame 50
p = 25;
Symbol 1100 MovieClip Frame 51
p = 26;
Symbol 1100 MovieClip Frame 52
p = 27;
Symbol 1100 MovieClip Frame 53
p = 28;
this.gotoAndPlay(2);
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1101 MovieClip Frame 2
p = 28;
Symbol 1101 MovieClip Frame 3
p = 27;
Symbol 1101 MovieClip Frame 4
p = 26;
Symbol 1101 MovieClip Frame 5
p = 25;
Symbol 1101 MovieClip Frame 6
p = 24;
Symbol 1101 MovieClip Frame 7
p = 23;
Symbol 1101 MovieClip Frame 8
p = 22;
Symbol 1101 MovieClip Frame 9
p = 21;
Symbol 1101 MovieClip Frame 10
p = 20;
Symbol 1101 MovieClip Frame 11
p = 19;
Symbol 1101 MovieClip Frame 12
p = 18;
Symbol 1101 MovieClip Frame 13
p = 17;
Symbol 1101 MovieClip Frame 14
p = 16;
Symbol 1101 MovieClip Frame 15
p = 15;
Symbol 1101 MovieClip Frame 16
p = 14;
Symbol 1101 MovieClip Frame 17
p = 13;
Symbol 1101 MovieClip Frame 18
p = 12;
Symbol 1101 MovieClip Frame 19
p = 11;
Symbol 1101 MovieClip Frame 20
p = 10;
Symbol 1101 MovieClip Frame 21
p = 9;
Symbol 1101 MovieClip Frame 22
p = 8;
Symbol 1101 MovieClip Frame 23
p = 7;
Symbol 1101 MovieClip Frame 24
p = 6;
Symbol 1101 MovieClip Frame 25
p = 5;
Symbol 1101 MovieClip Frame 26
p = 4;
Symbol 1101 MovieClip Frame 27
p = 3;
Symbol 1101 MovieClip Frame 28
p = 3;
Symbol 1101 MovieClip Frame 29
p = 3;
Symbol 1101 MovieClip Frame 30
p = 4;
Symbol 1101 MovieClip Frame 31
p = 5;
Symbol 1101 MovieClip Frame 32
p = 6;
Symbol 1101 MovieClip Frame 33
p = 7;
Symbol 1101 MovieClip Frame 34
p = 8;
Symbol 1101 MovieClip Frame 35
p = 9;
Symbol 1101 MovieClip Frame 36
p = 10;
Symbol 1101 MovieClip Frame 37
p = 11;
Symbol 1101 MovieClip Frame 38
p = 12;
Symbol 1101 MovieClip Frame 39
p = 13;
Symbol 1101 MovieClip Frame 40
p = 14;
Symbol 1101 MovieClip Frame 41
p = 15;
Symbol 1101 MovieClip Frame 42
p = 16;
Symbol 1101 MovieClip Frame 43
p = 17;
Symbol 1101 MovieClip Frame 44
p = 18;
Symbol 1101 MovieClip Frame 45
p = 19;
Symbol 1101 MovieClip Frame 46
p = 20;
Symbol 1101 MovieClip Frame 47
p = 21;
Symbol 1101 MovieClip Frame 48
p = 22;
Symbol 1101 MovieClip Frame 49
p = 23;
Symbol 1101 MovieClip Frame 50
p = 24;
Symbol 1101 MovieClip Frame 51
p = 25;
Symbol 1101 MovieClip Frame 52
p = 26;
Symbol 1101 MovieClip Frame 53
p = 27;
Symbol 1101 MovieClip Frame 54
p = 28;
this.gotoAndPlay(2);
Symbol 1105 MovieClip Frame 1
stop();
Symbol 1105 MovieClip Frame 2
p = 0;
Symbol 1105 MovieClip Frame 3
p = 0;
Symbol 1105 MovieClip Frame 4
p = 0;
Symbol 1105 MovieClip Frame 5
p = 2;
Symbol 1105 MovieClip Frame 6
p = 2.5;
Symbol 1105 MovieClip Frame 7
p = 3;
Symbol 1105 MovieClip Frame 8
p = 3.5;
Symbol 1105 MovieClip Frame 9
p = 4;
Symbol 1105 MovieClip Frame 10
p = 4.5;
Symbol 1105 MovieClip Frame 11
p = 5;
Symbol 1105 MovieClip Frame 12
p = 5.5;
Symbol 1105 MovieClip Frame 13
p = 6;
Symbol 1105 MovieClip Frame 14
p = 6.5;
Symbol 1105 MovieClip Frame 15
p = 7;
Symbol 1105 MovieClip Frame 16
p = 7;
Symbol 1105 MovieClip Frame 17
p = 6.5;
Symbol 1105 MovieClip Frame 18
p = 6;
Symbol 1105 MovieClip Frame 19
p = 5.5;
Symbol 1105 MovieClip Frame 20
p = 5;
Symbol 1105 MovieClip Frame 21
p = 4.5;
Symbol 1105 MovieClip Frame 22
p = 4;
Symbol 1105 MovieClip Frame 23
p = 3.5;
Symbol 1105 MovieClip Frame 24
p = 3;
Symbol 1105 MovieClip Frame 25
p = 2.5;
Symbol 1105 MovieClip Frame 26
p = 2;
Symbol 1105 MovieClip Frame 27
p = 0;
Symbol 1105 MovieClip Frame 28
p = 0;
Symbol 1105 MovieClip Frame 29
p = 0;
Symbol 1105 MovieClip Frame 30
p = 0;
Symbol 1105 MovieClip Frame 31
p = 0;
Symbol 1105 MovieClip Frame 32
p = 0;
Symbol 1105 MovieClip Frame 33
p = -2;
Symbol 1105 MovieClip Frame 34
p = -2.5;
Symbol 1105 MovieClip Frame 35
p = -3;
Symbol 1105 MovieClip Frame 36
p = -3.5;
Symbol 1105 MovieClip Frame 37
p = -4;
Symbol 1105 MovieClip Frame 38
p = -4.5;
Symbol 1105 MovieClip Frame 39
p = -5;
Symbol 1105 MovieClip Frame 40
p = -5.5;
Symbol 1105 MovieClip Frame 41
p = -6;
Symbol 1105 MovieClip Frame 42
p = -6.5;
Symbol 1105 MovieClip Frame 43
p = -7;
Symbol 1105 MovieClip Frame 44
p = -6.5;
Symbol 1105 MovieClip Frame 45
p = -6;
Symbol 1105 MovieClip Frame 46
p = -5.5;
Symbol 1105 MovieClip Frame 47
p = -5;
Symbol 1105 MovieClip Frame 48
p = -4.5;
Symbol 1105 MovieClip Frame 49
p = -4;
Symbol 1105 MovieClip Frame 50
p = -3.5;
Symbol 1105 MovieClip Frame 51
p = -3;
Symbol 1105 MovieClip Frame 52
p = -2.5;
Symbol 1105 MovieClip Frame 53
p = -2;
Symbol 1105 MovieClip Frame 54
p = 0;
Symbol 1105 MovieClip Frame 55
p = 0;
Symbol 1105 MovieClip Frame 56
p = 0;
gotoAndPlay (2);
Symbol 1111 MovieClip Frame 1
stop();
Instance of Symbol 1101 MovieClip "efecto" in Symbol 1111 MovieClip Frame 1
/* no clip actions */
Symbol 1118 MovieClip Frame 2
stop();
Symbol 1118 MovieClip Frame 26
gotoAndPlay (1);
Symbol 1118 MovieClip Frame 98
gotoAndPlay (1);
Symbol 1118 MovieClip Frame 101
gotoAndPlay (1);