title: In AS3, how to obtain visible size of loaded SWF that contains a mask?
body: <p>I'm using UILoader to load SWF files which I have no source for. These SWF files were created in AS2. They use masks. Width and height return unmasked values.</p>
  
  <p>I'm trying to find the visible width and height of the clip so I can scale it properly. </p>
  
  <p>For example I want a SWF to fit within a 50x50 space. The visible SWF is 65x65 (but I don't know this) and the unmasked size is 100x100. If I set the width and height of the loaded movieclip to 50x50, Flash scales the clip based on the unmasked portion, and I get a clip scaled much too small. Keep in mind I have no control of the SWF content, so I can not override width/height, or get mask size.</p>