title: Why is Flash stretching my image when I didn't ask it to?
body: <p>I'm trying to display an image using ActionScript (AS3), and Flash keeps showing it stretched. How do I stop it from doing that? I've played with width, height, scaleX, and scaleY, but I can't get it to stop stretching. Here's the code:</p>
  
  <pre><code>package
  {
    import flash.display.Loader;
    import flash.display.Sprite;
    import flash.net.URLRequest;
  
    public class ActionScriptProject extends Sprite {
      public function ActionScriptProject() {
        var imageLoader:Loader = new Loader();
        imageLoader.load(new URLRequest('chrome_logo.jpg'));
        addChild(imageLoader);
      }
    }
  }
  </code></pre>