# Why can't the stage hear the mouse up?

**URL:** https://forum.kirupa.com/t/why-cant-the-stage-hear-the-mouse-up/325558
**Category:** flash
**Created:** [October 23, 2011, 12:01am UTC](https://forum.kirupa.com/t/why-cant-the-stage-hear-the-mouse-up/325558 "2011-10-23T00:01:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![na\_il](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@na\_il](https://forum.kirupa.com/u/na_il)
#### Post date: [October 23, 2011, 12:01am UTC](https://forum.kirupa.com/t/why-cant-the-stage-hear-the-mouse-up/325558/1 "2011-10-23T00:01:06Z")

</div>

import flash.events.MouseEvent;

stage.addEventListener(MouseEvent.MOUSE\_DOWN, slider\_over);

function slider\_over(evtObj:MouseEvent){  
[//slider.startDrag](https://slider.startDrag)();  
trace(“im cool”);  
}

stage.removeEventListener(MouseEvent.MOUSE\_UP, slider\_over\_up);

function slider\_over\_up(evtObj:MouseEvent){  
[//slider.stopDrag](https://slider.stopDrag)();  
trace(“im smart”);  
}
