all groups > macromedia flash sitedesign > february 2004 >
You're in the

macromedia flash sitedesign

group:

Transparent SWF in published HTML file


Transparent SWF in published HTML file dannbeckett
2/28/2004 12:24:32 PM
macromedia flash sitedesign:
Hi,
Is there a way to make the background of a swf transparent for use in an HTML file which background is sky blue
[b][h](#82C0FF)[/h][/b]

Thanks alot,
Re: Transparent SWF in published HTML file dannbeckett
2/28/2004 1:42:46 PM
Hi,
Thanks for that. I've since found a solution in the HTML coding:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=7,0,0,0" width="626" height="41" id="top" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="top.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="[h][b]#ffffff[/b][/h]" />
<embed src="top.swf" quality="high" bgcolor="#ffffff" width="502" height="33"
name="top" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

Change the #ffffff to #82C0FF

Thanks,
dannbeckett
Re: Transparent SWF in published HTML file Laiverd.COM
2/28/2004 2:21:45 PM
Have a look at the wmode parameter in the manual.

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

Re: Transparent SWF in published HTML file Laiverd.COM
2/28/2004 11:25:35 PM
Well that's not transparent but since it works for you > glad it worked out.

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

Re: Transparent SWF in published HTML file Rob De Vries
2/29/2004 1:54:48 PM
transparency only works in IE !






[quoted text, click to view]

Re: Transparent SWF in published HTML file Laiverd.COM
2/29/2004 3:12:13 PM
That is not exactly true anymore. Suprised me also soem time ago ;-)

The following browsers currently support windowless mode:
Windows and Mac OS X
Internet Explorer 3 or higher (Windows)
Internet Explorer 5.1* and 5.2* (Macintosh)
Netscape 7.0*
Mozilla 1.0 or higher*
AOL*
CompuServe*



Copy/paste from:
http://www.macromedia.com/support/flash/ts/documents/wmode.htm



John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

Re: Transparent SWF in published HTML file dannbeckett
3/1/2004 9:26:47 PM
[Q]transparency only works in IE ![/Q]

By that, do you you mean my way of "transparency" or the wmode version?


[Q]Have a look at the wmode parameter in the manual.[/Q]

I downloaded my version of FMX04 and bought a serial from Macromedia. Is this
a true transparency method? I.E. So I don't have to change the HTML bgcolor
paramater each time I change the background colour of my page. It'd be in the
help files wouldn't it?



Thanks, dannbeckett!
Re: Transparent SWF in published HTML file Laiverd.COM
3/1/2004 10:32:00 PM
wmode was meant. As to the second question: yes and yes, but still mind
those browsers that do not support wmode (if need be of course)

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

Re: Transparent SWF in published HTML file dannbeckett
3/3/2004 8:09:28 PM
thanks for that but as 95% of users use ie, i wil go with wmode.


AddThis Social Bookmark Button