"Obviously the known fix for this is to use an iframe layer between
no this is wrong, the fix for this is adding the wmode setting on the flash to transparent. DEfusion wrote:
We have a situation where we are using JQuery UI dialogs and on windows if one of these dialog boxes appears in front of Flash content then the Flash content will shine through. Obviously the known fix for this is to use an iframe layer between, which is what I thought the bgiframe option would do, but looking into it further I see that it was designed for the form field shine-through problem in IE6. So I removed the check for IE6 and changed it to check for just windows, but that causes the following error in Firefox: String contains an invalid character" code: "5 [Break on this error] this.insertBefore( document.createElement(html), this.firstChild ); I've tried taking the iframe string apart, but anything other than a basic '<iframe>' seems to throw this error. I've also tried something like the following: el = $('<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'">' ); this.insertBefore( el, this.firstChild ); But with that I get: Node cannot be inserted at the specified point in the hierarchy" code: "3 [Break on this error] this.insertBefore( el, this.firstChild ); Does anyone have any ideas on how to get this working for any Windows browser?