AS3 animation export gif

can anyone tell me how to export a AS3 animation to gif ?
there is no interactivity, just the animation

i know there are all kind of swf to gif converters, but the ones I found are not very good.

If no other solution could you at list recommend me a good program that does this.