My RIA has been using Image components as drag proxies, which was fine
and worked exactly like I wanted (the images were PNGs and had alpha
and that all came through correctly).

Now, I've needed to change the drag proxy to accept BitmapData. It
doesn't appear to be able to use it directly as it expects an
IFlexDisplayObject. So, I figured I could wrap the BitmapData in a
BitmapAsset (which implements IFlexDisplayObject) and everything would
be fine. But its not. I just got a black box for the proxy.

Looking at the drag proxy source code, it looks like it takes the
proxy and makes it a child of a UIComponent (a popup)... again, from
reading about the BitmapAsset, it looks like it implements all the
right classes for this to work.

So, I tried keeping the image controls that worked and trying to feed
it a bitmap. Even though the docs seem to imply that BitmapAsset is
the thing you get inside of an Image, I can't assign it to source and
there doesn't appear to be any appropriate properties.

Any suggestions?

Thanks,

Troy.



Reply via email to