的Flex / Flash的Shoutcast的播放器 [英] Flex/Flash Shoutcast player
问题描述
我想建立一个Flash播放器为我公司的SHOUTcast服务器,并且已经看到关于它的几篇文章在网,其中包括这太问题<一href="http://stackoverflow.com/questions/1273454/how-to-stream-a-shoutcast-radio-broadcast-in-flash-shoutcast-flash-player">here.
I am trying to build a flash player for my company's Shoutcast server, and have seen a few articles about it on the 'net, including this SO question here.
不过,我似乎无法得到的音频流,以真正发挥。这似乎是连接好的,但调用stream.play()似乎并没有做任何事情。
However, I can't seem to get the audio stream to actually play. It seems to be connecting alright, but calling stream.play() doesn't seem to do anything.
我已经试过了code在我所联系到的SO问题,也尝试过类似的东西(对不起,我不记得确切的语法):
I have tried the code in the SO question I have linked to, and have also tried something similar to this (sorry i don't remember the exact syntax):
public function stream() {
private var url:URLREQUEST = "my.domain.com";
private var sStream:Sound = new Sound();
sStream.load(url);
sStream.play();
}
如果任何人有任何启示的我,我会把AP preciate吧。
If anyone has any revelations for me I'd appreciate it.
推荐答案
我只是张贴在这个线程解决方案:
I just posted a solution on this thread:
<一个href="http://stackoverflow.com/questions/1273454/how-to-stream-a-shoutcast-radio-broadcast-in-flash-shoutcast-flash-player">http://stackoverflow.com/questions/1273454/how-to-stream-a-shoutcast-radio-broadcast-in-flash-shoutcast-flash-player
这篇关于的Flex / Flash的Shoutcast的播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!