title: Key press not triggering KeyboardEvent
body: <p>I'm starting a simple pong game, and I created a Paddle class that doesn't do anything yet. However, I don't think it is working.</p>
  
  <pre><code>package  
  {
      import flash.display.MovieClip;
      import flash.events.KeyboardEvent;
      public class Paddle extends MovieClip
      {
              private var paddleSpeed:int = 4;
  
              public function Paddle() 
              {
                  trace("hello!")
                  addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
              }
  
              public function keyDown(e:KeyboardEvent):void
              {
                  trace(e.keyCode);
              }
  
      }
  
  }
  </code></pre>
  
  <p>In Main.as I have done this:</p>
  
  <pre><code>var player:Paddle = new Paddle;
  addChild(player);
  </code></pre>
  
  <p>When I run the code, I get hello!, but when I press any key nothing happens. I've read a KeyboardEvent tutorial, and I'm doing what they are doing. Thanks for any help</p>