# Iterate through all the parents from movie clip

**URL:** <https://forum.kirupa.com/t/iterate-through-all-the-parents-from-movie-clip/317090>\
**Category:** Uncategorized\
**Created:** [December 10, 2010, 7:19am UTC](https://forum.kirupa.com/t/iterate-through-all-the-parents-from-movie-clip/317090 "2010-12-10T07:19:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luka66\_6](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@luka66\_6](https://forum.kirupa.com/u/luka66_6)\
**Post date:** [December 10, 2010, 7:19am UTC](https://forum.kirupa.com/t/iterate-through-all-the-parents-from-movie-clip/317090/1 "2010-12-10T07:19:19Z")

</div>

Hi

I would like to know is there a way to iterate through all parents in a display object.  
I need to do this because i am loading swfs to application and swfs have different number of nested movieClips and i would like to be able to access loader properties like width and height dynamically from within any depth. How can i do that?

tnx  
Luka
