Solved

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

Posted on 2013-05-27
3
743 Views
Last Modified: 2013-11-30
...

Hello;

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 ...

...
0
Comment
Question by:MLCasellas
3 Comments
 

Accepted Solution

by:
MLCasellas earned 0 total points
ID: 39216910
...

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:

http://www.flansinnata.ch

...
0
 
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 39686722
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
HOW TO WARP A RASTER IMAGE AND ADD A REFLECTION USING ADOBE ILLUSTRATOR This tutorial is for experienced to advanced Adobe Illustrator users. Tools and Techniques that will be used in this Tutorial: Flatten Transparency (A) Envelope Distort (B…
In this tutorial viewers will learn to create a unique 3D lineart effect using the tilde key combinations in Illustrator Open a new document in Illustrator.: Locate the tilde key on your keyboard. It is usually in the top left and looks like a ~: Se…
How to make a clipping mask out of several separate vector objects by using the Compound Path option in Adobe Illustrator.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now