Making (Compiling) Flourish Player
Prerequisites for making flourish player
To compile flourish player, the following software is needed:
- swfmill (http://www.swfmill.org)
- swfmill generates the final flourish-player.swf file, in which both the compiled ActionScript code from the compiled file flourish-classes.swf and the necessary graphics and fonts are embedded. The version used for compiling this version of flourish player is 0.3.0. Any newer version might or might not work, as especially the svg support is considered experimental in swfmill as of now.
- MTASC (http://www.mtasc.org/)
- MTASC is used to compile the ActionScript classes located in as/ into the file flourish-classes.swf, which is in turn imported into the final flourish-player.swf by swfmill. The version used for compiling this version of flourish player is 1.13. Any newer version will probably also work.
- GNU make (http://www.gnu.org/software/make/)
- On Linux, you may want to build flourish player using the provided makefile. However, chances are good that GNU make is already present on your system. On Windows, GNU make is not necessary.
Building flourish player on Windows
To build flourish player on Windows, you should have both mtasc.exe and swfmill.exe located in your PATH environment variable. If that is the case, simply double-click make.bat in the folder in which you unzipped the source distribution. A command line window will pop up showing the output of MTASC and swfmill. If the building was successful, you should see no error messages.
Building flourish player on Linux
To build flourish player on Linux, enter the directory in which you unpacked the source distribution on a command prompt and simply enter make. If the building was successful, you should see no error messages.