It's easy to forget one param if coding by hand / scratch.

Using the code generator helps, and reduces time to write the code:
http://www.swffix.org/swfobject/generator/


The WIKI is correct.

Cheers,
Aran

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Saturday, 11 October 2008 8:37 AM
To: SWFObject
Subject: Re: swfobject 2.0 - Background image not showing up


That was it ... thanks.

In terms of the syntax ... I think I copied things straight from the
wiki someplace ... so it might be wrong there?  Or I could have just
pooched it as well.



On Oct 9, 9:30 pm, "Aran Rhee" <[EMAIL PROTECTED]> wrote:
> You are OVERWRITING the header_nav div with your swf file, so there is no
> background image when the user has flash as the div is no longer. You
would
> need another parent div with the BG image styling. Replace a child div of
> the div with the flash file instead.
>
> Also, you are trying to write the parameters object where the embedSWF()
> method is expecting the flashvars object first.
>
> The method signature is:
> embedSWF(swf, id, width, height, version, expressinstall, flashvars,
> parameters, attributes);
>
> Aran
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> Behalf Of [EMAIL PROTECTED]
> Sent: Friday, 10 October 2008 3:02 PM
> To: SWFObject
> Subject: swfobject 2.0 - Background image not showing up
>
> Hi Folks,
>
> Here is what the original code for the flash object looked like from
> the template I'm using:
>
> <div class="dc" style=" background:url(images/6-bg.gif) no-repeat
> bottom;" >
>
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>
> codebase="http://download.macromedia.com/pub/shockwave/
> cabs/flash/swflash.cab#version=6,0,40,0"
>
> width="766" height="332">
>
> <param name="movie" value="flash/header_v8.swf?button=7">
>
> <param name="quality" value="high">
>
> <param name="menu" value="false">
>
> <param name="wmode" value="transparent">
>
> <!--[if !IE]> <-->
>
> <object data="flash/header_v8.swf?button=7"
>
> width="766" height="332" type="application/x-shockwave-
> flash">
>
> <param name="quality" value="high">
>
> <param name="menu" value="false">
>
> <param name="wmode" value="transparent">
>
> <param name="pluginurl" value="http://www.macromedia.com/go/
> getflashplayer">
>
> FAIL (the browser should render some flash content, not
> this).
>
> </object>
>
> <!--> <![endif]>
>
> </object>
>
> </div>
>
> Here is how the code looks with swfobject:
>
> <script type='text/javascript'>
> swfobject.embedSWF("flash/header_v8.swf?button=2", "header_nav",
> "766", "332", "9.0.0", null,
> {quality:"high",menu:"false",wmode:"transparent"});
> </script>
>
> <div id="header_nav" class="dc" style=" background:url(images/6-
> bg.gif) no-repeat bottom;" ></div>
>
> The problem:  the background image never shows through.  I'm pretty
> sure I have the wmode parameter set right, no???
>
> Any help would be appreciated.
>
> Thanks - wgpubs



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to