you just need to set up your flashvars in a different way

var fvars = { xml: 'my.xml' };
var params = {wmode: 'transparent', menu: 'false'}; // all you add params go
here
var attrs = {id: 'myflash'};
swfobject.embedSWF("myFlash.swf","flashcontent","418","167","10",
"expressInstall.swf",fvars,params,attrs);

you can use the generator (adobe air or plain ol' html)
http://code.google.com/p/swfobject/downloads/list


- S


2009/7/7 Blondie <[email protected]>

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to