Swipe vs. Touch Event
Hi all,
After developping some tests with AIR for Android, this question came to me : how can I set priority to a swipe event vs a touch event.
My application is composed of:
- The main stage (with a swipe event listener for moving all the content to the right or the left).
- Some panels/blocs which I can touch/clic to open another clip.

Source code is close to that :
- Multitouch.inputMode = MultitouchInputMode.GESTURE;
- stage.addEventListener(TransformGestureEvent.GESTURE_SWIPE, handleSwipe);
- bloc1.addEventListener(MouseEvent.CLICK, bloc1Click);
- bloc2.addEventListener(MouseEvent.CLICK, bloc2Click);
- etc...
Clicks are working well. Swipe is working well too, but often, when I try to swipe, AIR detect a Touch event first on one of the bloc and cancel the swipe.
Is there a good way to "keep" the touch event before knowing if it's a swipe gesture or not ? Or maybe am Im doing it all wrong?
Many thanks!
