title: Flex: given Class object, get the name of the class it represents
body: <p>In Flex, say I have a Class object.  How do I get a string for the class it represents?</p>
  
  <p>e.g.:</p>
  
  <pre><code>var clazz:Class= String;
  trace(clazz);  // this gives "[class String]" but what I want is "String"
  </code></pre>