Click to See Complete Forum and Search --> : Transparent flash issues


cocteauuk
08-16-2006, 10:54 AM
Hi,

I have a transparent flash banner that goes on a <div> layer over a .php page. The thing doesn't work. Sometimes it just shows a white square where it should be or sometimes it just doesn't show at all.

I've tried placing the banner on a normal html page and it works fine.

May be something to do with php? also where should I place the code? inside a table?


Here is the flash code.

<div id="Layer1" style="position:absolute; left:400px; top:248px; width:405px; height:303px; z-index:1001; visibility:visible">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,29,0" width="405" height="303">
<param name="movie" value="signup_offer.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="signup_offer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="405" height="303" wmode="transparent"></embed></object></div>


Thank you very much,

rhsunderground
08-16-2006, 11:15 AM
Hi,

I have a transparent flash banner that goes on a <div> layer over a .php page. The thing doesn't work. Sometimes it just shows a white square where it should be or sometimes it just doesn't show at all.

I've tried placing the banner on a normal html page and it works fine.

May be something to do with php? also where should I place the code? inside a table?


Here is the flash code.

<div id="Layer1" style="position:absolute; left:400px; top:248px; width:405px; height:303px; z-index:1001; visibility:visible">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,29,0" width="405" height="303">
<param name="movie" value="signup_offer.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="signup_offer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="405" height="303" wmode="transparent"></embed></object></div>


Thank you very much,
well personally i've never seen a transparent flash file, but that doesn't mean they don't exist. you have in your code <param name="bgcolor" value="#ffffff" /> --- that sets the background color to white.

toicontien
08-16-2006, 11:42 AM
And don't forget the bgcolor="transparent" attribute and value for the EMBED tag too.

As you've got it now, the OBJECT tag calls an Active-X control for IE-Win and all other browsers use the EMBED tag.

cocteauuk
08-16-2006, 11:49 AM
Hi,

Thank you for answering to my post.

The flash banner is transparent windowless, I works fine on a normal HTML page as I've been testing on it.

I have to place this banner bon a php page, the results that I had so far are a white square the size of the banner on Explorer and absolutely nothing on Firefox.

Thank you

toicontien
08-16-2006, 11:53 AM
It could be an issue with something else on the page then. Can you post a link to the page in question, or post the code for the entire page?

cocteauuk
08-16-2006, 01:10 PM
Hi and thank you again,

here is the link to the page , http://www.twofatladies.co.uk/main3.php as it is at this stage.

Thanks for this,

Mauricio

toicontien
08-16-2006, 01:16 PM
I don't see the following code on your page:

<param name="bgcolor" value="transparent">
<embed ... bgcolor="transparent">

You may also have more luck by setting the OBJECT and EMBED tags' background colors to transparent using CSS.

cocteauuk
08-16-2006, 01:24 PM
Thanks , I'll try it and let you know.