Combined Code
frame 1 {
loadpercent = '0%';
loadBytes = '0 of ' + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + ' Kb';
}
movieClip 4 {
frame 1 {
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 6 {
}
frame 2 {
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + '%';
loadBytes = Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + ' Kb of ' + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + ' Kb total Loaded.';
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loadPercent = '100%';
loadBytes = Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + ' Kb of ' + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + ' Kb total Loaded.';
gotoAndPlay(4);
}
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
stop();
}
button 10 {
on (release) {
gotoAndStop(5);
}
}
frame 5 {
play();
}
frame 14466 {
stop();
}