以下是 ant build.xml 的作用:
<mxmlc file="${module.main.dir}/main.mxml" keep-generated-actionscript="false" output="${module.output.dir}/main.swf" fork="${flex.fork}">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.theme file="${FLEX_HOME}/frameworks/themes/Halo/halo.swc"/>
</mxmlc>
我在 Project > Properties > Compiler Options > Additional Compiler Options 中尝试了以下值,但没有一个起作用:
-theme=PATH_TO/halo.swc
-compiler.theme=PATH_TO/halo.swc
-theme=file=PATH_TO/halo.swc
-compiler.theme.file=PATH_TO/halo.swc
-theme.file=PATH_TO/halo.swc
谢谢。
最佳答案
-compatibility-version=3
应该修复它
或者你可以试试
-theme=../frameworks/themes/Halo/halo.swc
关于apache-flex - 在 FlashDevelop 中为 Halo/Flex 4 设置 compiler.theme 选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3227053/