In Flash MX there are components, pre-built tools to add instead of spending the time to create them yourself.
1. Make sure that you have the image that you want to have scrolled setup as
a movie clip. It doesn't need to be on the stage, just in the Library.
![]()
You do need to remember to check the symbol properties of the movie clip, but right clicking on the file in the library, and hitting properties, giving you this window. Make sure that you check off "Export for Actionscript". This must be checked off if you want the scrollpane to work.
2. Next you want to drag the Component for Scroll pane onto the stage.
3. Next set the parameters for the scroll pane to the movie clip that you want to have scrolled by changing the "Scroll Content" and setting name of your movie clip, for example, my movie clip is named "tron".
4. The other features that are here are set, if you want to just have the image scrolled left to right change the "Vertical Scroll" to false, but if you want the image to be vertically scrolled only, just change the "horizontal scroll" to false. Also if you want the image that's being scrolled to be draggable then change the "Drag Content" to "true".

Created
by dpurcell @ www.ravedp50.com