# Notification System: stage.dispatchEvent error

**URL:** <https://forum.kirupa.com/t/notification-system-stage-dispatchevent-error/308628>\
**Category:** flash\
**Created:** [April 27, 2010, 11:00am UTC](https://forum.kirupa.com/t/notification-system-stage-dispatchevent-error/308628 "2010-04-27T11:00:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![generator85](https://avatars.discourse-cdn.com/v4/letter/g/bb73d2/32.png) [@generator85](https://forum.kirupa.com/u/generator85)\
**Post date:** [April 27, 2010, 11:00am UTC](https://forum.kirupa.com/t/notification-system-stage-dispatchevent-error/308628/1 "2010-04-27T11:00:53Z")

</div>

I’m building a class that displays a standard notification on the stage, let’s call it NoticeHandler. Any class can send a string to this class through stage.dispatchEvent. ErrorHandler listens for this event on the stage, and displays the notification box.

This works fine, but now I’ve got a class that isn’t present on the stage. How can I dispatch an event from this class to NoticeHandler? (1120: Access of undefined property stage.)

Or is there a much easier way to make this notification system possible?
