View Full Version : how to fix this?

03-31-2009, 10:07 PM
when I embed the flash movie clip using <object> tag, it hides the menu bar even though the menu bar comes later in the html page.
what I know, an element always appears above the one comes before it.
but in my case the flash movie container(<object>) hides the menu bar while it comes before the menu bar in HTML code.

how can I make the menu bar appears above the flash movie container?

03-31-2009, 10:53 PM
I wouldn't even use the <object> tag.

Download SWFOBJECT and use it. Far superior method, and much easier to use.

You're code would then look like this:

<script type="text/javascript" src="swfobject.js"></script>
<div id="wrapper">
<div id="flashvideo">
<p>None Flash-enabled browsers see what's here!</p>
<script type="text/javascript">
var so = new SWFObject("moviename.swf", "mymovie", "800", "150", "7", "#0066cc");
<div id="nav">
<li><a href="index.html">Home</a></li>
<li><a href="page1.html">Page1</a></li>
<li><a href="page2.html">Page2</a></li>
<li><a href="page3.html">Page3</a></li>
<div id="main">
<p>Some content.</p>
<p>Some content.</p>
<div id="footer">
<p>Footer Stuff</p>