Combined Code
frame 1 {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 273;
5;
this.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
gotoAndStop(3);
}
}
movieClip 4 {
}
frame 2 {
this.gotoAndPlay(1);
}
movieClip 10 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 11 {
frame 30 {
xxx = random(3) + 1;
soundz.gotoAndStop(xxx);
trace(xxx);
}
frame 30 {
_root.playRandomSound();
}
}