title: in flex, get function name from Function object
body: <p>Given a Function object, can you get its name as a String?  See example:</p>
  
  <pre><code>function doThingWithCallback(callback:Function):void {
     trace("i'm going to run " + callback); // outputs "i'm going to run function Function() { }"
  }
  
  function foo():void {
     ...
  }
  
  doThingWithCallback(foo);
  </code></pre>
  
  <p>This example is sort of arbitrary, but it would be very useful to get function names for debugging, particularly when passing around Function objects.</p>