Building Demos
There are two demos provided with Modest Maps: SampleClient1 and SampleClient2. Both show a draggable, zoomable map. The first can be built using the open-source ActionScript Compiler MTASC, the seconds requires Flash 8.
SampleClient1
- Install MTASC, and make sure you have GNU Make. On Mac OS X, this means you should install the Developer Tools.
- In a terminal, navigate to the as2 directory.
- Type "make". This will look for the file lib/SampleClient1.as.
- If there were no errors, open SampleClient1.swf in a browser.
SampleClient2
- Get a copy of Flash 8 from Adobe.
- Open SampleClient2.fla in the Flash application.
- Publish it.
SampleFlexClient(as3)
- download flex_2_sdk
- from as3 direcotry run: path/to/flex_2_sdk/bin/mxmlc --use-network=False -compiler.source-path=lib ./SampleClient.mxml
- browse 2 SampleClient?.swf
