Flash Tip: How to add swipe gestures to you mobile Flex application
Steven Peeters has posted a new flash tip on his blog: Adding swipe gestures to you mobile Flex application, Steven said you can choose 2 options to use the gesture to move things around or go from screen to screen etc.
1. Using ActionScript to attach an event listener
private function initView():void {
addEventListener(TransformGestureEvent.GESTURE_SWIPE, onSwipe);
}
2. capture the gestureSwipe event on the View tag
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" gestureSwipe="onSwipe(event)"/>

Via Flexpert
If you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.



















Last time I checked I was still male, so could you change the first sentence into “… on HIS blog…”
Comment by Steven Peeters — December 8, 2010 @ 5:53 am
Ha ha, Steven you are very humorous, but your article is very nice. Thanks to share.
Comment by Li YongFei — December 8, 2010 @ 6:24 am