How to loop through all properties of MC?

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