|
Posted by Steph on 01/19/08 23:01
"Steph" <mcvalb@hotmail.com> a ιcrit dans le message de news:
478fd0f0$0$15471$426a74cc@news.free.fr...
>
> "Neredbojias" <monstersquasher@yahoo.com> a ιcrit dans le message de news:
> Xns9A28928E219E5nanopandaneredbojias@194.177.96.78...
>> Well bust mah britches and call me cheeky, on Thu, 17 Jan 2008 19:24:24
>> GMT Steph scribed:
>>
>>> 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/swfla
>>> sh.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
>>
>> Maybe on the server the swf is looking at the actual _root_, not your
>> site's hypothetical "root folder". Try replacing the_song.mp3 with an
>> absolute url.
>>
>> --
>> Neredbojias
>> Riches are their own reward.
>
> That could be an idea indeed. I'll check and let you know ...
That was the case, it works with the absolute URL.
Many thanks !
Navigation:
[Reply to this message]
|