Flash/ActionScript3 crashes on getPixel/32
- by Quandary
Question: The below code crashes flash...
Why?
The crash causing lines seem to be
//var uiColor:uint = bmpd.getPixel(i,j);
var uiColor:uint = bmpd.getPixel32(i,j);
trace("Color: "+ uiColor);
I am trying to take a snapshot of a movieclip and iterate through all pixels in the image and get the pixel's color.…