I have some text with transparent background and I imported this png image to flash. Now when I create a swf file, it doesnt show me transparency. I tried using wmode parameter as transparent in the webpage but that wont work. Stage of my flash file is of the same size as the png image with text in it. Can anybody please tell me how will I make the stage in swf transparent so that the file blends with the background showing on text and not any other color.
my fellow designer faced the same issue with flash i dont remember what he did but i am dead sure he did the things within Code, and if your sure that your doing everything according to track so all you have to recheck twice possibly your missing something
Please give a look to this :
That first link helped my guy see if it can do something with your problem...
and in our project we used this code for the flash header
On SE site you can find the same issue
hope this will help....
The secret to this is it's hidden among the Publish settings.
Under HTML, set the Window Mode dropdown to "Transparent Windowless." I was going to put up some screen grabs, but there's a video that shows the exact steps here: http://kb2.adobe.com/cps/524/cpsid_52418.html#flash.
It sounds like you are doing it right, but http://kb2.adobe.com/cps/128/tn_12804.html says
This image must be saved as a
32-bitimages[sic], preferably PNG for best color fidelity. Import the PNG file into Flash using File> Import and the alpha channel transparency will be retained in Flash.
Have you confirmed your source image is 32 bit? Note that I am unable to save a 32bit PNG image using Photoshop even with transparency (windows reports 24bit). While Fireworks can (windows reports 32bit)
I have use this code below for html and php. And it works fine for me. maybe, you can try this out.
<p> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="300" height="160"> <param name="movie" value="directory/subfolder/flashname.swf"> <param name="quality" value="High"> <embed src="/directory/subfolder/flashname.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="300" height="160" wmode="transparent"></object> </p>