Creating a new project

Configure the core classpath

  1. Choose Preferences from your Window Menu.
  1. Select ActionScript2 > Core Path click Browse

3.1. If you have the Flash IDE installed, navigate to the Classes Folder (your_path_/en/First Run/Classes/) and select the folder containing your core classes.

3.2. If you have the classes that come with MTASC navigate to the folder that contains the std and/or std8 folder and select the folder containing the classes you need.

If the core library shows as unresolved do the following

  1. Choose Preferences from your Window Menu.
  1. Select General > Workspace > Linked Resources click New, name the resource core and complete step 3 from above.

Refresh your project and your core library should now display and auto completion should work correctly.

Creating a Project

When working in ASDT you generally want to use the "ActionScript2" Perspective. This will update the menus and the views.

  1. Switch to the ActionScript2 Perspective with Window->Open Perspective->Other->ActionScript2
  1. Now you can easily create a project with File->New->New ActionScript2 Project
  1. The Project Name screen should be obvious, and the defaults on the following screen are fine.

Beware that ASDT 0.0.8 use a file called .classpath to track information about the ActionScript project. This conflicts with the .classpath file used by Java projects. For this reason you are discouraged from mixing Java code and ActionScript code in the same Eclipse project. This bug has been fixed for the upcoming 0.0.9 release.