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.
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
.
I accidentally overwrote the standard path to all the classes included in the Flash installation -- fortunately I had another installation on a laptop to look it up -- for AS2 it was $(LocalData)/classes, and for AS3 it was $(AppConfig)/ActionScript 3.0/Classes.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7bcd.html
Comments
Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.