Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to packing image files(png, jpg) into swf, then game can load files easily. But I want to do this by a Makefile, not FLASH CS.
Do you know any command line swf tool set can do that? And can I packing XML files into it as well?

share|improve this question
    
Have a look at Flex, I guess en.wikipedia.org/wiki/Adobe_Flex –  Lohoris Jan 13 '11 at 11:23

4 Answers 4

up vote 1 down vote accepted

Besides SWFMill, there's also Sam HaXe. Haven't used it (yet), but I ran into some obscure problems with SWFMill at some point so I'll be trying SamHaXe in the near future instead. According to the documentation, you can embed arbitrary (binary) files with optional zlib compression, so embedding xml files shouldn't be a problem.

share|improve this answer

Flex SDK has support for command-line compilations because it is a compiler. And then you could be interested also in Mike Chambers Flash Command

share|improve this answer

SWFMill is the tool to use.

And you might also be interested in developing with Haxe.

share|improve this answer
    
+1. A quick question: Can I pack a xml file (e.g foo.xml) into a swf by SWFMill? –  Huang F. Lei Jan 14 '11 at 2:09

I've done this quite a lot using the standard Flex SDK. With a bit of python or something else you can even generate some nice class stubs to improve your work flow with the end product.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.