Loading MP3 files locally using the FileReference class

The new FileReference class in Flash Player 10 opens up a whole new side to web applications, where the barrier between the local file system and the network has (to some degree) been torn down.

Here’s an example of how to load MP3 files from the local file system. I’m sure you’ll appreciate why this is pretty cool…

6 Responses to “Loading MP3 files locally using the FileReference class”

  1. mellomutt Says:

    does not work

  2. chris Says:

    @mellomutt: does not work for beta 2 because I can’t run beta 2 on my machine.

  3. Adam Says:

    Hello, i have a problem with converting bytearray from sound.extract to mp3 file, I want to edit loaded mp3 and save it to local disk, is any chance to “revert” your code? mp3 -> samples is great project but please give me samples -> mp3 code :)

  4. chris Says:

    I would suggest that you consider porting LAME to ActionScript. You may find that this is somewhat difficult. I’d probably start with a good look at alchemy which might save you a whole load of grief. Alternatively, if you can source a Java MP3 compressor, then j2avm might help you reach the same end.

  5. mitesh Says:

    Hii,
    I get error end of files occured for some MP3,all mp3’s converted to MP3 from WAV using ffmpeg gave error any help,shall i give u those files

  6. Niloct Says:

    Thanks for showing that’s possible!

Leave a Reply