...
1- Click on New Global Library, select <FLEXJS_INSTALL_FOLDER>\frameworks and then remove the \libs. Then, remove frameworks\libs\player and frameworks\libs\air.
2- Rename the library to something meaningful, I choose to name mine "FlexJS Nightly Lib".
...
9- In Additional compiler options, add: -js-output-type=FLEXJS_DUAL targets=JSFlex,SWF -external-library-path+=<FLEX_JS_INSTALL_FOLDER>/js/libs/js.swc
(The FLEXJS_DUAL output type -targets=JSFlex,SWF will tell the compiler to build both the SWF / SWC and also the JS version of your module, if . If you want to build the JS only, use FLEXJS, if you want to build the SWF / SWC only , remove this line-targets=JSFlex)
Click OK to validate.
You should be able to build your project now, click on Build -> Rebuild project.
...