Groups | Blog | Home
all groups > flash actionscript > october 2007 >

flash actionscript : Playing sound (mp3) from user's HDD?


MazAwushu
10/6/2007 7:29:44 PM
Hello!

I've got following problem:
- I've got a flash website that is on a server
- I need user to be able to play his own mp3s (from his HDD) (something like a
mp3 player, but launched from a server)

------------------
I thought about following solution:
a sound object (ex. var sound:Sound = new Sound()) is loading a file peviously
uploaded to a server using sound.load(new URLRequest(...))

But it's very "complicated"... user is wasting his time 1. to upload mp3 from
his HDD, and 2. to download the same mp3 back to his local drive. It's waste of
time and bandwich just for being able to access the local file. Isn't there any
other way to solve the problem without having to upload and download the song?

Thank you in advance for any response.
Maciej from Poland.
MazAwushu
10/7/2007 12:00:00 AM
Thank you for your reply.

So I think that's what Adobe team should improve in the next versions of
Flash. It will not decrease safety, because a link to local file can only be
visible to Flash (and not for others, and it can't be displayed) and it's only
after the user selects the file from the browse() window. It would be much more
simple :)

Thanks!
kglad
10/7/2007 4:27:17 AM
AddThis Social Bookmark Button