title: Uncaught ReferenceError: SWFObject is not defined
body: <p>It sounds like a dumb question and FAQ as well, but I truly don't see any reason not to be able to run it.</p>
  
  <p>I try to run a imagerotator with SWFObject and that's the error I get. I do include properly the swfobject.js file (accessible via the direct url) and I pass the parameters through an XML file which loads independently fine as well. I do use version 2.2.</p>
  
  <p>Here there is my SWF call:</p>
  
  <pre><code>&lt;div id="slide1"&gt;&lt;a href="http://www.macromedia.com/go/getflashplayer"&gt;Get the Flash Player&lt;/a&gt; to see this rotator.&lt;/div&gt;
                      &lt;div id="rotator"&gt;&lt;/div&gt;
                      &lt;script type="text/javascript"&gt;
  
  
                          var s1 = new SWFObject("/admin/cms/imagerotator.swf","rotator","606","199","5");
                          s1.addVariable("file","imagerotator.php");
  
                          s1.addParam("allowfullscreen","false");
                          s1.addVariable("linkfromdisplay", "false");
                          s1.addVariable("transition","lines");//bgfade,blocks,bubbles,circles,fade,flash,fluids,lines,random,slowfade
                          s1.addVariable("rotatetime","5");
                          s1.addVariable("overstretch","false");
                          s1.addVariable("backcolor","0xFFFFFF");// change if its helps to fit better in design (optional)
                          s1.addVariable("shuffle","false");
                          s1.addParam("wmode", "transparent");
                          s1.addVariable("showicons","false");
                          s1.addVariable("shownavigation","false");
                          s1.write("slide1");
  
                      &lt;/script&gt;
  </code></pre>
  
  <p>I doubt that this usage of the SWFobject is completely inappropriate for this version, although I use a sample code of a CMS <em>including</em> this exact version of the library.</p>