-
1. Re: touch screen doesn't trigger mouse down event correctly
waterdad568 Mar 13, 2010 8:04 PM (in response to saariko)If you do not need multi touch gestures, then just use CLICK in your listeners.
-
2. Re: touch screen doesn't trigger mouse down event correctly
saariko Mar 14, 2010 12:36 AM (in response to waterdad568)thanks but that is not really an answer
what if i need my users to hold down a finger (=mouse down) not just to click?
-
3. Re: touch screen doesn't trigger mouse down event correctly
Harry Kunz Mar 14, 2010 7:47 AM (in response to saariko)So you are saying mc.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); does not fire unless you move the mouse a bit? How about not moving the mouse and releasing it, will it fire MouseEvent.CLICK? If it does, then that is a really weird behavior.
-
4. Re: touch screen doesn't trigger mouse down event correctly
saariko Mar 14, 2010 8:01 AM (in response to Harry Kunz)i am saying exactly that (only replace where u wrote mouse with finger)
CLICK is fired
it is weird
-
5. Re: touch screen doesn't trigger mouse down event correctly
Harry Kunz Mar 14, 2010 8:04 AM (in response to saariko)How about trying a workaround to this problem. See if MouseEvent.ROLL_OVER is triggered on the touch. Then start a count down timer and when the user does a ROLL_OUT or CLICK, clear the timer. Before you clear the timer In CLICK handler, check the elapsed time and evaluate it (to your set tolerance) whether it is considered long press or just a click.
-
6. Re: touch screen doesn't trigger mouse down event correctly
b12-matthias Apr 19, 2010 2:12 AM (in response to saariko)We encountered the same problem on an Acer touch device For us, it helped to add a listener for TouchEvent.TOUCH_BEGIN to the target you want to receive MouseEvent.MOUSE_DOWN from. The downside of course is that it only works with MultitouchInputMode.TOUCH_POINT ...
Regards,
Matthias
-
7. Re: touch screen doesn't trigger mouse down event correctly
saariko Apr 21, 2010 10:56 AM (in response to b12-matthias)cheers, thanx
-
8. Re: touch screen doesn't trigger mouse down event correctly
b12-matthias May 7, 2010 1:49 AM (in response to saariko)With the latest RC4 (Flash Player 10,1,53,38) the MOUSE_DOWN behavior is normal again when testing in our conditions.
Could be related to resolving http://bugs.adobe.com/jira/browse/FP-4109.
Matthias
-
9. Re: touch screen doesn't trigger mouse down event correctly
nyarsulik Sep 3, 2014 5:50 AM (in response to saariko)I am having this same issue: First contact on touch screen doesn't trigger the down state, rolling the finger slightly from there will then trigger the down state. Old post, but still applies.
I have found that using the basic Windows 7 touch drivers for a touch monitor causes this... Windows seems to try to intercept the first touch because it is listening for swipe gestures. Turning off swipe gestures in "Pen & Touch" doesn't seem to fix it either.
When using touch drivers from Planar on a Planar Touch Monitor I have, the problem goes away and I don't see the windows touch interface items anymore (the little animated touch bubble or the + touch/pen cursor.
I now have a new monitor that doesn't have drivers, so this is a big issue for me again since I can't use the Planar TouchKit drivers (they won't recognize the monitor). I have tried to set the multitouch input mode to each different setting (TOUCH_POINT, GESTURES, etc) but I still have the same problem either way.
I would love to know how to fix this.


