Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A transparent background ?

Status
Not open for further replies.

Moez

Technical User
Jul 3, 2001
53
FR
Hi,

One week ago, I try to obtain a transparent background of my movie .swf. But, without result.
So, maybe someone can help me to do this.

Thanks
Moez
 
Hope you don't have a filled rectangle on the bottom layer of your movie, and if you don't check these:




Warning though, this only (presently) works on IE for Windows. Won't work with Nestcape, nor on ANY Mac browsers! Regards,

oldman3.gif
 
Why bother adding such incomplete info over mine?
I never understand this! Regards,

oldman3.gif
 
I've been trying quite a while already, but this just doesn't work. I'm using Explorer6 and FlashMX, player6 (ocx-version 47), but the WMode-tag does have no effect at all! Here is my code (Frontpage):

<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;

<codebase=&quot; width=&quot;504&quot; height=&quot;385&quot; >

<PARAM NAME=quality VALUE=High
<param name=&quot;FlashVars&quot;>
<param name=&quot;Src&quot; value=&quot;MyMovie.swf&quot;>
<param name=&quot;WMode&quot; value=&quot;Transparent&quot;>
<param name=&quot;Play&quot; value=&quot;0&quot;>
<param name=&quot;Loop&quot; value=&quot;-1&quot;>
<param name=&quot;Menu&quot; value=&quot;-1&quot;>
<param name=&quot;AllowScriptAccess&quot; value=&quot;always&quot;>
<param name=&quot;Scale&quot; value=&quot;ShowAll&quot;>
<param name=&quot;DeviceFont&quot; value=&quot;0&quot;>
<param name=&quot;EmbedMovie&quot; value=&quot;0&quot;>
<param name=&quot;_cx&quot; value=&quot;8308&quot;>
<param name=&quot;_cy&quot; value=&quot;5556&quot;>
<param name=&quot;FlashVars&quot; value=&quot;0&quot;>
<param name=&quot;Movie&quot; value=&quot;CH_9MXnet.swf&quot;>
<param name=&quot;SAlign&quot; value>
<param name=&quot;Base&quot; value>


</OBJECT>

The movie is there, playing correctly, but not transparent as it should be.
 
Ha! I don't know why, but when I tried this it worked:

<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;601&quot; height=&quot;435&quot; >

<PARAM NAME=quality VALUE=High
<param name=&quot;FlashVars&quot;>
<param name=&quot;Src&quot; value=&quot;MyMovie.swf&quot;>
<param name=&quot;WMode&quot; value=&quot;Transparent&quot;>
<param name=&quot;Play&quot; value=&quot;0&quot;>
<param name=&quot;Loop&quot; value=&quot;-1&quot;>
<param name=&quot;Menu&quot; value=&quot;-1&quot;>
<param name=&quot;AllowScriptAccess&quot; value=&quot;always&quot;>
<param name=&quot;Scale&quot; value=&quot;ShowAll&quot;>
<param name=&quot;DeviceFont&quot; value=&quot;0&quot;>
<param name=&quot;EmbedMovie&quot; value=&quot;0&quot;>
<param name=&quot;_cx&quot; value=&quot;8308&quot;>
<param name=&quot;_cy&quot; value=&quot;5556&quot;>
<param name=&quot;FlashVars&quot; value=&quot;0&quot;>
</OBJECT>

I took out the codebase-tag and it worked.
 
Thanks a lot for your answers !
I'm going to try and tell you if it work.

Moez
 
This will work:

Code:
<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://active.macromedia.com/flash/cabs/swflash.cab&quot;;[/URL] width=&quot;504&quot; height=&quot;385&quot; >

<PARAM NAME=quality VALUE=High
<param name=&quot;FlashVars&quot;>
<param name=&quot;Src&quot; value=&quot;MyMovie.swf&quot;>
<param name=&quot;WMode&quot; value=&quot;Transparent&quot;>
<param name=&quot;Play&quot; value=&quot;0&quot;>
<param name=&quot;Loop&quot; value=&quot;-1&quot;>
<param name=&quot;Menu&quot; value=&quot;-1&quot;>
<param name=&quot;AllowScriptAccess&quot; value=&quot;always&quot;>
<param name=&quot;Scale&quot; value=&quot;ShowAll&quot;>
<param name=&quot;DeviceFont&quot; value=&quot;0&quot;>
<param name=&quot;EmbedMovie&quot; value=&quot;0&quot;>
  <param name=&quot;_cx&quot; value=&quot;8308&quot;>
  <param name=&quot;_cy&quot; value=&quot;5556&quot;>
  <param name=&quot;FlashVars&quot; value=&quot;0&quot;>
  <param name=&quot;Movie&quot; value=&quot;CH_9MXnet.swf&quot;>
  <param name=&quot;SAlign&quot; value>
  <param name=&quot;Base&quot; value>


</OBJECT>
Regards
David Byng
spider.gif

davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top