This should give you the information you're looking for: http://aaronhardy.com/flex/standalone-scrollbar/
Aaron On Tue, Jan 5, 2010 at 3:17 PM, Slackware <[email protected]> wrote: > > > 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. > > >

