Hello,

First time using the new version of swfobject and I'm still trying to
get accustomed to it. I'm using the dynamic method to add Flash to my
webpage and want to add wmode transparent to the following code:

<script type="text/javascript" src="scripts/swfobject.js"></script>
<script type="text/javascript">
        swfobject.embedSWF("flash/header.swf", "flash-header", "900", "300",
"9.0.0", "flash/expressInstall.swf");
</script>

I've tried adding the following, which seems to work, but I'm not sure
if this is correctly written or why it breaks if I try removing the
empty flashvars or attributes:

<script type="text/javascript" src="scripts/swfobject.js"></script>
        <script type="text/javascript">
                var flashvars = {};
                var params = {wmode: "transparent"};
                var attributes = {};
                swfobject.embedSWF("flash/home_timeline.swf", "flash_timeline",
"895", "658", "9.0.0", "flash/expressInstall.swf", flashvars, params,
attributes);
        </script>

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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