Flex for Free: Setting Up the Flex 4 SDK with Eclipse IDE
I recently wrote about Adobe’s release of Flash Builder 4, ColdFusion Builder and the free Flex 4 SDK. While Flex Builder is agreat IDE, as I’m sure are Flash Builder and ColdFusion Builder, most independent developers cannot afford the licenses that rangeinto the hundreds of dollars. What is an aspiring or shoe-string budget Flash developer to do? Fortunately, there is a legal and freemethod of developing and building Flash applications using the free Flex 4 SDK in combination with the open source Eclipse IDE.The first things you will need to do is grab the
Flex 4 SDK
and a version of the
. Any version of Eclipse should do but I recommend using either Classic or the onefor PHP Developers as I’m currently using. Install Eclipse to where ever you would like and extract the Flex 4 SDK files to anyeasily accessible folder. For the purposes of this tutorial, I extracted mine to the following path on my Windows Vista laptop:C:\AdobeSDK\Flex\4.0Open up Eclipse and start a new project by clicking File -> New -> Project. The “New Project” wizard should open. Select“Project” from the “General” group in the list and click the Next button.
For the purposes of this tutorial, we will call this project “Test Project.” Type this into the “Project name” field and either leave“Use default location” checked or uncheck it and specify your own workspace location. I will leave this checked. Click the Finish button.
Eclipse should create your project and add it to your Project Explorer window pane. We will mirror the standard folder structurethat Flex Builder uses and create three new subfolders to our project called “bin,” “libs” and “src.” Right-click on your projectfolder, point to “New,” and then click on “New Folder.” Enter “bin” into the “Folder name” field and click the Finish button.Repeat this process twice more, entering the folder names “libs” and “src” each time. When you are finished, you should have threesubfolders below your root workspace location.http://www.seanhsmith.com/2010/03/29/flex-for-free-setting-up-the-flex-...1 of 68/17/2011 4:19 PM