Using this script you can create an animation of an object orbiting an another object, with a trailing path.
Flash VR : 3D Rotation