Monday, 30 December 2013

Learning Progress Pan Gesture.

Pan Gesture

After knowing iBrent , a youtuber for coding share his tutorial online. I like most of my application coding base on his tutorial. So as i was finding the code for Pan gesture i go through his video to understand what function is using what line of code.

So i like how to add in pan gesture and how to use multitouch gesture. I don't really know that is pan gesture exit after i do this research compare with move gesture, pan gesture need to user to use two finger to signal the device that user wanted to move the object or a simple image.

FB4.5: AS Mobile - Android - Multitouch GESTURE_PAN setup
https://www.youtube.com/watch?v=eqlbJrzvk68


Due the some of the event i had already add in previously that is not much to add in 

base on the tutorial i need to add it a function to setup gestures to tell flash that i am using gesture 


then add in the event listener for pan gesture


Then code in the gesture function

Result after adding the code into my application




No comments:

Post a Comment