# Accessing a non-display list parent object

**URL:** https://forum.kirupa.com/t/accessing-a-non-display-list-parent-object/292262
**Category:** Uncategorized
**Created:** [July 12, 2009, 12:02pm UTC](https://forum.kirupa.com/t/accessing-a-non-display-list-parent-object/292262 "2009-07-12T12:02:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ekry](https://avatars.discourse-cdn.com/v4/letter/e/b38774/32.png) [@Ekry](https://forum.kirupa.com/u/Ekry)
#### Post date: [July 12, 2009, 12:02pm UTC](https://forum.kirupa.com/t/accessing-a-non-display-list-parent-object/292262/1 "2009-07-12T12:02:00Z")

</div>

Hi,

I need to access a non-display list top-level (Parent? Ancestor? What’s the correct term?) object from a display list object, and I don’t know how.

In my code, ResultX is an instance of my custom class Result. Card is a sprite, a visual representation of the ResultX object, defined inside the Result class and attached (or removed) to the stage via a separate function inside the result class as needed.

I want to refer to the correct Result object when the user clicks on the corresponding card to call a function there. In accessing the sprite manually, ResultX.card works fine, but I don’t know how to go upwards trough the path - card.parent (or actually target.parent, since it’s done via event) just returns Main, of course.

Thank you very much in advance!
