title: SWFObject relative path
body: <p>Whatever I try I couldn't make this swf file work.
  if I put all the files into my root everything works perfectly fine.</p>
  
  <p>Here is my path format;</p>
  
  <p>root: where my index.php located.</p>
  
  <p>inside the root, I have a folder called "public".</p>
  
  <p>inside "public" I have another folder called "_carousel_flash".
  This is the place where my swf file is located.
  I also have "js" folder located in this directory.</p>
  
  <p>Here is the html code I'm using for adding the swf file.</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
  
  &lt;head&gt;
  
  &lt;title&gt;Galleria - Inspire Creativity&lt;/title&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;script type="text/javascript" src="public/_carousel_flash/js/swfobject.js"&gt; &lt;/script&gt;
  &lt;script type="text/javascript" src="public/_carousel_flash /js/swfaddress.uncompressed.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;div id="contents"&gt;
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
  var so = new SWFObject("public/_carousel_flash/block_slider.swf", "movie", "100%", "100%", "8", "#ffffff");
  so.addParam("quality", "high");
  so.addParam("id", "movie");
  so.addParam("allowFullscreen", "true");
  so.write("contents");
  so.addParam("salign", "t");
  &lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>