1
kimslilypad
Has anyone successfully used FLASH in their header?

I've seen a couple of posts on this, but none that appear to have been solved so I hope you guys can help.

What I am attempting to do is embed a flash movie in the header portion of my site, replacing the default XOOPS logo as well as the area used by the banners.

After reading a couple of other posts here, this is the code I am using, in place of the call for the logo in my theme.html page:

-----begin code snippet-----

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="150" id="siteheader" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="<{$xoops_imageurl}>future.swf">
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="<{$xoops_imageurl}>/themes/7dana-Xred/images/siteheader.swf" quality="high" bgcolor="#ffffff" width="800" height="150" name="siteheader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
-----end code snippet-----

So, any thoughts? And while I'm here, thanks so much for all the time and effort that has gone into developing Xoops. I am thrilled to have found it and hope to be able to contribute something back to this great community very soon!

Kim

2
phppp
Re: Has anyone successfully used FLASH in their header?
  • 2004/6/22 21:44

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


why don't you use the banner preferences?

3
m0nty
Re: Has anyone successfully used FLASH in their header?
  • 2004/6/22 23:14

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


by all means that should work.. however!!

-----begin code snippet-----

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="150" id="siteheader" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="<{$xoops_imageurl}>future.swf">
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="<{$xoops_imageurl}>/themes/7dana-Xred/images/siteheader.swf" quality="high" bgcolor="#ffffff" width="800" height="150" name="siteheader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
-----end code snippet-----

<param name="movie" value="<{$xoops_imageurl}>future.swf">

& <embed src="<{$xoops_imageurl}>/themes/7dana-Xred/images/siteheader.swf"

if i'm not mistaken, should these be pointing to the same file?

ie the code from mine is this, it was a hotbox in a custom block, but works fine as a header with changes to the width etc..

<table width="140" border="0">
<tr>
<td><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="140" height="100">
<param name="movie" value="http://www.clubithard.co.uk/banners/frantichotbox.swf">
<param name="quality" value="high">
<embed src="http://www.clubithard.co.uk/banners/frantichotbox.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="140" height="100"></embed></object></td>
</tr>
</table>

note my param value and the ember are the same file.. i dunno if this is relevant..




4
kimslilypad
Re: Has anyone successfully used FLASH in their header?

Thanks so much! With a couple of minor modifications based on m0nty's post, here's what I ended up with and it's loading perfectly now:

-----begin code snippet-----
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="150" id="siteheader" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.mindgamesonline.net/themes/7dana-Xred/images/siteheader.swf">
<param name="quality" value="high" />
<embed src="http://www.mindgamesonline.net/themes/7dana-Xred/images/siteheader.swf" quality="high" bgcolor="#ffffff" width="800" height="150" name="siteheader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

-----end code snippet-----

I hope this helps someone else as well!

5
royco
Re: Has anyone successfully used FLASH in their header?
  • 2004/6/23 1:21

  • royco

  • Just popping in

  • Posts: 21

  • Since: 2004/6/9 7


Kim,

I also want the header to be in flash, nice idea. Did you change anything besides the code u posted? in the CSS file maybe?

Ill try it out tinite.

Thanks

6
kimslilypad
Re: Has anyone successfully used FLASH in their header?

I didn't have to change anything else... only what's posted above and it's working fine now.

Login

Who's Online

129 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 129


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits