package{ import flash.display.*; public class Main extends Sprite{ public function Main(){ var imgData:BitmapData = new BitmapData(20, 20, false, 0xFF0000FF); imgData.setPixel32(0, 0, 0xFFFFFFFF); } } }