Flash element breaks page in PC Explorer

General ShopSite user discussion

Flash element breaks page in PC Explorer

Postby bruce clumpner » Wed Jun 22, 2011 2:29 pm

I'm using version 10 r7.4 through a hosting service, and have built our our site using the sidebar template. I have worked to include a couple of flash elements into the site. I don't know flash but after kludging this 360-rotation graphic together, one of the elements seems to run OK on any platform. The other runs OK on everything except later versions of Explorer on the PC.
I've tested in firefox, chrome and safari. The page only builds up to the flash element and then breaks, not reproducing anything else on the page.

The page that runs OK in all browsers is our home page: http://www.AcademyCommemoratives.com
The page that breaks in Explorer is http://www.AcademyCommemoratives.com/AirForceAcademyGifts.html

I'm hoping its just something easy to fix in the code...

Any suggestions?

Bruce
bruce clumpner
 
Posts: 18
Joined: Wed Feb 16, 2011 1:40 am

Re: Flash element breaks page in PC Explorer

Postby ShopSite Lauren » Wed Jun 22, 2011 3:48 pm

Looking at the code on your page, you start 2 flash objects, and you close one. It looks like you have a flash object pasted within another flash object. You will want to change your code from:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="270" height="270" id="FlashID" title="Air Force Cube">

<param name="movie" value="http://www.academycommemoratives.com/AF-Cube.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />

<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.academycommemoratives.com/AF-Cube.swf" width="270" height="270">
<!--<![endif]-->
<param name="quality" value="high" />

<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="/Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>

<!--[if !IE]>-->
</object> <!--<![endif]-->

to

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="270" height="270" id="FlashID" title="Air Force Cube">
<param name="movie" value="http://www.academycommemoratives.com/AF-Cube.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="/Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
</object>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: Flash element breaks page in PC Explorer

Postby bruce clumpner » Wed Jun 22, 2011 4:42 pm

Lauren,

As usual, you're quick to reply. I'll weed out the extraneous code from dreamweaver and see if that clears it up. Will advise.

Thanks.

Bruce
bruce clumpner
 
Posts: 18
Joined: Wed Feb 16, 2011 1:40 am

Re: Flash element breaks page in PC Explorer

Postby bruce clumpner » Wed Jun 22, 2011 5:27 pm

Lauren,

It still didn't like your version of the code, but I was able to make it work by leaving a couple references into the object description:

<td width="276"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="270" height="270" id="FlashID" title="Air Force Cube">
<param name="movie" value="http://www.academycommemoratives.com/AF-Cube.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.academycommemoratives.com/AF-Cube.swf" width="270" height="270">
<!--<![endif]-->
<param name="expressinstall" value="/Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
</object>

Tested with IE 8.06 and worked.

Thanks for the direction

-Bruce
bruce clumpner
 
Posts: 18
Joined: Wed Feb 16, 2011 1:40 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 42 guests

cron