title: Flash TextField, dynamic size
body: <p>I'm building text balloons to display variable length messages in Flash. My question is pretty simple, though the answer may not be.</p>
  
  <p>I have:</p>
  
  <ul>
  <li>The string I want to display.</li>
  <li>The font information.</li>
  <li>The width/height ratio I want the text field to have.</li>
  </ul>
  
  <p>How do I calculate the width and height of the text field it needs to display the text I give it, nothing more, nothing less?</p>