I'm new in the mobile app development and I'm trying to do a simple online radio app using flash builder 4.5, but every time I try to play audio from a remote site (stream) it just not work. I've done different test, and when I use a local audio files everything works flawlessly. Below is the code that I'm using right now, if someone can give me a hint of what could be happening I will really appreciate it.
**
private var req:URLRequest;
private var context:SoundLoaderContext = new SoundLoaderContext(8000, true);
private var s:Sound;
private var channel:SoundChannel = new SoundChannel();
private function AudioOn():void
{
req = new URLRequest("http://208.76.152.74:8000");
s = new Sound(req,context);
channel=s.play();
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Button x="200" y="246" label="Play" icon="@Embed('file:///Users/Manu/Downloads/home.png')" click="AudioOn()"/>**