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 * 100;
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
}
movieClip 2 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
playBtn.onRelease = function () {
_root.gotoAndPlay(5);
};
}
movieClip 8 {
}
movieClip 11 {
frame 25 {
stop();
}
}
frame 218 {
stop();
replayBtn.onRelease = function () {
_root.gotoAndPlay(5);
};
}