首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > flex >

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

2012-08-24 
在Flex3.5 迁移至4.0或更高版本编译报错在Flex中从低版本向高版本迁移的过程中,其中会出现如下一问题:?The

在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

?

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

?

?

热点排行