Darshan Sawardekar
|
|
« Reply #3 on: December 02, 2008, 11:33:10 » |
|
Hi Mark,
The common.swc is a merged swc of all dependencies of the application. The swc file format is just a zip file with a manifest of its contents. Fabrication based applications have 2 dependencies, PureMVC multicore and PureMVC pipes. I have merged these together into one swc for easier development. If you are interested in how to do this, check out the fabrication build system. To do a merge of multiple swcs into one use,
<merge-swcs output="output.swc"> <fileset dir="swcs.dir"> <include name="name.of.swc" /> </fileset> </merge-swcs>
The implementation only works with simple swcs. Swcs that have additional assets and graphics don't work well with this macro. Also the merge is not at the swf level. The merged swcs contains multiple swfs, so its not ideal if you use runtime shared libraries and need a common swf.
peace, darshan
|