Skip to Main Content
Flash CS3: The Missing Manual
book

Flash CS3: The Missing Manual

by E. A. Vander Veer, Chris Grover
May 2007
Beginner content levelBeginner
530 pages
16h 16m
English
O'Reilly Media, Inc.
Content preview from Flash CS3: The Missing Manual

The Art of Debugging

Imagine, for an instant, that your animation isn't behaving the way you think it should. Testing it on the Stage or in Flash Player and then eyeballing the results, as described in the previous section, is a good place to start tracking down the problem.

But if you've added ActionScript to your animation, chances are you need more firepower. You need to be able to step through your animation frame by frame and examine the inner workings of your ActionScript code—the variables, instance names, function calls, and so on—to help you figure out what's wrong.

You need the Flash debugger, shown in Figure 13-11. Unfortunately, unless you're familiar with ActionScript, much of the information the debugger displays isn't helpful. But even if you're new to ActionScript, the debugging tools you see in this section will give your bug-fixing skills a boost.

The Debugger shows you what Flash is thinking behind the scenes. This panel shows the instance names, property values, variable names and values, and other ActionScript keywords and statements that either you (or Flash) added to your animation.

Figure 13-11. The Debugger shows you what Flash is thinking behind the scenes. This panel shows the instance names, property values, variable names and values, and other ActionScript keywords and statements that either you (or Flash) added to your animation.

Because the Flash debugger shows you a combination of ActionScript code and the Flash object model, its usefulness in debugging your animations is directly proportional to your knowledge of these two things.

For example, if you have no idea how function calls work or what ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flash CS5: The Missing Manual

Flash CS5: The Missing Manual

Chris Grover
FileMaker Pro 10: The Missing Manual

FileMaker Pro 10: The Missing Manual

Susan Prosser, Geoff Coffey

Publisher Resources

ISBN: 9780596510442Supplemental ContentErrata Page