There are several tutorials out there on how to do this, but they all differed a little, and figured I might as well note mine. I’m replicating the setup I have at work onto a home computer, so this is my second time around.
- Download and install Eclipse, the java version should be just fine
- Pick a directory for your flash projects. For this guide, I’m using the Eclipse default, “C:\Documents and Settings\Ryan\workspace”
- Download the Flex 2 SDK, unzip it into a “Flex 2 SDK” folder in your project directory
- Download the Flex Ant tasks, and unzip the file into a directory in your project directory
- Install whatever version control tools you prefer
- Open Eclipse, get to the workspace view
- Make a new “General” project for the Flex 2 SDK
- Go to Window->Preferences, select the Ant->Runtime node in the tree
- Go to the “Classpath” tab, select “Ant Home Entries (default)”, and then click “Add External JARs”
- Select the flexTasks.jar from the flex ant folder.
- Click OK
- Go to the “Tasks” tab, select “Add Task”
- Name it “mxmlc”, and choose the flexTasks.jar from the dropdown
- In the tree view, navigate to / -> flex2 -> ant, and then select MxmlcTask.class from the right pane
- Click OK
- Go to the “Properties” tab, select “Add Property”
- Name it “FLEX_HOME”, and make the path to your Flex 2 SDK folder
- Click OK
- Click OK
Now you’re ready to start the hard part, actually making your flash program.
2 Trackbacks/Pingbacks
[…] again for some time. The next time we picked it up, we moved forward to Flex2, by mostly following ryepup’s tutorial for setting up a computer for flash development. We used this setup for most of the development of Celest. Finally when it was time to publish the […]
[…] while back, I made a post on my blog about setting up a computer for flash development, which used open source tools. We’ve just released the first version of the game, Celest, and […]