# Capturing 2 mouse events at the same time

**URL:** https://forum.kirupa.com/t/capturing-2-mouse-events-at-the-same-time/331630
**Category:** flash
**Created:** [September 14, 2013, 4:12am UTC](https://forum.kirupa.com/t/capturing-2-mouse-events-at-the-same-time/331630 "2013-09-14T04:12:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)
#### Post date: [September 14, 2013, 4:12am UTC](https://forum.kirupa.com/t/capturing-2-mouse-events-at-the-same-time/331630/1 "2013-09-14T04:12:34Z")

</div>

Hi,

I’m trying to capture a mouse scroll when the mouse is held down. My code is basically:

```auto
addEventListener(MouseEvent.MOUSE_DOWN, mdown);

function mdown(e:MouseEvent):void {
	stage.addEventListener(MouseEvent.MOUSE_UP, mup);
	addEventListener(MouseEvent.MOUSE_WHEEL, mwheel);
}
function mup(e:MouseEvent):void {
	stage.removeEventListener(MouseEvent.MOUSE_WHEEL, mwheel);
}
function mwheel(e:MouseEvent):void {
	trace("WHEEL IS SPUN");
}

```

But it appears that Flash can detect only 1 mouse event on one displayobject. Is there anyway around this?

Regards
