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

Chapter 16. Debugging a Movie > Viewing Variables

Viewing Variables

When you work in the Debugger panel, you have the option of viewing any variables used in the Flash movie. The Variables tab in the Debugger panel displays the names and values of any global and Timeline variables in the .swf file. If you change the value of a variable on the Variables tab, you can see the change reflected in the .swf file while it runs. This gives you the ability to test new data variables and their impact on the Flash player document.

View Variables

1.
Click the Control menu, and then click Debug Movie.

2.
Select the movie clip containing the variable from the display list.

3.
Select an item in the display frame to view the variables names and values.

4.
Click the Continue button to observe the variables as the Flash movie runs.

5.
Click the Variables tab.

IMPORTANT The display list updates automatically as the .swf file plays. When a movie clip is removed from the .swf file at a specific frame, the movie clip, variable and variable name, are removed from the display list in the Debugger panel. This lets you focus on the current variables. When you’re viewing a complex Flash movie that contains a lot of variables, only having to view the current variables cuts down on the visual clutter, and helps you to focus on the immediate problem.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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