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 * 320;
_root.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
}
movieClip 6 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
var i = 0;
}
button 11 {
on (release) {
i = 1;
}
}
frame 32 {
if (i == 0) {
gotoAndPlay(3);
}
}
button 73 {
on (release) {
i = 2;
}
}
frame 51 {
if (i == 1) {
gotoAndPlay(32);
}
}
frame 110 {
stop();
}
button 233 {
on (release) {
gotoAndPlay(3);
}
}