在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
如果编译参数中已经有内容了,注意空一格。。。再添加。。。保存即可。。。