All 1 entries tagged Flex

View all 74 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.

Requirements:
  • Python
  • The Flex SDK
Known issues:
  • 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

My website

Looking for more information about Alan Hazelden? Follow me on Twitter or see my website for my games and my physics engine.

May 2012

Mo Tu We Th Fr Sa Su
Apr |  Today  |
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31         

Twitter

    Search this blog

    Blog archive

    Loading…

    Most recent comments

    • I recommend checking out Project Sprouts from Luke Bayes. It makes … by Duncan Beevers on this entry
    • Right, but I was mentioning it per “Unfortunately this is a h… by Billy on this entry
    • Billy: fcsh does incremental compiling and also has other speed imp… by Alan Hazelden on this entry
    • Regarding “Improving build time”, the incremental=true … by Billy on this entry
    • Thanks for that update on FlashBuilder. I don’t know why they… by Alan Hazelden on this entry

    Tags

    RSS2.0 Atom
    Not signed in
    Sign in

    Powered by BlogBuilder
    © MMXII