Cut and edit mp3 files with Flash Player 10

My first test with Flash Player 10 was to convert an AIR project to a browser only version. I choosed RichMP3 as it was the simplest one. I just replaced all File/FileStream instances to the new Filereference and it worked. Ah yeah sure I had to use the dirty hack to load the mp3 from the client (convert to swf > load bytes via loader). All pretty straight forward. Now you can cut the mp3 file see id3 tags and even change them including cover art. You can replace the cover art with a new image Jpeg,Png and save the edited file back to your harddisk. It`s really amazing that you can do this kind of stuff now without a server just on the client:-) The Mp3 reader should handle most of the mp3 files out there but i`ve not tested this a lot so use on your own risk 😉 and let me know if you have problems.

See it in action here

Update: I had some problems running this with the Flash Player Plugin for Internet Explorer. The save function of the FileReference did not work for me only under Firefox. Do you have such issues? It`s really hard to debug without the debugger 😉

Tweet about this on TwitterShare on FacebookShare on LinkedInShare on Google+Pin on Pinterest

7 thoughts on “Cut and edit mp3 files with Flash Player 10

  1. hey benz,

    you need debug powers? here they are!

    if you are mac, i think it’s here:

    ps. your app did some really nasty crashing in Explorer after I loaded an mp3…

    Microsoft Visual C++ Runtime Library: Runtime Error! Program: iexplore.exe This application has requested the Runtime to terminate it in an unusual way.

    btw, I published code on our blog for loading MP3s (and if you look closer, for parsing MP3). You might be interested.

  2. Hello! I was looking for a way to cut mp3s using flash… Sometime ago i accessed this page an try the demonstration an all goes perfect as i guess. But today, i accessed it again and cannot see the exemple :( U must do the same as you did to cut mpo3 using flash… can u help me? Can u send the code to me?


    Great job!

    Rio de Janeiro – Brazil

Leave a Reply

Your email address will not be published. Required fields are marked *