718
Debugging Applications
If you add a local variable to the Watch list, its value appears only when Flash Player is
stopped at a line of ActionScript where that variable is in scope. All other variables appear
while the SWF file is playing. If the Debugger can’t find the value of the variable, the value is
listed as undefined.
The Watch list can show only variables, not properties or functions.
Variables marked for the Watch list and variables in the Watch list
To add variables to the Watch list, do one of the following:
■
On the Variables or Locals tab, right-click (Windows) or Control-click (Macintosh) a
selected variable and then select Watch from the context menu. A blue dot appears next to
the variable.
■
On the Watch tab, right-click (Windows) or Control-click (Macintosh) and select Add
from the context menu. Double-click in the name column, and enter the target path to
the variable name in the field.
To remove variables from the Watch list:
■
On the Watch tab or the Variables tab, right-click (Windows) or Control-click
(Macintosh) and select Remove from the context menu.
NO
TE
If necessary, you can resize the various regions of the Debugger panel. When your
changes between each region, you can drag to resize the Display list, Watch list, and
code view.
Summary of Contents for FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Page 1: ...Learning ActionScript 2 0 in Flash...
Page 8: ...8 Contents...
Page 18: ...18 Introduction...
Page 30: ...30 What s New in Flash 8 ActionScript...
Page 66: ...66 Writing and Editing ActionScript 2 0...
Page 328: ...328 Interfaces...
Page 350: ...350 Handling Events...
Page 590: ...590 Creating Interaction with ActionScript...
Page 710: ...710 Understanding Security...
Page 730: ...730 Debugging Applications...
Page 780: ...780 Deprecated Flash 4 operators...
Page 830: ...830 Index...