[SWFObject] SWFObject align parameters
Brian McGill
brian at newcitymedia.com
Thu Jun 1 13:21:05 PDT 2006
center your containing block, not the swf.
for example: if your swf is being loaded into a div with
id="flashcontainer", then set the size of that div and center it using css.
brian
sherman wellons wrote:
> Folks.
>
> I have a question about the swfObject. I am trying to align my flash
> movie in the center of the browser window. I've tried the below
> parameters but nothing worked:
>
> var so = new SWFObject("Landing.swf", "Landing", "558 ", "830", "7",
> "#FFFFFF");
> ------------------
> 1.so.addParam("salign", "center");
> 2.so.addParam("align", "center");
> 3.so.addParam("salign", "middle");
> 4.so.addParam("align", "middle");
>
> Any help is greatly appreciated. :)
More information about the Swfobject
mailing list