# Trying to call a parent function

**URL:** <https://forum.kirupa.com/t/trying-to-call-a-parent-function/252976>\
**Category:** flash\
**Created:** [February 26, 2008, 2:49am UTC](https://forum.kirupa.com/t/trying-to-call-a-parent-function/252976 "2008-02-26T02:49:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![richwilliamsuk](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@richwilliamsuk](https://forum.kirupa.com/u/richwilliamsuk)\
**Post date:** [February 26, 2008, 2:49am UTC](https://forum.kirupa.com/t/trying-to-call-a-parent-function/252976/1 "2008-02-26T02:49:51Z")

</div>

Hi there,

I’m a bit new with AS3, at the moment i’m struggling to call a parent function. I’m trying to use this.parent.parent.functionhere() and it keeps telling me it’s not a function. If i do a trace(parent.parent…etc) it first comes up with the class i’m in, then the container within the parent class, then it misses the parent class and goes straight to the stage.

I’m horribly confused with this display object list malarkey at the moment. Any help is very much appreciated.

Cheers

Rich
