title: swfobject // error in Chrome & IE, works in FF // OR // Fixed in IE & Chrome and not FF
body: <p>Using  SWFObject 2.2, making code with swfobject_generator_1_2_air  for dynamic files swaps, I can get my .swf to swap with static image, as I want in all browsers.  </p>
  
  <p>Unfortunately, the css navigation menu hides behind the .swf in Chrome 22 &amp; IE9 64x when I'm using those in testing.  However, Opera &amp; FF 16.0.1 on Win7 64x  I the menu does not hide behind .swf</p>
  
  <p>I thought I had a solution from <a href="https://stackoverflow.com/questions/1081863/how-to-prevent-javascript-menu-from-getting-hidden-under-flash-video-swfobject">this question</a>.   Yet while adding </p>
  
  <pre><code>params.wmode = "opaque";
  </code></pre>
  
  <p>fixed the navigation menu error in both Chrome &amp; IE, FF failed. Opera succeeded in either manifestation (with or without above code added).  I couldn't test safari at this time.</p>
  
  <p>Thanks.</p>
  
  <hr>
  
  <h2>Nav partially hidden behind .swf in Chrome / IE9 while both .swf / nav work FF / opera</h2>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          var flashvars = {};
          var params = {};
  
          var attributes = {};
          attributes.id = "ULA AirX Backpack 360 photos";
          swfobject.embedSWF("360/airx/airx.swf", "myAlternativeContent", "400", "575", "9.0.0", false, flashvars, params, attributes);
      &lt;/script&gt;
  </code></pre>
  
  <hr>
  
  <h2>Nav is visible: Chrome &amp; IE &amp; Opera, but  FF does not display .swf</h2>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          var flashvars = {};
          var params = {};
          params.wmode = "opaque";
          var attributes = {};
          attributes.id = "ULA AirX Backpack 360 photos";
          swfobject.embedSWF("360/airx/airx.swf", "myAlternativeContent", "400", "575", "9.0.0", false, flashvars, params, attributes);
      &lt;/script&gt;
  </code></pre>