Troubleshooting ActionScript > Using the Output window > Using List Objects

Using List Objects

In test-movie mode, the List Objects command displays the level, frame, object type (shape, movie clip, or button) and target path of a movie clip instance in a hierarchical list. This is especially useful for finding the correct target path and instance name. Unlike the Debugger, the list does not update automatically as the movie plays; you must choose the List Objects command each time you want to send the information to the Output window.

To display a list of objects in a movie:

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

A list of all the objects currently on the Stage is displayed in the Output window, as in this example:

Layer #0: Frame=3
Movie Clip: Frame=1 Target=_root.MC
		Shape:
	Movie Clip: Frame=1 Target=_root.instance3
		Shape:
	Button:
		Movie Clip: Frame=1 Target=_root.instance3.instance2
			Shape:

Note: The List Objects command does not list all ActionScript data objects. In this context, an object is considered to be a shape or symbol on the Stage.