在Flex中
从低版本向高版本迁移的过程中,其中会出现如下一问题:
The style 'backgroundSize' is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo'
The style 'xxxx' is only supported by type 'mx.containers.xx' with the theme(s) 'halo'
解决办法:
1.项目右键-properties-Flex Build Path -Source path tab, 【Add Folder】
X:\....\Adobe\flexsdk\frameworks\themes\Halo
2.在Flex Compiler 中添加如下编译参数:
-theme=halo.swc
如果编译参数中已经有内容了,注意空一格。。。再添加。。。保存即可。。。
本文针对Flex应用程序从低版本向高版本迁移过程中遇到的主题兼容性问题提供了详细的解决方案。具体包括将Halo主题添加到项目的步骤及FlexCompiler配置方法。

被折叠的 条评论
为什么被折叠?



