I have created a very simple HelloWorld app and compiled with Flex 4 SDK (last nightly build, but it is not relevant).
It compiles and runs just fine (so the code must be correct), but the editor shows some codes in red. E.g. if I create properties of primitive types, the types are red (Number, String, Boolean), the "click" for Button is also red and there is no code hinting for it.
Another one: I was trying to use AdvancedDataGrid (copied the relevant swc files in the Flex SDK folder). Again, the app compiles and runs, but all code related to AdvancedDataGrid is red.
I haven't encountered these problems when using Flex 3 SDK.
Am I missing something, or is it an issue that still needs to be fixed?
I am using the 30 day trial of IntelliJ, tried both the last stable release and IntelliJ IDEA 9.0.2 EAP (build 94.426), as it is a fix there for a bug called "Good code red", but that seems to be something else.
I have found IntelliJ looking for an alternative to Flash Builder that runs on Linux. I really like IntelliJ, it has lots of really nice features and I would really like switching from Flex/Flash Builder, but I have a couple of problems, some of them are minor, but there are major ones too (like this red code), and I am not sure if it's just me not being able to set it up correctly or those are real problems.