This script is for you if you are trying to develop actionscript software on an Ubuntu linux system. The script sets a mime type for .as
and creates a syntax highlighting scheme that any gtksourceview application will auto-associate with your actionscript files. What that means is that mono delvelop, anjuta and gedit will correctly auto-highlight your .as
files.
Julien Castelain authored XML and LANG files that are used by the script. His original files came packaged with directives that didn't create correct mime-types on an Ubuntu system. I wrapped the files in a script so that the correct setup is automated.
download the file and, from a terminal, run this:
$ sudo bash /path/to/add_flash_mime.sh
Restart your desktop and you're ready to go!