I have a problem with a Flash/Flex project in IntelliJ. I have created both Flex (4.5) and Adobe Air SDKs pointing to an apropriate directory (about 20 swc files are shown in classpath settings). But I have problem that IDEA says on imports of flash.* the package does not exist. Even classes such as String, Boolean are not known. When rurring the sample application (generated on a new project creatin) it compiles and runs OK. However I get a lot of errors highlighted in the editor and no advanced code completition features.
Does anybody have the same problem or knows the solution? Thanks.