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 20 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
}
frame 3 {
var c = 0;
var amb = new Sound();
var chain01 = new Sound();
var chain02 = new Sound();
var chain03 = new Sound();
var drag01 = new Sound();
var drag02 = new Sound();
var drag03 = new Sound();
var drag04 = new Sound();
var drag05 = new Sound();
var wolf01 = new Sound();
var wolf02 = new Sound();
var wolf03 = new Sound();
var wolf04 = new Sound();
var wolf05 = new Sound();
chain01.attachSound('Chain01');
chain02.attachSound('Chain02');
chain03.attachSound('Chain03');
drag01.attachSound('DragMoan01');
drag02.attachSound('DragMoan02');
drag03.attachSound('DragMoan03');
drag04.attachSound('DragMoan04');
drag05.attachSound('DragMoan05');
wolf01.attachSound('WolfMoan01');
wolf02.attachSound('WolfMoan02');
wolf03.attachSound('WolfMoan03');
wolf04.attachSound('WolfMoan04');
wolf05.attachSound('WolfMoan05');
amb.attachSound('Ambient');
amb.onSoundComplete = function () {
amb.start(0, 1);
};
amb.start();
}
// unknown tag 88 length 67
button 27 {
on (release) {
mute = !mute;
if (mute != 0) {
var PlayingSound = new Sound();
PlayingSound.setVolume(0);
} else {
var PlayingSound = new Sound();
PlayingSound.setVolume(100);
}
}
}
frame 14 {
c = random(2) + 1;
if (c == 1) {
chain01.start(0, 1);
} else {
if (c == 2) {
chain02.start(0, 1);
} else {
if (c == 3) {
chain03.start(0, 1);
}
}
}
}
frame 16 {
c = random(4) + 3;
if (c == 1) {
drag01.start(0, 1);
} else {
if (c == 2) {
drag02.start(0, 1);
} else {
if (c == 3) {
drag03.start(0, 1);
} else {
if (c == 4) {
drag04.start(0, 1);
} else {
if (c == 5) {
drag05.start(0, 1);
}
}
}
}
}
}
frame 17 {
c = random(4) + 3;
if (c == 1) {
wolf01.start(0, 1);
} else {
if (c == 2) {
wolf02.start(0, 1);
} else {
if (c == 3) {
wolf03.start(0, 1);
} else {
if (c == 4) {
wolf04.start(0, 1);
} else {
if (c == 5) {
wolf05.start(0, 1);
}
}
}
}
}
}
frame 33 {
gotoAndPlay(4);
}