Webcam interaction

ok … I’m doing an interactive Art peice - I have 1600 boxes being put onto the stage dynamically and I’m using a webcam to trigger them –

it works for the most part but i’ve had some weirdness – 1: I had a small portion in the upper left working but the rest didnt work and I can’t ever seem to get it to activate where I want.

Right now I have it set up to trigger all of the blocks when you activate the 0,0 point

var clr = _root.map.getPixel(0, 0);

but I need to get it so that it can trigger any point where the color is less than a preset I have.

blox*.outclr = clr;
  if (clr<12895941) {
   blox*.play();
  }

The file is at http://www.mediaatomic.com/projects/HVCCam.fla

JÜMBOshrimp