Subj : Re: Using ClassCompiler, can I only override public functions with To : netscape.public.mozilla.jseng From : user Date : Mon Feb 21 2005 06:14 pm even more, it looks like js can't even *call* a function that's not public. For instance, in my derived class, I can't call a protected superclass member function. is this just how it is or can I set some kidn of permissions or am i just wrong and missing something stupid? thanks! -denny- user@domain.invalid wrote: > hey guys, > > so, I wrote a class that has some protected methods. I then used class > compiler to make a subclass that overloads those methods with javascript > methods. Here's the problem: the overloading only works if the > superclass methods are public. It didn't work while the methods were > protected and then I changed it from protected to public and -poof- it > works. Is there a way to change that? I'd really love to *not* have > these methods be public. > > thanks! > -denny- > .