All 1 entries tagged Flex
View all 72 entries tagged Flex on Warwick Blogs | View entries tagged Flex at Technorati | There are no images tagged Flex on this blog
August 28, 2009
Faster Flash compilation when using mxmlc
Writing about web page http://github.com/Draknek/fcsh-wrap
So the Flex compiler mxmlc is pretty cool; it allows you to make Flash applications with a text editor compiling from the command line (as all programming should be done).
Unfortunately, it’s horrifically slow. The fcsh tool (also in the Flex SDK) keeps everything in memory for much faster compile times, but you need to keep it running and the shell is rubbish.
Solution: fcsh-wrap is a wrapper for fcsh to give it a better user interface and allow you to run it from make. It runs as a daemon process which manages a fcsh process.
Based heavily on this original code but with some bugfixes and improvements.
Usage:
1) Edit the file to point to your copy of fcsh (if it’s not in your $PATH)
2) Run fcsh-wrap instead of mxmlc, with all the same arguments.
- Python
- The Flex SDK
- Output goes to the terminal that you start it running on, even if you’ve closed that window
- Almost certainly won’t work under Windows, but if you’re running Windows you should probably be using FlashDevelop anyway