样式与 Spark 组件冲突 - FLEX
我导入了一个项目,在尝试构建它时,出现以下错误 -
样式“textShadowColor”的声明与 C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\spark.swc(spark.components:Button) 中先前的声明冲突
我尝试使用修复它此处提供的信息但确实如此不修复错误。
我正在使用 flash builder 4.6 和 flex sdk 4.6
有人可以帮我解决这个问题吗?
I had imported a project and while trying to build it, it gives me the following error -
Declaration of style 'textShadowColor' conflicts with previous declaration in C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\libs\spark.swc(spark.components:Button)
I tried to fix it using the information provided here but it did not fix the error.
I am using flash builder 4.6 and flex sdk 4.6
Could someone help me out with how I can fix this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须在迁移项目的源代码中搜索 CSS 样式声明“textShadowColor”并更改其名称或返回值类型。
You will have to search in the source code of migrated project for CSS style declaration "textShadowColor" and alter its name or returned value type.
我也经历过这个问题。但我解决了
从此处下载最新的 amChart swc 并将其替换为你的上一个。您必须稍微更改代码,特别是您需要删除 amchart 图例中的“方向”属性(如果使用)。尝试一下
I went through this problem also. But i got that solved
Download the latest amChart swc from here and replace it with your previous one. You will have to change your code a little , specially you will need to delete "direction" property (if used) in your amchart legends. give it a try