How do you get the full classpath of a static function in Actionscript, when given only the reference to the function? See the below code sample:
public class Tests {
static function myFunc():void {}
}
var func:Function = Tests.myFunc;
trace(func.?) // should trace "Tests.myFunc"
Is this possible? Even the open source editor and debugger FlashDevelop can't do this. Try rolling over an object with a function ref, it shows the raw pointer (like 12341234) instead of the full name of the function. Of course with describeType
you can get info about a type, ie. a class reference, but not when you only have a function ref. Given only a function reference, how do you get its name?