We have just released a new version of FDT (FDT 3.1.0 build 1011) which includes many new features and numerous bugfixes. You can find a list of all additional features and bugfixes here. In this article I’m going to show you how to improve and optimize your ActionScript development workflow by using the new features.

Installation

We now provide FDT installers for Windows and Max OS X. Simply download the appropriate installer and follow the installation instructions.
The FDT 3.1 installation includes Eclipse 3.3 (Europe) and the most important plug-ins for ActionScript development like Subversion (Subversive) and a XML Editor (WST).

If you already have installed Eclipse (3.3 or 3.4), you can use the “Find and Install” mechanism (Help > Software Updates > Find and Install) to integrate FDT in your existing Eclipse copy. Use the following URL for your new remote site: http://fdt.powerflasher.com/update

The Flex SDK 3.1 is included in both installation types and all core library settings are now configured automatically. This means that you can compile, debug and launch your ActionScript 3 projects immediately after the installation process.

Installing and setting up FDT 3.1 is now way faster than setting up previous versions of FDT.

Project Structure

It is very important to use a clear and continuous folder structure for your ActionScript projects. FDT helps you organize this structure.

If you create a new Flash Project it’s now possible to select “Create separate folders for sources and binaries” in the wizard.

Create Separate Folders

You can configure those folders by pressing “Configure defaults…” or by opening the FDT Build Path preferences window.

In the following example I will use dev/src as my source folder and dev/deploy as my output folder.

Build Path Preferences

FDT will automatically put all SWF and SWC files into the deploy folder.

AIR Support

Developing AIR applications with FDT 3.1 is also very easy now. Simply create a launcher for viewing and debugging your application and one launcher to release it as .air file.

To create an AIR debug launch configuration select your Document Class in the Flash Explorer and then open the Run Dialog (Run > Open Run Dialog…). Double click “FDT AS3 Application “ to create a new launch configuration. After that select the “Start” tab and choose “AIR Debug Launcher” as viewer.

AIR Debug Launcher

Press the “Run“ button to compile and launch your AIR application. FDT automatically generates a default application XML file into your output folder.

To release and package your AIR application open the Run Dialog and double click “FDT AIR Application Release” and configure the settings on the right-hand side.

Michael Plank