#11 interfering transitioners in flare

open
nobody
None
5
2008-03-19
2008-03-19
goose
No

Good morning,

flare rocks, wonderful, I completely lost interest in prefuse :-)

I just noticed one issue around interfering transitioners which also appears in the flare demos. I assume that is well known, anyway I just try to describe it

It can be seen for example in the Pie demo, when the expand/collect button is pressed a second time before the first transition is finished, the second transitions takes over but the final state of the first transitions briefly appears when the first transition ends. This becomes a real problem if the first transition has a longer duration than the second. The same problem can be seen with the ExpandControl.

The solution seems to be quite straight forward, the former transition has to be stopped and disposed.
I did this in a neighbor highlight demo I posted in flap

http://goosebumps4all.net/34all/bb/showthread.php?tid=100

for the expand control I attach a extension covering this to this message.

Ok, so far I assume nothing new for you, but I was wondering if this kind of feature could/should be included into the flare core, since animation is such a central feature of flare.

My first guess would be to add the ability to associate a taskname to a transitioner through its constructor and let the Transitioner class always stop and dispose any transitioner with the same taskname which is still running.

Cheers and thanks again for this wonderful toolkit

martin

Discussion

  • goose
    goose
    2008-03-19

    suggestion for the expand control