title: ASP.NET MVC - SWF files not loading
body: <p>In my asp.net mvc site, I'm loading flash files using swfobject.  These files work fine, locally, using Visual Studio 2008 server (F5).  But, when deployed to the Test server, they don't load at all. My routing table looks like this:</p>
  
  <pre><code>routes.MapRoute(
      "Default",
      "{controller}.aspx/{action}/{id}/{title}",
      new {controller = "Home", action = "Index",id = "",title=""});
  routes.MapRoute(
     "Root",
     "",
     new {controller = "Home",action = "Index",id = "",title = ""});
  </code></pre>
  
  <p>And I'm loading the swfs like:</p>
  
  <pre><code>&lt;div id="home-container"&gt;
      &lt;div id="flash-content" style="outline:none;position:absolute; top:0px"&gt;
          &lt;h1&gt;GET THE LATEST FLASH PLAYER TO VIEW THIS SITE.&lt;/h1&gt;
          &lt;a href="http://www.adobe.com/go/getflashplayer"&gt;
              get it now
          &lt;/a&gt;
      &lt;/div&gt;        
  &lt;/div&gt; 
  &lt;script type="text/javascript"&gt;
      // Embed the SWF
      var flashvars = {}; 
      var attributes = {id: "whole-grains-home", name: "whole-grains-home", style:"outline:none;"};
      var params = { allowscriptaccess: "always", menu: "false", wmode: "transparent", swliveconnect: "true" };
      var flashFile = '&lt;%= Url.Content("~/files/flash/Homepage/R9IN03_PostH&amp;W_Homepage.swf") %&gt;';
      swfobject.embedSWF(flashFile, "flash-content", "990", "538", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
  &lt;/script&gt;
  </code></pre>
  
  <p>I'm suspecting that root route is to blame, but I just can't figure out why this works locally, but not on the server.</p>
  
  <p>Anyone have any ideas?</p>
  
  <p>Thanks.</p>