Welcome to WebmasterWorld Guest from 54.196.224.166

Forum Moderators: open

Message Too Old, No Replies

Issue: Flash shows through modal popup

     

caffinated

2:52 am on Jan 9, 2011 (gmt 0)

5+ Year Member



I wondered if anyone knows of a simple workaround to stop Flash content showing through the semi-opaque layer of a modal popup. z-index manipulation is not working.

rainborick

3:23 am on Jan 9, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My (limited) understanding is that the Flash plug-in for browsers works outside of the browser's page rendering engine, so settings like z-index don't affect it. It's like PC games that write directly to the screen, rather than through the operating system API or drivers. In other words, there's no fix or workaround.

caffinated

3:31 am on Jan 9, 2011 (gmt 0)

5+ Year Member



Ouch - that's not what I wanted to hear. I know that I can modify the popup js to remove the flash item before it is activated but putting the flash back when the popup is closed is going to be more tricky. I'm sure it can be done though, I just hoped a simpler solution may be available.

pageoneresults

11:33 am on Jan 9, 2011 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Have you tried fiddling with the transparency?

<param name="wmode" value="transparent">

The above have fixed any Flash issues we were having in regards to stuff showing through or not displaying properly on top of Flash, etc. I could be way off but it was worth a shot.

caffinated

4:01 pm on Jan 9, 2011 (gmt 0)

5+ Year Member



Ok, I can see why this would not always work because of the transparency showing the background through parts of the flash content but for Flickr slideshows and YouTube vids underneath the popup, this seems to do the trick, they're not interfering with the popup opaque layer now. Thanks to you both.