# Custom event for "onReleaseOutside"

**URL:** <https://forum.kirupa.com/t/custom-event-for-onreleaseoutside/236021>\
**Category:** flash\
**Created:** [August 16, 2007, 4:07pm UTC](https://forum.kirupa.com/t/custom-event-for-onreleaseoutside/236021 "2007-08-16T16:07:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkseed](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@darkseed](https://forum.kirupa.com/u/darkseed)\
**Post date:** [August 16, 2007, 4:07pm UTC](https://forum.kirupa.com/t/custom-event-for-onreleaseoutside/236021/1 "2007-08-16T16:07:56Z")

</div>

I’ve read about how to get an “onReleaseOutside” here:

> **[ActionScript 3 Tip of the Day - Page 14](https://www.kirupa.com/forum/showthread.php?223798-ActionScript-3-Tip-of-the-Day&s=28fa58dea9e244f8c89dbc55d5f4fae7&p=1948182#post1948182)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

Is there a way to extend the MouseEvent class to support this? In this way, the client class would only need to use:  
addEventListener(MouseEventEx.RELEASE\_OUT, onReleaseOutside).

I’ve got interface elements spread in my code that need to get onReleaseOutside and repeating the Senocular code in every place seems bad software engineering…

Thanks in advance.
