Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flash Header


urbunner

Recommended Posts

Posted

Hello

Here is a link to my online store

dippitydog.net

Ive embedded a flash header in the includes/header.php file

and that seems to work but I was wondering if anyone knows how to add the code needed to activate Active X

so a user doesnt have to click on the header to use the buttons

This is the code I used in the header.php file

	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="header2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="header2.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#0000ff" />	<embed src="https://dipmydog.startlogic.com/shop/images/header2.swf" quality="high" width="950" height="300" name="header2" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

I copy and pasted it right from the flash page.

I know flash has a javascript script that does this but I dont know how to put it into a php file

Thanks for anyone who can help

Posted
Hello

Here is a link to my online store

dippitydog.net

Ive embedded a flash header in the includes/header.php file

and that seems to work but I was wondering if anyone knows how to add the code needed to activate Active X

so a user doesnt have to click on the header to use the buttons

This is the code I used in the header.php file

	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="header2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="header2.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#0000ff" />	<embed src="https://dipmydog.startlogic.com/shop/images/header2.swf" quality="high" width="950" height="300" name="header2" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

I copy and pasted it right from the flash page.

I know flash has a javascript script that does this but I dont know how to put it into a php file

Thanks for anyone who can help

Posted

Where exactly in the header.php file did you put it, i can't get mine to come up, it's obviously either the incorrect path i'm specifying or the wrong place in the header file.

I'd really like to eliminate one of them so i know what the problem is.

Thanks.

Allan.

Posted
Hello

Here is a link to my online store

dippitydog.net

Ive embedded a flash header in the includes/header.php file

and that seems to work but I was wondering if anyone knows how to add the code needed to activate Active X

so a user doesnt have to click on the header to use the buttons

This is the code I used in the header.php file

I copy and pasted it right from the flash page.

I know flash has a javascript script that does this but I dont know how to put it into a php file

Thanks for anyone who can help

You could try using swfobject to embed your flash files. See this

http://blog.deconcept.com/swfobject/

However I think in the next IE update the click to activate is going to be removed.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...