Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 18. Debugging Applications

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 within your script.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint