Combined Code
frame 1 {
function cargando() {
var v4;
var v3;
var v2;
v4 = _root.getBytesTotal();
v3 = _root.getBytesLoaded();
v2 = Math.floor(v3 * 100 / v4);
porcentaje_txt.text = v2 + ' %';
barra_mc.gotoAndStop(v2);
if (v3 == v4) {
clearInterval(hiloPrecarga);
play();
}
}
var hiloPrecarga = setInterval(cargando, 1);
stop();
}
movieClip 5 {
}
frame 2 {
var globalVolume = new Sound();
btnSoundOff.onRelease = function () {
globalVolume.setVolume(0);
};
btnSoundOn.onRelease = function () {
globalVolume.setVolume(100);
};
}
// unknown tag 88 length 50
frame 26 {
_root.gotoAndPlay('2');
}