Well, thank you, but I still don't know how to change the transition or duration properties without re-instantiating the morph obj (and therefore loosing the events).
I know all the docs, and I always use store/retrieve in my classes, but I can't see how they can help me with this issue. Can you write a little example? On 6 Gen, 10:41, Nicolas Trani <[email protected]> wrote: > Hi, > > you can use element Store / Retreive > > Take a look at : > > *http://mootools.net/docs/Element/Element#Element:store > *http://mootools.net/blog/2008/01/22/whats-new-in-12-element-storage/ > > Regards. > > stratboy a écrit : > > > Hi! I've got a problem: > > > - got an element with a morph: this.elem.set('morph', > > { transition:'sine:out' }) > > - later, set an event: this.elem.get('morph').addEvent > > ('onComplete',function(){ ... }) > > - later, I want to change, say, the morph transition, but if I do it > > with get or set, morph will instantiate again, and I'll lose the > > onComplete event! > > > So, is there a way to change props like transition and duration > > without re-instantiating the fx? > > -- > Nicolas Trani - web engineer > Weelya - Improve the web > 32 rue du faubourg boutonnet > 34090 Montpellier > Tel/Fax : 04 67 169 778http://www.weelya.com > > Notre agence sera fermée du 12 au 16 janvier 2009
