Combined Code
frame 1 {
function preloadSite() {
var v3 = _root.getBytesLoaded();
var v2 = _root.getBytesTotal();
var v4 = Math.round((v3 / v2) * 100);
loader.porcent.text = v4 + '%';
loader.gotoAndStop(Math.round((v3 / v2) * 22));
percentClip._x = loadingBar._x + loadingBar._width;
bytesDisplay.text = 'loaded ' + v3 + ' of ' + v2 + ' bytes';
if (v3 >= v2) {
clearInterval(loadingCall);
gotoAndPlay(2);
}
}
stop();
loadingBar._xscale = 1;
var loadingCall = setInterval(preloadSite, 50);
}
movieClip 10 {
}
movieClip 17 {
}
frame 2 {
stop();
}
button 20 {
on (release) {
gotoAndPlay('start');
}
}
frame 2952 {
stop();
}