Re: [flexcoders] Canvas scrollbars not appearing

2007-04-23 Thread Michael Schmalle
Hi, Sounds to me from what you have explained, you have not called setActualSize() on the canvas instance in your custom component;s updateDisplayList() method. Did you ? IE canvas.setActualSize(canvas.getExplicitOrMeasuredWidth(), canvas.getExplicitOrMeasuredHeight()) Peace, Mike On 4/22/07

Re: [flexcoders] Canvas scrollbars not appearing

2007-04-22 Thread Manish Jethani
Is the size of the UIComponent really changing? Is invalidateDisplayList() getting called on the Canvas internally? If not, try calling it explicitly and your Canvas should show scrollbars. On 4/21/07, vitcheff <[EMAIL PROTECTED]> wrote: > Hi everyone, > I have following problem: > > Created a cus

[flexcoders] Canvas scrollbars not appearing

2007-04-22 Thread vitcheff
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