parse swf file