You will need the following things:
- Flex SDK - https://flex.apache.org/download-binaries.html (apache-flex-sdk-4.16.1-bin.zip).
- Air SDK - https://airsdk.harman.com/download (AIR SDK for Flex Developers).
- IntelliJ IDEA with the Flash/Flex plugin (has to be the ultimate edition).
- You could use an alternative free IDE like FlashDevelop, but you'd have to set it up manually.
- Extract Flex SDK into
C:\FlexSDK
(or a similar location). - Extract the contents of Air SDK into the
C:\FlexSDK
folder. - Open up this project in IDEA.
- Point IDEA to the Flex SDK:
- File -> Project Structure -> SDKs -> Click the + icon -> Add new Flex/AIR SDK... -> Point it to
C:\FlexSDK
or whichever folder you choose earlier. - File -> Project Structure -> Modules -> Module -> -> Dependencies -> Select Flex/AIR SDK in Flex/AIR SDK dropdown.
- File -> Project Structure -> Project -> Select Flex/AIR SDK in the SDK dropdown.
- Hit Ctrl - F9 and it should build all the SWFs.