Id3v2 get mp3 data

//The main classes are available for download below in a zip file

//This additional snippet is an array of the 147 genres

$genre_arr = array("Blues","Classic Rock","Country","Dance","Disco","Funk","Grunge","Hip-Hop","Jazz","Metal","New Age","Oldies","Other","Pop","R&B","Rap","Reggae","Rock","Techno","Industrial","Alternative","Ska","Death Metal","Pranks","Soundtrack","Euro-Techno","Ambient","Trip-Hop","Vocal","Jazz+Funk","Fusion","Trance","Classical","Instrumental","Acid","House","Game","Sound Clip","Gospel","Noise","AlternRock","Bass","Soul","Punk","Space","Meditative","Instrumental Pop","Instrumental Rock","Ethnic","Gothic","Darkwave","Techno-Industrial","Electronic","Pop-Folk","Eurodance","Dream","Southern Rock","Comedy","Cult","Gangsta","Top 40","Christian Rap","Pop/Funk","Jungle","Native American","Cabaret","New Wave","Psychadelic","Rave","Showtunes","Trailer","Lo-Fi","Tribal","Acid Punk","Acid Jazz","Polka","Retro","Musical","Rock & Roll","Hard Rock","Folk","Folk-Rock","National Folk","Swing","Fast Fusion","Bebob","Latin","Revival","Celtic","Bluegrass","Avantgarde","Gothic Rock","Progressive Rock","Psychedelic Rock","Symphonic Rock","Slow Rock","Big Band","Chorus","Easy Listening","Acoustic","Humour","Speech","Chanson","Opera","Chamber Music","Sonata","Symphony","Booty Bass","Primus","Porn Groove","Satire","Slow Jam","Club","Tango","Samba","Folklore","Ballad","Power Ballad","Rhythmic Soul","Freestyle","Duet","Punk Rock","Drum Solo","Acapella","Euro-House","Dance Hall");

Easy Sound Player

package {
import flash.display.Sprite;
import flash.net.URLRequest;
import flash.media.Sound;
import flash.media.SoundLoaderContext;
import flash.events.IOErrorEvent;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.media.SoundChannel;
import flash.media.SoundTransform;

public class MainSoundplayer extends Sprite
{
private var snd:Sound = new Sound();
private var channel:SoundChannel;
private var trackTransform:SoundTransform = new SoundTransform(1.0);
private var muteBtn:Mute = new Mute();
private var unmuteBtn:Unmute = new Unmute();

public function MainSoundplayer() {
addEventListener(MouseEvent.CLICK,processStageClicks);
setupButtons();
loadSound();
}

function processStageClicks(evt:MouseEvent):void
{
switch(evt.target.name)
{
case "unmute":
unmuteSound();
break;
case "mute":
muteSound();
break;
default:
return;
}
}

function setupButtons():void
{
unmuteBtn.visible = false;
unmuteBtn.name = "unmute";
muteBtn.name = "mute";
addChild(unmuteBtn);
addChild(muteBtn);
}

function loadSound():void
{
var snd:Sound = new Sound();
var req:URLRequest = new URLRequest("http://mcshare.myblog.it/media/02/00/5297c6b1fb603a0768135788b1f99407.mp3");
var context:SoundLoaderContext = new SoundLoaderContext(3000, false);

snd.load(req, context);
channel = snd.play();
channel.soundTransform = trackTransform;
snd.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
}

function unmuteSound():void
{
trackTransform.volume = 1;
channel.soundTransform = trackTransform;
unmuteBtn.visible = false;
muteBtn.visible = true;
}

function muteSound():void
{
trackTransform.volume=0;
channel.soundTransform = trackTransform;
unmuteBtn.visible = true;
muteBtn.visible = false;
}

private function errorHandler(errorEvent:IOErrorEvent):void {
trace("The sound could not be loaded: " + errorEvent.text);
}
}
}

Buffer Mp3 sound

package {
import flash.display.Sprite;
import flash.net.URLRequest;
import flash.media.Sound;
import flash.media.SoundLoaderContext;
import flash.events.IOErrorEvent;

public class MainSoundplayer extends Sprite {

public function MainSoundplayer() {
var snd:Sound = new Sound();
var req:URLRequest = new URLRequest("http://mcshare.myblog.it/media/02/00/5297c6b1fb603a0768135788b1f99407.mp3");
var context:SoundLoaderContext = new SoundLoaderContext(3000, false);

snd.load(req, context);
snd.play();

snd.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
}

private function errorHandler(errorEvent:IOErrorEvent):void {
trace("The sound could not be loaded: " + errorEvent.text);
}

}
}