flex常见问题归纳

flex警告:

swc“D:\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\libs\framework.swc”具有默认样式并且在 library-path 中,表示依赖项将不带有样式进行链接。这可能会导致使用输出 swc 的应用程序出现外观丢失的现象。swc 应该放置在 external-library-path 中。

 

看看网上解决办法。。

问题:

 

The swc ‘/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/framework.swc’ has style defaults and is in the library-path, which means dependencies will be linked in without the styles. This can cause applications, which use the output swc, to have missing skins. The swc should be put in the external-library-path.

 解决方案:

This happens when a added swc has link selection ‘merged into code’. It should be default external.

Since both the libraries have style defaults.css files, the compiler overrides the added swc’s defaults.css

Remedy : Go to build path, and select the conflicting swc, open the node, go to link type, and select edit, and then select ‘external’
save, clean build !

右键项目——>属性——>framework.swc——>链接类型:使用默认值(合并到代码中)——>编辑——>去掉“与框架相同”前面的复选框,“链接类型”选择“外部”——>ok

 

 

 

 

 

 

你可能感兴趣的:(Flex)