DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Java On Top Of Flash.

02.15.2007
| 2676 views |
  • submit to reddit
        // Allows DHTML and JS menus to load on top of flash objects while checking for installed player.


<script type="text/javascript">
var so = new SWFObject("FLASHOBJECT.swf", "gallery", "271", "206", "6", "#ffffff");
so.addParam("wmode", "transparent");
so.write("FLASHOBJECTCONTAINERDIV");
</script>

    

Comments

Gregg Obst replied on Wed, 2007/02/14 - 5:16pm

Hopefully you meant the title to be "JavaScipt on top of Flash" and not "Java on top of Flash".