I am compressing avi movie files by opening them in flash and exporting them as swf files. This dramatically reduces the size of the file while keeping the quality of the movie high.

All of the avi movies are stored in the one folder and nothing special is done to them, they are simply opened in flash and published back out as swf files.

Is it possible to create a macro that will open these in flash and publish them back out as swf files, or do you have to do it one by one?