Re: [flexcoders] Re: Obtaining name of method

2008-10-04 Thread Ralf Bokelberg
I've done it in Cairngorm before. My business delegate extends the flash.utils.Proxy class and forwards all the calls to the backend. To make this work, you have to make the delegate dynamic though. This means you loose some type safety. Ralf On Sat, Oct 4, 2008 at 12:42 AM, frank_sommers

Re: [flexcoders] Re: Obtaining name of method

2008-10-04 Thread Josh McDonald
Off the top of my head, written in textmate and gmail, not Builder, YMMV, etc: public class UtilClass { private static nameCache : Dictionary = new Dictionaty(true); public static function getNameOf(f : Function, inInstace : Object) : String { if (f in nameCache)

RE: [flexcoders] Re: Obtaining name of method

2008-09-26 Thread Tracy Spratt
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Friday, September 26, 2008 9:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Obtaining name of method --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tracy Spratt [EMAIL