Convert from AVI to SWF . How?

Hi!
I need to convert an AVI file to a SWF file. How should I do it? Which software should I use?

thank you