This sample shows a method of animating 2D objects using skeleton-based animation. An explanation of the technique can be seen here.
Skeleton-based animation is much smoother than sprite-based animation, and often consumes less memory.
The source code: SkeletalAnimation.zip
Pingback: 2D Skeletal Animations