2
votes

I try to recompile a flash package from somebody who has left the company and I have some difficulty to understand why I can't.

There are only warnings of type "variable 'x' has no type declaration" when building so why does it halt ?

3

3 Answers

2
votes

FlashDevelop treats warnings as errors and so won't compile successfully if there are warnings.

1
votes

There could be an obscure error of which has not been picked up by the ide. these include package declaration errors, sometimes inline XML and especially Flex - mxml errors unflagged.

Try cleaning the application, ensure no SVN files a kicking around -

--

ooh I'd like to add this happened to me once when I tried to make a backup of a class called Myclass_old.as

The ide will try and parse it - bt of course I had the same thing. I guess that falls under incorrect package naming but it easy to overlook.

1
votes

I went to project properties->compiler options then set Enable All Warnings to false..and it worked like a charm after. Seems like warnings are treated as errors by default