Flash - Problem to call an mp3 file from a swf file

Hello,

I have a flash file (accueil.swf) that calls an mp3 file (the_song.mp3) to
load a song when the swf animation is launched.
Both files are stored on the same root directory (in my PC and onto the web
server).

When i click directly on the swf file right on the directory from my PC, the
animation works and the song is correctly loaded (we hear the song).

When i launch from my web server the script below that is supposed to do the
same thing, the animation works but the song is not loaded (so no song is
launched).

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=7,0,19,0"
width="170" height="240">
<param name="movie" value="accueil.swf">
<param name="quality" value="high">
<embed src="accueil.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="170" height="240"></embed>
</object>


Can someone explain me why ?

Many thanks in advance
Steph
Steph [ Do, 17 Januar 2008 23:08 ] [ ID #1910792 ]

Re: Flash - Problem to call an mp3 file from a swf file

Steph wrote:
> Hello,
>
> I have a flash file (accueil.swf) that calls an mp3 file (the_song.mp3) to
> load a song when the swf animation is launched.
> Both files are stored on the same root directory (in my PC and onto the web
> server).
>
> When i click directly on the swf file right on the directory from my PC, the
> animation works and the song is correctly loaded (we hear the song).
>
> When i launch from my web server the script below that is supposed to do the
> same thing, the animation works but the song is not loaded (so no song is
> launched).
>
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=7,0,19,0"
> width="170" height="240">
> <param name="movie" value="accueil.swf">
> <param name="quality" value="high">
> <embed src="accueil.swf" quality="high"
> pluginspage="http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="170" height="240"></embed>
> </object>
>
>
> Can someone explain me why ?
>
> Many thanks in advance
> Steph
>
>
>
>

Because you're in the wrong newsgroup. I see nothing to do with PHP here.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex [at] attglobal.net
==================
Jerry Stuckle [ Do, 17 Januar 2008 23:18 ] [ ID #1910796 ]

Re: Flash - Problem to call an mp3 file from a swf file

Steph wrote:

> Can someone explain me why ?

You've already had several suggestions in alt.html. Please do not
multipost!

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 18 days, 21:02.]

Ham vs Bacon vs Pork
http://tobyinkster.co.uk/blog/2008/01/17/pork-etc/
Toby A Inkster [ Fr, 18 Januar 2008 10:49 ] [ ID #1911502 ]
PHP » comp.lang.php » Flash - Problem to call an mp3 file from a swf file

Vorheriges Thema: Scan web pages and compose summary
Nächstes Thema: Wiki pages