Subj : unknown method resolve To : netscape.public.mozilla.jseng From : zwetan Date : Tue Oct 12 2004 04:23 pm hello, I was wondering if in one of the js engine there is something like an unknown method resolver ? for exemple: MyConstructor = function() { //code... } MyConstructor.prototype.test1 = function() { return "existing method"; } MyConstructor.prototype.__resolve = function() { return "method \"" + arguments[0] + "\" does not exist"; } //ex: foo = new MyConstructor(); foo.test1(); // existing method foo.bar(); // method "bar" does not exist this is inpired form the ActionScript (ECMA-262 based) implementation of the flash player v6+ which do have such a method resolver. If equivalent behaviour does not exist in on of the jseng, what would it take to add such behaviour in the Rhino engine ? zwetan .