Chapter 18. Debugging Applications

Macromedia Flash Basic 8 and Macromedia Flash Professional 8 provide several tools for testing ActionScript in your SWF files. The Debugger lets you find errors in a SWF file while it’s running in the Flash Debug Player (see “Debugging your scripts” on page 725). Flash also provides the following additional debugging tools:

  • The Output panel, which shows error messages, including some runtime errors, and lists of variables and objects (see “Using the Output panel” on page 738)

  • The trace statement, which sends programming notes and values of expressions to the Output panel (see “Using the trace statement” on page 742)

  • The throw and try..catch..finally statements, which let you test and respond to runtime errors from ...

Get Learning ActionScript 2.0 for Macromedia® Flash® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.