Has anyone recently tried using swfobject with greybox? I have .swf in
the main html page. Clicking the .swf lauches a greybox overlay. I'm
using greybox to put a html form in a shadowbox overlay that goes over
the .swf. The greybox overlay is not transparent. It's 100% opaque.
I've played with the z-index & wmode but so far no success.

My html & swfobject codes looks like this.

<script type="text/javascript">
    var GB_ROOT_DIR = "./greybox/";
</script>
<script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" />


<script type="text/javascript">
function greyBoxOverlay() {
        GB_showCenter("", "form.aspx", 450, 430);
}
</script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
        var flashvars = {};
        var params = {};
                params.menu = "false";
                params.quality = "best";
                params.wmode = "transparent";
        var attributes = {};

        swfobject.embedSWF("content.swf", "flashcontent", "950", "851",
"9.0.0", false, flashvars, params, attributes);
</script>
</head>
<body>


<div id="flashcontent">
<strong>You need to upgrade your Flash Player<br/><a href="http://
www.adobe.com/products/flashplayer/">Get the flash player here.</a></
strong>
</div>

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