In order to build ModestMaps? demos and applications, you will need an ActionScript? compiler. MTASC (Motion-Twin ActionScript? 2 Compiler) is an open-source, free, ActionScript? compiler that is available for a variety of platforms.
Installing MTASC
Mac OS X
To install MTASC on Mac OS X, download the binary executable from the MTASC homepage.
- Unzip the downloaded file
- Create a directory to store the MTASC executable and Classes
sudo mkdir /usr/local/mtasc
- Move the MTASC directory to this location
sudo mv mtasc-M.N-osx/* /usr/local/mtasc
- Add this directory to your PATH by editing your ~/.bashrc, and add the following line:
export PATH=$PATH:/usr/local/mtasc
