actionscript 3 - Extract bitmap (or bitmapdata) from Shape -
i got swf has simplebuttons in stage, , need bitmap or bitmapdata information button states.
when load symbol, seems no matter composes button states, shapes, @ least that's in expression panel.
so, how can bitmap or bmpdata shape?.
thanks.
you can use bitmapdata#draw()
bitmapdata
displayobject
. bitmapdata raster, aware lose features of vector shape
var bd:bitmapdata = new bitmapdata( shape.width, shape.height ); bd.draw( shape );
Comments
Post a Comment