Combined Code
frame 1 {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar._width = getPercent * 510;
_root.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
var mute = 0;
}
movieClip 12 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
}
frame 3 {
var c = 0;
var prec = c;
var amb = new Sound();
var v1 = new Sound();
var v2 = new Sound();
var v3 = new Sound();
var v4 = new Sound();
var v5 = new Sound();
v1.attachSound('Azu_01');
v2.attachSound('Azu_02');
v3.attachSound('Azu_03');
v4.attachSound('Azu_04');
v5.attachSound('Azu_05');
amb.attachSound('Amb');
amb.onSoundComplete = function () {
amb.start(0, 1);
};
amb.start();
}
// unknown tag 88 length 67
button 19 {
on (release) {
mute = !mute;
if (mute != 0) {
var PlayingSound = new Sound();
PlayingSound.setVolume(0);
} else {
var PlayingSound = new Sound();
PlayingSound.setVolume(100);
}
}
}
frame 20 {
c = random(4);
if (prec == c) {
++c;
}
if (c == 0) {
v1.start(0, 1);
} else {
if (c == 1) {
v2.start(0, 1);
} else {
if (c == 2) {
v3.start(0, 1);
} else {
if (c == 3) {
v4.start(0, 1);
} else {
if (c == 4) {
v5.start(0, 1);
}
}
}
}
}
prec = c;
}
frame 93 {
gotoAndPlay(4);
}