title: Redirect to a html page when site opens in non flash browser
body: <p>How do I redirect to a html page when my flash site opens in non-flash browser?</p>
  
  <p>Here is the code I am curently using</p>
  
  <pre><code>     &lt;link rel="shortcut icon" href="/77east.ico" type="image/x-icon" /&gt;
          &lt;!--[if lte IE 8]&gt; 
            &lt;script type="text/javascript"&gt;window.location = 'ebrowser.html'&lt;/script&gt; 
          &lt;![endif]--&gt; 
          &lt;script type="text/javascript"&gt; 
         if (swfobject.hasFlashPlayerVersion("7.0.0")) {
          // User has flash
      } else {
          // User does not have flash
          window.location="ame.html";
      }
    &lt;/script&gt;   
    &lt;link rel="stylesheet" type="text/css" href="css/style.css" /&gt; 
          &lt;/head&gt;        
          &lt;body style="background-color:#4B4C4B"&gt;
          &lt;div id="pad"&gt;&lt;/div&gt;
              &lt;div id="content"&gt;
          &lt;div style="height:560px; overflow:hidden; width:1000px; margin:0 auto; "&gt;        
          &lt;div style="width:1000px;"&gt;&lt;object type="application/x-shockwave-flash" data="index.swf" width="1000" height="500"&gt;  &lt;param name="movie" value="index.swf" /&gt;  &lt;param name="BGCOLOR" value="#4B4C4B" /&gt;  &lt;/object&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>