In
/usr/share/mime/packages/freedesktop.org.xml
replace<mime-type type="application/vnd.adobe.flash.movie">
with
<mime-type type="application/x-shockwave-flash">
Then run
sudo update-mime-database /usr/share/mime