Frame 1
stop();
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (load) {
if (_parent._framesLoaded == _parent._totalFrames) {
_parent.play();
}
}
onClipEvent (enterFrame) {
_root.proceso = (int(_root.getBytesLoaded() / 1024) + " Kb. de ") + int(_root.getBytesTotal() / 1024);
if (_parent._framesLoaded == _parent._totalFrames) {
_parent.play();
}
}
Frame 2
_quality = "HIGH";
stopAllSounds();
movieClip.prototype.multi = 10;
movieClip.prototype.vel = 5;
MovieClip.prototype.x0 = 320;
MovieClip.prototype.y0 = 240;
MovieClip.prototype.Fescala = 4;
MovieClip.prototype.Dfocal = 200;
MovieClip.prototype.FNpunto3D = function () {
Pfocal = Dfocal / (z + Dfocal);
escala = Pfocal * Fescala;
Xpos = (Pfocal * x) + x0;
Ypos = (Pfocal * y) + y0;
};
MovieClip.prototype.FNsitua3D = function () {
_yscale = escala;
_xscale = escala;
_x = Xpos;
_y = Ypos;
_alpha = 100;
};
MovieClip.prototype.FNcos = function (n) {
var grados = Math.cos((n * Math.PI) / 180);
return(grados);
};
MovieClip.prototype.FNsin = function (n) {
var grados = Math.sin((n * Math.PI) / 180);
return(grados);
};
MovieClip.prototype.FNtan = function (n) {
var grados = (Math.sin((n * Math.PI) / 180) / Math.cos((n * Math.PI) / 180));
return(grados);
};
MovieClip.prototype.FNasin = function (n) {
var grados = Math.asin(n);
grados = (grados * 180) / Math.PI;
return(grados);
};
MovieClip.prototype.FNacos = function (n) {
var grados = Math.acos(n);
grados = (grados * 180) / Math.PI;
return(grados);
};
MovieClip.prototype.FNatan = function (n) {
var grados = Math.atan(n);
grados = (grados * 180) / Math.PI;
return(grados);
};
MovieClip.prototype.FNdistancia = function (x1, y1, x2, y2) {
var dist = Math.sqrt(((x2 - x1) * (x2 - x1)) + ((y2 - y1) * (y2 - y1)));
return(dist);
};
MovieClip.prototype.FNangulo = function (x1, y1, x2, y2) {
((y1 < y2) ? ((ang = 270 + ((Math.atan((x1 - x2) / (y1 - y2)) * 180) / Math.PI))) : ((ang = 90 + ((Math.atan((x1 - x2) / (y1 - y2)) * 180) / Math.PI))));
return(ang);
};
MovieClip.prototype.FNPuntos = function (x1, y1, x2, y2, objeto) {
var angulo = null;
((y1 < y2) ? ((angulo = 270 + ((Math.atan((x1 - x2) / (y1 - y2)) * 180) / Math.PI))) : ((angulo = 90 + ((Math.atan((x1 - x2) / (y1 - y2)) * 180) / Math.PI))));
var dix = (x2 - x1);
var diy = (y2 - y1);
var distancia = Math.sqrt((dix * dix) + (diy * diy));
eval (objeto)._x = x1;
eval (objeto)._y = y1;
eval (objeto)._rotation = -90 - angulo;
eval (objeto)._xscale = (eval (objeto)._yscale = distancia / 10);
};
MovieClip.prototype.FNrotarX = function (angulo) {
var subY = y;
var subZ = z;
y = (FNcos(angulo) * suby) - (FNsin(angulo) * subz);
z = (FNsin(angulo) * suby) + (FNcos(angulo) * subz);
};
MovieClip.prototype.FNrotarY = function (angulo) {
var subX = x;
var subZ = z;
z = (FNcos(angulo) * subZ) - (FNsin(angulo) * subX);
x = (FNcos(angulo) * subX) + (FNsin(angulo) * subZ);
};
MovieClip.prototype.FNrotarZ = function (angulo) {
var subX = x;
var subY = y;
x = (FNcos(angulo) * subX) - (FNsin(angulo) * subY);
y = (FNsin(angulo) * subX) + (FNcos(angulo) * subY);
};
MovieClip.prototype.FNescala = function (factor, incX, incY) {
_yscale = (100 + (25 * factor));
_xscale = (100 + (25 * factor));
_x = ((-80 * factor) + incX);
_y = ((-80 * factor) + incY);
};
MovieClip.prototype.FNrgb = function (r, g, b) {
c = new Color(this);
r = r.toString(16);
g = g.toString(16);
b = b.toString(16);
if (g.length < 2) {
g = "0" + g;
}
if (b.length < 2) {
b = "0" + b;
}
if (r.length < 2) {
c.setRGB(parseInt((("0x0" + r) + g) + b));
} else {
c.setRGB(parseInt((("0x" + r) + g) + b));
}
};
cnt = "MAD";
Frame 5
_quality = "HIGH";
FNescala(4, 0, 80);
delete penalti;
delete lanzamientos;
delete lista;
goles = 0;
b1._visible = (b2._visible = (b3._visible = (b4._visible = 0)));
rls = 0;
ronda = (rondaN = 0);
rsl = 0;
bonus = 1;
aciertos = (aciertosOLD = 0);
stop();
Instance of Symbol 108 MovieClip in Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 109 MovieClip in Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 153 MovieClip "lista1" in Frame 5
onClipEvent (load) {
lista = "";
loadVariables ("cgi-bin/banderasN.asp", this, "POST");
pais = ["", "rusia", "tunez", "belgica", "japon", "mejico", "croacia", "inglaterra", "suecia", "portugal", "estados unidos", "china", "costa rica", "polonia", "corea", "turquia", "dinamarca", "ecuador", "italia", "nigeria", "argentina", "alemania", "arabia saudi", "irlanda", "camerun", "españa", "eslovenia", "paraguay", "brasil", "surafrica", "uruguay", "senegal", "francia"];
this.lis1._visible = 0;
}
onClipEvent (data) {
carga = true;
indice = 1;
lista = lista;
}
onClipEvent (enterFrame) {
if ((carga) && (32 >= indice)) {
pos = lista.indexOf(",", posOLD);
cadena = lista.substr(posOLD, pos - posOLD);
posOLD = pos + 1;
paisR = parseInt(cadena.substr(cadena.length - 2, 2));
puntosR = parseInt(cadena.substr(0, cadena.length - 3));
if (indice != 1) {
duplicateMovieClip ("lis1", "lis" + indice, indice);
}
eval ("lis" + indice)._visible = 0;
eval ("lis" + indice)._y = lis1._y + (8 * (indice - 1));
Set(("lis" + indice) + ".p", indice + " -");
eval (("lis" + indice) + ".b").gotoAndStop(paisR + 1);
Set(("lis" + indice) + ".n", pais[paisR]);
Set(("lis" + indice) + ".s", puntosR);
if ((parseInt(puntosR) != 0) && (3 >= indice)) {
eval ("lis" + indice).gotoAndStop(indice + 1);
}
indice = indice + 1;
} else if (carga) {
lis1._visible = 1;
rueda._visible = 0;
l = 1;
while (32 >= l) {
eval ("lis" + l)._visible = 1;
l++;
}
delete carga;
_root.nextFrame();
trace("SI");
}
}
Instance of Symbol 152 MovieClip "rueda" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
}
Instance of Symbol 161 MovieClip "sc1" in Frame 5
onClipEvent (load) {
alto = 260;
rango = 42.4;
_x = (_x + 0.1);
}
onClipEvent (enterFrame) {
if (baja == 1) {
_y = (_y - 2);
}
if (sube == 1) {
_y = (_y + 2);
}
if (_y < 254.7) {
_y = 254.7;
}
if (296.1 < _y) {
_y = 296.1;
}
y = ((((_y - alto) - rango) - 4.7) * (((-alto) + 64) - 4)) / 42.4;
_parent.lista1._y = y;
}
Instance of Symbol 165 MovieClip "sc2" in Frame 5
onClipEvent (load) {
alto = 260;
rango = 42.4;
_x = (_x + 0.1);
}
onClipEvent (enterFrame) {
if (baja == 1) {
_y = (_y - 2);
}
if (sube == 1) {
_y = (_y + 2);
}
if (_y < 254.7) {
_y = 254.7;
}
if (296.1 < _y) {
_y = 296.1;
}
y = ((((_y - alto) - rango) - 4.7) * (((-alto) + 64) - 4)) / 42.4;
_parent.lista2._y = y;
}
Instance of Symbol 173 MovieClip "lista2" in Frame 6
onClipEvent (load) {
cnt = _root.cnt;
loadVariables ("cgi-bin/sc.asp", this);
lis1._visible = 0;
}
onClipEvent (data) {
lis1._visible = 1;
rueda._visible = 0;
l = 2;
while (32 >= l) {
duplicateMovieClip ("lis1", "lis" + l, l);
eval ("lis" + l)._y = lis1._y + (8 * (l - 1));
l++;
}
sub1 = chorizo.split("#");
subP = new Array();
subN = new Array();
n = 0;
while (n < sub1.length) {
sub2 = sub1[n].split("$");
nombre = sub2[0].substr(3, 40).toLowerCase();
bandera = sub2[0].substr(0, 2);
Set(("lis" + (n + 1)) + ".j", nombre);
eval (("lis" + (n + 1)) + ".b").gotoAndStop(parseInt(bandera) + 1);
Set(("lis" + (n + 1)) + ".p", sub2[1]);
if ((parseInt(sub2[1]) != 0) && (2 >= n)) {
eval ("lis" + (n + 1)).gotoAndStop(n + 2);
}
Set(("lis" + (n + 1)) + ".n", (n + 1) + " -");
n++;
}
}
Instance of Symbol 211 MovieClip "b3" in Frame 8
onClipEvent (load) {
quien = "RUSIA";
}
Instance of Symbol 212 MovieClip in Frame 8
onClipEvent (load) {
quien = "TUNEZ";
}
Instance of Symbol 213 MovieClip "b3" in Frame 8
onClipEvent (load) {
quien = "BELGICA";
}
Instance of Symbol 214 MovieClip in Frame 8
onClipEvent (load) {
quien = "JAPON";
}
Instance of Symbol 215 MovieClip in Frame 8
onClipEvent (load) {
quien = "MEJICO";
}
Instance of Symbol 216 MovieClip in Frame 8
onClipEvent (load) {
quien = "CROACIA";
}
Instance of Symbol 217 MovieClip in Frame 8
onClipEvent (load) {
quien = "INGLATERRA";
}
Instance of Symbol 218 MovieClip in Frame 8
onClipEvent (load) {
quien = "SUECIA";
}
Instance of Symbol 219 MovieClip in Frame 8
onClipEvent (load) {
quien = "PORTUGAL";
}
Instance of Symbol 220 MovieClip in Frame 8
onClipEvent (load) {
quien = "ESTADOS UNIDOS";
}
Instance of Symbol 221 MovieClip in Frame 8
onClipEvent (load) {
quien = "CHINA";
}
Instance of Symbol 222 MovieClip in Frame 8
onClipEvent (load) {
quien = "COSTA RICA";
}
Instance of Symbol 223 MovieClip in Frame 8
onClipEvent (load) {
quien = "POLONIA";
}
Instance of Symbol 224 MovieClip in Frame 8
onClipEvent (load) {
quien = "COREA";
}
Instance of Symbol 225 MovieClip in Frame 8
onClipEvent (load) {
quien = "TURQUIA";
}
Instance of Symbol 226 MovieClip in Frame 8
onClipEvent (load) {
quien = "DINAMARCA";
}
Instance of Symbol 227 MovieClip in Frame 8
onClipEvent (load) {
quien = "ECUADOR";
}
Instance of Symbol 228 MovieClip in Frame 8
onClipEvent (load) {
quien = "ITALIA";
}
Instance of Symbol 229 MovieClip in Frame 8
onClipEvent (load) {
quien = "NIGERIA";
}
Instance of Symbol 230 MovieClip in Frame 8
onClipEvent (load) {
quien = "ARGENTINA";
}
Instance of Symbol 231 MovieClip in Frame 8
onClipEvent (load) {
quien = "ALEMANIA";
}
Instance of Symbol 232 MovieClip in Frame 8
onClipEvent (load) {
quien = "ARABIA SAUDI";
}
Instance of Symbol 233 MovieClip in Frame 8
onClipEvent (load) {
quien = "IRLANDA";
}
Instance of Symbol 234 MovieClip in Frame 8
onClipEvent (load) {
quien = "CAMERUN";
}
Instance of Symbol 235 MovieClip in Frame 8
onClipEvent (load) {
quien = "ESPAÑA";
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (load) {
quien = "ESLOVENIA";
}
Instance of Symbol 237 MovieClip in Frame 8
onClipEvent (load) {
quien = "PARAGUAY";
}
Instance of Symbol 238 MovieClip in Frame 8
onClipEvent (load) {
quien = "BRASIL";
}
Instance of Symbol 239 MovieClip in Frame 8
onClipEvent (load) {
quien = "SURAFRICA";
}
Instance of Symbol 240 MovieClip in Frame 8
onClipEvent (load) {
quien = "URUGUAY";
}
Instance of Symbol 241 MovieClip in Frame 8
onClipEvent (load) {
quien = "SENEGAL";
}
Instance of Symbol 242 MovieClip in Frame 8
onClipEvent (load) {
quien = "FRANCIA";
}
Instance of Symbol 253 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (((_parent.seleccionN != null) && (_parent.nombre != null)) && (_parent.nombre != "")) {
nextFrame();
} else {
prevFrame();
}
}
Frame 9
if (seleccionN) {
eval ("b" + seleccionN).nextFrame();
}
stop();
sc = 4;
Frame 10
function FNtiempo() {
seg--;
if (seg < 0) {
seg = 59;
min--;
}
tiempoTXT = (min + ":") + ((seg < 10) ? ("0" + seg) : (seg));
}
tiempo = 7200;
min = 4;
seg = 0;
delete Rz;
FNescala(sc, 0, 80);
Frame 11
MovieClip.prototype.FNShape = function (objeto, a, b, c) {
if (eval (objeto) == null) {
((subi == null) ? ((subi = 500)) : (subi++));
attachMovie("triangulo", objeto, subi);
}
x1 = eval ("p" + a)._x;
y1 = eval ("p" + a)._y;
x2 = eval ("p" + b)._x;
y2 = eval ("p" + b)._y;
x3 = eval ("p" + c)._x;
y3 = eval ("p" + c)._y;
var abx = (x1 - x2);
var aby = (y1 - y2);
var cax = (x3 - x1);
var cay = (y3 - y1);
var bcx = (x2 - x3);
var bcy = (y2 - y3);
var dir = ((((cax * bcy) - (cay * bcx)) < 0) ? 1 : -1);
var ab = ((abx * abx) + (aby * aby));
var ca = ((cax * cax) + (cay * cay));
var bc = ((bcx * bcx) + (bcy * bcy));
var prod = ((ab * bc) * ca);
var sum = ((ab + bc) + ca);
var mx = ((ca < ab) ? (((bc < ab) ? (ab) : (bc))) : (((bc < ca) ? (ca) : (bc))));
var hh = (((((prod / mx) / mx) - (((sum * sum) / 4) / mx)) - mx) + sum);
with (eval (objeto)) {
if (mx == ab) {
var pp = (1.73205081 / Math.sqrt(1 + (2 * Math.sqrt((bc - hh) / (ca - hh)))));
_rotation = (Math.atan2(-aby, -abx) * 180) / Math.PI;
base.type._rotation = 0;
_x = x2;
_y = y2;
} else if (mx == bc) {
var pp = (1.73205081 / Math.sqrt(1 + (2 * Math.sqrt((ca - hh) / (ab - hh)))));
_rotation = (Math.atan2(-bcy, -bcx) * 180) / Math.PI;
base.type._rotation = 240;
_x = x3;
_y = y3;
} else {
var pp = (1.73205081 / Math.sqrt(1 + (2 * Math.sqrt((ab - hh) / (bc - hh)))));
_rotation = (Math.atan2(-cay, -cax) * 180) / Math.PI;
base.type._rotation = 120;
_x = x1;
_y = y1;
}
var rr = (Math.sqrt((pp * pp) + 3) / 2);
base._xscale = 100 * pp;
base._rotation = (Math.atan(1.73205081 / pp) * 180) / Math.PI;
_xscale = Math.sqrt(mx) / rr;
_yscale = (((1.15470054 * Math.sqrt(hh)) * rr) / pp) * dir;
}
};
Frame 12
xi = 0;
fondo = new Sound();
fondo.attachSound("fondo");
fondo.start(1, 1000);
gotoAndPlay (17);
Instance of Symbol 258 MovieClip "marcador" in Frame 13
onClipEvent (load) {
ronda = "ronda " + _root.rondaN;
((_root.sc == 13) ? ((tipo = "penaltis")) : ((tipo = "faltas")));
}
Instance of Symbol 284 MovieClip "flecha" in Frame 13
onClipEvent (load) {
delete _root.excp;
_x = 320;
_y = 330;
_yscale = 60;
_xscale = 60;
f1 = [-15, 0, 0];
f2 = [-12, 0, 92];
f3 = [-45, 0, 74];
f4 = [0, 0, 198];
f5 = [45, 0, 74];
f6 = [12, 0, 92];
f7 = [15, 0, 0];
lanza = new Sound();
lanza.attachSound("lanza");
pito = new Sound();
pito.attachSound("pito");
pito.start();
if (_root.aciertosOLD == _root.aciertos) {
_root.aciertos = (_root.aciertosOLD = 0);
_root.bonus = 1;
_root.marcadorINF.gotoAndStop(1);
}
if (2 < _root.aciertos) {
_root.bonus = 2;
_root.marcadorINF.gotoAndStop(2);
_root.marcador.play();
}
if (4 < _root.aciertos) {
_root.bonus = 4;
_root.marcadorINF.gotoAndStop(3);
_root.marcador.play();
}
if (6 < _root.aciertos) {
_root.bonus = 6;
_root.marcadorINF.gotoAndStop(4);
_root.marcador.play();
}
n = 1;
while (7 >= n) {
if ((n < 4) && (!d)) {
d = 30;
} else {
((d == 33) ? ((d = 0)) : ((d = d)));
}
d++;
duplicateMovieClip ("p", "p" + n, d);
eval ("p" + n).x = eval ("f" + n)[0];
eval ("p" + n).y = eval ("f" + n)[1];
eval ("p" + n).z = eval ("f" + n)[2];
n++;
}
n = 1;
while (7 >= n) {
duplicateMovieClip ("p", "p" + (n + 10), n + 10);
eval ("p" + (n + 10)).x = eval ("f" + n)[0];
eval ("p" + (n + 10)).y = eval ("f" + n)[1];
eval ("p" + (n + 10)).z = eval ("f" + n)[2];
n++;
}
delete space;
vipos = -100 + random(200);
}
onClipEvent (enterFrame) {
if (15 < lv) {
lv = 0;
_parent.marcadorINF.viento._xscale = (viPOS / 2) + random(viPOS / 2);
_root.viento = int((_parent.marcadorINF.viento._xscale * 12) / 100);
} else {
lv++;
}
if (Key.isDown(38)) {
yT = yT + 1;
}
if (Key.isDown(40)) {
yT = yT - 1;
}
if ((yT < 20) && (-12 < yT)) {
noMOV = true;
} else {
delete noMOV;
if (20 < yT) {
yT = 20;
} else if (yT < -12) {
yT = -12;
}
}
FNShape("t1", "4", "2", "3");
FNShape("t2", "4", "5", "6");
FNShape("t3", "4", "2", "6");
FNShape("t4", "2", "6", "1");
FNShape("t5", "6", "7", "1");
FNShape("t6", "14", "12", "13");
FNShape("t7", "14", "15", "16");
FNShape("t8", "14", "12", "16");
FNShape("t9", "12", "16", "11");
FNShape("t10", "16", "17", "11");
if (!ini) {
ini = true;
t6._alpha = (t7._alpha = (t8._alpha = (t9._alpha = (t10._alpha = 35))));
}
if (Key.isDown(Key.SPACE)) {
space = 1;
incSPACE = incSPACE + 1;
} else {
((space == 1) ? ((space = 2)) : ((space = space)));
}
if ((Key.isDown(Key.SHIFT) && (Key.isDown(37))) && (!_root.penalti)) {
((incX < 10) ? (incX++) : ((incX = 10)));
}
if ((Key.isDown(Key.SHIFT) && (Key.isDown(39))) && (!_root.penalti)) {
((-10 < incX) ? (incX--) : ((incX = -10)));
}
if (space == 2) {
((_root.penalti) ? ((subD = 80)) : ((subD = 30)));
anguloYZ = Math.round(FNangulo(0, 0, Math.abs(p4.y + subD), p4.z) - 270);
anguloXZ = Math.round(FNangulo(_root.xi, 0, p4.x - _root.xi, p4.z) - 270);
lanza.start();
_root.potencia = incSPACE;
_parent.incX = incX;
v0 = 14 + (_root.potencia * 2);
if (60 < v0) {
v0 = 60;
}
if (_root.penalti && (v0 < 30)) {
v0 = 45;
}
if (((Math.round(p4.x) < _root.xi) && (0 < _root.xi)) || ((_root.xi < Math.round(p4.x)) && (_root.xi < 0))) {
_parent.v0x = (v0 * FNsin(anguloXZ)) + (_root.xi / 2);
} else {
_parent.v0x = (v0 * FNsin(anguloXZ)) + _root.xi;
}
if (Math.round(p4.x) == 0) {
_parent.v0x = (v0 * FNsin(anguloXZ)) + _root.xi;
}
_parent.v0y = -(v0 * Math.abs(FNsin(anguloYZ)));
_parent.v0z = v0 * Math.abs(FNcos(anguloYZ));
_parent.nextFrame();
}
}
Instance of Symbol 301 MovieClip "marcadorINF" in Frame 13
onClipEvent (load) {
function FNreload() {
i = 1;
while (6 >= i) {
removeMovieClip("b" + i);
i++;
}
_visible = true;
if (!_root.Rz) {
if (_parent.penalti) {
_x = 268;
_y = 334;
_yscale = 70;
_xscale = 70;
} else {
_x = 208.4;
_y = 346.2;
_yscale = 150;
_xscale = 150;
}
} else {
_x = 168.4;
_y = 358.2;
_yscale = 200;
_xscale = 200;
}
goles = _root.goles;
}
FNreload();
i = 2;
while (6 >= i) {
duplicateMovieClip ("b1", "b" + i, i);
eval ("b" + i)._x = b1._x + (5.5 * (i - 1));
i++;
}
}
onClipEvent (enterFrame) {
with (_root) {
if (0 < tiempo) {
if (fr < 30) {
fr++;
} else {
fr = 1;
tiempo = tiempo - 30;
FNtiempo();
}
} else {
_root.gotoAndPlay("final");
}
}
}
Frame 14
stop();
if (Rz) {
zi = -172 - random(6);
}
_quality = "MEDIUM";
principal.gotoAndStop(1);
if (2 < aciertos) {
marcadorINF.gotoAndStop(2);
}
if (4 < aciertos) {
marcadorINF.gotoAndStop(3);
}
if (6 < aciertos) {
marcadorINF.gotoAndStop(4);
}
Instance of Symbol 302 MovieClip "sombra" in Frame 14
onClipEvent (load) {
y0 = 240;
Fescala = 4;
Dfocal = 200;
x = 0;
y = 15;
z = _root.zi - 14;
}
Instance of Symbol 303 MovieClip "pelota" in Frame 14
onClipEvent (load) {
x0 = 320;
_root.sombra.x0 = x0;
y0 = 240;
Fescala = 4;
Dfocal = 200;
v0y = _parent.v0y;
v0z = _parent.v0z;
v0x = _parent.v0x;
incX = -_parent.incX;
zi = _root.zi;
yi = 15;
if (!_root.Rz) {
((!_root.penalti) ? ((xi = (_root.xi = -20 + random(41)))) : ((xi = 0)));
} else {
xi = (_root.xi = -25 + random(50));
}
z = zi;
x = xi;
y = yi;
z1 = -45;
z2 = -134;
x2 = 150;
x1 = -150;
y1 = -1000;
y2 = 15;
incT = 0.1;
FNpunto3D();
FNsitua3D();
_parent.flecha._x = _x;
_parent.flecha._y = _y + 2;
_parent.sombra.x = x;
_parent.sombra.y = 16;
_parent.sombra.z = z;
_parent.sombra.FNpunto3D();
_parent.sombra.FNsitua3D();
_parent.principal.barrera._x = (_parent.principal.barreraN._x = _x);
if (350 < _x) {
_parent.principal.barrera._x = (_parent.principal.barreraN._x = 350);
}
if (_x < 286) {
_parent.principal.barrera._x = (_parent.principal.barreraN._x = 286);
}
stop();
}
Frame 15
stop();
principal.play();
Frame 17
FNescala(4, 0, 80);
marcadorINF._visible = 0;
rondaN = rondaN + 1;
ronda = ronda + 1;
stop();
Instance of Symbol 319 MovieClip "marcaP" in Frame 17
onClipEvent (load) {
stop();
if (0 < _root.tiempo) {
ronda = _root.ronda;
texto = ["LANZAMIENTOS DE FALTA", "LANZAMIENTOS DE FALTA", "LANZAMIENTOS DE PENALTI", "LANZAMIENTOS DE PENALTI", "LANZAMIENTOS DE FALTA", "LANZAMIENTOS DE FALTA", "LANZAMIENTOS LIBRES", "LANZAMIENTOS LIBRES", "LANZAMIENTOS DE FALTA", "LANZAMIENTOS DE PENALTI", "LANZAMIENTOS LIBRES"];
op1 = [4, 4, 13, 13, 4, 4, 2, 2, 4, 13, 2];
op2 = [false, false, true, true, false, false, false, false, false, true, false];
op3 = [-168, -168, -165, -165, -168, -168, 0, 0, -168, -165, 0];
if (texto[ronda - 1] == null) {
ronda = (_root.ronda = 1);
}
_root.sc = op1[ronda - 1];
_root.penalti = op2[ronda - 1];
_root.zi = op3[ronda - 1];
if (_root.zi == 0) {
_root.Rz = true;
} else {
delete _root.Rz;
}
txt = texto[ronda - 1];
} else {
this.gotoAndPlay(11);
}
}
Symbol 17 MovieClip [nivel1] Frame 1
stop();
Symbol 18 MovieClip [nivel1] Frame 1
stop();
Symbol 19 MovieClip [nivel1] Frame 1
stop();
Instance of Symbol 23 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 4);
}
Symbol 58 MovieClip Frame 1
red._alpha = 60;
Xpos = [-134.31, 134.44, 134.44, -132.62, -60.44, -61.25, 62.25, 61.5, 28.56, -26.75, -26.75, 28.75, -26.75, 27.81, 0.5, 0, -26.75, 28.75, -26.75, 28.75];
Ypos = [15, 15, 15, 15, 15, 15, 15, 15, 14.5, 14.5, -2.25, -2.25, 15, 15, 15, 15, -1.5, -1.5, 15, 15];
Zpos = [-121.56, -45, -121.56, -45, -45, -83, -83, -45, -45, -45, -45, -45, -162.37, -162.37, -122.31, 0, -40, -40, -36, -36];
len = Xpos.length;
trace(len);
n = 1;
while (len >= n) {
attachMovie("punto", "punto" + n, n + 1000);
eval ("punto" + n).x0 = 320;
eval ("punto" + n).y0 = 240;
eval ("punto" + n).Fescala = 100;
eval ("punto" + n).Dfocal = 200;
eval ("punto" + n).x = Xpos[n - 1];
eval ("punto" + n).y = Ypos[n - 1] + 1;
eval ("punto" + n).z = Zpos[n - 1] + -41;
eval ("punto" + n).cor = (((eval ("punto" + n).x add "*") add eval ("punto" + n).y) add "*") add eval ("punto" + n).z;
eval ("punto" + n).FNpunto3D();
eval ("punto" + n).FNsitua3D();
n++;
}
n = 5;
while (11 >= n) {
attachMovie("linea", "l" + n, n);
trace(n);
n++;
}
FNPuntos(punto2._x, punto2._y, punto4._x, punto4._y, "l5");
FNPuntos(punto6._x, punto6._y, punto7._x, punto7._y, "l6");
FNPuntos(punto5._x, punto5._y, punto6._x, punto6._y, "l7");
FNPuntos(punto8._x, punto8._y, punto7._x, punto7._y, "l8");
FNPuntos(punto4._x, punto4._y, punto1._x, punto1._y, "l9");
attachMovie("linea", "l1", 82);
attachMovie("linea", "l2", 81);
attachMovie("linea", "l4", 80);
FNPuntos(punto11._x, punto11._y, punto10._x, punto10._y, "l1");
FNPuntos(punto12._x, punto12._y, punto11._x, punto11._y, "l2");
FNPuntos(punto9._x, punto9._y, punto12._x, punto12._y, "l4");
attachMovie("linea", "l12", 69);
attachMovie("linea", "l13", 70);
attachMovie("linea", "l14", 71);
attachMovie("linea", "l15", 72);
attachMovie("linea", "l16", 73);
attachMovie("linea", "l17", 12);
attachMovie("linea", "l18", 13);
attachMovie("linea", "l19", 14);
FNPuntos(punto11._x, punto11._y, punto17._x, punto17._y, "l12");
FNPuntos(punto12._x, punto12._y, punto18._x, punto18._y, "l13");
FNPuntos(punto18._x, punto18._y, punto20._x, punto20._y, "l14");
FNPuntos(punto17._x, punto17._y, punto19._x, punto19._y, "l15");
FNPuntos(punto17._x, punto17._y, punto18._x, punto18._y, "l16");
FNPuntos(punto19._x, punto19._y, punto10._x, punto10._y, "l17");
FNPuntos(punto20._x, punto20._y, punto9._x, punto9._y, "l18");
FNPuntos(punto19._x, punto19._y, punto20._x, punto20._y, "l19");
cesped._y = punto4._y;
cespedf._y = punto1._y;
cesped._height = punto1._y - punto4._y;
cespedF._height = punto13._y - punto15._y;
cesped._x = (cespedf._X = punto1._x);
cesped._width = (cespedF._width = punto3._x - punto1._x);
cespedSUB._y = punto16._y;
cespedSUB._height = punto4._y - punto16._y;
cespedSUB._width = punto3._x - punto1._x;
cespedSUB._x = punto1._x;
l2.z = punto11.z;
l1.x = punto11.x;
l4.x = punto9.x;
l1._xscale = (l2._xscale = (l4._xscale = 100));
l12._xscale = (l13._xscale = (l14._xscale = (l15._xscale = (l16._xscale = 50))));
stop();
Instance of Symbol 50 MovieClip "penalti" in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
x0 = 320;
y0 = 240;
Fescala = 4;
Dfocal = 200;
z = -167.3;
y = 15;
x = 0;
FNpunto3D();
FNsitua3D();
trace(_root.penalti);
if (!_root.penalti) {
this._visible = 0;
}
}
Instance of Symbol 57 MovieClip "sombra" in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
x0 = 320;
y0 = 240;
Fescala = 4;
Dfocal = 200;
x = _root.xi;
y = 15;
z = -179;
}
Symbol 86 Button
on (release) {
getURL ("http://www.madpixel.es", "_blank");
}
Symbol 89 Button
on (release) {
getURL ("mailto:games@madpixel.es");
}
Symbol 94 Button
on (release) {
gotoAndPlay (8);
}
Symbol 97 Button
on (release) {
gotoAndStop (7);
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Instance of Symbol 152 MovieClip "rueda" in Symbol 153 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
}
Symbol 157 Button
on (press) {
sc1.baja = 1;
}
on (release, releaseOutside) {
sc1.baja = 0;
}
Symbol 158 Button
on (press) {
sc1.sube = 1;
}
on (release, releaseOutside) {
sc1.sube = 0;
}
Symbol 160 Button
on (press) {
startDrag (this, false, _x + 0.7, 254.7, _x + 0.7, 296.7);
}
on (release, dragOut) {
stopDrag();
}
Symbol 163 Button
on (press) {
sc2.baja = 1;
}
on (release, releaseOutside) {
sc2.baja = 0;
}
Symbol 164 Button
on (press) {
sc2.sube = 1;
}
on (release, releaseOutside) {
sc2.sube = 0;
}
Symbol 172 MovieClip Frame 1
stop();
Instance of Symbol 152 MovieClip "rueda" in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
}
Symbol 176 Button
on (release) {
gotoAndPlay (5);
}
Instance of Symbol 108 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 109 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Symbol 184 Button
on (release) {
nextFrame();
}
Symbol 190 Button
on (release) {
prevFrame();
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 210 Button
on (rollOver) {
trace(_name);
_parent.seleccion = quien;
}
on (rollOut) {
((_parent.seleccionS != "") ? ((_parent.seleccion = _parent.seleccionS)) : ((_parent.seleccion = "")));
}
on (release) {
this.nextFrame();
}
Symbol 211 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 211 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 212 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 212 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 213 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 213 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 214 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 214 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 215 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 215 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 216 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 216 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 217 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 217 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 218 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 218 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 219 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 219 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 220 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 220 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 221 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 221 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 222 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 222 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 223 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 223 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 224 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 224 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 225 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 225 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 226 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 226 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 227 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 227 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 228 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 228 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 229 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 229 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 230 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 230 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 231 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 231 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 232 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 232 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 233 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 233 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 234 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 234 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 235 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 235 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 236 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 236 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 237 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 237 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 238 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 238 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 239 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 239 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 240 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 240 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 241 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 241 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 242 MovieClip Frame 1
stop();
_root.rsl = _root.rsl + 1;
_name = ("b" + _root.rsl);
Symbol 242 MovieClip Frame 2
_parent.seleccion = (_parent.seleccionS = quien);
_root.seleccionN = _name.substr(1, 4);
while (32 >= n) {
n++;
if (_name.substr(1, 4) != n) {
trace(n);
eval ("_root.b" + n).gotoAndStop(1);
trace(eval ("_root.b" + n));
}
}
Symbol 252 Button
on (release) {
_parent.play();
}
Symbol 253 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 30
stop();
Symbol 272 MovieClip Frame 61
stop();
Symbol 272 MovieClip Frame 83
stop();
Symbol 272 MovieClip Frame 100
stop();
Symbol 272 MovieClip Frame 124
stop();
Symbol 272 MovieClip Frame 138
stop();
Symbol 272 MovieClip Frame 147
stop();
Symbol 272 MovieClip Frame 164
stop();
Symbol 272 MovieClip Frame 180
stop();
Symbol 278 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 25
stop();
Symbol 282 MovieClip Frame 1
i = 1;
while (200 >= i) {
removeMovieClip("l" + i);
i++;
}
removeMovieClip("pelotaN");
removeMovieClip("sombraN");
removeMovieClip("redN");
removeMovieClip("banerDN");
removeMovieClip("banerIN");
removeMovieClip("golN");
removeMovieClip("porteroN");
removeMovieClip("barreraN");
duplicateMovieClip ("banerI", "banerIN", 67);
duplicateMovieClip ("banerD", "banerDN", 68);
duplicateMovieClip ("red", "redN", 74);
duplicateMovieClip ("sombra", "sombraN", 129);
duplicateMovieClip ("portero", "porteroN", 98);
duplicateMovieClip ("gol", "golN", 2000);
if ((!_root.penalti) && (!_root.Rz)) {
duplicateMovieClip ("barrera", "barreraN", 143);
} else {
barrera._visible = 0;
}
redN._alpha = 60;
red._visible = 0;
golN._xscale = (golN._yscale = 75);
if (!_root.penalti) {
penalti._visible = 0;
} else {
penalti._visible = 1;
}
Xpos = [-134.31, 134.44, 134.44, -132.62, -60.44, -61.25, 62.25, 61.5, 28.56, -26.75, -26.75, 28.75, -26.75, 27.81, 0.5, 0, -26.75, 28.75, -26.75, 28.75];
Ypos = [15, 15, 15, 15, 15, 15, 15, 15, 14.5, 14.5, -2.25, -2.25, 15, 15, 15, 15, -1.5, -1.5, 15, 15];
Zpos = [-121.56, -45, -121.56, -45, -45, -83, -83, -45, -45, -45, -45, -45, -162.37, -162.37, -122.31, 0, -40, -40, -36, -36];
len = Xpos.length;
n = 1;
while (len >= n) {
attachMovie("punto", "punto" + n, n + 1000);
eval ("punto" + n).x0 = 320;
eval ("punto" + n).y0 = 240;
eval ("punto" + n).Fescala = 100;
eval ("punto" + n).Dfocal = 200;
eval ("punto" + n).x = Xpos[n - 1];
eval ("punto" + n).y = Ypos[n - 1] + 1;
eval ("punto" + n).z = Zpos[n - 1] + -41;
eval ("punto" + n).cor = (((eval ("punto" + n).x add "*") add eval ("punto" + n).y) add "*") add eval ("punto" + n).z;
eval ("punto" + n).FNpunto3D();
eval ("punto" + n).FNsitua3D();
n++;
}
n = 5;
while (11 >= n) {
attachMovie("linea", "l" + n, n);
n++;
}
FNPuntos(punto2._x, punto2._y, punto4._x, punto4._y, "l5");
FNPuntos(punto6._x, punto6._y, punto7._x, punto7._y, "l6");
FNPuntos(punto5._x, punto5._y, punto6._x, punto6._y, "l7");
FNPuntos(punto8._x, punto8._y, punto7._x, punto7._y, "l8");
FNPuntos(punto4._x, punto4._y, punto1._x, punto1._y, "l9");
attachMovie("linea", "l1", 82);
attachMovie("linea", "l2", 81);
attachMovie("linea", "l4", 80);
FNPuntos(punto11._x, punto11._y, punto10._x, punto10._y, "l1");
FNPuntos(punto12._x, punto12._y, punto11._x, punto11._y, "l2");
FNPuntos(punto9._x, punto9._y, punto12._x, punto12._y, "l4");
attachMovie("linea", "l12", 69);
attachMovie("linea", "l13", 70);
attachMovie("linea", "l14", 71);
attachMovie("linea", "l15", 72);
attachMovie("linea", "l16", 73);
attachMovie("linea", "l17", 12);
attachMovie("linea", "l18", 13);
attachMovie("linea", "l19", 14);
FNPuntos(punto11._x, punto11._y, punto17._x, punto17._y, "l12");
FNPuntos(punto12._x, punto12._y, punto18._x, punto18._y, "l13");
FNPuntos(punto18._x, punto18._y, punto20._x, punto20._y, "l14");
FNPuntos(punto17._x, punto17._y, punto19._x, punto19._y, "l15");
FNPuntos(punto17._x, punto17._y, punto18._x, punto18._y, "l16");
FNPuntos(punto19._x, punto19._y, punto10._x, punto10._y, "l17");
FNPuntos(punto20._x, punto20._y, punto9._x, punto9._y, "l18");
FNPuntos(punto19._x, punto19._y, punto20._x, punto20._y, "l19");
cesped._y = punto4._y;
cespedf._y = punto1._y;
cesped._height = punto1._y - punto4._y;
cespedF._height = punto13._y - punto15._y;
cesped._x = (cespedf._X = punto1._x);
cesped._width = (cespedF._width = punto3._x - punto1._x);
cespedSUB._y = punto16._y;
cespedSUB._height = punto4._y - punto16._y;
cespedSUB._width = punto3._x - punto1._x;
cespedSUB._x = punto1._x;
l2.z = punto11.z;
l1.x = punto11.x;
l4.x = punto9.x;
l1._xscale = (l2._xscale = (l4._xscale = 100));
l12._xscale = (l13._xscale = (l14._xscale = (l15._xscale = (l16._xscale = 50))));
stop();
Instance of Symbol 259 MovieClip "penalti" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
x0 = 320;
y0 = 240;
Fescala = 4;
Dfocal = 200;
z = -167.3;
y = 15;
x = 0;
FNpunto3D();
FNsitua3D();
}
Instance of Symbol 18 MovieClip [nivel1] "red" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
if (_name == "red") {
_visible = 0;
}
}
Instance of Symbol 57 MovieClip "sombra" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
x0 = 320;
y0 = 240;
Fescala = 4;
Dfocal = 200;
x = _root.xi;
y = 15;
z = -179;
}
Symbol 282 MovieClip Frame 2
duplicateMovieClip ("pelota", "pelotaN", Math.abs(_root.zi));
Instance of Symbol 281 MovieClip "pelota" in Symbol 282 MovieClip Frame 2
onClipEvent (load) {
function FNmov() {
t = t + 0.1;
tx = tx + incT;
limite = _width / 2;
z = zi + (v0z * t);
y = (yi + (v0y * t)) + ((4.9 * t) * t);
x = (xi + (v0x * tx)) + (((0.3 * incX) * tx) * tx);
}
function FNtirarPortero() {
dy = Math.abs(y);
dx = Math.abs(x);
potencia = _root.potencia;
if (4 < dx) {
if (12 < dy) {
_parent.porteroN.gotoAndPlay("f9");
} else if (8 < dy) {
_parent.porteroN.gotoAndPlay("f4");
} else {
_parent.porteroN.gotoAndPlay("f5");
}
} else {
if (2 < dx) {
if (12 < dy) {
_parent.porteroN.gotoAndPlay("f7");
} else {
_parent.porteroN.gotoAndPlay("f6");
}
}
if (2 >= dx) {
if (10 < dy) {
_parent.porteroN.gotoAndPlay("f7");
} else {
_parent.porteroN.gotoAndPlay("f8");
}
}
}
}
x0 = 320;
y0 = 240;
Fescala = 4;
Dfocal = 200;
v0y = _root.v0y;
v0z = _root.v0z;
v0x = _root.v0x;
trace("incX :" + incX);
incX = (-_root.incX) + _root.viento;
trace("VIENTO :" + _root.viento);
zBi = (zi = _root.zi);
yi = 15;
xi = _root.xi;
z = zi;
x = xi;
y = yi;
z1 = -45;
z2 = -134;
x2 = 150;
x1 = -150;
y1 = -1000;
y2 = 15;
incT = 0.1;
_root.aciertosOLD = _root.aciertos;
var paloDER = ((paloIZQ = (largero = _parent.l2.z)));
FNpunto3D();
FNsitua3D();
bote = new Sound();
bote.attachSound("bote");
Schoque = new Sound();
Schoque.attachSound("choque");
}
onClipEvent (enterFrame) {
_root.v0y = velY;
FNmov();
velX = Math.round((x - xi) / t);
velY = Math.round(((y + (((0.5 * g) * t) * t)) - yi) / t);
velZ = Math.round(((z + (((0.3 * incX) * tx) * tx)) - zi) / tx);
if (y2 < y) {
yi = y2;
v0y = v0y / 2;
v0y = -1 * Math.abs(v0y);
zi = z;
v0z = v0z * 0.941176470588235;
if (15.2 < y) {
bote.start();
}
if (incX != 0) {
incT = incT * 0.941176470588235;
((1 < incT) ? ((incT = 1)) : ((incT = incT)));
} else {
tx = 0;
xi = x;
v0x = v0x * 0.941176470588235;
}
t = 0;
}
if ((y < (_parent.l2.y - 2)) && (largero < z)) {
sup = true;
}
if (((largero < z) && ((_parent.l1.x < x) && (x < _parent.l4.x))) && (!sup)) {
dentro = true;
}
if ((((((largero - 5) < z) && (z < (largero + 5))) && ((this.hitTest(_parent.l1) || (this.hitTest(_parent.l4))) || (this.hitTest(_parent.l2)))) && (!choque)) && (!choquepalo)) {
Schoque.start();
boo = random(2) + 1;
if (this.hitTest(_parent.l2)) {
if (boo == 1) {
choquepalo = true;
yi = y;
v0y = -((v0y * 16) / 17);
zi = largero;
v0z = velZ / 4;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
} else {
yi = y;
v0y = (v0y * 16) / 17;
zi = largero;
v0z = (-velZ) / 4;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
}
} else {
choque = true;
yi = y;
v0y = -((v0y * 16) / 17);
zi = largero;
v0z = (-velZ) / 4;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
}
FNmov();
}
if (-16 < z) {
Schoque.start();
if (2 < y) {
yi = y;
v0y = ((-v0y) * 16) / 17;
zi = -16;
v0z = (-velZ) / 8;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
FNmov();
} else {
yi = y;
v0y = (v0y * 16) / 17;
zi = -16;
v0z = 0;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
FNmov();
}
}
if (((this.hitTest(_parent.banerIN) || (this.hitTest(_parent.banerDN))) && ((-70 < z) && (z < -67))) && (!choque)) {
Schoque.start();
choque = true;
yi = y;
v0y = ((-v0y) * 16) / 17;
zi = -70;
v0z = (-velZ) / 4;
xi = x;
v0x = velX / 2;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
FNmov();
}
if ((((((x < _parent.l1.x) || (_parent.l4.x < x)) && (!dentro)) && (!choque)) && (!sup)) && (largero < z)) {
((_parent.l1.x < x) ? ((novalido = 1)) : ((novalido = 2)));
}
if (((((dentro) && ((!choque) || (choquepalo))) && (!sup)) && (-79 < z)) && (z < -70)) {
delete choquepalo;
choque = true;
yi = y;
v0y = 0;
zi = -76;
v0z = -random(2);
v0x = 0;
incX = 0;
t = 0;
tx = 0;
if (!novalido) {
if ((x < _parent.l1.x) || (_parent.l4.x < x)) {
((x < _parent.l1.x) ? ((xi = _parent.l1.x)) : ((xi = _parent.l4.x)));
} else {
xi = x;
}
} else {
((novalido == 1) ? ((xi = _parent.l1.x + 2)) : ((xi = _parent.l1.x - 2)));
}
FNmov();
_parent.golN.play();
_parent.redN.play();
_root.goles = _root.goles + _root.bonus;
_root.aciertos++;
}
dndtirar = -5 + (int(Math.random() * 10) * 2);
if ((!tirarse) && ((-130 + dndtirar) < z)) {
trace(dndtirar);
((0 < x) ? ((a = -1)) : ((a = 1)));
_parent.porteroN._xscale = (-a) * 14.3;
FNtirarPortero();
tirarse = true;
}
if (((((tirarse) && ((((_parent.porteroN.hitTest(_x, _y, false) || (_parent.porteroN.hitTest(_x - 2, _y, false))) || (_parent.porteroN.hitTest(_x + 2, _y, false))) || (_parent.porteroN.hitTest(_x, _y - 2, false))) || (_parent.porteroN.hitTest(_x, _y + 2, false)))) && (-102 < z)) && (z < -97)) && (!choque)) {
((Schoque.start()((a = random(2))) == 0) ? ((a = -1)) : ((a = 1)));
choque = true;
yi = y;
v0y = ((a * v0y) * 8) / 9;
zi = z;
v0z = (-velZ) / 6;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
FNmov();
}
if (((_parent.barreraN.hitTest(_x, _y, false) && (-145 < z)) && (z < -141)) && (!choque)) {
((((a = random(2))) == 0) ? ((a = -1)) : ((a = 1)));
Schoque.start();
choque = true;
yi = y;
v0y = ((a * v0y) * 8) / 9;
zi = ((-141 < z) ? -144 : (z));
v0z = (-velZ) / 4;
xi = x;
v0x = velX;
incX = 0;
t = 0;
tx = 0;
_rotation = (_rotation + 180);
FNmov();
}
FNpunto3D();
FNsitua3D();
this.swapDepths(Math.abs(z));
_parent.sombraN.swapDepths(Math.abs(z + 1));
if (Yold == y) {
stop();
if (_parent.golN._currentframe == 1) {
_root.lanzamientos++;
removeMovieClip("_root.marcadorINF.b" + (7 - _root.lanzamientos));
if (_root.lanzamientos < 6) {
_root.gotoAndPlay("lanza");
} else {
_root.gotoAndPlay("final");
this.removeMovieClip();
}
}
}
Yold = y;
Zold = z;
Xold = x;
_parent.sombraN.x = x;
_parent.sombraN.y = 16;
_parent.sombraN.z = z;
_parent.sombraN.FNpunto3D();
_parent.sombraN.FNsitua3D();
}
Symbol 282 MovieClip Frame 3
eval ("barreraN.a" + random(4)).play();
eval ("barreraN.a" + random(4)).play();
eval ("barreraN.a" + random(4)).play();
eval ("barreraN.a" + random(4)).play();
eval ("barreraN.a" + random(4)).play();
Symbol 282 MovieClip Frame 4
stop();
Instance of Symbol 283 MovieClip "p" in Symbol 284 MovieClip Frame 1
onClipEvent (load) {
x0 = 0;
y0 = 0;
vel = 2;
y = y - ((z * 50) / 208);
yo = parseInt(_name.substr(1, 5));
if (yo < 10) {
y = y - ((z * 40) / 208);
}
FNPunto3D();
FNsitua3D();
}
onClipEvent (enterFrame) {
if (yo < 10) {
if (Key.isDown(38) && (_parent.noMOV)) {
y = y + ((y * 10) / 208);
}
if (Key.isDown(40) && (_parent.noMOV)) {
y = y - ((y * 10) / 208);
}
if (((Key.isDown(Key.SHIFT) && (Key.isDown(37))) && (_parent.incX < 10)) && (!_root.penalti)) {
FNrotarZ(-vel);
FNrotarY(vel / 2);
}
if (((Key.isDown(Key.SHIFT) && (Key.isDown(39))) && (-10 < _parent.incX)) && (!_root.penalti)) {
FNrotarZ(vel);
FNrotarY((-vel) / 2);
}
if (Key.isDown(37) && (!Key.isDown(Key.SHIFT))) {
FNrotarY((-vel) / 2);
incP = incP - 1;
}
if (Key.isDown(39) && (!Key.isDown(Key.SHIFT))) {
FNrotarY(vel / 2);
incP = incP + 1;
}
if ((Key.isDown(Key.SPACE) && ((_name != "p1") && (_name != "p7"))) && (_parent.incSPACE < 20)) {
FNrotarY(-incP);
FNpunto3D();
FNsitua3D();
z = z + ((z * 10) / 208);
y = y + ((y * 10) / 208);
FNrotarY(incP);
FNpunto3D();
FNsitua3D();
}
FNPunto3D();
FNsitua3D();
} else {
x = eval ("_parent.p" + (yo - 10)).x;
z = eval ("_parent.p" + (yo - 10)).z;
FNpunto3D();
FNsitua3D();
if ((Key.isDown(Key.SPACE) && ((_name != "p1") && (_name != "p7"))) && (_parent.incSPACE < 20)) {
z = z + ((z * 10) / 208);
y = y + ((y * 10) / 208);
}
}
}
Symbol 286 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 1
stop();
Instance of Symbol 286 MovieClip "banderas" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(parseInt(_root.seleccionN) + 1);
}
Instance of Symbol 291 MovieClip "b1" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 296 MovieClip "viento" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
_xscale = 25;
}
Symbol 309 Button
on (release, keyPress "<Enter>") {
with (_root) {
xi = 0;
FNescala(sc, 0, 80);
marcadorINF.FNreload();
lanzamientos = 0;
gotoAndPlay("lanza");
}
}
Symbol 314 Button
on (release, keyPress "<Space>") {
_root.gotoAndStop(5);
}
Symbol 317 Button
on (release, keyPress "<Space>") {
this.gotoAndStop(3);
}
Instance of Symbol 109 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 108 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 1);
}
Instance of Symbol 286 MovieClip "banderas" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(parseInt(_root.seleccionN) + 1);
}
Instance of Symbol 311 MovieClip in Symbol 319 MovieClip Frame 3
onClipEvent (load) {
if ((int(_root.seleccionN) < 1) || (32 < int(_root.seleccionN))) {
_parent.gotoAndStop(50);
}
if (_root.goles == null) {
_root.goles = 0;
}
seleccion = _root.seleccionN.toString();
if (seleccion.length == 1) {
seleccion = "0" + seleccion;
}
nom = (seleccion + ":") + _root.nombre;
score = _root.goles;
cnt = _root.cnt;
loadVariables ("cgi-bin/sc.asp", this, "POST");
}
onClipEvent (data) {
_parent.gotoAndStop(5);
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
}
Instance of Symbol 312 MovieClip in Symbol 319 MovieClip Frame 5
onClipEvent (load) {
lista = "";
loadVariables ("cgi-bin/banderasN.asp", this, "POST");
}
onClipEvent (data) {
l = new Array();
carga = true;
indice = 1;
}
onClipEvent (enterFrame) {
if ((carga) && (33 >= indice)) {
pos = lista.indexOf(",", posOLD);
cadena = lista.substr(posOLD, pos - posOLD);
l.push(cadena);
posOLD = pos + 1;
indice = indice + 1;
} else if (carga) {
_root.lista = l;
delete carga;
_parent.gotoAndStop(7);
}
}
Instance of Symbol 313 MovieClip in Symbol 319 MovieClip Frame 7
onClipEvent (load) {
lista = _root.lista;
seleccionN = int(_root.seleccionN);
goles = int(_root.goles);
if ((seleccionN < 1) || (32 < seleccionN)) {
_parent.gotoAndStop(50);
}
if (isNaN(_root.goles)) {
goles = 0;
}
pos = 0;
while (pos < (lista.length - 1)) {
if (int(lista[pos].split(":")[1]) == seleccionN) {
Lpos = pos;
break;
}
pos++;
}
if (lpos == null) {
_parent.gotoAndStop(50);
}
Tgoles = int(lista[Lpos].split(":")[0]);
Tgoles = Tgoles + goles;
if (seleccionN < 10) {
lista[Lpos] = ((Tgoles add ":") add "0") add seleccionN;
} else {
lista[Lpos] = (Tgoles add ":") add seleccionN;
}
n = new Array();
k = 0;
while (k < (lista.length - 1)) {
n.push(lista[k].split(":")[0]);
k++;
}
nuevo = new Array();
total = n.length;
k = 0;
while (k < total) {
i1 = n[0];
ordenN = 0;
r = 0;
while (r < total) {
comp = n[r];
if ((Math.max(i1, comp) != i1) || (i1 == null)) {
i1 = comp;
ordenN = r;
}
r++;
}
nuevo.push(lista[ordenN]);
n[ordenN] = null;
k++;
}
lista = nuevo.toString() + ",0:00";
loadVariables ("cgi-bin/banderasN.asp", this, "POST");
}
onClipEvent (data) {
_parent.gotoAndStop(9);
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 4;
}
Symbol 319 MovieClip Frame 16
stop();
Symbol 319 MovieClip Frame 18
stop();