views:

661

answers:

1

Is there a way, in both Actionscript 2 and 3 to determine the name of a function from the Function object. So for example I want something like:

function Log(message:String, fn:Function):void
{
    textbox.text = message + " function name: " + fn.determineName(); 
}