I am changing code from 1.11 to the latest mootools 1.2.4

I get an error "this.myEffect.stop is not a function"

This is the part where the code is
==================================
hideAllSubMenus: function () {
        this.options.onHideAllSubMenus_begin(this);
        $clear(this.root.hideAllMenusTimeout);
        this.root.hideAllMenusTimeout = (function () {
            $clear(this.hideAllMenusTimeout);

            this.myEffect.stop();  //This gives an error

            if (this.root.options.pill && !this.root.ghostRequest)
this.root.pillFx.start(this.root.pillsDefaults);
            $$(this.root.subMenus).fireEvent('hide')
        }).bind(this).delay(this.options.hideDelay);
        this.options.onHideAllSubMenus_complete(this)
}
==================================

The submenus I create are shown only once and they are never seem
again :(
The original 1.11 works perfectly.
I'm really stuck.

Reply via email to