Combined Code
frame 1 {
bytes_loaded = Math.round(this.getBytesLoaded());
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + '%';
}
frame 12 {
if (_root.percentLoaded == 100) {
gotoAndPlay(13);
} else {
gotoAndPlay(1);
}
}
frame 27 {
stop();
}
button 38 {
on (release) {
play();
}
}
frame 6746 {
stop();
}
button 3030 {
on (release) {
gotoAndPlay(32);
}
}