Maybe I don’t understand the purpose of this fully, what format do models typically generate for animation? I am not familiar with SWF files, and google says its a defunct format.
SWF is really a complex, versatile executable format geared towards interactive media. It can contain program code, bitmap and vector graphics with animations, sounds, videos and probably a few other things I'm not aware of.