PDA

View Full Version : 'Wmode transparent' parameter being buggy in IE. Help?



Kivex
03 Sep 2007, 07:49 AM
A second question from me, and hopefully my last!

Here is the site in question - www.thefount.com/clients/katiewilson/fashion/fashion01.htm
The flash down the bottom is using the parameter stated in the title of this thread to show the footer behind it. It works perfectly fine in firefox, but in IE it disappears completely. I've had a play with things, done my research but I've had no luck.

Note: I am testing this in IE6 and not 7. My client cannot see it either, so I assume she is using IE (I am waiting on a reply).

Can anyone here come to my rescue ?

Wickham
03 Sep 2007, 02:16 PM
When I first downloaded your html page the flash file did not work in IE at all, even without the css file, but it did in Firefox. I made it work with the code changes below. However, that was before I downloaded your css file. After loading the css file the footer is in the same position as the flash buttons and they are no longer active in IE. If you delete the css file temporarily the flash works with my code but I haven't got an answer to the co***ict with the footer.

Firefox uses the nested embed code while IE uses the object tag so I reckoned that there must be something wrong with the object code. I copied code from a flash movie on another site which I already use on my site, and it worked in IE7.

I also put in a few / before the parameter closing tags as you are using XHTML.



<OBJECT
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/ca
bs/flash/swflash.cab#version=8,0,0,0"
WIDTH="255" HEIGHT="120" id="kwmenu_fashion"><PARAM
NAME=movie
VALUE="http://www.thefount.com/clients/katiewilson/kwmenu_f
ashion.swf"/><PARAM NAME=quality VALUE=high/>
<param name="wmode" value="transparent" />
<EMBED
src="http://www.thefount.com/clients/katiewilson/kwmenu_fashi
on.swf" WIDTH="255" HEIGHT="120" ALIGN="" quality=high
NAME="myMovieName"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplaye
r" wmode="transparent"></EMBED></OBJECT>


It was the cab#version=6,0,40,0 which has changed to cab#version=8,0,0,0 but I have no idea what I am doing, except that it now works in IE6 and IE7 (and Safari for Windows) if the footer is not in the same place. I had to change the url to an external one but you should be able to return to ../kwmenu_fashion.swf in two places. It also works in Opera though it needs an extra click because Opera seems to have to authorise ActiveX like IE.

I know it will mess up your design but unless someone can find an answer to allow the footer to let the flash buttons work in IE you may have to raise them above the footer.

You should not use capitals in XHTML. Use the validator http://validator.w3.org/ as there are over 50 errors.