[SWFObject] [Fwd: RE: Re: How to add Parameter]
"Jan Kratochvíl, FlashMedia.cz"
kratochvil at flashmedia.cz
Tue May 30 08:29:31 PDT 2006
The problem with transparency was than my mistake: image background
color :( - It worked also.
But if I set this :
so.addParam("var1","main_sites/default.htm");
I need this var in the Flash movie for btn link like this:
Root timeline first frame:
czech_btn.onRelease = function ()
{
getURL(var1, "_self");
};
----------
But I cant recieve the var1 from HTML into Flash.
-------- Původní zpráva --------
Předmět: RE: Re: [SWFObject] How to add Parameter
Datum: Tue, 30 May 2006 15:44:42 +0200
Od: "Jan Kratochvíl, FlashMedia.cz" <kratochvil at flashmedia.cz>
Komu: swfobject at lists.deconcept.com
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