在FlashDevelop中为Halo / Flex 4设置compiler.theme选项
发布时间:2020-12-15 07:29:02 所属栏目:百科 来源:网络整理
导读:这是与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
这是与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>中尝试了以下值属性>编译器选项>其他编译器选项,但没有一个工作: -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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
热点阅读