Setting a global classpath in Flash 8
July 30th, 2006When working with ActionScript 2.0 it is recommended to have a local folder or network resource with all the classes that are used and re-used between different projects.
In this example the path is c:\webserver\_classes but, of course, you may use a different path.
Even though you can set each FLA file to look for classes in a different classpath when publishing, it is better to configure the Flash application once so you don’t have to specify the same folder in every new file.
- Start Macromedia/Adobe Flash.
- Go to: Edit | Preferences.

- A window pops up. On the left column under “Category” select “ActionScript“.
- On the bottom right press the button that says “ActionScript 2.0 Settings…“
- Another window pops up with a list of “classpaths“
- You must add 1 class path in to that list:
C:\webserver\_classes (or the specific path in your case) - Press OK.
Now any FLA file you publish will include classes found inside the specified folder.