Hi, I have try to make a radio mp3 player who play mp3 stream coming from server. All works fine in the Flash Api or when y test locally the swf. <code> ur = "http://193.201.103.19:9100" <http://193.201.103.19:9100/>; mySnd = new Sound(); mySnd.loadSound( ur,true); </code>
But when i tried to build a desktop application using mprojector or Screenweaver Os the stream don't load. This is not a security issue, so i tried to put my swf on a web server... doesn't work anymore. For FireFox i find a trick by adding a "/;" just after the url and that work: <code> ur = "http://193.201.103.19:9100" <http://193.201.103.19:9100/>; mySnd = new Sound(); mySnd.loadSound( ur+ "/;",true); </code> But it doesn't works in IE and in mprojector generated files. So i have a look a the httpheader and see that for the radio who use shoutcast send nothing after "HTTP/1.x 200 OK" and other radio send something like : HTTP/1.x 200 OK Content-Type: audio/mpeg icy-br: 128 icy-genre: rock icy-name: ouifm - la radio rock - relais 128 kbps icy-notice1: <BR>This stream requires <a href="http://www.winamp.com/"<http://www.winamp.com/> >Winamp</a><BR> icy-notice2: SHOUTcast Distributed Network Audio Server/win32 v1.9.2<BR> icy-pub: 0 icy-url: http://www.ouirock.com Server: Icecast 2.2.0 So what can be the differences in a Flash swf file or an flash exe file AND a file generated by mprojector or online swf ? -- Julien TERRAZ _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com