iOS Development in Flash: TouchEvent.TOUCH_TAP with TouchEvent.TOUCH_BEGIN/TOUCH_END
Too bad we can't use the both Multitouch input modes in the IOS Packager for Flash/Air/Flex. It's either gesture or touch, so you have to decide on which suits your application better. For my current project I decided on MultitouchInputMode.TOUCH due to better interaction with what I was trying to do. I had objects aligned on the x coordinate that I wanted to move according to the touch input and, when tapped (or clicked) on, they were supposed to do something. The point where I got in trouble was that the TOUCH_TAP event (just like MouseEvent.CLICK) would fire even when I had slided the objects using TOUCH_BEGIN beforehand. So the device makes no difference there which is in a way understandable but sometimes not so useful. Now during testing it turned out that the TOUCH_TAP event is fired before TOUCH_END which comes in handy. If we make use of the events properties and the TOUCH_MOVE event, we can check if our object has in fact moved and if no, it's okay for the tap...