# How to 'list' all objects in an MC

**URL:** <https://forum.kirupa.com/t/how-to-list-all-objects-in-an-mc/300774>\
**Category:** Uncategorized\
**Created:** [November 27, 2009, 3:18am UTC](https://forum.kirupa.com/t/how-to-list-all-objects-in-an-mc/300774 "2009-11-27T03:18:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![7788](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/7788/32/2860_2.png) [@7788](https://forum.kirupa.com/u/7788)\
**Post date:** [November 27, 2009, 3:18am UTC](https://forum.kirupa.com/t/how-to-list-all-objects-in-an-mc/300774/1 "2009-11-27T03:18:30Z")

</div>

```auto

for (var obj:String in this)
{
    trace(obj)

}

```

This works perfectly for me in as2  
It goes trough all the objects on the stage or mc

what is the as3 equivalent

Thanks
