Hi everyone,
I have following problem:

Created a custom component by extending UIComponent using AS3.

Added a Canvas to the Application container and then added an instance
of that custom component.

What the component does is load an image in a Loader instance and
scales it down to fit into the canvas. However there is a slider that
allows the image to be scaled back up and get larger than the canvas.
At that moment I try to make the canvas scrollable without success.

Canvas.clipContent is set to true;

measure() is overridden in the component implementation to set
measuredWidth and measuredheight to the width and height of the loaded
image.

invalidateSize() is also called when the image changes its size.

Any help greatly appreciated!
Thanks!

Reply via email to