It's not very clear what you are asking I'm afraid. Also the xml you
supplied is not valid (jsut to be picky). I assume you mean:

<canvas>
<vbox>
<vbox />
<canvas />
<vbox >
</vbox>
</canvas>

you coudl try horizontalCenter="0" and verticalCenter="0" on the inner
canvas to keep it centered. I'm not sure what you mean by the scrollbars and
clipping.

On Dec 17, 2007 3:54 AM, callistachan <[EMAIL PROTECTED]> wrote:

>   hi, i'm relatively new to all this so please bear with me... =)
>
> i have something like this in my mxml file:
>
> <canvas>
> <vbox>
> <vbox />
> <canvas />
> <vbox />
> </vbox>
> </canvas>
>
> now, all of this gets stored inside a draggable panel during runtime.
> also, during this time, the inner canvas gets zoomed out and should
> center after the zoom... i accomplish this using <mx:Move>. however,
> even if it does center, the content gets clipped and the horizontal
> scrollbar still stays at 0 (most likely because the
> maxHorizontalScrollPosition is also 0)... i tried various ways of
> moving it already but it doesn't seem to want to since most of the
> dimensions i need are 0 :(
>
> if anyone can help, i would really appreciate it. thanks!
>
>  
>



-- 
Giles Roadnight
http://giles.roadnight.name

Reply via email to