Intro To haXe Development With FDT

From FDT Documentation

(Difference between revisions)
Jump to: navigation, search
Aklement (Talk | contribs)
(Created page with "Developed in collaboration with Powerflasher and Influxis, the FDT haXe plugin provides developers a powerful tool for authoring the haXe multi-platform language. Our goal is to ...")
Newer edit →

Revision as of 15:49, 23 September 2010

Developed in collaboration with Powerflasher and Influxis, the FDT haXe plugin provides developers a powerful tool for authoring the haXe multi-platform language. Our goal is to provide the best haXe coding experience and that it feels like coding in the AS3 or MXML editor of FDT: same shortcuts, same syntax coloring, same coding comfort.

Here's a feature overview of the public alpha version: Live error checking Autocompletion (variables and functions) Syntax coloring Code editing features Open Type New Class/Interface/Enum wizards


You can follow our development progress on Twitter @FDThaXe Watch the first live demo of the FDT haXe plugin I showed at Flash Camp Manchester in the recording from Adrian Parr starting at minute 38 here.

Installation Download the latest version of FDT4 Beta release here Go to http://haxe.org/download and download the installer for your OS.

Run the installer. Start up FDT 4 and select Help > Install new Software Select the "FDT Plugins Site" update site. (If it is not included in your drop down menu, enter: http://fdt.powerflasher.com/plugins in the "Work with" text input and hit return)

Select "FDT haXe Plugin" from the plugin list, hit finish and follow the final installation steps.

Setting up the haXe Plugin First of all you need to configure the haXe SDK: Go to Preferences > haXe SDK and insert the haXe installation directory

Now create a new "Empty AS3 Project", name it "Hello haXe" and click Finish

Right click the src folder and select New > HaXe Class (if you don't see it select Window > Reset Perspective from the Menu)

Call the new Class "HelloHaxe" and click Finish Right click the Project and select "Add HaXe Project Nature"

Click Next and set the Type to "Flash9 SWF", the output file to "bin/HelloHaxe.swf" and the Main Class to "HelloHaxe"

Extend Sprite and add the constructor and the static main function. The final class should look like this:

That's it, you've successfully set up your first FDT haXe Flash project! Start Coding Start adding code in the constructor for example:

Please note, the SWF is compiled on every Save, no specific launch configuration is available yet. This is our first Alpha release, please bare with us ! For any feedback, feature requests, improvements, bugs and other issues we encourage you to use our community driven tracking website to make the haXe support in FDT the greatest ever. We would also advice to subscribe to the haXe mailing list, it is a very active group with smart people and interesting topics. On the behalf of the FDT Team and Influxis, I hope you are as excited as we are and enjoy the first available version of the FDT haXe plugin, Michael Plank

Get FDT5