E' possibile creare uno streaming con Flash per rendere un sottofondo musicale?
E' possibile creare uno streaming con Flash per rendere un sottofondo musicale?
si, è possibile
http://forum.html.it/forum/showthrea...&highlight=mp3
![]()
non mi è chiaro...
dove va inserito lo script?
sulla _root...mi sembrava abbastanza chiaro :master:
codice:var fd:Sound = new Sound(); fd.loadSound("prova.mp3", true); this.onEnterFrame = function() { loa = fd.getBytesLoaded(); tot = fd.getBytesTotal(); perc = Math.round((loa/tot)*100); this.dis.text = perc+" %"; if (loa>=tot) { delete this.onEnterFrame; } trace(loa); }; fd.onSoundComplete = function() { trace("caricamento completato"); fd.start(0, 1); };
si... magari tu sei chiaro, son io che non so usare l' MX![]()
Ciao a tutti,
ho visto lo script e l'ho anche provato, l'unica cosa che non ho capito è come faccio a gestire il controllo dell'audio("stop" oppure "pausa" , etc.)
mi potete aiutare?
Grazie