Flash CS3  |  Go to CS4 Help

Set the classpath for ActionScript 2.0

To use an ActionScript class that you’ve defined, Flash must locate the external ActionScript 2.0 files that contain the class definition. The list of folders in which Flash searches for class definitions is called the classpath. Classpaths exist at the global, application, or document level. For more information about classpaths, see Classes in Learning ActionScript 2.0 in Adobe Flash.

  1. Select File > Publish Settings, and click Flash.
  2. Verify that ActionScript 2.0 is selected in the ActionScript Version pop‑up menu, and click Settings.
  3. Specify the frame where the class definition should reside in the Export Frame for Classes text field.
  4. Do any of the following:
    • To add a folder to the classpath, click the Browse to Path button , browse to the folder to add, and click OK.

    • To add a new line to the Classpath list, click the Add New Path  button. Double-click the new line, type a relative or absolute path, and click OK.

    • To edit an existing classpath folder, select the path in the Classpath list, click the Browse to Path button, browse to the folder to add, and click OK. Alternatively, double-click the path in the Classpath list, type the desired path, and click OK.

    • To delete a folder from the classpath, select the path in the Classpath list and click the Remove Selected Path button .

Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.