# AS3 Mouse\_Down vs. Click

**URL:** https://forum.kirupa.com/t/as3-mouse-down-vs-click/327206
**Category:** flash
**Created:** [February 13, 2012, 1:18am UTC](https://forum.kirupa.com/t/as3-mouse-down-vs-click/327206 "2012-02-13T01:18:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cf2004](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cf2004](https://forum.kirupa.com/u/cf2004)
#### Post date: [February 13, 2012, 1:18am UTC](https://forum.kirupa.com/t/as3-mouse-down-vs-click/327206/1 "2012-02-13T01:18:57Z")

</div>

Hi all, I have a question about Mouse\_Down vs. Click

I read that if  
Mouse\_Down/Up listeners are used, they’ll interfere with the CLICK listener, so  
I want to see if it’s doable something like this

use a MOUSE\_DOWN  
listener, by default when it’s triggered will turn an \_isclick true, but if it’s  
in the DOWN state for more than 150 ms, then \_isdown is true.

This way,  
I can click on an MC and trigger an action, or I can drag it if I decide to keep  
the DOWN state more than 150ms

Let me know. Note, that the goal is for  
the same value to check itself at 0ms and enter the \_isclick state and then at  
150 ms to enter \_isdown state

Thanks!
