Examining a Bitmap : Bitmap : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » Bitmap »

 

Examining a Bitmap


 

package{
  import flash.display.*;
  
  public class Main extends Sprite{
    public function Main(){
        var imgData:BitmapData = new BitmapData(2020, false, 0xFF0000FF);
        trace(imgData.getPixel32(00));  // Displays: 4278190335


    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Graphics
» Bitmap