This is an OpenFL example project for gesture using roxlib library https://github.com/rockswang/roxlib you can read my explanation here :