Johan Nyberg escreveu:
Hi, anybody know if there is a way to loop a streamed mp3?
/Johan Nyberg
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
For this, you must be use method loadSound of Sound class
The method loadSound can't do loop in streamed mp3
You can use onSoundComplete to start your music again ...
var som:Sound = new Sound();
som.loadSound("file.mp3", true);
som.start();
som.onSoundComplete = function() {
som.start();
}
i dont know if this is correct code , but works fine here ...
--
Gustavo Teider ( gugateider )
www.gugateider.com
Curitiba - PR
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com