Using Components > The ScrollBar component |  |

The ScrollBar component

The ScrollBar component provides drag-and-drop functionality for adding vertical and horizontal scroll bars to dynamic and input text fields. Adding scroll bars to dynamic and input text fields allows the text field to accept large amounts of text without requiring that it all be displayed simultaneously.

The ScrollBar component is used by the ComboBox, ListBox, and ScrollPane components. Adding any of these components to a Flash document automatically adds the ScrollBar component to the library. If an instance of the ScrollBar component is already in the library, you can add instances of the ScrollBar component to the document by dragging them from the library.

Note: You should not add another copy of the ScrollBar component to the document by dragging it from the Components panel.

Advanced users and programmers can use the ScrollBar component with movie elements other than text fields when building applications or custom components in Flash. The ComboBox, ListBox, and ScrollPane components are examples of how the ScrollBar component can be used to build another component.