I am using Eclipse 3.3.2 with the Flex Builder Plugin (3.0.194161) and the Flex SDK 3.2. Recently the intellisense has started forgetting about everything in the flash.* package EXCEPT flash.errors.*
The code still compiles, but attempting to automatically resolve something (CTRL+SPACE) removes any of the flash.* import statements and thus causes a compile error. As it stands I have to either not use CTRL+SPACE, or re-add my flash.* before compiling.
I have tried recreating the workspace/project and have re-installed the Flex SDK, but I still get the same problem.
Any thoughts?
I was able to work around the problem by adding the following SWC to my library path: FLEX_SDK\libs\player\10\playerglobal.swc
It looks like the problem is caused by {targetPlayerMajorVersion} no longer resolving, though I have no idea how that happened.
Edit: Known bug, as described in FB-16703 and ‘Targeting Flash Player 10’