المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to make the background color transparent in a Flash movie in html



bahattab
04-12-2008, 03:01 AM
How to make the background color transparent in a Flash movie in html



Do you want to make your Flash movie have a transparent background so it blends well with your page background color or background image? This is very simple to do and the change can be done in the html code.
Just add the following parameter tag along with the other parameter tags listed in the Flash object code:



<PARAM NAME=wmode VALUE=transparent>
This tag in the html code makes the Flash object transparent.
The code will look something like this.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="215" height="124">
<param name="movie" value="flash_file.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="flash_file.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="215" height="124"></embed>
</object>





http://www.entheosweb.com/Flash/transparent_background.asp