PDA

View Full Version : Make stage transparent


snejsnej
03-06-2006, 05:34 PM
Hi there--

I have a number of small swf elements that I've inserted into an html table. The table is transparent so that the background image in the <body> shows through.

The problem that I'm running into is that the swf elements - the stage of each swf element - is not transparent, so that there's an obvious white block cutting into the <body> background image.

I've tried including <param name="wmode" value="transparent"> and wmode="transparent" in the <embed> tag, but the white block of each swf element is still there, i.e. not transparent.

Am I missing something? The code for one of the elements is below...

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="167" height="27">
<param name="movie" value="common_approaches_darkest.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="common_approaches_darkest.swf" width="167" height="27" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>

Thanks in advance for any help!
Jens

kmchen
03-08-2006, 02:52 PM
Hi

I'm looking around the same problem. You should solve yours by using png or gif files that are supposed to keep their transparence since AS 2.0 but the tests I did in that direction are note ok:

I used a slideshow found at http://www.jessewarden.com/archives/2005/04/image_slideshow.html
I found that works good with jpg en SWF files but when I attemp to insert any png or gif files in the image.xml they do not show ! Works good with any jpg or swf files. I tried to read the produced Slideshow.swf with both FIREFOX 1.0.7 / FLASHPLAYER 7 / LINUX and IE6 / FLASHPLAYER 8 / WIN98.

Does some body can help me understanding what's going on ?
Is AS 2.0/FLASHPLAYER 8 realy supporting transparent PNG format or not ?