RE: [Flashcoders] Delegate scope - superclass issue?

2005-11-29 Thread Nikolaj Selvik
: [Flashcoders] Delegate scope - superclass issue? I've never had that problem. Try removing the this from this.myFunction. Shouldn't make any difference - but I don't use it, and, as I said, I don't have the problem. :-) HTH, Ian On 11/28/05, Nikolaj Selvik [EMAIL PROTECTED] wrote: Hi, Thanks

Re: [Flashcoders] Delegate scope - superclass issue?

2005-11-28 Thread Ian Thomas
I've never had that problem. Try removing the this from this.myFunction. Shouldn't make any difference - but I don't use it, and, as I said, I don't have the problem. :-) HTH, Ian On 11/28/05, Nikolaj Selvik [EMAIL PROTECTED] wrote: Hi, Thanks for welcoming me to your list! I´ve run

Re: [Flashcoders] Delegate scope - superclass issue?

2005-11-28 Thread Nick Griffiths
are you expecting it to call mySuperClass.myFunction, or mySubClass.myFunction? As far as I know, if you have overridden myFunction in the subclass, that will be called, rather than the super class's definition. I usually get around this with naming conventions, i.e. prefixing my private