Forum Moderators: open
I am trying to make this flash work in both IE and FF. I have can make it work if I write it certain ways.
I need help in getting this to work for both.
<!-- #2a Top Navigation Bar-->
<!-- and this code works for IE but not FF-->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="808" height="41" id="Flash1">
<param name="movie" value="Topflash.swf">
<param name="quality" value="High">
<param name="scale" value="ExactFit">
<param name="wmode" value="Window">
<param name="play" value="true">
<param name="loop" value="false">
<param name="menu" value="false">
<param name="sAlign" value="L">
<embed src="Topflash.swf" width="808" height="41" quality="High" wmode="Window" loop="false" play="true" menu="false" scale="ExactFit" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</div>
<!-- and Yet this code works for FF but not IE?-->
<!-- #2a Top Navigation Bar-->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="708" height="41" id="Flash1">
<param name="movie" value="Topflash.swf">
<param name="quality" value="High">
<param name="scale" value="ExactFit">
<param name="wmode" value="Window">
<param name="play" value="true">
<param name="loop" value="false">
<param name="menu" value="false">
<param name="sAlign" value="L">
<embed src="Topflash.swf" width="708" height="41" quality="High" wmode="Window" loop="false" play="true" menu="false" scale="ExactFit" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</div>
<!-- it seems off by 100 px exactly-->
Look into SWFObject, an open source library for managing Flash in pages. It gets rid of the gray line, makes for cleaner code that degrades nicely, and gets rid of the deprecated embed element. I think you'll like it.
I am a Professional home Inspector by trade --not a web designer--but I kinda of like what i have put together. With the help of a good friend of mine i started to play around with flash and adding code in here and there.
-- thanks for the nice welcome here....
DP
[edited by: tedster at 6:04 pm (utc) on April 23, 2008]
<div id="quicknav">
<!-- #2a Top Navigation Bar-->
<embed src="Topflash.swf" width="100%" height="41" wmode="window" loop="false" play="true" menu="false" scale="ExactFit"type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">
</embed>
</div>
<!-- End BRANDING DIV -->
</div>
<!-- #3. Content Wrap -->
<div id="content" class="c clear_children">
<!-- #4. Site Navigation -->
<div id="nav_main" class="lc">
<h2>Site Navigation</h2>
<embed src="flashvortex.swf" width="145" height="300" wmode="Transparent" play="true" menu="false" scale="ExactFit" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">
</embed>
</div>