# Getting a list of all listeners in as2

**URL:** <https://forum.kirupa.com/t/getting-a-list-of-all-listeners-in-as2/280927>\
**Category:** Uncategorized\
**Created:** [February 3, 2009, 1:57am UTC](https://forum.kirupa.com/t/getting-a-list-of-all-listeners-in-as2/280927 "2009-02-03T01:57:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tapioca](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@tapioca](https://forum.kirupa.com/u/tapioca)\
**Post date:** [February 3, 2009, 1:57am UTC](https://forum.kirupa.com/t/getting-a-list-of-all-listeners-in-as2/280927/1 "2009-02-03T01:57:32Z")

</div>

is there an easy way to do this?

i tried:

```auto

for (i in _root) {
  trace(_root*);
}

```

but it didn’t show any listener objects… and it wouldn’t say function names, just [type Function].
