I tried out your code and got a type mismatch. However, it worked fine after removing the white space between 1207 and the next ANS. I don't think spanim processes white space so you'll have to keep the animation data in a single line