Flash AS3 -> Get artist and title from shoutcast stream (aacplus)



I´m creating a flash radio player and there´re some details that I can´t perform. I would like to know how to display the title and artist of the currently playing song.

I´m working with AS3.

I have understood that this can be done by the onMetaData method of netStream  class. But I don´t know how work this...

Can anyone help?, Please .... thank you ...

Who is Participating?
MLCasellasConnect With a Mentor Author Commented:

Well, I finally managed to learn how to do it. This is the code and it works:

function onMetaData(eObj:Object):void {
   for(var s:String in eObj){
      songTitle.text = eObj.StreamTitle;         

You can see the player running on the web that I created for web-radio of my friend Sir Flansi:


CWS (haripriya)Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.