(2.4.5)how to stop content of a scrollview moving?

For example, currently I want to create a button as scroll bar at the side of a scroll view, when user clicks the scroll bar button, I want to stop the content moving immediately. I tried:

onButtonPressed(){
    this.scrollView.content.stopAllActions();
} 

but seems not working.

You can execute ScrollView._handlePressLogic(); to stop the scrolling behavior.