GordonFreeman
26-10-2007, 20:09
Hello,
i've made a simple flash application with Flash MX 2004 that plays MP3 LIVE stream from a web radio.
It all works properly if i execute the compiled SWF file with FlashMX, but if i embed it in an HTML page, it won't play sound!
strange uh?
and, the more curious thing is that after having opened it from the web page, it won't play sound anymore even with FlashMX!!
Why??
The steps i've made are :
1) I added to the stage a MediaDisplay component (from the Media Components).
2) In the Component Inspector Window, i chosed "MP3" , i specified the URL of the live stream to play, and i checked "Play automatically".
3) I exported the SWF choosing Flash Player 7, Action Script 2.0 and setting audio to "MP3 128 kbps best quality".
P.S. Rispondete pure in italiano, ho copiato e incollato un post che ho messo su un forum in inglese, e non avevo voglia di riscriverlo in italiano :)
Se qualcuno vuole il file SWF e il sorgente .FLA, mandatemi un messaggio in pvt.
Ve ne sarei grato se lo provaste, e mi diceste se vi funziona.
ciao
i've made a simple flash application with Flash MX 2004 that plays MP3 LIVE stream from a web radio.
It all works properly if i execute the compiled SWF file with FlashMX, but if i embed it in an HTML page, it won't play sound!
strange uh?
and, the more curious thing is that after having opened it from the web page, it won't play sound anymore even with FlashMX!!
Why??
The steps i've made are :
1) I added to the stage a MediaDisplay component (from the Media Components).
2) In the Component Inspector Window, i chosed "MP3" , i specified the URL of the live stream to play, and i checked "Play automatically".
3) I exported the SWF choosing Flash Player 7, Action Script 2.0 and setting audio to "MP3 128 kbps best quality".
P.S. Rispondete pure in italiano, ho copiato e incollato un post che ho messo su un forum in inglese, e non avevo voglia di riscriverlo in italiano :)
Se qualcuno vuole il file SWF e il sorgente .FLA, mandatemi un messaggio in pvt.
Ve ne sarei grato se lo provaste, e mi diceste se vi funziona.
ciao