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 11 {
}
// unknown tag 88 length 94
frame 2 {
stop();
}
button 18 {
on (release) {
gotoAndPlay('Escena1');
}
}
frame 3 {
loop1 = true;
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 53 {
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 58 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 81 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
button 98 {
on (release) {
loop1 = false;
botoncete1.enabled = false;
}
}
frame 37 {
if (loop1) {
gotoAndPlay('Escena1');
} else {
gotoAndPlay('Escena2');
}
}
frame 38 {
loop2 = true;
}
button 100 {
on (release) {
loop2 = false;
botoncete2.enabled = false;
}
}
frame 62 {
if (loop2) {
gotoAndPlay('Escena2');
} else {
gotoAndPlay('Escena3');
}
}
frame 333 {
loop4 = true;
}
button 183 {
on (release) {
loop4 = false;
botoncete4.enabled = false;
}
}
frame 382 {
if (loop4) {
gotoAndPlay('Escena4');
} else {
gotoAndPlay('Rep');
}
}
frame 390 {
gotoAndPlay('Escena1');
}