现在的宏编译只是介于Flash与h5之间。如我现在有两个ui.swf,一个是英文用的ui_en.swf,一个是中文用的ui_cn.swf,我想在不同版本嵌入不同swf.现在我是这样做的:
1.使用flashDevelop,在项目属性->编译选项(Compiler Options)->编译常量(Compiler Constats),写入
CONFIG::cn,false
CONFIG::en,true
如图:

2.在代码中写入
CONFIG::cn{
[Embed(source="ui_cn.swf", mimeType="application/octet-stream")]
private const _Ui_SWF:Class;
}
CONFIG::en{
[Embed(source="ui_en.swf", mimeType="application/octet-stream")]
private const _Ui_SWF:Class;
}
3.这样就表示英文版本我只嵌入英文的ui_en.swf
如果使用现有的宏编译似乎做不到我需要的效果