-locale en_US zh_CN ja_JP fr_FR -source-path ./locale/{locale} -allow-source-path-overlap=true
使用extension manager進行打包,須要導入mxi文件。先生成mxi文件,格式內容以下: 申明爲flash的插件,關聯了swf和jsfl文件flex
<macromedia-extension name="MyDragonBonesDesignPanel for cocos2d-x" version="2.2.2" type="command"> <author name="DragonBones Team"/> <products> <product name="Flash" version="11" primary="true"/> </products> <description> <![CDATA[ ]]> </description> <ui-access> <![CDATA[ ]]> </ui-access> <license-agreement> <![CDATA[ ]]> </license-agreement> <files> <file source="DragonBonesDesignPanel/myskeleton.jsfl" destination="$flash/WindowSWF/DragonBonesDesignPanel"/> <file source="MyDragonBonesDesignPanel.swf" destination="$flash/WindowSWF"/> </files>
根據需求修改jsfl文件,好比修改保存到xml的數據項ui