Open a new work area in Flash MX ( File > New )
Create a new movie clip symbol ( Insert > New Symbol )
Choose Movie Clip as it's behavior and in the name text box
give your movie clip a unique name. I used ( myScrollableMovie )
In the Linkage Section of this window click ( Export for
In the Indentifier text box you should see your movie clips
unique name ( if you don't, type it in now ).
Build your movie clip as you normally would.
Return back to the main stage
Drag the ScrollPane Component from the Components Panel
onto the main stage.
Select the ScrollPane Component on the stage ( Left Click )
Open the Properties Panel ( You should now see the Parameters of the ScrollPane Component).
Underneath where you see Component, give your ScrollPane an instance name.
I called mine ( ScrollPane ).
Click the Scroll Content parameter and type in the unique name of your movie clip ( myScrollableMovie )
You can also choose whether you want your Scrollpane to scroll Horizontal, Vertical or both.
Leaving Horizontal Scroll or Vertical Scroll to "auto" will assign scollbars if your ScrollPane is smaller
than the movie clip it is scrolling.
true = Please assign scrollbars and false = No scrollbars please.
Test your movie
|» Level Basic|
Rating: 8 Votes: 544
|Flash Kit Moderator|
|Download the files used in this tutorial.|
|Download (174 kb)|
|More help? Search our boards for quick answers!|