Search tutorials
Adding the drag-scrolbar and nessary trigger. (cont)
Step 10 :
Open Movie Clip scrollDown and add to the bottom of the Action Script in frame 2 the action:
_parent.scroll.slider._y = (currentScroll -1) / (max -1) * _parent.balkheight;
It should now look like this

Do the same for scrollUp. This will keep setting (adjusting) the position of the slider (drag scroll button) when the scroll up or down button is clicked and held.We're ready with the scrolling part. Test your movie to check if all the buttons are working correctly.
| » Level Intermediate |
|
Added: 2001-01-25 Rating: 8 Votes: 123 |
| » Author |
| Patrick Jansen is a freelance flash-, graphic- and webdesigner. Born in Holland, currently residential in Brazil. Worked for the compagnies Lectric b.v. (www.lectric.nl) and NIC b.v. (www.notenbomer.nl). |
| » Download |
| Download the files used in this tutorial. |
| Download (138 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!