• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Debugging a Movie > Setting Breakpoints

Setting Breakpoints

Breakpoints are instructions to the Debugger to halt the running of a Flash movie. For example, you're watching how the .swf file plays using the debugger, however, it's moving so fast it's difficult to watch everything. By inserting a breakpoint, you instruct the Debugger to halt the movie, and any variables and properties will display the values associated with that point in time. You can then change the values, and instruct the Debugger to continue playing the movie, using the modified values.

Set Breakpoints

Click the Control menu, and then click Debug Movie.

Select a line of script where you want to place a breakpoint.

Click the Toggle Breakpoint button above the code view to add a breakpoint, or remove a previously inserted breakpoint.

Click the Play button to begin playing the Flash .swf file.

The Debugger will stop the movie at each breakpoint.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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