Solved

Javascript and Flash

Posted on 2004-09-04
3
243 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
Comment Utility
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
Comment Utility
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
Comment Utility
The first explanation was perfect. Thank you for being so thorough though. Much appreciated.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

771 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now