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

Using the Debugger

The Debugger panel lets you monitor and modify the values of all the variables and properties in your movie as it plays. You can also examine the values of objects that hold data, such as instances of the Date or Sound objects. Use the Debugger to verify that Flash is manipulating the information in variables the way you want it to, and to test certain conditions or the effects of certain variables quickly. For example, imagine that you created an animation with the variable myVelocity controlling the speed of a spaceship. In the Debugger panel, you can modify the variable myVelocity as the movie plays to see how it affects the motion of your spaceship. Increase or decrease the value of myVelocity until you are satisfied with the results.

The Debugger panel opens and is active in a special version of the Flash Player accessible from the Flash authoring environment. Once open and active, the Debugger displays information in two separate parts: a Display list at the top and Properties, Variables, and Watch lists at the bottom. The Display list shows the root Timeline and the hierarchy of movie clips in that Timeline. You can select the root Timeline or the other movie clips to see the properties belonging to that particular Timeline or to see all the variables within that particular scope (Figure 12.42).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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