I'm trying to use IntelliJ with Flex 3, but I cannot get my Flex facet to work. IntelliJ wants the path to the flex SDK, which I specified to be: /Users/erikp/Downloads/flex_sdk_184.108.40.2063, and a flex sdk library name. No idea what that is, but the dropdown shows 'grails', 'grails-1.0.4' and 'grails-1.1' . I cannot imagine I have to pick anything from that, so I typed 'flex 3 library'. When pressing 'apply', IntelliJ will scan the directories, and end up with the message: 'Library <libraryname> containing Flex SDK does not exist', with a button: 'create library'. Pressing it doesn't work: it gives me the same message again. Pressing it twice, however, does remove the message, but doesn't create global library, and pressing 'apply' again results in the previous message: 'Library <name> does not exists'. Creating the library (with the 'create library button' doesn't seem to have any effect.
On a side note: doing this procedure for some time, and clicking around, caused my memory usage to increase from 300 mb to 750 mb.
My question is: how can I get the Flex SDK to work nicely on my Mac? I'd like to have some code completion, and remove the errors produced by IntelliJ in my mxml files.