Combined Code
frame 1 {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadText.text = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(4);
}
trace(_root.loadText);
}
frame 2 {
this.gotoAndPlay(5);
}
frame 11 {
_root.stop();
}
movieClip 5 {
}
instance of movieClip 5 {
onClipEvent (release) {
_root.nextFrame();
}
}
movieClip 7 {
}
instance of movieClip 7 {
onClipEvent (release) {
_root.prevFrame();
}
}