开发者

Function to redraw Bitmap on Sprite without passing in said Bitmap?

开发者 https://www.devze.com 2023-02-12 11:32 出处:网络
If I have a BitmapData that\'s already been dr开发者_运维知识库awn onto a Sprite. Is there a way to redraw the BitmapData onto a Sprites Graphics object without having to invoke beginBitmapFill and pa

If I have a BitmapData that's already been dr开发者_运维知识库awn onto a Sprite. Is there a way to redraw the BitmapData onto a Sprites Graphics object without having to invoke beginBitmapFill and passing in the same BitmapData?


You may clone the image.

See the example: http://www.webverwirklichung.com/en/blog/programming/flex/clone-image-flex-flashdisplayloader

0

精彩评论

暂无评论...
验证码 换一张
取 消