Solved

Javascript and Flash

Posted on 2004-09-04
3
245 Views
Last Modified: 2013-11-19
I have a problem where my javascript menu is being covered up by my flash animation. Is there a way to make layers appear infront of a flash presentation?

Thanks!
0
Comment
Question by:Shroder
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
muso120999 earned 250 total points
ID: 11981713
Common problem this - add

<param name="wmode" value="transparent">

insode the OBJECT tag, and

wmode="transparent"

inside the EMBED tag.

The problem is caused by Flash being independant of z-index layers, and it always appears on top - unless wmode is used.

You can also try wmode of "opaque", which also should work

muso
0
 
LVL 10

Expert Comment

by:muso120999
ID: 11981769
Here is an example with the tags included - it will differ slightly to your own version, but should give an idea how the HTML should look:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="1024" HEIGHT="356" ALIGN="">
<PARAM NAME=movie VALUE="jet.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<param name="LOOP" value="false">
<EMBED src="jet.swf" WIDTH="1024" HEIGHT="356" loop="false" ALIGN="" quality=high wmode=transparent bgcolor=#FFFFFF TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
0
 

Author Comment

by:Shroder
ID: 11981831
The first explanation was perfect. Thank you for being so thorough though. Much appreciated.
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS: Element name is not scoping properly 4 76
Tech Writing Terminology - Pane or Panel? 8 87
Play RTMP without Flash 3 538
website content maintenance 3 95
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question