Mobile app version of vmapp.org
Login or Join
Connie430

: Transparency in swf file created using png image 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.

@Connie430

Posted in: #AdobeFlash #Png #WebsiteDesign

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.

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie430

4 Comments

Sorted by latest first Latest Oldest Best

 

@Yeniel278

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>

10% popularity Vote Up Vote Down


 

@LarsenBagley460

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 :


Making Flash Movies Transparent
Flash OBJECT and EMBED tag
attributes
working HTML Flash (.swf) transparent


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

<div id="flashcontainer">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','253','src','flash2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','flash2' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="900" height="253">
<param name="movie" value="flash2.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash2.swf" width="900" height="253" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</noscript>




On SE site you can find the same issue


Transparent Flash


hope this will help....

10% popularity Vote Up Vote Down


 

@BetL875

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: kb2.adobe.com/cps/524/cpsid_52418.html#flash.

10% popularity Vote Up Vote Down


 

@Vandalay110

It sounds like you are doing it right, but kb2.adobe.com/cps/128/tn_12804.html says


This image must be saved as a 32-bit images[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)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme