package{ import flash.display.*; public class Main extends Sprite{ public function Main(){ var imgData:BitmapData = new BitmapData(20, 20, false, 0xFF0000FF); trace(imgData.getPixel(0, 0)); // Displays: 255 } }}
Name (required)
email (will not be published) (required)
Website