title: AS3 Rotate an object around its center point
body: <p>I want this object to rotate around its center rather than the top left corner.
  The code looks like this:</p>
  
  <pre><code>        switch (event.keyCode)
          {
              case 37:
              car.rotation = -90;
                 car.x -= 5;
                 break;
  </code></pre>
  
  <p>So when i press the left key, the car turns left but as it is now it jumps up a bit because its rotating around the top corner.</p>
  
  <p>Thanks</p>