title: FB.login produces flash error
body: <p>I'm using the fbAsyncInit method for an iframe application that lives in a fan page tab</p>
  
  
  
  <pre><code>&lt;script&gt;
    window.fbAsyncInit = function() {
        console.log('fb init');
      FB.init({
        appId  : 12345,
        status : true, // check login status
        cookie : true, // enable cookies to allow the server to access the session
        xfbml  : true  // parse XFBML
      });
    };
  
    (function() {
      var e = document.createElement('script');
      e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
      e.async = true;
      document.getElementById('fb-root').appendChild(e);
    }());
  &lt;/script&gt;
  </code></pre>
  
  <p>And when I call a register function to check permissions (this happens when a user clicks a button after the page is loaded)</p>
  
  <pre><code>register = function(){
  console.log('starting login');
  FB.login(function(response) {
      if (response.session) {
              console.log(response.session);
          } else {                
              console.log('Did not authorize');
          }
  }, {perms:'email,publish_stream'});
  </code></pre>
  
  <p>};</p>
  
  <p>Facebook loads the popup from: <a href="http://static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb=" rel="nofollow">http://static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb=</a>{session string variables and other junk here}</p>
  
  <p>Which produces a flash error in IE only:</p>
  
  <pre><code>Error #2044: Unhandled StatusEvent:. level=error, code=
  </code></pre>
  
  <p>My site has no flash in it</p>
  
  <p>Hitting continue/dismiss may sometimes freeze IE causing me to end process, other times the popup goes away</p>