Playing around with the JavaScript port of BitmapData Class from Flash