Troubleshooting ActionScript > Troubleshooting ActionScript: Overview
Troubleshooting ActionScript: OverviewThe level of sophistication of some actions, especially in combination with one another, can create complexity in Flash movies. As with any programming language, you can write incorrect ActionScript that causes errors in your scripts. Using good authoring techniques makes it easier to troubleshoot your movie when something behaves unexpectedly.
Flash has several tools to help you test your movies in Test-Movie Mode or in a Web browser. The Debugger shows a hierarchical display list of movie clips currently loaded in the Flash Player. It also allows you to display and modify variable values as the movie plays. In Test-Movie Mode, the Output window displays error messages and lists of variables and objects. You can also use the trace
action in your scripts to send programming notes and values of expressions to the Output window.