Log in

View Full Version : Resolved Scripts kills flash display



daalouw
04-24-2009, 04:10 AM
Good evening.

I added a script (dynamic menu) from here to my website which already contained flash code. The problem is that every time I mouseover a menu item that has a drop down list, the flash disappears from the screen. As soon as I move my mouse away from the dropdown menu item, the flash appears again. I read elsewhere on this forum that a similar issue was previosly solved by adding "param name="wmode" value="transparent"" to the OBJECT code and adding "wmode="transparent" to the EMBED code of the flash. I did this but it did not solve my problem.

My current flash code (which works and displays fine without the dynamic menu script) is:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=demoflash1 WIDTH=800 HEIGHT=130 param name="wmode" value="transparent">
<PARAM NAME=movie VALUE="demoflash1.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=loop VALUE=false>

<EMBED src="demoflash1.swf" loop=false quality=high WIDTH=800 HEIGHT=130 wmode="transparent" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

</OBJECT>

I would appreciate any assistance you may offer.
daalouw

jscheuer1
04-24-2009, 05:00 AM
This:



. . . HEIGHT=130 param name="wmode" value="transparent">

should actually be:


. . . HEIGHT=130>
<param name="wmode" value="transparent">

But I doubt that's the only problem. From what you are saying, unless I misunderstand, you have a different problem than that which wmode is supposed to correct. Using the window mode for your Flash is to prevent DHTML objects from disappearing behind the Flash, not for preventing the Flash from disappearing, as I believe you are indicating is happening.

If you want more help:

Please post a link to the page on your site that contains the problematic code so we can check it out.

Also, what browser(s) are you seeing this in? What OS are you using, and what version of Flash plug in does your browser use?

daalouw
04-24-2009, 05:08 AM
Thanks for replying.

Yes, my problem is that my flash disappears when I hover over a dynamic menu with a dropdown menu list. If the menu item does not have a drop down box, everything is fine.


My current test site is http://deon.gotdns.com/preondemo/indexdemo1.php.
The first 2 menu items on the horizontal menu (red) is causing the issue for me.

I am using IE7. Problem only happens in IE. FF works fine.

Thanks .

daalouw
04-24-2009, 05:14 AM
I made the change you suggested John and it seemed to do the trick. IE7 works now.

Daalouw

jscheuer1
04-24-2009, 05:39 AM
As I say, that's not the usual use for window mode. But if it takes care of it, great!