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.
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 😉
No play button?
It all looked good in FF2 until I tried to play it.
hey benz,
you need debug powers? here they are!
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/win/FlashPlayer.exe
if you are mac, i think it’s here:
http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/mac/Flash%20Player.app.zip
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.
That’s nice.
Is there any way you could share some of that code?
let’s get to see some code.
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?
Thanks!
Great job!
DiHercowitz
Rio de Janeiro – Brazil
Can we get source to RichMp3?
Hi ,no exemple here ,How can I get it ? thanks !