Is there any way to access the bitmap data that flash stores internally for a movieClip is the cacheAsBitmap property is set to true?
Also, do you know if there is another method to make a BitmapData from a DisplayObject(mc, sprite) rather than draw()? I need something really fast, for a graphic that has rather few changes.
Thanks
on example dynamic text field
var myBitmapData:BitmapData;
var bmp:Bitmap;
myBitmapData = new BitmapData(150, 150, true, 0x00000000);//0x00000000 transparent
bmp= new Bitmap(myBitmapData);
myBitmapData.draw(my_text);
addChild(bmp);
http://dnadillo.dn.ua/mur_gallery/ac3FLA/star_war.swf
http://dnadillo.dn.ua/mur_gallery/ac3FLA/star_war.rar
you may use instead of text MovieClip or Sprite.
hi alex… thanks for the reply…
unfortunately that’s not what I had in mind when I posted the question…
I don’t know of a faster way than draw to get the bitmap to render - but here is an interesting thread that may help, its seems like another way to access a Bitmap quickly - but you’ll still need to draw this to an object to render - I believe: http://www.kirupa.com/forum/showthread.php?t=267339&page=2