Libswf is a project mainly written in C, it's free.
libswf is a c library used to handle the swf file format