Can someone tell me if this module will assist me inserting an swf in a node that refers to an XML file?

This is the code I would normally embed in an HTML file:

<script type="text/javascript" src="files/swfobject.js"></script>		
<div id="flashcontent">This content requires <a href="http://www.adobe.com/go/getflashplayer/">Adobe Flash Player</a> and a browser with JavaScript enabled.<br />Built on <a href="http://flashpanoramas.com/player/">Flash Panorama Player</a>.</div> 
    <script type="text/javascript">
	  var so = new SWFObject("files/pano.swf", "pano", "700px", "300px", "9", "#282828"); 
	  so.addVariable("xml_file","navigation.xml");
	  so.addParam("allowFullScreen","true");
	  so.addParam("allowScriptAccess","sameDomain");
	  so.write("flashcontent");
	  window.document["pano"].focus();
    </script>

Comments

KrisBulman’s picture

Status: Active » Closed (fixed)

I was able to get this working in swftools, http://drupal.org/node/380580