my first actionScript program.
100% command-line.
source "code": BareBones.as
how to get & set up the free open-source flex compiler for command-line:
- download the openSource SDK: flex_sdk_4.0.0.4612_mpl.zip (or a similar build) from http://opensource.adobe.com.
- unzip it
- cd into bin/ and chmod +7 everything
- if on linux (not cygwin): dos2unix the shell files (otherwise it looks for /bin/sh^M)
- add the bin folder to your path
- run the compiler: mxmlc BareBones.as.
this creates BareBones.swf
(thanks to senocular.com for the barebones example)
- ta da!