So I try to say bmpdata.draw(backgroundRect);
to dray on my Bitmap my component but Flash Builder gives me this and I do not know what to do...
1067: Implicit coercion of a value of type spark.primitives:Rect to an unrel开发者_如何转开发ated type flash.display:IBitmapDrawable. Flex Problem
Please help
You have to use backgroundRect.displayObject. You might wanna set
backgroundRect.displayObjectSharingMode = DisplayObjectSharingMode.OWNS_UNSHARED_OBJECT
精彩评论