2
\$\begingroup\$

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?

\$\endgroup\$
1
\$\begingroup\$

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.

\$\endgroup\$
5
\$\begingroup\$

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

\$\endgroup\$
3
\$\begingroup\$

SWFMill is the tool to use.

And you might also be interested in developing with Haxe.

\$\endgroup\$
  • \$\begingroup\$ +1. A quick question: Can I pack a xml file (e.g foo.xml) into a swf by SWFMill? \$\endgroup\$ – Huang F. Lei Jan 14 '11 at 2:09
1
\$\begingroup\$

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.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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