Forums / Templates, Stylesheets, Page Layout / Flash Not Working on Main Page in Firefox

Flash Not Working on Main Page in Firefox

Locked

Views: 1,607

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Apr 2010, 10:28 PM
#1
jgnaiz avatar

jgnaiz

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Flash Not Working on Main Page in Firefox

For some reason i cannot get my flash to work in firefox on the main page. I have inserted the code via the define pages editor for define_main_page.php. In IE it displays fine, but in Firefox it just keeps trying to load.

The interesting thing is i placed the same code in one of the EZ pages and it loads fine in both firefox and IE. Any ideas why the code works with EZ pages, but not Define Pages Editor? I am new with zen cart and not much of a programmer. Thanks!

6 Apr 2010, 1:59 AM
#2
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Flash Not Working on Main Page in Firefox

Check your coding.. this works for me in all browsers in the main page.

<object type="application/x-shockwave-flash" data="myshop/flash/myflashfile.swf" width="400" height="227"> <param name="movie" value="myshop/flash/myflashfile.swf" /> <param name="quality" value="high"> <param name="BGCOLOR" value="#FFFFFF"> <param name="menu" value="false"> <param name=wmode value="transparent"> </object>

That wasn't the plan!

6 Apr 2010, 3:04 PM
#3
jgnaiz avatar

jgnaiz

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Flash Not Working on Main Page in Firefox

Thanks. My code is similar, but it is generated by a map making program and has a few more variables. The code is below. Do you see any reason it might not work on the main page?

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="520" height="254" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="imapbuilder/loader.swf" />
<param name="base" value="imapbuilder/" />
<param name="flashvars" value="datasource=bluemap1.xml" />
<param name="loop" value="false" />
<param name="menu" value="true" />
<param name="quality" value="best" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="imapbuilder/loader.swf" base="imapbuilder/" flashvars="datasource=bluemap1.xml" loop="false" menu="true" quality="best" wmode="transparent" bgcolor="#ffffff" width="520" height="254" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

6 Apr 2010, 3:35 PM
#4
jgnaiz avatar

jgnaiz

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Flash Not Working on Main Page in Firefox

Also, I just noticed that the flash on main page does load the first time i open the Firefox browser. however, it does not load all subsequent times i return to the main page until I close the browser. Maybe a problem with refreshing? Thank you very much for taking the time to help me figure this out.

7 Apr 2010, 1:24 AM
#5
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

Re: Flash Not Working on Main Page in Firefox

I can't say I see anything in particular wrong with the flash code but I'm can;t say I know too much about it's coding.

Your calling an external XML file for map info to load and I guess thats where the issue's come from and it's not just flash.

Check out this link:

http://www.zen-cart.com/forum/showthread.php?t=90291

That wasn't the plan!