HighDots Forums  

JavaScript Menus Appear Behind Flash

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss JavaScript Menus Appear Behind Flash in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
andrewmcgibbon
 
Posts: n/a

Default JavaScript Menus Appear Behind Flash - 03-30-2009 , 04:19 PM






I am creating a page with a flash file embedded below a navigation bar with
drop-down menus. The nav bar was created in Fireworks and imported. The
problem is that the drop downs are appearing BEHIND the embedded Flash file so
you can't see them. I have been looking all over for a solution to this
without much success. If anyone has any ideas I would be appreciative if you
share them.

Regards,
Andy


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: JavaScript Menus Appear Behind Flash - 03-30-2009 , 04:35 PM






All Active content on a page will always rise to the top, so to speak,
including Flash, certain form elements, Java applets, and Active X controls.
This means that each of these will poke through layers. There is not a good
cross-browser/platform reliable way to solve this issue, but if you can be
confident in your visitors using IE 5+ or NN6+, then you can use the Flash
wmode parameter (however, Safari does not support this properly!).

PVII article:
http://www.projectseven.com/support/answers.asp?id=127



--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"andrewmcgibbon" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am creating a page with a flash file embedded below a navigation bar with
drop-down menus. The nav bar was created in Fireworks and imported. The
problem is that the drop downs are appearing BEHIND the embedded Flash
file so
you can't see them. I have been looking all over for a solution to this
without much success. If anyone has any ideas I would be appreciative if
you
share them.

Regards,
Andy



Reply With Quote
  #3  
Old   
jazzguy2
 
Posts: n/a

Default Re: JavaScript Menus Appear Behind Flash - 03-31-2009 , 12:18 PM



I have followed the instructions on the page you directed me to and am still
having them popping up behind the Flash. My code is below. Interestingly
enough, when I add the wmode="opaque" to the embed source, Dreamweaver no
longer color codes that code (this seems to happen when you have incorrect
code. Any suggestions would be greatly appreciated.

Thanks,
Andy

<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=6,0,0,0','wmode','opaque','width','461','h eight','20','align','left','sr
c','ticker2','menu','false','quality','high','wmod e','opaque','scale','noscale',
'pluginspace','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Ve
rsion=ShockwaveFlash','movie','ticker2' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,0,0"
width="461" height="20" align="left">
<param name="movie" value="ticker2.swf">
<param name="menu" value="false">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="scale" value="noscale">
<param name="wmode" value="opaque">
<embed src="ticker2.swf" wmode="opaque" width=461 height=20 align="left"
menu="false" quality="high" wmode="opaque"
scale="noscale" type="application/x-shockwave-flash"

pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
ion=ShockwaveFlash"></embed>
</object></noscript>


Reply With Quote
  #4  
Old   
andrewmcgibbon
 
Posts: n/a

Default Re: JavaScript Menus Appear Behind Flash - 03-31-2009 , 02:55 PM



In this instance, the solution is this:

<script type="text/javascript">
var so = new SWFObject("slideshow.swf", "gallery", "785", "119", "6",
"#000000");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.