开发者

Is it possible to bundle our template into one SWC?

I am building an application template in FlashDevelop/开发者_如何学编程Flash, to be used as the template for all our future projects. In a swc-free world, the template has a bunch of library symbols and a whole package of classes in the /lib/ folder that run the whole thing.

What I would like to do, is package all that up into a single swc, so the team can checkout the latest build of the swc from svn at the start of a project, put it in the /lib/ folder and forget about it.

However, all attempts to do this have failed so far. Is it even possible to put everything into one swc?


mxmlc -include-libraries C:\libs\as3corelib.swc C:\libs\as3swf.swc -output C:\output\oneSwcToRuleThemAll.swc -load-config "C:\sdk\frameworks\air-config.xml" -- C:\input\EmptyFile.as

EmptyFile.as :

package{
    public class EmptyFile
    {
    }
}

I'm not sure for -load-config "C:\sdk\frameworks\air-config.xml" but I need it in my projects.

This exemple include "as3corelib.swc" and "as3swf.swc" into one swc named oneSwcToRuleThemAll.swc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜