Adding the Drag-Scrollbar and Necessary Trigger (cont.)
Step 1 (cont.) :

By leaving the target blank, the whole Movie Clip in which this button is placed, will be dragable. It is contained however between position 0,0 and 0,200 since balkheight was set at 200. On Release or Release Outside, the dragging will stop. We are not (!) going to place Movie Clip scroll drag mc directly in Movie Clip window. Why not? Well, because we are going to create a container movieclip to make some things easier. First, by placing scroll drag mc into a container Movie Clip, the position will be relative to that Movie Clip so that it will be more flexible to position in Movie Clip window. Also, by placing it in a container Movie Clip, we can use actionscript to create more easily the movement of the dragable scroll button once the arrow buttons / scrollUp or scrollDown buttons are hold down.
| » Level Advanced |
|
Added: 2000-12-27 Rating: 8 Votes: 189 |
| » 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 (109 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!