# Error 1120: Access of Undefined Property parent + movieclip(parent)

**URL:** <https://forum.kirupa.com/t/error-1120-access-of-undefined-property-parent-movieclip-parent/320176>\
**Category:** flash\
**Created:** [March 16, 2011, 1:12am UTC](https://forum.kirupa.com/t/error-1120-access-of-undefined-property-parent-movieclip-parent/320176 "2011-03-16T01:12:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![selacius](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@selacius](https://forum.kirupa.com/u/selacius)\
**Post date:** [March 16, 2011, 1:12am UTC](https://forum.kirupa.com/t/error-1120-access-of-undefined-property-parent-movieclip-parent/320176/1 "2011-03-16T01:12:03Z")

</div>

I am trying to access a function that is on my document class for my AS3 project, from a nested class. That is, the Document Class calls Class A which then calls Class B. So I am trying to access a function from Class B, I am trying to use MovieClip(parent).function(); but I am getting error 1120. The MovieClip(parent) (fixed to reflect my document class, etc) works when I try it from other classes but not from this nested class. Any ideas would be greatly appreciated.
