Flash to Video/.avi?

Hey i was wondering if it was possible to take a published flash file and turn it into a movie. I was trying to come up with a way to make an animated cartoon that i oculd then burn onto a DVD etc and i thought flash since its relatively easy to work stuff. i was just wondering if anyone knew if it was possible and how?