http://blogs.adobe.com/aharui/2007/10/debugging_tricks.html

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
flexawesome
Sent: Monday, December 01, 2008 11:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting Its Function Name...


Hey There,

I was wondering if it's possible to get the function name inside the block 
dynamically?

I am able to get the function name by static string, is there any method I 
could use to retrieve the function name?

private function getConnection():void
{
   trace("Calling getConnection()"); // Calling getConnection()
   trace("Calling " + getItsFunctionName());   // Calling getConnection()
}

thank you

Reply via email to