---
onClipEvent (enterFrame) {
all = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
_root.percent = Math.floor(loaded/all*100)+"%";
numberpercent = Math.floor(loaded/all*100);
_root.preloader.bar._xscale = numberpercent;
if (numberpercent == 100) {
gotoAndPlay ("loaded", 1);
} else {
gotoAndPlay (1);
}
}
-----
что именно мне взять отсюда?
