It seems the above links show you how to detect the swipe, so all youd have to do is attach the movement action to the detection..
You could easily set a global variable to "left" for example..
Check the value of the global variable and attach the movement action you'd like when the direction of the swipe is "left"