some internet radio stations with http protocol and mp3 format not working in AIR 2.0
first, sorry bad english. when publish swf flash 10 player stations in list works. if publish them air 2.0 stations adress end ":xxxx", xxxx port number, cannot work. problem? in advance.
perhaps, in previous post wasn't clear enough, i'll try make better: using adobe flash cs5 , as3. wrote script listening internet radio stations. in station list named use http protocol , mp3 format, cause know limits of flash in audio streamings. if publish fla file in swf flash 10 player stations can listened.. if swf file made air 2.0 there's problem: stations adress http://xxx.xxx:xxx/<something> can listened, , without extension behind port number (:xxx) can not. main parts of script are:
..........
startbutton.addeventlistener(mouseevent.click, listen);
req.url= "<adress>";
snd = new sound();
snd.load(req);
...
private function listen(event:mouseevent):void {
req = snd.play();
}
..........
example:
adress=http://scfire-ntc-aa08.stream.aol.com:80/stream/1010 - working
adress=http://www.radionovosti.rs:443/radionovosti56s.mp3 - working
adress=http://sh1.beotel.net:8002 - not working
adress=http://77.105.36.58:8881 - not working
it great if of adobe employers explain me problem. thanks.
More discussions in Archived Spaces
adobe
Comments
Post a Comment