Snippets and notes about actionscript.

vimrc 2009

Posted: December 10th, 2009 | Author: | Filed under: Uncategorized | No Comments »
syntax on
colorscheme kib_darktango
set guifont=Droid\ Sans\ Mono\h:11
 
set number
set nowrap
 
set expandtab
"set textwidth=79
set tabstop=8
set softtabstop=4
set shiftwidth=4
set autoindent
 
 
" Any file with .as extension is treated as an actionscript file
autocmd BufRead *.as set filetype=actionscript
 
"Preview in webbrowser
command Preview :!firefox %:p:r.swf
 
"This command (:DebugF) launch flashplayer debug. In gvim, juste type :DebugF or :De and tab
"command DebugF :! /home/scy/flash/flashplayer %:p:r.swf
 
" Compile for Flash Player 10.
"command Flex4 :! /home/scy/flash/flex_4.0.0.4/bin/mxmlc %:p
 
" Compile using Flex3 sdk and Flash Player 9.
" Output .swf is named after [filename] ie Test.as results in Test.swf
"command Flex3 :! /home/scy/flash/flex_3/bin/mxmlc %:p