Hi all,
i want to get the tile of the songs playing on mp3 stream:
it seems that the onID3InfoReceived is not fired, any ideas how to get the
titles?
private var req:URLRequest;
private var context:SoundLoaderContext = new SoundLoaderContext(8000);
private var s:Sound;
private var channel:SoundChannel = new SoundChannel();
req = new
URLRequest("https://swr-swr3-live.sslcast.addradio.de/swr/swr3/live/mp3/128/stream.mp3");
s = new Sound(req, context);
s.addEventListener(Event.ID3, onID3InfoReceived);
s.addEventListener(Event.COMPLETE, completeHandler);
channel = s.play();
protected function onID3InfoReceived(event:Event):void {
var id3:ID3Info = event.target.id3;
trace("Received ID3 Info:");
for (var propName:String in id3)
{
trace(propName + " = " + id3[propName]);
}
}
thx for help!
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/