Monday, July 14, 2008

Alternative to FlexBuilder

Trying to build flex applications? But can not pay for FlexBuilder. No worries. Open Source Community has already a solution for it but available in two pieces i.e MXML editor and AS3 plugin. We need to put them together to build a Flex application. Darran Schall has an old post that explains how to set up eclipse for working with MXML files. Though it is meant for flex's older version, the procedure remains same for newer versions too. I would just like to extend his post to make it work for Flex3 with MyEclipse.

Step 1. Get new xmls xsd file for Flex 3 version from xsd4mxml project.

Step 2. Start MyEclipse, from the menu, select Window -> Preferences. Select General -> Content Types. On the right, expand Text and highlight XML. Click the "Add" button and enter "*.mxml" as the file type. Click OK.

Step 3. Again from the menu, select Window -> Preferences. Expand "MyEclipse Enterprise Workbench" -> "Files and Editors" ->"XML". Click "User Specified Entries" and click "Add" and use the following values.

URI: browse for the path to the mxml.xsd file downloaded at Step 1.

Step 4. Click "OK" to save the changes and close the window.

That is it. Set to create/modify mxml file with code assisting.

Now the second part. Download an eclipse plug-in from that helps you to work with ActionScript 3.0. Though this plug-in does not have code assistance feature for AS3 but definitely good start to developing and compiling AS3 classes.

Happy building FLEX applications!!!

1 comment:

Jay said...

OR... just use the Best Flash IDE that ever existed, and that's 100% free and open source: