nothing beats reading the docs -
http://code.google.com/p/swfobject/wiki/documentation
things have changed a bit since swfobject 2 - here's my preferred method
from docs page
<script type="text/javascript">
var flashvars = {
name1: "hello",
name2: "world",
name3: "foobar"
};
var params = {
menu: "false"
};
var attributes = {
id: "myDynamicContent",
name: "myDynamicContent"
};
swfobject.embedSWF("myContent.swf", "myContent", "300", "120",
"9.0.0","expressInstall.swf", flashvars, params, attributes);
</script>
On Tue, 2009-07-07 at 14:13 -0700, Blondie wrote:
> Hi , i'm using this code with swfobject 1.4.4 :
>
> <script type="text/javascript">
> var so = new SWFObject("MyFlash.swf?xml=My.xml", "myflash",
> "418", "167", "10");
> so.addParam("allowFullScreen", "false");
> so.addParam("scale", "noscale");
> so.addParam("menu", "false");
> so.addParam("wmode", "transparent");
> so.write("flashcontent");
> </script>
>
> Same code does'nt work using swfobject 2.2 , someone can help me ?
>
> Thanks
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---