Does anyone know some ActionScript api to get String of a variable name like following:
var foo:int;
var variableName:String = getName(foo);
trace(variableName);
The console need to show "foo" as the result of trace(variableName);
Does anyone know some ActionScript api to get String of a variable name like following:
var foo:int;
var variableName:String = getName(foo);
trace(variableName);
The console need to show "foo" as the result of trace(variableName);