Could you show us the complete (working) code on jsfiddle.net or
mooshell.net?

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces
Twitter: fabiomiranda
http://solucione.info


On Fri, May 28, 2010 at 1:05 AM, Dailce <[email protected]> wrote:

> 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