title: How to get the stage dimensions with StageScaleMode.SHOW_ALL?
body: <p>If you set the stage.scaleMode to StageScaleMode.SHOW_ALL, your swf may be scaled up or down, and may be padded on the top/bottom or left/right.  However, stage.width + height always return the width and height as defined by your swf, and stage.scaleX + Y always return 1.  As I understand it, resize events are not thrown.  So how do I get the actual scale and dimensions?</p>
  
  <p>I want them for two problems:</p>
  
  <ol>
  <li><p>I want to fill that padding on the top/bottom or left/right with something only if the user can see it.</p></li>
  <li><p>I am drawing vectors into bitmaps and want to properly scale it so it doesn't look jagged (or fuzzy with bitmap.smoothing).  Flash seems to do the scaling correctly when you cacheAsBitmap=true, so how do I recreate this?</p></li>
  </ol>