Click to See Complete Forum and Search --> : Not the normal "Flash Drop Down Over HTML" issue.


mattmiquelon
07-25-2007, 12:57 PM
have a great looking drop-down menu that we created and the client loves it.

However, after getting it transparent and looking great dropping down over the html content, we discovered an issue. The menu drops down 350px over the underlying html layer but any URLs or Form objects (basically anything requiring cursor action) under the Flash layer are unusable. If you right-click in the Flash layer area (DMZ?) over the html, you get the Flash plug-in menu.

Example: ndsion.net/newsite/InquiryForm.html

I have seen this done in commercial products such as 'F-Source Drop Down Menus' (f-source.com) where the Flash layer only covers the html when the drop-down occurs, so I know it is possible, just beyond my skillz. I've tried adjusting the z-index of the enclosing DIVs but that doesn't work. The way it is now, and in many designs using flash drop downs is to have another Flash element or image in this "DMZ' area, under the flash layer but that is clunky to say the least.

Any ideas?

felgall
07-25-2007, 04:36 PM
What wmode are you using for the Flash? The default is "window" which means it is always in front. The alternatives of "opaque" and "transparent" allow it to go behind HTML elements.

mattmiquelon
07-25-2007, 07:41 PM
Transparent:

<td height="41" id="main_nav"><div id="dropdown"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','800','height','305','title','Navigation','src','NotreDame-nav3_matt','wmode','transparent','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','NotreDame-nav3_matt' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="305" title="Navigation">
<param name="movie" value="NotreDame-nav3_matt.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent" />
<embed src="NotreDame-nav3_matt.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="305"></embed>
</object></noscript></div></td>