I am creating a game in flash. It needs a scroll bar. So I want to know how to create a layer with scrollbar? . I know how to link a textfield with scroll bar. Similarly is it possible to link a movieclip/layer with scrollbar.
you can use ScrollPane
component. (press ctrl+f7 to see components window)
then set a movieclip as its source:
your_scrollPane.source=your_movieclip;
//customize other properties such as ScrollPolicy & ...
edit:
if you don't want use actionscript:
1-set AS Linkage
for your movieclip (in library panel)
2- set source property for your ScrollPane