I have an animation -- a box that flies in, waits a few seconds, and then flies out. I'm accomplishing that by calling the "flyout()" function in the onEnd handler of the "flyin" animation, and putting a delay property on the flyout anim. It's all working perfectly nicely.
Here's the problem: I want to be able to cancel the auto-flyout at any time during the delay (by mousing over the box), but anim2.pause() only works once the second animation has actually started playing, which is too late -- the user may have done the mouseover ages before that....
