Need help with editing a mouse trail

I need the animation that is seen with the mouse trail, but without the mouse!!!
Is there a way to “listen” my movements with the mouse and then replicate them like a self playing movie?

Thanks!
Sorry, it is actually ActionScript 2