# Transparent SWF file in PHP pages

**URL:** <https://forum.kirupa.com/t/transparent-swf-file-in-php-pages/156530>\
**Category:** flash\
**Created:** [July 26, 2005, 1:59pm UTC](https://forum.kirupa.com/t/transparent-swf-file-in-php-pages/156530 "2005-07-26T13:59:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![uk\_martin](https://avatars.discourse-cdn.com/v4/letter/u/ec9cab/32.png) [@uk\_martin](https://forum.kirupa.com/u/uk_martin)\
**Post date:** [July 26, 2005, 1:59pm UTC](https://forum.kirupa.com/t/transparent-swf-file-in-php-pages/156530/1 "2005-07-26T13:59:10Z")

</div>

I’m trying to customise my new web site, and one of the pages - **[www.ukmartin.com/pcnuke/](http://www.ukmartin.com/pcnuke/)** is in need of a spot of attention.

Basically it’s a phpNuke site, with a Flash logo (as can be seen) The problem is that I can’t seem to get the transparency parameter for the SWF file to work in the PHP code.

If it were a HTML page, it would be a breeze, but this PHP code has me stumped. Here is the code snippet that governs the logo’s appearance:

```auto
echo "<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=\"700\" height=\"100\"> 
<param name=\"movie\" value=\"themes/Martin/images/logo.swf\"> 
<param name=\"quality\" value=\"high\"> 
<param name=\"bgcolor\" value=\"#ffffff\">
";

```

So far, everything that I have tried has failed, usually ending up with a blank white screen.

If someone out there knows how to change this code, so that my logo has a transparent background, then I’d be grateful to hear from them.

Thanks

Martin
