Examining a Bitmap
package{
import flash.display.*;
public class Main extends Sprite{
public function Main(){
var imgData:BitmapData = new BitmapData(20, 20, false, 0xFF0000FF);
trace(imgData.getPixel32(0, 0)); // Displays: 4278190335
}
}
}
Related examples in the same category