title: How does Flash ActionScript read hand gesture using webcam?
body: <p>So sorry that I'm so very newbie, and have googled only to find the same result again and again, till desperately I decided to ask here...</p>
  
  <p>So, I need to make a webpage that can detect/reading hand gesture. At first, I was so very lost in what to do, but then this and that, I've found these questions:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2275843/using-webcam-to-track-hand-gestures">Using webcam to track hand gestures</a></li>
  <li><a href="https://stackoverflow.com/questions/17008087/generating-events-for-gesture-controlled-websites">Generating events for gesture-controlled websites</a></li>
  <li><a href="https://stackoverflow.com/questions/10227464/how-to-detect-hand-gesture-in-live-webcam-using-javascript">How to detect hand gesture in live webcam using javascript?</a></li>
  <li><a href="https://stackoverflow.com/questions/6529118/hand-gesture-recognition-with-camera-video-in-actionscript">hand gesture recognition with camera video in actionscript</a></li>
  </ul>
  
  <p>And after surfed things I found there, then I (thought that I) got that it could be done using Javascript or Flash ActionSript, and have seen some of the examples for both. While I (thought that I) understood that people did it through Javascript by implementing algorithm for image processing and its friends, actually I'm kinda lost at how Flash did that. I found the common usage of gesture using Flash is in 'webcam game', and then I found these tutorial:</p>
  
  <ul>
  <li><a href="http://www.adobe.com/mena_fr/devnet/flash/articles/webcam_motion.html" rel="nofollow noreferrer">Webcam Motion Detection: Using the BitmapData API in Flash 8</a></li>
  <li><a href="http://www.newgrounds.com/portal/view/364528" rel="nofollow noreferrer">Np's Webcam Game Tutorial</a></li>
  </ul>
  
  <p>While I (thought that I) kinda get how the first one did it, I'm lost at how the second working out his collision detection... And I don't really understand why, while mostly the Javascript I found has pretty good documentation, so hard to find something like that for Flash ActionScript, and the one I found is kinda old (the first tutorial said it's created at 2005, and the second uploaded in 2007). I would just use Javascript because of those things, but then this <a href="http://incubator.quasimondo.com/flash/minority_cube.php" rel="nofollow noreferrer">Incubator Quasimondo Minority Cube</a> is really cool, and I haven't found an implementation in that level for Javascript...
  Thus all of it leads me to a question, roughly:</p>
  
  <ul>
  <li>how hand gesture detection usually implemented in Flash? like, in webcame games? </li>
  <li>does those implementation really 'recognize' it's a hand? or does it just execute anything that moves?</li>
  <li>what support Flash/ActionScript have for detecting gesture? Like <a href="http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000863.html" rel="nofollow noreferrer">Camera.activityLevel</a> property, is there another property or library?</li>
  </ul>
  
  <p>I'm so sorry for my lack of knowledge...</p>