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.

  1. Unzip the downloaded file
  2. Create a directory to store the MTASC executable and Classes

sudo mkdir /usr/local/mtasc

  1. Move the MTASC directory to this location

sudo mv mtasc-M.N-osx/* /usr/local/mtasc

  1. Add this directory to your PATH by editing your ~/.bashrc, and add the following line:

export PATH=$PATH:/usr/local/mtasc