Flash to .gif?

is it possible to turn a flash animation into a .gif file?

just wondering