To use an ActionScript class that you’ve defined, Flash must locate the external ActionScript 3.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 or document level. For more information about classpaths, see “Packages” in Programming ActionScript 3.0.
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 From Path button
.
Jay4
said on
Feb 8, 2008
at
9:32 AM :
Steps 3 and 4 above should read as follows:
3. Specify the frame where the class definition should reside in the Export Classes in Frame text field.
4. Specify the Errors settings. You can select Strict Mode and Warnings Mode. Strict Mode reports compiler warnings as errors, which means that compilation will not succeed if those types of errors exist. Warnings Mode reports extra warnings that are useful for discovering incompatibilities when updating ActionScript 2.0 code to ActionScript 3.0.
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/WS06D23361-54E6-4ac2-9D24-081C181BD2DF.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.