Subj : Re: I know this has been asked before... To : netscape.public.mozilla.jseng From : mttaylor Date : Sat Jun 12 2004 07:58 am Me again, realized I didn't give enough info; I'm using rhino. I'm passing a class to my script and in the script I'd like to write: doThisFunc(); instead of: myclass.doThisFunc(); Is this possible? Like I said, I *think* I've seen this asked/answered here before, and I've searched the archive manually on google/groups. I remember the thread had an unrelated title. Any help would be greatly appreciated! Mark --- me three wrote: > I know this has been asked before because I've seen > it, but unfortunately I didn't save the thread. And > I > don't know what to search for in the mailing list > archive so I'll ask again, please forgive me: > > How do I 'hide' my class when I call a method? ie: > > myclassinstance.mymethod(arg1, arg2) > > to: > > mymethod(arg1, arg2) > > Thank you! > > _______________________________________________ > mozilla-jseng mailing list > mozilla-jseng@mozilla.org > http://mail.mozilla.org/listinfo/mozilla-jseng .