Web Hosting Talk







View Full Version : Flash on page covers up DHTML flyout menu


vito
01-20-2009, 05:01 AM
I have a Flash element in the page content. The problem is that when I mouse over a DHTML flyout menu in the left column, the flyout displays under the Flash. :(
Any way around this?
Vito

vito
01-20-2009, 11:30 AM
I found a solution for this. In the event anyone else has the same problem, here is the fix. Add the bold code that you see in the following snippet:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,29,0" width="640" height="290">
<param name="movie" value="example.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="menu" value="false">
<embed src="../img/flash-bedrooms.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
wmode="opaque" menu="false" width="640" height="290"></embed>
</object>
Edit: Hmm. The bold tag isn't working properly but look at the code - you'll see what I mean.
Vito

developerstef
01-21-2009, 01:26 PM
manage the problem from css with z-index
;)

vito
01-21-2009, 01:37 PM
manage the problem from css with z-index
;)Although I have already solved the issue, can you explain more about how to do it with z-index? I'd like to learn another method of solving the problem.
Vito

Christina
01-24-2009, 06:50 AM
Although I have already solved the issue, can you explain more about how to do it with z-index? I'd like to learn another method of solving the problem.
Vito
z-index will basically give you a stacking order.
Found a link (http://www.flashdesignerzone.com/tutorials/t1026.php) that saves me from further injuring my hands from excessive typing ;)

vito
01-24-2009, 06:54 AM
Perfect. Thanks for the link, Christina. Now I know what z-index is all about. :banana:
Vito

Christina
01-24-2009, 07:20 AM
Perfect. Thanks for the link, Christina. Now I know what z-index is all about. :banana:
Vito
And I only know what it is because it was the only way I could customize (aka Cover) a MySpace page using an entire flash file that I had created :D Never had to use z-index for normal use (yet). Proves useful for really challenging design layouts :)