title: Testing movie with Flash IDE fails to load file from localhost
body: <p>I'm just wondering if anybody can help me with my simple but frustrating problem.</p>
  
  <p>I have created an SWF that loads an XML file from <a href="http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml" rel="nofollow noreferrer">http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml</a>, but I get this error when running the movie using Test Movie in the Flash IDE.</p>
  
  <pre><code>Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml
      at Main/loadConfig()[D:\www\webroot\flash\Projects\MEL\Quiz\Quiz\src\Main.as:126]
      at Main/configLoadError()[D:\www\webroot\flash\Projects\MEL\Quiz\Quiz\src\Main.as:143]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/onComplete()
  </code></pre>
  
  <p>The error I get if I handle the exception is:</p>
  
  <pre><code>[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml"]
  </code></pre>
  
  <p>Trouble is running the SWF in a browser locally does work, it only throws these errors in the Flash IDE.</p>
  
  <p>I have tried a adding wildcard crossdomain.xml file in my root web directory and setting the SWF publish properties for local playback security to Allow network only, but neither of these have solved my problem.</p>
  
  <p>I know Windows 7 handles localhost name resolution differently compared to previous versions of Windows but I have even added <code>127.0.0.1 localhost</code> to my hosts file to no avail.</p>
  
  <p>Can anyone shed any light on this issue?</p>