Posted By

dhjapan on 03/28/08


Tagged

bitmap


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Wiederkehr


BitmapData


 / Published in: ActionScript
 

  1. import flash.display.BitmapData;
  2. import flash.geom.ColorTransform;
  3. import flash.geom.Matrix;
  4.  
  5. /////////////
  6.  
  7. var imgContainer:MovieClip = media_mc.media;
  8. imgContainer._visible = false;
  9.  
  10. var bmp:BitmapData = new BitmapData(imgContainer._width, imgContainer._height, false, 0xFFFF00);
  11. bmp.draw(imgContainer, new Matrix(), new ColorTransform(), null, null, true);
  12.  
  13. media_mc.attachBitmap(bmp, 0, "normal", true);

Report this snippet  

You need to login to post a comment.