Re: [flexcoders] Obtaining name of method

2008-09-26 Thread Ralf Bokelberg
describeType gives you the names of public properties. You would have to retrieve all the function properties and compare them to your callee to know which name it has. Cheers Ralf. On Thu, Sep 25, 2008 at 6:38 AM, frank_sommers [EMAIL PROTECTED] wrote: Hi, I'm looking for a way to obtain the

RE: [flexcoders] Obtaining name of method

2008-09-25 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of frank_sommers Sent: Thursday, September 25, 2008 12:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Obtaining name of method Hi, I'm looking for a way to obtain the name of method, given

[flexcoders] Obtaining name of method

2008-09-24 Thread frank_sommers
Hi, I'm looking for a way to obtain the name of method, given a Function object. For instance, inside a method, I can obtain a reference to the method by calling arguments.callee. But how do I then obtain from the Function object the function's name: public function testFunction():void {