down load from http://www.vim.org/scripts/script.php?script_id=1061


put this file under ~/.vim/ftplugin/

then add this line to your ~/.vimrc


autocmd BufRead *.as set filetype=actionscript



Now you have actionscript syntax highlight in vim