Hi...

Any idea on how to embed this flash so it will stay behind other content, e.g. a lightbox?

<td align="left" id="container" valign="middle" z-index="0"><!-- see notes for files included -->
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player to see this rotator.</a> 
<script type="text/javascript" src="my/path/to/file.js"></script>
<object><script type="text/javascript">
	var s1 = new SWFObject("my/path/to/flash.swf","rotator","415","120","7");
	s1.addParam("allowfullscreen","false");
	s1.addVariable("file","my/path/to/file.xml");
	s1.addVariable("width","415");
	s1.addVariable("height","120");
	s1.write("container","embed");
</script></object>
</td>

I am fine with embedding full flash but with this XML/javascript flash, I am truly lost

Thanks a lot

Recommended Answers

All 2 Replies

Hi,

This should help...

sl.addParam("wmode", "opaque");

Member Avatar for rajarajan2017

s1.addParam("wmode","transparent");
So it will behind the content, if not also check the zindex value of the div.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.