Some of you maybe has same problem with me which is playing local file *.swf with your favourite browser in Ubuntu. By default if you just drag and drop file in your browser they will download the file and playing it. This is because you don’t set proper MIME type. Here how you reset it.
Edit /usr/share/mime/packages/freedesktop.org.xml and change
<mime-type type=”application/vnd.adobe.flash.movie”>
to
<mime-type type=”application/x-shockwave-flash”>
and then run this in your terminal and try again
update-mime-database /usr/share/mime