Using a debugger player and debug swf (so it won't work in production
mode), you can create an Error() instance and parse getStackTrace()
function A()
{
log.debug("function execute" + new Error().getStackTrace());
}
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ilikeflex
Sent: Friday, September 14, 2007 4:16 PM
To: [email protected]
Subject: [flexcoders] Identify Function Name
Hi Team
I am doing the logging of the application and now i want to know the
name of the function which is being executed.
In the below i want the functionName to be "A".
function A()
{
log.debug("function execute" + functionName);
}
Can we do it in flex???
Thanks
ilikeflex