Troubleshooting ActionScript > Using the Output window > Using List Variables

Using List Variables

In test-movie mode, the List Variables command displays a list of all the variables currently in the movie. This is especially useful for finding the correct variable target path and variable name. Unlike in the Debugger, the list does not update automatically as the movie plays; you must choose the List Variables command each time you want to send the information to the Output window.

To display a list of variable in a movie:

1 If your movie is not running in test-movie mode, choose Control > Test Movie.
2 Choose Debug > List Variables.

A list of all the variables currently in the movie is displayed in the Output window, as in this example:

Level #0: 
	Variable _root.country = "Sweden"
	Variable _root.city = "San Francisco"
Movie Clip:  Target=""
Variable _root.instance1.firstName = "Rick"