# No Method with the name 'addListener'

**URL:** <https://forum.kirupa.com/t/no-method-with-the-name-addlistener/123273>\
**Category:** Uncategorized\
**Created:** [September 22, 2004, 4:37am UTC](https://forum.kirupa.com/t/no-method-with-the-name-addlistener/123273 "2004-09-22T04:37:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![d2kagw](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/d2kagw/32/539_2.png) [@d2kagw](https://forum.kirupa.com/u/d2kagw)\
**Post date:** [September 22, 2004, 4:37am UTC](https://forum.kirupa.com/t/no-method-with-the-name-addlistener/123273/1 "2004-09-22T04:37:53Z")

</div>

Ok,

I have one script which is working a treat ( using ASBroadcasters )  
and then today, I copied and pasted the same script into a new site and whenever I try to register a listener, I get the dreaded “There is no method with the name addListener”…

Any ideas as to why this is happening.

oh, and a few things.  
the broadcasting object is a class extending the XML class, and i have used the same script before with no issues  
the listening object extends the object class, and whilst this class has been freshly developed, the last time I used the ASBroadcaster methods I didn’t have to extend anything for it to work…

please help, i’ve wasted two days on this, and really can’t afford to spend any more… ☹
