Update swf.rb

Changed read of swf file