The ScrollBox class creates a container with horizontal and vertical scrollbars. The ScrollBox can contain any DisplayObject and creates it’s own mask. Create an instance of ScrollBox by passing a DisplayObject to scroll and the width and height of the visible area.
var scroll_box = new ScrollBox( displayObject, 300, 400 );