I'm looking to get this expensive slide carousel to appear inside a Wordpress publish. I'm able to right click the blank space where it ought to be and produce in the expensive options menu, but no movie is showing. It links for an xml document that pulls within the images and text. Could it be an xml problem? Below is exactly what I put into my wordpress template header to permit the expensive movie to operate:

<script src="<?php bloginfo('template_directory'); ?>/scripts/swfobject.js" type="text/javascript"></script>

<!-- JavaScript function - called by the animation -->
<script type="text/javascript">
  function MyFunction(p1){
    alert("You have clicked on: " + p1);

Things are where it ought to be such as the mention of swfobject finding yourself in the styles "scripts" folder. Now this is actually the code I make the publish I'm focusing on:

    <!-- BEGIN embed 3D Carousel -->

<!-- This <div> is replaced by the Flash content! (see "SWFObject embed by Geoff Stearns ..." below)
    Place your alternate content here and users without the Flash plugin 
or with Javascript turned off will see this.-->
<div id="flashcontent">
  <br />
  <br />
    <a target="_blank" href="http://www.macromedia.com/go/getflash/">
      <img border="0" alt="" src="images/getflash.png" />

<!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/swfobject/ -->
<script type="text/javascript"> 
  var so = new SWFObject("3dcarouseldev.swf", "3dcarouseldev", "780", "460", "", "#ffffff"); 
  so.addParam("quality", "high"); 
  so.addParam("scale", "noscale"); 
  so.addParam("menu", "false"); 
  so.addParam("salign", "lt"); 
  so.addParam("wmode", "transparent");
  so.addParam("flashvars", "configfile=3dcarousel.xml");

<!-- END embed 3D Carousel -->

Any reason this will not work despite the fact that I'm linked properly to any or all support files? Does Wordpress nothing like embedding Expensive? The hosting is on Godaddy in the event that helps any.


WordPress.org blocks SCRIPT/EMBED/OBJECT tags automatically.

You are able to disable this with a few hackery, or you will find a couple of plug ins that offer a custom syntax like [youtube][/youtube], however the better solution might be to upgrade to WordPress 2.9, which has oEmbed support.

I believe the connect to your actual expensive movie isn't linked properly. Keep in mind that whenever you reference personal files title, you should utilize the right road to your theme directory. You have done this to load your swfobject.js file, although not for 3dcarouseldev.swf.

Alter the following line inside your script:

var so = new SWFObject("3dcarouseldev.swf", "3dcarouseldev", "780", "460", "", "#ffffff"); 

for this:

var so = new SWFObject("<?php bloginfo('template_directory'); ?>/3dcarouseldev.swf", "3dcarouseldev", "780", "460", "", "#ffffff"); 

This can provide the complete road to your theme directory for your javascript variable. This assumes that the 3dcarouseldev.swf file is within your theme folder (and never a sub directory). When the file is elsewhere, you will need to adjust your directory to suggest right place.