codice:
onClipEvent (load) {
_visible = 0;
fscommand("allowscale", "false");
loadMovie("home_page.swf", "_parent.uno");
_root.stop();
}
onClipEvent (enterFrame) {
car0 = _root.getBytesLoaded();
tot0 = _root.getBytesTotal();
car10 = _parent.uno.getBytesLoaded();
tot10 = _parent.uno.getBytesTotal();
if (_parent.uno._url != null) {
if (car0 == tot0 && car10 == tot10) {
_parent.uno.nextFrame();
_root.nextFrame();
} else {
_visible = 1;
barra1._xscale = Math.round((car0/tot0)*100);
barra2._xscale = Math.round((car10/tot10)*100);
}
}
}
prova così