title: AS3 - URLRequest not working
body: <p>My flash SWF needs to load "photo.jpg" using URLRequest but in vain. Heres how I am doing it</p>
  
  <pre><code>imLoader = new Loader();
  imLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
  imLoader.load(new URLRequest("photo.jpg"));
  </code></pre>
  
  <p>The SWF and photo are both located in the same directory on my localhost server. When i render it in the browser, photo doesn't load. But when i do it manually by simply opening the  SWF, photo loads up properly.</p>
  
  <p>Is it something related to crossdomain or what is the problem?</p>