Chris Stormer
asked on
Adding wmode=transparent to SWFOBJECT
I want to add the wmode=transparent parameter to swfobject.
Below is my current code, which does not seem to actually turn on transparent mode.
You can see the item page I'm using it at here... and that transparent isn't on because you can see when rollover the QTY discountn button in FF you can't see thru the flash to see the box that pops up.
http://www.versatables.com/pages/products/school/aj30xx-test3.php#
Below is my current code, which does not seem to actually turn on transparent mode.
You can see the item page I'm using it at here... and that transparent isn't on because you can see when rollover the QTY discountn button in FF you can't see thru the flash to see the box that pops up.
http://www.versatables.com/pages/products/school/aj30xx-test3.php#
<script type="text/javascript">
swfobject.embedSWF("http://www.versatables.com/media/flash/swf/CTL30-DEMO-09-LOAD.swf", "myContent", "300", "320", "7.0.0", "expressInstall.swf");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>
The object holds parameters and the embed object (generally). I think when I tried this a while back, the wmode="transparent" must remain as a param, but also inside the embed tag for it to work cross-browser. As you are using javascript, however I cannot help you any further than provide this input.
I think your
"swfobject.embedSWF" might be causing your issue.
Try my snippet and see what happens.
"swfobject.embedSWF" might be causing your issue.
Try my snippet and see what happens.
<script type="text/javascript">
var so = new SWFObject("pathto.swf", "swfname", "width", "height", "version", "#bgdcolor");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>
"#bgdcolor" will be ignored, give it a value anyway
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No that doesn't seem to work.. nothing comes up when I run that...
ASKER
Sorry let me try that last one.