Search Tutorials
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.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|