Hi all, happy new year!!

I'm using a mx:VScrollBar to manage the scroll for a Canvas (with 
verticalScrollPolicy="off"), since I need to place the scrollbar off-setted 
from the Canvas.

This code works as expected (the canvas scrolls based on my vertical scroll 
bar):

MyCanvas.verticalScrollPosition = event.currentTarget.scrollPosition; 
//currentTarget is my VScrollBar

But this way, I still need to set the verticalScrollProperties "by hand". I 
mean, if I have a really big Canvas my scrollBar doesn't reflect the height on 
its thumb for example.

Is there any easy way to achieve this?

Many thanks.



Reply via email to