Thread Starter
MadsK
(@madsk)
I just tried installing the Kimili plug in, but now it says that the movie isn’t loaded. You can check it here http://www.m3dk.com/dufoo/ . What can i do?
You need to properly reference the *.swf file. My guess is, you refer to your *.swf file in realtive terms, something like this:
<object type="application/x-shockwave-flash" data="menu.swf">
The problem is, your template code will be included into the blog’s main index file, so all relative references will be perceived as relative to the blog’s home directory. So, if my guess is correct, you can fix the problem by providing an absolute link to the *.swf file.
If your *.swf file is stored in the same directory as the template file, you can do it like this:
<object type="application/x-shockwave-flash" data="<?php
bloginfo('template_directory');
?>menu.swf">
I can’t remember if bloginfo('template_directory') returns the directory with or without a trailing slash. The example above assumes it is with a trailing slash. If not, just add a slash manually, so that ?>menu.swf"> becomes ?>/menu.swf">…
Thread Starter
MadsK
(@madsk)
That helped. Thanks alot 🙂
I did the above for the following code and it still doesn’t show up:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','120','height','600','title','Shearwater','src','<?php bloginfo('template_url'); ?>/images/Ads/shearwaterTall_120_600.swf','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','<?php bloginfo('template_url'); ?>/images/Ads/shearwaterTall_120_600.swf' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="120" height="600" title="Shearwater">
<param name="movie" value="<?php bloginfo('template_url'); ?>/images/Ads/shearwaterTall_120_600.swf" />
<param name="quality" value="high" />
<embed src="<?php bloginfo('template_url'); ?>/images/Ads/shearwaterTall_120_600.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="600"></embed>
</object></noscript>
Please help if you can!