Debugging actionscript 1.0 and 2.0 – Adobe Flash Professional CC 2014 v.13.0 User Manual
Page 643

(Deprecated with Flash Professional CC) Debugging ActionScript 1.0
and 2.0
Debugging your ActionScript 1.0 and 2.0 scripts
Debug a local SWF file
Debug a remote ActionScript 2.0 SWF file
Display and modify the values of variables in the Debugger
Use the Watch list
Display movie clip properties and change editable properties
List a SWF file’s objects and variables
Set and remove breakpoints
Stepping through lines of code
Control compiler warnings
Output panel overview
Use the trace statement
Navigate to errors in code
Debugging text field objects
Debugging your ActionScript 1.0 and 2.0 scripts
The ActionScript 2.0 debugger helps you find ActionScript 1.0 and 2.0 errors while your SWF file runs in Flash Player. When using Flash to debug
ActionScript 1.0 and 2.0, you view your SWF files in the debugger version of Flash Player, which is installed automatically with Flash. To install a
stand-alone debugger version of Flash Player, run the installer in the /Flash installed directory/Players/Debug/ directory.
The ActionScript 2.0 Debugger shows a hierarchical display list of movie clips currently loaded in Flash Player. Using the ActionScript 2.0
Debugger, you can display and modify variable and property values as the SWF file plays, and you can use breakpoints to stop the SWF file and
step through ActionScript code line by line. You can then go back to your scripts and edit them so that they produce the correct results.
A. Display list B. Properties list C. Tool bar D. Code view
You can resize the regions of the Debugger panel. When your pointer changes between each region, drag to resize the Display list, Watch list, and
code view. You can also click the vertical bar to expand either side of the Debugger to full size.
After it’s activated, the Debugger status bar displays the URL or local path of the file, tells whether the file is running in the test environment or
from a remote location, and shows a live view of the movie clip display list. When movie clips are added to or removed from the file, the display list
reflects the changes immediately.
Note: The ActionScript 2.0 and 3.0 debuggers have significant differences. For more information about the ActionScript 3.0 debugger, see
The Test Movie command and keyboard controls
636