title: Why don't IOErrorEvents contain the URL when running standalone?
body: <p>Here is a simple example of an <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLLoader.html" rel="nofollow"><code>URLLoader</code></a>.</p>
  
  <pre><code>var loader:URLLoader = new URLLoader();
  var request:URLRequest = new URLRequest("http://example.com/doesntexist.txt");
  loader.addEventListener(IOErrorEvent.IO_ERROR, function(e:IOErrorEvent){
      textbox.text = e.toString(); // Text box on stage
  });
  loader.load(request);
  </code></pre>
  
  <p>This behaves weirdly.</p>
  
  <p>When running from Flash or debugging from Flash, the error looks like this.</p>
  
  <blockquote>
    <p>[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: <a href="http://example.com/doesntexist.txt" rel="nofollow">http://example.com/doesntexist.txt</a>"]</p>
  </blockquote>
  
  <p>But, when running as a <code>.swf</code> or an <code>.exe</code> projector, it looks like this.</p>
  
  <blockquote>
    <p>[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]</p>
  </blockquote>
  
  <p>Why is this so? Is there a way to get the first result when standalone?</p>
  
  <p><strong>EDIT:</strong> I need to get it working as a projector.</p>