Gee!!! Thanks rajeev... just like I said 1st time... stupid error, hard for me to spot...
I just did: this.parent(from, to, delta); Now its kinda working as expected (calling its inheritance tree), butI have some other stuff (value actually not been applied) but that's a different thing, so I will start tackling that now... Thanks! Iván On 10/22/08, Rajeev J Sebastian <[EMAIL PROTECTED]> wrote: > On Wed, Oct 22, 2008 at 3:42 PM, Iván N Paz <[EMAIL PROTECTED]> wrote: > > Thanks John and Rajeev, > > > > I will lookk further into "this.arguments.callee.parent" and all > > that... Im rather new to "mootools inheritance", so that has me a bit > > lost since it doesn't really work as C++ OOP... > > > > Im sure this has been asked hundreds of time before, but I've always > > seen quite different answers... > > > > In my Fx.MorphPath, my "compute" method is been called as expected > > (sin Im overriding it) Isn't the current structure supposed to call > > its parent (fx.morph::compute) and that method call (fx.css::compute) > > afterwards?? > > > Main issue here is not of inheritance. Fx.Morph's compute method takes > a dict/hash, not single values. This is why you are getting an error, > and this is also why I suggested > > this.parent.compute(from, to, delta); // because from and to are > hashes, and you override morph only in the case of left and top > > instead of > > this.parent.compute(from[x], to[x], delta); > > In other words, please try what I said above, and you should be gold. > > Regards > > Rajeev J Sebastian > -- ◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦ Ivanicus' Code Box http://ivanicus.com/
