Copy link to clipboard
Copied
Hello,
I have a ASP.NET webpage with a flash swf movie embedded.
This ASP.NET page has a POPUP control/window which should stay in front of all other controls and web page elements. But when this ASP.NET POPUP control window overlaps with the Adobe Flash swf object, the flash object always appears in front of the POPUP window in Internet Explorer 11 (althogh in Firefox and Chrome the POPUP windows appears in front of the Adobe Flash object).
So, my question is, how can I send the flash movie to the back of my webpage?
I have already tried setting the lower z-index for the div container holding the flash movie but it didn't work.
Thank you.
1 Correct answer
Do you have the wmode set to be "transparent" in the html embedding code?
Copy link to clipboard
Copied
Do you have the wmode set to be "transparent" in the html embedding code?
Copy link to clipboard
Copied
Yes, I have already tried wmode="transparent" but it didn't work.
The codes I'm using at the moment:
<style type="text/css">
#flash
position: relative;
z-index: 0;
#popup
position: relative;
z-index: 100;
</style>
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent('codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'width', '1013', 'height', '1300', 'id', 'maintopVIC', 'align', 'middle', 'src', 'maintopVIC', 'quality', 'best', 'bgcolor', '#ffffff', 'name', 'XXX', 'allowscriptaccess', 'sameDomain', 'allowfullscreen', 'false', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'movie', 'XXX'); //end AC code
</script>
<div id="flash">
<object classid="clsid:XXXXXXX .... " codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="1013" height="1300" id="XXX" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="XXX.swf" />
<param name="quality" value="best" />
<param name="bgcolor" value="#ffffff" />
<param name="wmode" value="transparent">
<embed src="XXX.swf" quality="best" bgcolor="#ffffff" width="1013" height="1300"
name="maintopVIC" align="middle" allowscriptaccess="sameDomain" allowfullscreen="false"
wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
Thank you.
Copy link to clipboard
Copied
I have changed the swf placement/embedding codes to the Flash CS6 version and it worked..
For this particular web page, I think I was still using the code provided by Macromedia. ha ha
pluginspage="http://www.macromedia.com/go/getflashplayer"

