PDA

View Full Version : Get DHTML Ad Box in the font of a Flash file.



cirko
09-27-2007, 08:22 PM
Godday, i use this script on my website
http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm
But its in the bagrund of my SWF file
See here
http://www.daah.dk/index.php?params=game/533/Bubble-Struggle-2/

How can i get it in the front please help thanks :)

luj
10-06-2007, 10:01 PM
You use:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="530" height="415">
<param name="movie" value="http://www.daah.dk/swf/bubble-struggle-2.swf">
<param name="quality" value="high">
<param name="menu" value="true">
<embed
width="530"
height="415"
src="http://www.daah.dk/swf/bubble-struggle-2.swf"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
>
</embed>
</object>

Try with:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="530" height="415">
<param name="movie" value="http://www.daah.dk/swf/bubble-struggle-2.swf">
<param name="quality" value="high">
<param name="menu" value="true">
<param name="wmode" value="transparent">
<embed
width="530"
height="415"
src="http://www.daah.dk/swf/bubble-struggle-2.swf"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"
wmode="transparent"
>
</embed>
</object>


What?
Flash, by default, is not treated like other elements in browser. It always use "highest-possible-z-layer" (like DVD video on screen - it is not same as excell stylesheet).
But with wmode transparent (or opague), you put flash "down"

BR, Dusan