How to add flash to template
-
Hey guys I have a website Im porting over to wordpress which uses flash for a few parts. Now normally it would be find but for some reason none of my flash elements work. All that shows up are white area’s where the element should be. This is the code Im using for my flash
<script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'width', '240', 'height', '347', 'src', '<?php echo get_bloginfo('template_directory'); ?>/nav_book.swf', 'quality', 'high', 'pluginspage', 'https://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'nav_book', 'bgcolor', '#ffffff', 'name', 'nav_book', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', '<?php echo get_bloginfo('template_directory'); ?>/nav_book.swf', 'salign', '' ); //end AC code } </script>
And in the header
`<script language=”javascript”>AC_FL_RunContent = 0;</script>
<script src=”<?php bloginfo(‘template_directory’); ?>/AC_RunActiveContent.js” language=”javascript”></script>’Any ideas as to what is going wrong here?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add flash to template’ is closed to new replies.