Hi,
> ...i cudnt
> find a COMPLETE WORKING example.
The API docs for Class[1] have one (an "Animal" class and a "Snake"
class that derives from it), but ignore the links they have to the
"tutorial on classes and inheritance", it's out of date and misleading
if you're using version 1.6.
[1]
http://api.prototypejs.org/language/class.html
HTH,
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / com
www.crowdersoftware.com