this demo requires Flash 10 Beta installed: Extract from as3 language reference: histogram() method flash10 function histogram(hRect:Rectangle = null):Vector Language Version : ActionScript 3.0 Player Version : Flash Player 10 Computes a 256 bin histogram of a BitmapData object. The functions returns a vector of 4 number vectors. The 4 number vectors represent the red, green, blue and alpha compon