Posted By

Heol on 06/23/11


Tagged

bitmapData


Versions (?)

Display object to BitmapData


 / Published in: ActionScript 3
 

URL: http://blog.yoz.sk/2009/10/bitmap-bitmapdata-bytearray/

  1. import flash.display.BitmapData;
  2. var bitmapData:BitmapData = new BitmapData(button.width, button.height, false, 0xFFFFFF);
  3. bitmapData.draw(button);
  4. // result: bitmapData

Report this snippet  

You need to login to post a comment.