The example in the manual is already that what you are looking for:

http://www.conitec.net/beta/aent_animate.htm