Note that there are some explanatory texts on larger screens.

plurals
  1. POPositioning flash content using CSS
    text
    copied!<p>I have a generated HTML page with flash content in it. I am trying to reposition the flash content and make it "absolute". I have tried to wrap the object tags with a div tag, but to no avail. Can anyone tell me how to do this? Removing the generated positioning attributes does not work. </p> <p>See relevant code below (it is not very neat, but this is how it is generated. I have removed most irrelevant code): </p> <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt; &lt;title&gt;* welcome *&lt;/title&gt; &lt;script language="javascript"&gt;AC_FL_RunContent = 0;&lt;/script&gt; &lt;script src="AC_RunActiveContent.js" language="javascript"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body bgcolor="#000000"&gt; &lt;script language="javascript"&gt; 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=9,0,0,0', 'width', '430', 'height', '200', 'src', 'bar', 'quality', 'high', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'right', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'transparent', 'devicefont', 'false', 'id', 'bar', 'bgcolor', '#000000', 'name', 'bar', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'bar', 'salign', '' ); //end AC code } &lt;/script&gt; &lt;noscript&gt; &lt;div style = "position: absolute"&gt; &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="430" height="200" id="bar" align="right"&gt; &lt;param name="allowScriptAccess" value="sameDomain" /&gt; &lt;param name="allowFullScreen" value="false" /&gt; &lt;param name="movie" value="bar.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="wmode" value="transparent" /&gt;&lt;param name="bgcolor" value="#000000" /&gt; &lt;/object&gt; &lt;/div&gt; &lt;/noscript&gt; </code></pre> <p>Thanks in advance!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload