Free ID3Stream and ID3Reader Components for Flex 2

Another set of completely free and open source Flex 2 components are ready for download. Before I go into detail about these, let me explain what I think makes them unique. I’ve read a lot about using rich internet applications as a replacement for desktop applications, but there aren’t many examples out there yet. Unfortunately, the examples I do see are mostly graphical mock-ups of Microsoft Windows. When I personally consider using the Flash Platform for ubiquitous desktop applications I don’t think about constraining the user interface, instead I consider how the ByteArray class may be used to read and manipulate files. The ID3Stream and ID3Reader classes are just a few examples of the untapped power that is in Flex.

Image of Revive by Imaginary Baseball LeagueThe ID3Stream Component is used to download the ID3 portion of an MP3 file and load it into an ID3Reader instance. This allows users to view the MP3′s metadata quickly without having to download the whole file (downloads about 40kb as opposed to 4mb).

The ID3Reader Component is used to parse the raw bytes of an ID3 tag into an array of AS3 objects. It is capable of parsing frame types that the core ID3 object can’t yet, including embedded images.

ID3Stream Explorer (Flash Player 9 Beta 3 Required)
View ID3Stream Explorer Source
Download ID3Stream Explorer Source

These components are licensed under a Creative Commons Attribution 2.5 License. Feel free to download and modify the code for any use as long as my name is in there somewhere. Updates and improvements to the ID3Stream and ID3Reader components will be appended to this entry as they grow up and get more polish.

Creative Commons Badge

Updated 05/28/2008 This code has been refactored and merged into the Metaphile AS3 Library. If you’re looking for ID3 parsing capability please refer to the Metaphile project.

Related posts:

3 Responses to “Free ID3Stream and ID3Reader Components for Flex 2”

Chris Charlton June 1, 2006 at 12:19 am #

<p>Wow! Really handy, thank you. :)</p>

Wael_xenon September 10, 2007 at 7:34 am #

Hi Ben,this is a great JOB!!,so thanks because this is really what i’m need: read artwork from mp3!!

Lee October 15, 2007 at 5:35 pm #

You’re awesome Ben! I was just digging through id3 docs, was about to ponder how to pre-read the id3 headers w/out loading the entire mp3, decided to google-search first, and Walla!!

Leave a Reply:

Gravatar Image

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser