Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to send flash swf object behind other asp.net controls?

Community Beginner ,
May 12, 2014 May 12, 2014

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.

TOPICS
ActionScript
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 12, 2014 May 12, 2014

Do you have the wmode set to be "transparent" in the html embedding code?

Translate
LEGEND ,
May 12, 2014 May 12, 2014

Do you have the wmode set to be "transparent" in the html embedding code?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 12, 2014 May 12, 2014

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 12, 2014 May 12, 2014
LATEST

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"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines