• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Chapter 25. Debugging

In this chapter

by Darrel Plant

Avoiding Mistakes

Tracking Variables with Dynamic Text

Listing Variables and Objects

Using trace to Create a History of Events

Using the Debugger Window

Troubleshooting Debugging

Did You Know?

Admit it. You're not perfect. There comes a time in almost every project when something doesn't work quite right and you need to know what's going on under the hood of your movie.

It's not the easiest task. When you're creating animations in the timeline, you can see what's happening right there onscreen without playing the movie. After you start to add buttons and movie clips, things get a little trickier. But in a movie where almost nothing takes place in the timeline—where everything's under ActionScript control—you need tools that will let you open the movie's hood to find out how and when things occur.

With Flash 5, you can watch and even change data as a movie plays, in a process known as debugging. Flash lacks the more sophisticated debugging tools of other programs, such as Director, which includes breakpoints and line-by-line stepping of scripts. However, when you're trying to find an error, you can use anything you have.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint