for (var name in this) { if (typeof (this[name]) == "object") { trace("I have a object child named "+name); } }