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 5 {
if (_root.percentLoaded == 100) {
gotoAndPlay(6);
} else {
gotoAndPlay(1);
}
}
frame 6 {
stop();
}
button 15 {
on (release) {
play();
}
}
button 25 {
on (release) {
play();
}
}
button 29 {
on (release) {
stop();
}
on (release) {
stopAllSounds();
}
}
frame 7936 {
stop();
}
button 3239 {
on (release) {
play();
}
}