Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (load) {
time1 = int(getTimer() / 1000);
}
onClipEvent (enterFrame) {
b_loaded = _root.getBytesLoaded();
b_total = _root.getBytesTotal();
time = (getTimer() / 1000) - time1;
bps = b_loaded / time;
b_left = b_total - b_loaded;
s_left = Math.ceil(b_left / bps);
min = Math.floor(s_left / 60);
if (min >= 1) {
s_left = s_left - Math.floor(min * 60);
if (s_left < 10) {
s_left = "0" add s_left;
}
} else {
min = "0";
if (s_left < 10) {
s_left = "0" add s_left;
}
}
timeleft = (min add ":") add s_left;
bit_rate = Math.round(bps) add "bps";
percent = (b_loaded / b_total) * 100;
bar._xscale = 100 - percent;
stats = ((((("Cargados " add Math.round(b_loaded / 1000)) add "Kb de ") add Math.round(b_total / 1000)) add "Kb (") add Math.round(percent)) add "%)";
if (b_loaded >= b_total) {
_root.gotoAndPlay("inicio");
}
}
Frame 2
gotoAndPlay (1);
Frame 3
function joder1() {
_root.contenedor.arg._y = 5;
_root.contenedor.menu = 0;
_root.contenedor.deportes.site._alpha = 100;
var i = 0;
while (i < _root.sex1.length) {
duplicateMovieClip ("_root.contenedor.deportes.site", "site" + i, i);
_root.contenedor.deportes["site" + i].txt = _root.sex1[i][0];
_root.contenedor.deportes["site" + i].cuanto = _root.sex1[i][1];
_root.contenedor.deportes["site" + i].y_fin = _root.contenedor.deportes.site0._y + (_root.distancia * i);
i++;
}
_root.contenedor.deportes.site._alpha = 0;
}
function joder2() {
_root.contenedor.arg._y = 5;
_root.contenedor.menu = 0;
_root.contenedor.deportes.site._alpha = 100;
var i = 0;
while (i < _root.sex2.length) {
duplicateMovieClip ("_root.contenedor.deportes.site", "site" + i, i);
_root.contenedor.deportes["site" + i].txt = _root.sex2[i][0];
_root.contenedor.deportes["site" + i].cuanto = _root.sex2[i][1];
_root.contenedor.deportes["site" + i].y_fin = _root.contenedor.deportes.site0._y + (_root.distancia * i);
i++;
}
_root.contenedor.deportes.site._alpha = 0;
}
sex1 = [(boton1 = ["dormir", "0.015"]), (boton2 = ["estar relajado", "0.018"]), (boton3 = ["leer", "0.018"]), (boton4 = ["escribir", "0.027"]), (boton5 = ["mantenerse de pie", "0.029"]), (boton6 = ["estar sentado (comer, ver la tele..)", "0.025"]), (boton7 = ["conversar", "0.024"]), (boton8 = ["ducharse", "0.046"]), (boton9 = ["lavarse y vestirse", "0.050"]), (boton10 = ["hacer la cama", " 0.057"]), (boton11 = ["lavar platos", "0.037"]), (boton12 = ["lavar ropa", "0.070"]), (boton13 = ["lavar suelos", "0.066"]), (boton14 = ["limpiar ventanas", "0.061"]), (boton15 = ["planchar", "0.063"]), (boton16 = ["barrer", "0.031"]), (boton17 = ["pasar la aspiradora", " 0.068"]), (boton18 = ["cocinar", "0.045"]), (boton19 = ["conducir", "0.040"]), (boton20 = ["subir escaleras", "0.254"]), (boton21 = ["bajar escaleras", "0.101"]), (boton22 = ["caminar suavemente (3,5 Km/h)", "0.051"]), (boton23 = ["caminar r\u00E1pido (5,1 Km/h)", "0.069"]), (boton24 = ["", ""]), (boton25 = ["carpintero", "0.065"]), (boton26 = ["granjero", "0.056"]), (boton27 = ["mec\u00E1nico", "0.060"]), (boton28 = ["agricultor", ""]), (boton29 = [" plantar y cavar", "0.069"]), (boton30 = [" segar y arar sin m\u00E1quinas", "0.098"]), (boton31 = [" transportar sacos", "0.083"]), (boton32 = ["granjero", "0.056"]), (boton33 = ["trabajar con pico y pala", "0.095"]), (boton34 = ["talar \u00E1rboles", "0.107"]), (boton35 = ["alba\u00F1il", "0.070"]), (boton36 = ["jardinero", "0.086"]), (boton37 = ["trabajo de laboratorio", "0.035"]), (boton38 = ["mecanograf\u00EDa", "0.037"])];
sex2 = [(boton1 = ["correr suave (a 5,5 Km/h)", "0.100"]), (boton2 = ["correr moderado (a 7,5 Km/h)", "0.200"]), (boton3 = ["correr intenso (a 9 Km/h)", "0.300"]), (boton4 = ["saltar a la cuerda", "0.175"]), (boton5 = ["jugar a", ""]), (boton6 = [" petanca", "0.052"]), (boton7 = [" bolos", "0.098"]), (boton8 = [" billar", "0.026"]), (boton9 = [" golf", "0.079"]), (boton10 = [" ping pong", "0.057"]), (boton11 = [" baloncesto", "0.140"]), (boton12 = [" bal\u00F3n volea", "0.120"]), (boton13 = [" f\u00FAtbol", "0.137"]), (boton14 = [" tenis", "0.101"]), (boton15 = [" squash", "0.152"]), (boton16 = ["alpinismo", "0.140"]), (boton17 = ["judo y karate", "0.185"]), (boton18 = ["esqu\u00ED moderado", "0.142"]), (boton19 = ["esqu\u00ED intenso", "0.235"]), (boton20 = ["monta\u00F1ismo", "0.147"]), (boton21 = ["nataci\u00F3n", ""]), (boton22 = [" libre", "0.085"]), (boton23 = [" mariposa", "0.200"]), (boton24 = [" braza de espalda 30m/min", "0.100"]), (boton25 = [" pecho 27 m/min", "0.106"]), (boton26 = [" crawl 40 m/min", "0.128"]), (boton27 = ["baile", ""]), (boton28 = [" moderno moderado", "0.061"]), (boton29 = [" moderno vigoroso", "0.083"]), (boton30 = [" vals", "0.075"]), (boton31 = [" rumba", "0.101"]), (boton32 = [" ballet cl\u00E1sico", "0.110"]), (boton33 = ["montar a caballo", "0.107"]), (boton34 = ["conducir bicicletas a 14 Km/h", "0.100"]), (boton35 = ["conducir motos", "0.053"]), (boton36 = ["conducir coches", "0.043"]), (boton37 = ["", ""]), (boton38 = ["", ""])];
NombreMes = "";
actividad = "";
distancia = 13;
porcent = 0.4;
calorias = "";
peso = "";
tiempo = "";
monthname = ["1 min.", "5 min.", "10 min.", "20 min.", "30 min.", "40 min.", "50 min.", "60 min.", "1h. 30 min."];
_root.joder1();
stop();
Symbol 20 Button
on (release) {
_root.actividad = txt;
_root.calorias = cuanto;
}
on (rollOver) {
gotoAndStop (2);
}
on (rollOut, dragOut, dragOver, releaseOutside) {
gotoAndStop (1);
}
Symbol 22 MovieClip Frame 1
stop();
Instance of Symbol 16 MovieClip in Symbol 23 MovieClip Frame 1
onClipEvent (load) {
this._height = _root.botones.length * (_root.distancia + _root.porcent);
}
Instance of Symbol 22 MovieClip "site" in Symbol 23 MovieClip Frame 1
onClipEvent (load) {
y = _y;
}
onClipEvent (enterFrame) {
y = _y;
dy = (y_fin - y) / 5;
_y = (_y + dy);
}
Symbol 25 Button
on (press) {
this.startDrag(true, left, top, right, bottom);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 33 Button
on (release) {
_root.joder1();
gotoAndStop (1);
}
Symbol 34 Button
on (release) {
_root.joder2();
gotoAndStop (2);
}
Symbol 37 MovieClip Frame 1
stop();
Instance of Symbol 23 MovieClip "deportes" in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 28 MovieClip "arg" in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
this._y = _parent.desplaza2._y;
left = _parent.desplaza2._x;
top = _parent.desplaza2._y;
right = _parent.desplaza2._x;
bottom = (_parent.desplaza2._y + _parent.desplaza2._height) - (this._height / 1.3);
}
onClipEvent (enterFrame) {
dif = this._y - _parent.desplaza2._y;
porci = Math.ceil((dif / (_parent.desplaza2._height - (this._height * 1.2))) * 100);
_parent.deportes._y = (-(porci * (_parent.deportes._height - _parent.desplaza2._height))) / 100;
}
Symbol 64 Button
on (release) {
if (((calorias != "") & (tiempo != "")) && (peso != "")) {
gasto = Math.round((peso * tiempo) * calorias) + " calor\u00EDas";
nextFrame();
} else {
gasto = "Faltan datos";
}
}
Symbol 73 Button
on (press) {
gotoAndStop (2);
}
Symbol 74 Button
on (press, release) {
gotoAndStop (1);
}
Symbol 76 Button
on (rollOver, dragOver) {
gotoAndStop (2);
}
on (release) {
Set("/:tiempo", 1);
Set("/:mes", 0);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 77 Button
on (rollOver, dragOver) {
gotoAndStop (3);
}
on (release) {
Set("/:tiempo", 5);
Set("/:mes", 1);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 78 Button
on (rollOver, dragOver) {
gotoAndStop (4);
}
on (release) {
Set("/:tiempo", 10);
Set("/:mes", 2);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 79 Button
on (rollOver, dragOver) {
gotoAndStop (5);
}
on (release) {
Set("/:tiempo", 20);
Set("/:mes", 3);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 80 Button
on (rollOver, dragOver) {
gotoAndStop (6);
}
on (release) {
Set("/:tiempo", 30);
Set("/:mes", 4);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 81 Button
on (rollOver, dragOver) {
gotoAndStop (7);
}
on (release) {
Set("/:tiempo", 40);
Set("/:mes", 5);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 82 Button
on (rollOver, dragOver) {
gotoAndStop (8);
}
on (release) {
Set("/:tiempo", 50);
Set("/:mes", 6);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 83 Button
on (rollOver, dragOver) {
gotoAndStop (9);
}
on (release) {
Set("/:tiempo", 60);
Set("/:mes", 7);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 84 Button
on (rollOver, dragOver) {
gotoAndStop (10);
}
on (release) {
Set("/:tiempo", 90);
Set("/:mes", 8);
Set("/:NombreMes", /:monthname[/:mes]);
gotoAndStop (1);
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 119 Button
on (release) {
getURL ("http://www.pulevasalud.com/jsp/servicios/addserver/forward.jsp?url=http://www.pulevasalud.com/subcategoria.jhtml?ID_CATEGORIA=100803&id=4&nombre=aprende_calcular_calorias&from=pulevasalud&seccion=calculadora_gasto_calorico", "_blank");
}
Symbol 122 Button
on (release) {
getURL ("http://www.pulevasalud.com/jsp/servicios/addserver/forward.jsp?url=http://www.pulevasalud.com/subcategoria.jhtml?ID_CATEGORIA=2737&id=4&nombre=gimnasia_ejercicio_moderado&from=pulevasalud&seccion=calculadora_gasto_calorico", "_blank");
}
Symbol 125 Button
on (release) {
getURL ("http://www.pulevasalud.com/jsp/servicios/addserver/forward.jsp?url=http://www.pulevasalud.com/subcategoria.jhtml?ID_CATEGORIA=101577&id=4&nombre=plan_quemar_calorias&from=pulevasalud&seccion=calculadora_gasto_calorico", "_blank");
}
Symbol 128 Button
on (release) {
getURL ("http://www.pulevasalud.com/jsp/servicios/addserver/forward.jsp?url=http://www.pulevasalud.com/subcategoria.jhtml?ID_CATEGORIA=2423&id=4&nombre=cara_cruz_grasas&from=pulevasalud&seccion=calculadora_gasto_calorico", "_blank");
}
Symbol 135 Button
on (release) {
gasto = "";
gotoAndStop (3);
}