Webcam actionscript help

Hi, I just had a question with using the webcam in flash. So I was basically trying to make the webcam recognize hand movements as seen in: http://flash8.betaruce.com/#
the webcam application: control with hands but instead of just that right sector the left and right sector, and have it to somethign like an x++ when the threshold on each side gets to a certain height. I am making a type of weight lifting game whcih once the webcam recognizes that you lift the weight pass the threshold it adds 1 to the repetition. If anyone has any idea on how to do this please let me know. If anyone is good with this kind of stuff pm me and we could maybe work out a sort of deal $. Thanks in advance!