PDA

View Full Version : Transparent background


indianleo
03-08-2007, 09:10 AM
how to give Transparent background of flash file in html

davidj
03-08-2007, 09:26 AM
what are you trying to do

indianleo
03-08-2007, 09:28 AM
I had placed 1 flash swf but the bg of flash is coming white which is the color of stage of flash file I just want it to be transparent

davidj
03-08-2007, 09:29 AM
add to the <object tag

<param name="wmode" value="transparent">
and to the embed tagwmode="transparent"i am going to regret this.....

indianleo
03-08-2007, 09:49 AM
i did but it is still without transparent


The code I used 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="120" height="60">
<param name="movie" value="images/new.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="images/new.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="60" wmode="transparent"></embed>
</object>

chriskq
03-08-2007, 09:55 AM
is the background inside your fla file transparent too ?

they both have to be indianleo

indianleo
03-08-2007, 10:09 AM
actually I dont have Bg in flash , only 1 start just blinking for new update So in html the file is showing the dimension flash file as white patch

davidj
03-08-2007, 10:13 AM
post a link so we can see

also you need to add the flash tags inside a layer so it floats above text and other page elements giving the impression thats the bg is transparent

if you just add the flash to the page then its going to appear white because the area it takes up is probably white