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 * 100;
_root.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
}
movieClip 4 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
play;
}
button 9 {
on (press) {
gotoAndPlay(20);
}
on (keyPress '<Space>') {
gotoAndPlay(20);
}
}
frame 19 {
gotoAndPlay(3);
}
frame 233 {
stop();
}
button 471 {
on (press) {
gotoAndPlay(3);
}
on (keyPress '<Space>') {
gotoAndPlay(3);
}
}