a libarary for swf file read/write