Old 02-07-2009, 06:32 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 4
Default Setting Stage to Transparent

Hi,

I have been trying to set the stage background to transparent, so that the rotating image can float above the page - it has gradient that I can't match in the Stage color picker.

I have followed the instructions from this link, but it always publishes a black background..

http://kb.adobe.com/selfservice/view...4201&sliceId=2

I have also found a reference to this tag, but I am not sure where to embed it, and, if it is the appropriate tag.

<PARAM NAME=wmode VALUE=transparent>


Any help with this would be much appreciated. I love this Image rotator!
pdxwebhead is offline   Reply With Quote
Old 02-10-2009, 12:27 AM   #2 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 4
Default If it helps...

I am using Flash CS4...

Anyone?
pdxwebhead is offline   Reply With Quote
Old 02-11-2009, 11:22 PM   #3 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 4
Default Setting Stage to Transparent

By way of update...

Other things I have tried to change the background...

1) remove the background definition from the #flashcontent and #flash elements
2) added this var command to the embedded <script>
so.addParam("wmode", "transparent");
3) removed the background from the flash main.fla

Anything else I am missing?
pdxwebhead is offline   Reply With Quote
Old 02-12-2009, 02:21 AM   #4 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Could you post the html code here ? From what you described, it should have worked. Also, some browser cannot display flash as transparent. Check the web if your browser or browser version supports wmode=transparent.
Adrian is offline   Reply With Quote
Old 02-17-2009, 03:33 PM   #5 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 4
Default Setting stage to transparent

Hi Adrian,

The working site (with a gray background) is here: WaterCloset Media - Ad Gallery --

I wasn't aware of the browser limitation... Thanks for the heads up!
pdxwebhead is offline   Reply With Quote
Old 02-17-2009, 04:25 PM   #6 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Oh, you have a little problem here:

Code:
var so = new SWFObject("main.swf", "flash", "675", "350", "8", "none");
		so.write("flashcontent");
		so.addParam("wmode", "transparent");
You need to swap the last 2 lines. First you set the wmode and then you write the flash.

Code:
var so = new SWFObject("main.swf", "flash", "675", "350", "8", "none");
		
so.addParam("wmode", "transparent");
so.write("flashcontent");
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:25 AM.