About the ScrollPane component

The Scroll Pane component displays movie clips, JPEG files, and SWF files in a scrollable area. You can enable scroll bars to display images in a limited area. You can display content that is loaded from a local location, or from over the internet. You can set the content for the scroll pane both while authoring and at runtime using ActionScript.

Once the scroll pane has focus, if the content of the scroll pane has valid tab stops, those markers will receive focus. After the last tab stop in the content, focus shifts to the next component. The vertical and horizontal scroll bars in the scroll pane never receive focus.

A ScrollPane instance receives focus if a user clicks it or tabs to it. When a ScrollPane instance has focus, you can use the following keys to control it:

Key

Description

Down

Content moves up one vertical line scroll.

End

Content moves to the bottom of the scroll pane.

Left

Content moves right one horizontal line scroll

Home

Content moves to the top of the scroll pane.

Page Down

Content moves up one vertical page scroll.

Page Up

Content moves down one vertical page scroll.

Right

Content moves left one horizontal line scroll

Up

Content moves down one vertical line scroll.

For more information about controlling focus, see Creating custom focus navigation or FocusManager class.

A live preview of each ScrollPane instance reflects changes made to parameters in the Property inspector or Component Inspector panel while authoring.