RE: [flexcoders] Re: Reflection -- Accessing private fields

2007-11-21 Thread Gordon Smith
cc'ing Mike to get the lowdown on this. But I'm pretty sure that whatever the debugger is doing can't be done from ActionScript. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of marty.pitt Sent: Wednesday, November 21, 2007 1:14 P

Re: [flexcoders] Re: Reflection -- Accessing private fields

2007-11-26 Thread Aaron Miller
What about making the properties protected and extending the class down into a "reflector" class which is used to spy on it's parents? To get a true copy of the original, couldn't you also access the protected properties though an instance of the parent class? I know you can access the private prop

Re: [flexcoders] Re: Reflection -- Accessing private fields

2007-11-27 Thread Aaron Miller
Well no, I don't think you can. But why would you need to? Classes (for the most part) are meant to be static. What is the end all result you're trying to achieve? Will the interface be dynamic as well? Perhaps you could achieve the same goal with dynamic objects and the memento pattern. This is ge