How to display Javascript on top of Flash
Posted on November 28th, 2006 | Subscribe in a Reader | Subscribe by Email
Ever had that experience where your javascript is shown behind your flash file? Take a look at this example problem:
Having this problem is such an annoyance for webdesigners since this greatly affects the overall design of the site. So I did a search how to solve this problem. Here is what you need to add on your html embed code.
<param name=”wmode” value=”transparent”>
and
<embed wmode=”transparent” src=”flash.swf”>
Update: October 31,2007
if you are using, AC_FL_RunContent, add this
<script type=”text/javascript”>
AC_FL_RunContent( ‘codebase’,'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0′,’width’,'1000′,’height’,'650′,’src’,'catalogue’,'quality’,'high’,'pluginspage’,'http://www.macromedia.com/go/getflashplayer’,'movie’,'catalogue’,‘wmode’,'transparent’ ); //end AC code
</script>
After you’ve updated the file, it should look like this Continue reading »