Many multimedia converters nowadays support videos saved in ShockWave Flash format (.swf) and can convert and save them to a multitude of other video formats, including the Matroska video (.mkv).
Some of the best video converters can be downloaded for free, for example the popular Freemake Video Converter.