FlashDevelop

FlashDevelop is an open source ActionScript editor with code completion, syntax hilighting and a variety of other development features.

Prerequisites
You need the JDK, the Flex 3 SDK and the Whirled SDK. Follow these instructions for acquiring and installing these resources: Setting up your programming environment.

Downloading and Installing FlashDevelop
Download the latest version of Flash Develop from the FlashDevelop Releases page.

Run the installer and follow the instructions.

Introducing the Whirled SDK to FlashDevelop
Choose Tools &rarr; Global Classpaths (Ctrl-F9). Add your Whirled SDK's ActionScript directory. If you installed the Whirled SDK in , this will be.



Introducing the Flex SDK to FlashDevelop
Choose Tools &rarr; Program Settings (F10).

In the "Plugins" section, choose "AS3Context".

Set Language &rarr; AS3 Classpath to your Flex 3 SDK's lib directory. If you installed the Flex SDK in, this will be

Set Language &rarr; Flex SDK Location to the directory in which you installed the Flex SDK.



Running the Reversi Example Game
Project->New Project Flex 3 Project Name: Reversi Location: c:\whirled\examples\games\reversi Package: (leave blank) Unchecked "Create directory for project" OK -- Allow FlashDevelop to copy template files



Project->Properties Output: Output file: Reversi.swf (remove \bin) Test Movie: Run custom command...               Edit... Command: build.bat



Classpaths: Remove 'src' Add project directory (c:\whirled\examples\games\reversi)



Project->Test Movie*

Troubleshooting

 * You may need to run "build.bat" once from the command line to get the Whirled SDK set up if you have not already done so.
 * You also may need to grant your user id execute privileges on build.bat if you get an "Access denied" message.