package{ import flash.display.*; public class Main extends Sprite{ public function Main(){ var imgData:BitmapData = new BitmapData(20, 20, true, 0x660000FF); imgData.setPixel(0, 0, 0xFFFFFF); imgData.setPixel(0, 0, 0xCCFFFFFF); } } }