Combined Code
frame 1 {
function preloadSite() {
var v3 = _root.getBytesLoaded();
var v2 = _root.getBytesTotal();
var v4 = Math.round((v3 / v2) * 100);
redloadingbar_mc._xscale = v4;
percent_text.text = v4 + '%';
if (v3 >= v2 || loaded) {
if (lfade >= 100) {
clearInterval(loadingCall);
fade = 100;
gotoAndStop(2);
return undefined;
} else {
loaded = 1;
lfade += 10;
if (lfade >= 100) {
lfade = 100;
}
sheet_mc._alpha = lfade;
}
}
}
stop();
loadingbar_mc._xscale = 1;
webmasters_mc.gotoAndStop(1);
var loadingCall = setInterval(preloadSite, 50);
sheet_mc._x = 360;
sheet_mc._y = 288;
sheet_mc.gotoAndStop(1);
sheet_mc.swapDepths(33333);
lfade = 0;
sheet_mc._alpha = 0;
loaded = 0;