Reputation: 113996
I need a way to get a (content) MovieClip within a (container) MovieClip to be scrollable using a scrollbar.
Flash AS2 Components
How to scroll an internal MovieClip?
Upvotes: 1
Views: 2269
Reputation: 27045
AS2 should also have the ScrollPane component (atleast I do). The trick is that you can set a linkage identifier as the contentPath. The linkage identifier is set by creating a MovieClip, right clicking it in the library, selecting properties, clicking the "export for actionscript" checkbox and then entering it in the corresponding textfield.
This is also what you need to do if you want to put things in a ScrollPane at runtime, then you set the contentPath to an empty MovieClip in your library and just attach your clips into that.
Upvotes: 4
Reputation:
If you're using pure flash, check out ScrollPane, which is included in Flash CS3. If you're using Flex, most container objects have scrolling capabilities.
Upvotes: 0