wiki:BuildFlamingo

You can build flamingo by your self if you have a flash IDE installed. (For example: Adobe Flash CS3.)

One by One

One of the options is to compile the .fla files one by one.... This can take a while.

Ant

If you want to build/compile the complete flamingo-mc source code you can use ant.

Ant can be found here:

 http://ant.apache.org/

Here you can find the information needed to install ant:

 http://ant.apache.org/manual/install.html#installing

Getting the source code

If you installed ant you must get the source code. The SourceCode page explains how you can do that.

Add a classpath to your IDE

In Flash you need to add a classpath, because the .fla files need to find the .as classes. In Flash go Edit >> Preferences >> (Ctrl + U) Choose 'ActionScript?' on the left. Click 'Settings Actionscript 2.0' Click the add button (+) Type: ./classes Click OK (2x)

Building flamingo with Ant

With ant installed and the source code on your local system you can use ant to compile all the files at once.

  • Go to the directory where you have checked out the code
  • Open the build.xml file and change the property with the name "flash8path" to your Flash IDE (for example: <property name="flash8path" location="C:\Program Files (x86)\Adobe\Adobe Flash CS3"/> )
  • Open a command prompt in the direcotry where you have checked out the code and type:

ant compile

  • After Flash and Ant are done you can find the compiled flamingo-mc in the build/dist/flamingo directory.