Flash CS3
(Not your version?)
ActionScript
Debugging ActionScript 3.0
About the ActionScript 3.0 debugger
Enter debugging mode
Set and remove breakpoints
Step through lines of code
Display and examine scripts in the call stack
Display and modify variable values
Control compiler warnings
Navigate to errors in code
Debug a remote ActionScript 3.0 SWF file