The “Copy Motion as XML” functionality in Flash can lead to some very interesting results. Besides a video mention in a previous post, you can also follow this tutorial on the subject:
http://www.adobe.com/devnet/flash/articles/creating_animation_as3_07.html