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);
}
var i = 0;
}
movieClip 6 {
}
frame 2 {
gotoAndPlay(1);
}
button 11 {
on (release) {
i = 1;
}
}
frame 32 {
if (i == 0) {
gotoAndPlay(3);
}
}
button 104 {
on (release) {
i = 2;
}
}
frame 63 {
if (i == 1) {
gotoAndPlay(48);
}
}
frame 138 {
stop();
i = 0;
}
button 287 {
on (release) {
gotoAndPlay(3);
i = 0;
}
}