One thing, which you may know, gear teeth do not normally have rectangular profiles.
This must be what Hans was talking about.
Are you using the animations, or some frames perhaps, in a ConTeXt document?
Well, actually I'm using ConTeXt/MetaPost to generate each frame of the animation "automagically". The webpage will soon allow for downloading the source for each ConTeXt document. This generates a multi-page PDF where each page of the PDF is a frame of the animation. SWFtools (specifically, pdf2swf) can then be used to convert the PDF to SWF.
Troy