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

- No comments Not publicly viewable


Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

New blog location

After a hiatus of several years, I’ve started blogging again at blog.draknek.org.

My website

Looking for more information about Alan Hazelden? Follow me on Twitter or go to my website.

August 2009

Mo Tu We Th Fr Sa Su
Jul |  Today  | Sep
               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                  

Search this blog

Blog archive

Loading…

Most recent comments

  • Knife game: No actual cutlery involved. A single player starts with the "knife" by clasping his or h… by Noyb on this entry
  • My friends and I have taken to this one very silly game lately that's probably altogether too insula… by Ian S. on this entry
  • Great, thanks for those! That first one I would know by the name of Wink Murder, usually with a sing… by on this entry
  • I don't know the names for these games, so I'll make them up: Sniper. Randomly choose who is the sin… by zep on this entry
  • I recommend checking out Project Sprouts from Luke Bayes. It makes obtaining and configuring the fla… by Duncan Beevers on this entry

Tags

Not signed in
Sign in

Powered by BlogBuilder
© MMXIX