Hi there,

I want to have some flash in my header and in a sidebox as well.
I've read this thread which has been very informative....until some point.

Could you guys be as kind as giving me a complete example of your code for:
- YOUR_TEMPLATE/common/tpl_header.php,
- YOUR_TEMPLATE/common/sidebox/tpl_yoursideboxwithflash.php,
and most important, what's inside your "/templates/YOUR_TEMPLATE/jscript/swfobject.js" file? I dont know javascript at all and I have no idea what I should write in there.
Plus, if you have modified anything in "modules/" directory, or anywhere else than include/YOUR_TEMPLATE

I am trying to have a flash in the header, and to integrate a mp3 player in a sidebox.
So far, I've managed to play the flash header in IE, show the flash sidebox in FF (although, not playing the music...anything I should know about .xml loading files?)





Unfortunately I am working on my local server and therefore it wont be possible for you guys to help me in debugging. That's why my only hope is to compare with someone else's code who has at least 2 flash in the same page, and figure out step by step which file I've screwed up.

my code in my MYTEMPLATE/sideboxes/tpl_music_box.php is:
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="musicsideBoxContent">';
$content .='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub...ersion=8,0,0,0" width="335" height="247" id="mp3player" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="' . DIR_WS_TEMPLATE . 'MP3_Player/';
$content .= 'playermp3player.swf?xml=config.xml" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="' . DIR_WS_TEMPLATE . 'MP3_Player/';
$content .= 'mp3player.swf?xml=config.xml" quality="high" wmode="transparent" width="335" height="247" name="mp3player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>';
$content .= '</div>';

thanks!!