Adding and event listener to somethings parent

Hi all,

I’m trying to add an event listener to something that lives on the parent level of the function that runs.

This is what I have in a function -

MovieClip(parent).footer.addEventListener(MouseEvent.CLICK, footerOpen);

Here’s the error that it’s throwing -

Symbol 'footerBG', Layer 'as', Frame 15, Line 10    1120: Access of undefined property footerOpen.

Thanks!
Kev