I'm in the process of converting an old HTML site to XHTML, using CSS. I have a doc type, and the CSS has been validated....the HTML will be corrected shortly.
The layout uses flash elements for navigation, and they work fine in FF, Safari, and Chrome....but do not show up in IE7.
http://twocleverchicks.com/index_new.html ....click logo, or enter button for home page.
[========== code ==========
-->
-->
========== end code ==========]
I'd appreciate any help,
dmb
SWF not showing in IE (code added correctly)
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="110" height="400"> <param name="movie" value="images/buttons2.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="8.0.35.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="images/buttons2.swf" width="110" height="400"> <!--<![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]--> </object>
Hi dmbox, I think for IE you
Hi dmbox,
I think for IE you need to use the embed tag.
Usually most people use JavaScript to call the flash such as swfobject
<object id="FlashID"
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="110" height="400"> <param name="movie" value="images/buttons2.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" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="images/buttons2.swf" width="110" height="400"> <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" /> <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> <!--<![endif]--> </object>
As a proof that all is ok, Try without any alternate content to be sure you have IE performing. Then add the alternate content within a !ie conditional comment block.
cheers,
gary
SWF not showing in IE (reply)
Thanks Gary....the first reply to my post was from Tony, who suggested I use the embed tag...but I do not want to use deprecated code.
Your comment is appreciated but just a bit over my head....not sure what a 'conditional comment tag' is but I see them throughout the code that my Dreamweaver CS4 produces when I insert the SWF. I am a graphics guy who has to do some code work too, so please excuse my reliance on DW.
I really think my problem here may be that instead of starting a new XHTML document with proper CSS, I tried to 'fix up' and old page using my new found code skills (haha).
Gonna start from scratch and see if it all falls in to place.
Thanks again for contributing to CSS Creator.
Doug
Try the code
The markup I posted is an edited version of yours, and uses the suggestions I gave you. Try replacing yours with mine.
cheers,
gary


