Combined Code
frame 1 {
function startMovie() {
if (getBytesLoaded() == getBytesTotal()) {
preloader._visible = false;
gotoAndPlay(2);
} else {
startLoad(this);
}
}
function startLoad(Clip) {
preload = setInterval(assessLoad, 100, Clip, endPreload);
preloader._visible = true;
preloader.preloader_bar._xscale = 0;
}
preloader.preloader_bar._xscale = 0;
preloader._visible = false;
stop();
assessLoad = function (Clip, endPreLoad) {
var v1 = Clip.getBytesLoaded() / 1024;
var v3 = Clip.getBytesTotal() / 1024;
var v2 = Math.floor((v1 / v3) * 100);
preloader.preloader_bar._xscale = v2;
preloader.pct_loaded.htmlText = v2 + '%';
if (v1 / v3 == 1 && v1 > 1) {
endPreLoad();
}
};
endPreload = function () {
clearInterval(preload);
gotoAndPlay(2);
};
startMovie();
}
movieClip 5 {
}
movieClip 6 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 12 {
}
// unknown tag 88 length 94
movieClip 16 {
}
button 20 {
on (release) {
stopAllSounds();
gotoAndPlay(2);
}
}
button 21 {
on (release) {
gotoAndStop(1);
}
}
movieClip 23 {
frame 1 {
stop();
}
frame 2 {
stopAllSounds();
}
frame 3 {
stopAllSounds();
gotoAndPlay(2);
}
}
frame 2 {
stop();
}
button 27 {
on (release) {
gotoAndStop(3);
}
}
frame 3 {
stop();
}
movieClip 31 {
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 37 {
}
movieClip 44 {
}
movieClip 54 {
}
movieClip 70 {
}
movieClip 75 {
frame 45 {
if (_global.ojo1) {
gotoAndPlay('1');
}
if (!_global.ojo1) {
gotoAndPlay('2');
}
}
frame 120 {
if (_global.ojo2) {
gotoAndPlay('2');
}
if (!_global.ojo2) {
gotoAndPlay('3');
}
}
frame 395 {
if (_global.ojo4) {
gotoAndPlay('4');
}
if (!_global.ojo4) {
gotoAndPlay('1');
}
}
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 98 {
}
movieClip 101 {
}
movieClip 102 {
}
movieClip 105 {
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 129 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 138 {
}
button 143 {
on (release) {
loop1 = false;
botoncete1.enabled = false;
}
}
button 145 {
on (release) {
loop2 = false;
botoncete2.enabled = false;
}
}
button 224 {
on (release) {
loop4 = false;
botoncete4.enabled = false;
}
}
movieClip 226 {
frame 1 {
loop1 = true;
}
frame 1 {
_global.ojo4 = false;
}
frame 2 {
_global.ojo1 = true;
}
frame 50 {
if (loop1) {
gotoAndPlay('Escena1');
} else {
gotoAndPlay('Escena2');
}
}
frame 51 {
loop2 = true;
}
frame 51 {
_global.ojo1 = false;
}
frame 52 {
_global.ojo2 = true;
}
frame 92 {
if (loop2) {
gotoAndPlay('Escena2');
} else {
gotoAndPlay('Escena3');
}
}
frame 93 {
_global.ojo2 = false;
}
frame 94 {
_global.ojo3 = true;
}
frame 355 {
_global.ojo3 = false;
}
frame 356 {
loop4 = true;
}
frame 356 {
_global.ojo4 = true;
}
frame 413 {
if (loop4) {
gotoAndPlay('Escena4');
} else {
gotoAndPlay('Escena5');
}
}
frame 424 {
gotoAndPlay('Escena1');
}
}