The cancel method of TrAnimation is now called cancelAnimation.