Subj : Re: Duplicate functions help plz To : netscape.public.mozilla.jseng From : Mingozzi Date : Fri Jun 25 2004 11:07 am > If you want inst1 and inst2 to share the same "methods", then you should > define the functions once, in their common prototype object. > JS_InitClass is the API to do that. I know what are you talking about,infact I my application I make a massive use of that, but there is a particular case where I cannot do that... Think about Macromedia Flash: you can create a script in an instance (Inst1) of a movie (Mov1) and then duplicate that movie (Mov2). Flash clone the script of Inst1 and that is my case.I don't have to share the same methods. Thanks for help .