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)

[flexcoders] Re: Obtaining name of method

2008-10-04 Thread Amy
--- In flexcoders@yahoogroups.com, frank_sommers [EMAIL PROTECTED] wrote: Thanks. I wonder how the describeType() function does its work... that seems to have access to some reflective information about a class. This doesn't directly address your question, but I saw a presentation by

[flexcoders] Re: Obtaining name of method

2008-10-03 Thread frank_sommers
Thanks. I wonder how the describeType() function does its work... that seems to have access to some reflective information about a class. Actually, I have a system that uses BlazeDS for remote calls. What I'd like to do is to be able to automatically proxy server-side classes: given a method

[flexcoders] Re: Obtaining name of method

2008-09-26 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I bet you are trying to find a nifty way to log your code's processing, right? This comes up a lot and really, there is no good way to do it. You might try the archives, in case I missed something, but if I'd

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