Ozren,

 Not sure on this, but I happened to be looking at the SoundEffect and
flash.media.Sound classes yesterday. On the Sound class is a url
property and it looks like you could use it to point to an mp3 and
download it. Also appears you can buffer it and start playing before
it's completely downloaded. The SoundEffect class uses the Sound Class
so you should be able to do this as an effect as well. Check out the
livedocs for more info and maybe somebody a bit more hip to be square
than myself on Sound will chime in to confirm this.

 

 

Hope that helps,

 

Brian..

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of helix206
Sent: Friday, September 07, 2007 7:30 AM
To: [email protected]
Subject: [flexcoders] How to play a sound in flex wihtout embeding it in
class first?

 

I would like to know how to play a mp3 sound in flex dinamicly, so i 
dont have to embed 20 files in flex.

Thanks in advance.

Ozren

 



***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***

Reply via email to