[Proto-Scripty] Re: Inheritance with Class.create()

2009-02-20 Thread dashifen
Thanks. That actually makes a great deal of sense to me. - Dash - On Feb 19, 3:32 pm, kangax kan...@gmail.com wrote: On Feb 19, 12:04 pm, dashifen dashi...@dashifen.com wrote: Hacking around a bit, I have a working solution.  Where I used to say something like this.responders.afterOpen

[Proto-Scripty] Re: Inheritance with Class.create()

2009-02-19 Thread dashifen
On Feb 18, 6:01 pm, Tobie Langel tobie.lan...@gmail.com wrote: Hi, Why don't you just set your responders as regular instance methods of your class ? To be honest, I thought I had; I was under the (apparently mistaken) impression that the responders object would be instantiated within the

[Proto-Scripty] Re: Inheritance with Class.create()

2009-02-19 Thread dashifen
Hacking around a bit, I have a working solution. Where I used to say something like this.responders.afterOpen = someOtherFunction() if I instead simply make it this.afterOpen = someOtherFunction() I can specify two different afterOpen actions for two different instances of a Dashbox object and

[Proto-Scripty] Inheritance with Class.create()

2009-02-18 Thread dashifen
instance's, the dpAfterOpen method is executed. I feel like I'm not explaining myself well, so I hope this isn't all clear as mud. Feel free to ask questions cause, for the moment, I'm completely stymied. Thanks, Dave Dashifen Kees --~--~-~--~~~---~--~~ You