[SWFObject] How to add Parameter

"Jan Kratochvíl, FlashMedia.cz" kratochvil at flashmedia.cz
Tue May 30 06:44:42 PDT 2006


If I set it so, than the movie has still no transparency param is inactive:

<div id = "bazeny-septiky-jimky-nadrze">
<script type="text/javascript">
   var so = new SWFObject("bazeny-septiky-jimky-nadrze.swf", "bazeny-septiky-jimky-nadrze", "785", "400", "8", "#ffffff");  
   so.addParam("wmode", "transparent");
   so.write("flashcontent");
   
</script>
</div>

Message: 2
Date: Tue, 30 May 2006 09:14:12 -0400
From: Geoff Stearns <geoff at deconcept.com>
Subject: Re: [SWFObject] How to add Parameter
To: swfobject at lists.deconcept.com
Message-ID: <87EDA762-03DD-4A61-AF6A-44CED704E8D4 at deconcept.com>
Content-Type: text/plain; charset="utf-8"

you need to put all your addParam() calls before the so.write() call.


On May 30, 2006, at 5:35 AM, Jan Kratochv?l, FlashMedia.cz wrote:


> > I have problem how to add parameter:
> >
> >  so.addParam("wmode", "transparent");
> >
> > If I add this param - it not works like this:
> >
> > <div id = "bazeny-septiky-jimky-nadrze">
> >   <script type="text/javascript">
> >    var so = new SWFObject("main.swf", "main", "970", "420", "8");
> >    so.write("flashcontent");
> >    so.addParam("wmode", "transparent");
> >    </script>
> > </div>
> >
> > How can I use the parameters if I use <div id="flashcontent"> only  
> > for HTML content?
> > ---------------------------------------------------------------------- 



More information about the Swfobject mailing list