Codice trovato sul sito html.it...
Io vorrei che il mc con questo codice fosse visualizzato fino al caricamento dell'audio caricato su _level10...codice:onClipEvent(load) { _root.stop(); _visible = false; fscommand ("allowscale", "false"); loadMovieNum( "include/filmati/suono.swf", 10 ); } onClipEvent(enterFrame){ car0 = _root.getBytesLoaded(); tot0 = _root.getBytesTotal(); car10 = _level10.getBytesLoaded(); tot10 = _level10.getBytesTotal(); if (_level10._url != null) { if( (car0 == tot0) && (car10 == tot10) ) { _root.nextFrame(); _level10.nextFrame(); } else { _visible = true; this.loading.barra1._xscale = Math.round((car0/tot0)*100); this.loading.barra2._xscale = Math.round((car10/tot10)*100); } } }
ma come potete vedere http://www.informaticaworld.it/test/ non è così...infatti entra nel pagina main senza aspettare che la musica sia caricata...