# How to loop through all properties of MC?

**URL:** <https://forum.kirupa.com/t/how-to-loop-through-all-properties-of-mc/248677>\
**Category:** flash\
**Created:** [January 10, 2008, 5:20pm UTC](https://forum.kirupa.com/t/how-to-loop-through-all-properties-of-mc/248677 "2008-01-10T17:20:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schmichael](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Post date:** [January 10, 2008, 5:20pm UTC](https://forum.kirupa.com/t/how-to-loop-through-all-properties-of-mc/248677/1 "2008-01-10T17:20:16Z")

</div>

Hi there, I would like to loop through every property of a movie clip. I have forgotten how to do this and I can only get one level down. If someone could let me know that would be great. here’s how I am checking the first level:  
[AS]function checkOb(ob){  
for (var i in ob){  
trace(i+":"+ob\*)  
}  
}

Thanks for any help in advance!  
Schm
