Advanced Flash Components
Search!
Search!
Home >  Tutorials >  Flow List (AS 3.0) >  Working with Properties: Adding...
Working with Properties: Adding Scroll Bar
Updated: Mar 28, 2008   Views: 1246  
Description: This tutorial we will go through the steps needed to attach a scroll bar to Flow list AS3


Complete Code:

myFlow.scrollBar = myScrollBar;


Add UIScrollBar component

In the components window (Window > Components) expand the UIComponents node and drag the UIScrollBar component on to the stage. Give it an instance name myScrollBar. Place the scroll bar under the Flow List component.

In Flow list AS3 the only way to attach a scrollbar is by doing it by action script.

myFlow.scrollBar = myScrollBar;