http://jsfiddle.net/rpflorence/9sNZV/1/

The morph instructions can take an array of [from, to]--no need to use set.

On Dec 31, 2010, at 6:50 AM, egorpromo wrote:

> Hi all!
> I have some code to produce animation and use Fx.Morph. I have
> link:'chain' parameter and I want animation loops some times if I push
> "click me!" very quickly.You can see this here: http://jsfiddle.net/9sNZV/
> I have morphObject.set(...)  inside addEvent(...). But it is incorrect
> and animation corrupts in this case (I see It is very bad animation
> effect). If I use morphObject.set(..) outside addEvent(...) animation
> executes only once always. It is not correct also.
> What is best solution to make loop animation with link:'chain?
> Thanks for replies.

Reply via email to