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 * 620;
_root.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
}
movieClip 5 {
}
frame 2 {
gotoAndPlay(2);
}
frame 3 {
var i = 0;
}
movieClip 9 {
}
button 11 {
on (release) {
i = 1;
}
}
movieClip 19 {
}
movieClip 27 {
}
movieClip 29 {
}
frame 22 {
if (i == 0) {
gotoAndPlay(3);
}
}
movieClip 30 {
}
frame 142 {
}
button 31 {
on (release) {
i = 2;
}
}
frame 202 {
if (i == 1) {
gotoAndPlay(142);
}
}
button 33 {
on (release) {
i = 3;
}
}
frame 243 {
if (i == 2) {
gotoAndPlay(212);
}
}
frame 259 {
}
button 37 {
on (release) {
i = 4;
}
}
frame 269 {
if (i == 3) {
gotoAndPlay(259);
}
}
button 39 {
on (release) {
gotoAndPlay(3);
}
}
frame 413 {
if (i == 4) {
gotoAndPlay(379);
}
}