`
lxs647
  • 浏览: 517311 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

在Flex3.5 迁移至4.0或更高版本编译报错

 
阅读更多

在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

 

如果编译参数中已经有内容了,注意空一格。。。再添加。。。保存即可。。。

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics