int getPixel(num x, num y)

Get a single RGB pixel

Source

int getPixel(num x, num y) {
  var updateBatch = new BitmapDataUpdateBatch(this);
  return updateBatch.getPixel32(x, y) & 0x00FFFFFF;
}