flexcoders  

[flexcoders] What would cause a Canvas subclass to not clip its content?

ben.clinkinbeard
Mon, 14 Apr 2008 06:14:45 -0700

I have a Canvas subclass that creates a number of SWFLoader children.
The SWFLoaders each dynamically load a PNG. When the PNG finishes
loading it is positioned via swfLoader.content.x = someNumber. The
problem is that when these PNGs hang over any edge of the Canvas
subclass they are not clipped. At first I thought maybe dynamic
content was the issue but I created a test case and dynamically loaded
and positioned PNGs were correctly clipped.

Any ideas what the problem could be?

Thanks,
Ben