Forums

How to add flash to template (3 posts)

  1. iamchel
    Member
    Posted 2 years ago #

    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', 'http://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', 'http://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?

  2. iamchel
    Member
    Posted 2 years ago #

    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="<?php bloginfo('template_directory'); ?>/AC_RunActiveContent.js" language="javascript"></script>

    Header script enclosed in the code tags now. Sorry if theres an edit post button..I can't seem to find it. Edit* I was having trouble earlier when I posted my first post where the Edit button would take me to the home page but its working now. Nevertheless Im still looking for help :p

  3. iamchel
    Member
    Posted 2 years ago #

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.