title: AS3 MouseEvent.CLICK not working in browser
body: <p>The ActionScript 3.0 code below works when tested in Adobe Flash CS6, however when tested in a browser the code does not work. Any ideas why this is happening?</p>
  
  <pre><code>buttonInstance.addEventListener(MouseEvent.CLICK,function(e:MouseEvent){
      flash.net.navigateToURL(new URLRequest("http://facebook.com"), "_blank"); 
      trace("link clicked");
  },false,0,true);
  </code></pre>