Kirupa custom scroller help (set content ._y)

http://www.kirupa.com/developer/flash8/scrollbar.htm

trying to move to a certain point in my content without actually usually the scrollFace or arrow buttons. I can move the content easily enough by just setting the _y position of the content MC, but figuring out the placement of the scrollFace is driving me nuts. Any suggestions?

Hoping for something like this:


function moveMyContent(ypos) {
      contentMain._y = ypos;
      scrollFace._y = ???? 
}

[COLOR=Black]
[/COLOR][COLOR=Black]I’m sure it’s something like ypos*(contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight) but I can’t get it. :jail:[/COLOR]