Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived Talk:How to detect touch gestures in Flash Lite

From Wiki
Jump to: navigation, search

Featured article, March 8th 2009 (week 11)


These added lines are not correct:

In case user drags over with both X and Y co-ordinates different at source and destination, you end up with TWO touch gestures being detected. Eg. If you start at (10 , 10) and end at (70 , 80) you get the TWO gestures, LEFT_TO_RIGHT and UP_TO_DOWN as against ideally you must get only one gesture.

By using flags, the actual gesture management implementation can detect and manage also diagonal gestures, where both a vertical and a horizontal movement are detected. This does not force the actual implementation to manage both of them, but already give the support for it.

--jappit 15:38, 10 March 2009 (EET)


Also these lines are not exact:

The touch gesture detection is based on the assumption that when user drags from right to left or vice versa, the Y co-ordinate is going to be the same, but actually if you use your finger you may end with some different Y value which is slightly less/more than source Y. But even as an end user you want to treat it as ‘LEFT_TO_RIGHT’ interaction. The same is true in case of Up and Down detection.

The first proposed approach already manages cases where there are slight modifications of the horizontal coordinate in a vertical movement, and of the vertical coordinate in a horizontal one.

--jappit 15:38, 10 March 2009 (EET)


This page was last modified on 13 May 2013, at 10:50.
43 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×