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?
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.