Make sure you are using `Extends` not `Extend` (I see that a lot) or that your 
parent class (Animal) isn't spelled wrong.

As usual, throw your code up on jsFiddle.net, somebody'll find the problem.

On Feb 18, 2011, at 4:12 PM, Oren wrote:

> Hey guys- It seems that in
> 
> var Cat = new Class({
>    Extends: Animal,
>    initialize: function(name, age){
>        this.parent(age); // calls initalize method of Animal class
>        this.name = name;
>    }
> });
> 
> from http://mootools.net/docs/core/Class/Class
> 
> the "this.parent()" function throws an "Object doesn't support this
> property or method" error in IE7 and 8.
> 
> Anyone know how to get around this?
> 
> I appreciate it.
> 
> Oren

Reply via email to