Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > HTML and JavaScript

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-03-2004, 11:12 PM   #1
piratefish
Intermediate Developer
 
piratefish's Avatar
 
Join Date: Oct 2004
Location: The Keystone State
Posts: 284
Default I'm having troubles with transparent backgrounds

I don't know what or where to put in any HTML code to make my flash movie's background to be transparent, It's not a movie, it's a navbar, and it's background is bigger then the image itself. If you need to look at it, see http://www.piratefish.com/flash.html Please offer any advice.
piratefish is offline   Reply With Quote
Old 10-03-2004, 11:28 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,881
Default

Howdy and Welcome...

You probably need to put wmode="transparent" somewhere in your HTML code to do that...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 10-04-2004, 03:13 AM   #3
piratefish
Intermediate Developer
 
piratefish's Avatar
 
Join Date: Oct 2004
Location: The Keystone State
Posts: 284
Default

Well would I put it as PARAM NAME=WMODE VALUE=TRANSPARENT if so, then is it on my webpage, or is it in the published html code from flash? Also if you could give me an exact spot in either codes, the published code from Flash has a bunch of PARAM parts, and I'm not sure which to put.
piratefish is offline   Reply With Quote
Old 10-04-2004, 03:35 AM   #4
splict
ruby on rails fan :)
 
splict's Avatar
 
Join Date: Oct 2003
Location: tampa, fl
Posts: 1,139
Send a message via AIM to splict Send a message via MSN to splict Send a message via Yahoo to splict
Default

In your html...

In order for it to be compatible with internet explorer you need to use :
<param name="wmode" value="transparent" />

for compatibility with other browsers (mozilla and opera7) you need to use
wmode="transparent"
inside your embed tag.

Here is an example:
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="640" height="480" id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-1.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="640" height="480" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
you can set this without having to type any html by going (inside flash) to File->Publish Settings -> html -> Window Mode

like I did for this example
splict is offline   Reply With Quote
Old 10-06-2004, 02:36 AM   #5
piratefish
Intermediate Developer
 
piratefish's Avatar
 
Join Date: Oct 2004
Location: The Keystone State
Posts: 284
Default Thanks

thank you all so much. I need to look before I start asking for help. Thanks again.
piratefish is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT. The time now is 09:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.