Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: Javascript and Flash


Message #1 by jbealor@b... on Fri, 25 Jan 2002 16:36:02
I found my own answer.  To the OBJECT tag and EMBED tags, add the 
following parameters:

Object parameter --  <param name="wmode" value="transparent">
Embed parameter  --  wmode="transparent" 

Example:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,
0,0"
    id="myflash" width="549" height="350">
                    <param name="movie" value="myflash.swf">
                    <param name="loop" value="false">
                    <param name="scale" value="exactfit">
                    <param name="bgcolor" value="#FFFFFF">
<param name="wmode" VALUE="transparent">

         <embed src="myflash.swf" 
	  loop="false" 
	  scale="exactfit" 
	  bgcolor="#FFFFFF"
  	  width="608" 
	  height="350"
wmode="transparent" 
          type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?
P1_Prod_Version=ShockwaveFlash">
   </embed> 
</object>



> 
> I've run across the same problem recently.  Have you found a solution 
yet?
> 
> 
> > 
> > Has anyone experienced problems with javascript drop-down menus and 
> flash?
> > In my scenario, if the drop-down menu encounters a flash file, the 
flash
> > will will overlay the menu.
> > 
> > I've tried layers without success.  Is there some way to force the
> > javascript drop-down menus to be on top?
> > 
> > Rich
> > Email: rar@a...
> > 
> > 

  Return to Index