Debugging Scripts in Director

Scripts do not always do what you want the first time. The script often has an error in its syntax: possibly a word is misspelled or a small part of the script is missing. Other times, the script might work but does not produce the expected result. Mistakes or bugs almost always occur when writing your scripts, so you should allow enough time for debugging when you develop multimedia titles.

As your skill with scripting increases, you'll probably encounter different types of problems as you master one area but start learning others. However, the basic troubleshooting techniques described here are useful for novice and advanced users alike.

The best way to correct a bug in your scripts varies from situation to situation. There are not one or two standard procedures that resolve the problem. You must use a variety of tools and techniques, such as the following:

The following tools help you identify problems in scripts:


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/01c_trou.htm