Jump to content


Audio streaming from a SHOUTcast server ?


  • You cannot reply to this topic
7 replies to this topic

#1 milky101

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 03 February 2007 - 05:34 AM

hi, i was just wondering if it is possible to have a flash music player that will play from a stream on a SHOUTcast radio server, if this is possible could you please tell me how it is done, or post the url to a tutorial if you know of one, thanks alot.

#2 milky101

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 05 February 2007 - 11:17 AM

has no one replied because nobody nows how? or is it because its a noob question?

#3 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 05 February 2007 - 03:53 PM

I think I will go with the first answer. A quick google search should clear your answer up:
mySound = new Sound();
mySound.loadSound ("url.of.shoutcaststream:8003", true);
Hm, didn't think it would be so easy. That would go in your first frame.

#4 milky101

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 05 February 2007 - 04:54 PM

thanks alot for the help, and it works fine when the url of the server is "http://127.0.0.1:8000" (because at the moment the server is running on my own machine), but when i change the ip to my external ip, i dont get the stream, any ideas?


ps, i dont get any errors when i run the flash with the external ip, i just dont get any sound.

Edited by milky101, 05 February 2007 - 04:59 PM.


#5 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 06 February 2007 - 12:05 AM

Hm, I know nothing about SHOUTcast servers, so I really can't help you there.

#6 Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 06 February 2007 - 09:52 AM

Flash security strikes again!

When you run a swf, you are either able to access the local network, or an outside network. You might need to change some settings to get that working. Or have the swf running on the web host. Not sure. Do some googling about Flash 8's security and see what you come up with. Im 90% certian thats whats causing your problem. The other 10% is that you made a typo somewhere :rolleyes:

#7 milky101

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 06 February 2007 - 10:07 AM

rightt ok, thanks alot for everyones help, much appreciated

#8 tjthedj

    Young Padawan

  • Members
  • Pip
  • 35 posts
  • Location:Texas
  • Interests:computers, guitars, and cars

Posted 11 February 2007 - 06:35 PM

the flash doc on the external server is is calling the shoutcast server on your home computer right?
if thats true then try running that external flash doc on a proxy because you cant access your own ip address from that same ip address without editing the hosts file in windows and i cant remember what the files called on my linux machine.

hope that made sense. sry if it didnt

Edited by tjthedj, 11 February 2007 - 06:35 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users