1
votes

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?

2

2 Answers

1
votes

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.

0
votes

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