I have a Canvas that I'm programatically adding an image after a drag 
and drop.  The method is a simple call to

canvas.addChild(image);

I've explicitly set clipContent to true, and scroll policies to auto, 
but still if the image is dropped slightly to the left or above the 
canvas (x or y is a negative value) the image does not clip but 
overflows the Canvas border.  No scrollbars are created.  The D&D 
operation allows the drop because it seems to base dropability on the 
mouse position, not on the image boundaries, which may be offset from 
the image's 0,0.

Is this a known problem?

Thanks.

Dave Moylan



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to