Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-05-27
3
Medium Priority
?
811 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to apply a non-rasterized, vector-scalable texture to a vector using opacity texture masks in Illustrator Open a vector in Illustrator. Black and white vectors work best, but this effect can also be used to ad…
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…
Suggested Courses

610 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