You can easily enable ActionScript highlighting in gedit on Ubuntu with the following commands:
cd /usr/share/gtksourceview-2.0/language-specs sudo wget http://conic.se/static/blog/code/Langfiles/actionscript.lang sudo update-mime-database /usr/share/mime