home *** CD-ROM | disk | FTP | other *** search
- function Update()
- {
- var _loc1_ = (movScroller._y - movMask._y) / movMask._height;
- f = Math.round(_loc1_ * 40);
- if(f < 1)
- {
- f = 1;
- }
- sContent.gotoAndStop(f);
- }
- top = this.movMask._y;
- bottom = this.movMask._y + this.movMask._height - this.movScroller._height;
- left = this.movMask._x;
- right = this.movScroller._x;
- this.movScroller.onMouseDown = function()
- {
- startDrag("movScroller",0,right,top,right,bottom + 10);
- scrollInt = setInterval(Update,10);
- };
- this.movScroller.onMouseUp = function()
- {
- stopDrag();
- clearInterval(scrollInt);
- };
-